uaPLUS Reference
DBAPlugin Class Members
See Also  Fields  Properties  Methods  Send Feedback
HDAPluginDBA Namespace : DBAPlugin Class


Glossary Item Box

The following tables list the members exposed by DBAPlugin.

Public Constructors

 NameDescription
Public ConstructorDBAPlugin Constructor Is called once at server startup  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)Aggregates Aggregates supported by this server.  
Public Fieldstatic (Shared in Visual Basic)ItemAttributes Item Attributes supported by this server.  
Public Fieldstatic (Shared in Visual Basic)ItemHandles This list contains all items that have been requested in client GetItemHandles() calls In some applications the list may be static, containing all items.  
Public Fieldstatic (Shared in Visual Basic)ServerStatus Current server status returned in GetHistorianStatus()  
Public Fieldstatic (Shared in Visual Basic)ServerStatusString Explains the server state OPCHDAServerStatus.Indeterminate  
Top

Public Properties

 NameDescription
Public PropertyAnnotationCapabilities Definition of the Annotation handling capabilities of this server implementation  
Public PropertyupdateCapabilities Definition of the update handling capabilities of this server implementation  
Top

Public Methods

 NameDescription
Public MethodDeleteAtTime This method handles one synchronous or asynchronous client update::DeleteAtTime call. The request list may contain multipe timestamps for multiple items  
Public MethodDeleteRaw This method handles one synchronous or asynchronous client update::Delete request call. For one item the datapoint in the given time interval are deleted in the database.  
Public MethodGetAnnotationsDatabase access helper method.
Reads annotations from the database into a DataPointAnnotation array. At least one data point before and after the time range must be included in the returned array. The returned data has to be sorted for increasing timestamps. On error throw a HDAException with the error code that is to be rturned to the client.  
Public MethodGetAttributeItemData Reads the attributes from the database. At least one attribute before and after the time range must be included in the returned array, unless startTime is DateTime.MinValkue, indicating that only the newest value is to be returned. The returned data has to be sorted for increasing timestamps  
Public MethodGetItemInfo Returns the HDA item definition object for the handle.  
Public MethodGetModifiedItemData Reads all modified data points from the file into a DataPointModified array. At least one data point before and after the time range must be included in the returned array. This implementation returns all found points and lets the calling method in HDAPlugin.dll filter the unneeded points. The returned data has to be sorted for increasing timestamps. On error throw a HDAException with the error code that is to be rturned to the client.  
Public MethodGetRawItemData Reads the raw data points in the given time range from the database into a DataPoint array. At least one data point before and after the time range should be included in the returned array. This method needs NOT be thread safe. The returned data has to be sorted for increasing timestamps  
Public MethodInsert This method handles one synchronous or asynchronous client update::insert request call. It inserts the datapoints into the database. There may be multipe datapoints for multiple items  
Public MethodInsertAnnotation Insert an annotation into the database.  
Public MethodInsertReplace This method handles one synchronous or asynchronous client update::insertReplace request call. It inserts the datapoints into the database. There may be multipe datapoints for multiple items  
Public MethodProcessDatapoint Calculates one processed data value.  
Public MethodReplace This method handles one synchronous or asynchronous client update::Replace request call. It inserts the datapoints into the database. There may be multipe datapoints for multiple items  
Top

See Also

© 2010-2018 Copyright Advosol Inc. All Rights Reserved.