OPC Historian .NET Server Toolkit Reference
IDBAPlugin Interface Members
Properties  Methods 

The following tables list the members exposed by IDBAPlugin.

Public Properties
 NameDescription
 PropertyAnnotationCapabilitiesDefinition of the Annotation handling capabilities of this server implementation  
Top
Public Methods
 NameDescription
 MethodDeleteAtTimeThis method handles one synchronous or asynchronous client update::DeleteAtTime call. The request list may contain multipe timestamps for multiple items  
 MethodDeleteRawThis 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.  
 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.  
 MethodGetAttributeItemDataReads 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  
 MethodGetItemInfoReturns the HDA item definition object for the handle.  
 MethodGetModifiedItemDataReads 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, because a bounding value may be requested or interpolation needed. Excess data doesn't harm, it will be ignored in the base layer data processing. The returned data MUST be sorted for increasing timestamps. On error throw a HDAException with the error code that is to be returned to the client.  
 MethodGetRawItemDataReads 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, because a bounding value may be requested or interpolation needed. Excess data doesn't harm, it will be ignored in the base layer data processing. This method needs NOT be thread safe. The returned data MUST be sorted for increasing timestamps  
 MethodInsertThis 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  
 MethodInsertAnnotationInsert an annotation into the database.  
 MethodInsertReplaceThis 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  
 MethodProcessDatapointCalculates one processed data value.  
 MethodReplaceThis 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

Reference

IDBAPlugin Interface
I_HDAPluginDBA Namespace

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback