.NET Based OPC UA Client/Server SDK  3.0.10.493
UnifiedAutomation.UaBase.ReadAtTimeDetails Class Reference

Selects a set of raw or interpolated values from the history database by specifying a series of timestamps for one or more variables. More...

Inherits UnifiedAutomation.UaBase.HistoryReadDetails.

Public Member Functions

 ReadAtTimeDetails ()
 The default constructor. More...
 
override void Encode (IEncoder encoder)
 
override void Decode (IDecoder decoder)
 
override bool IsEqual (IEncodeable encodeable)
 Checks if encodeable is the same object or has the same content More...
 
override object Clone ()
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.HistoryReadDetails
 HistoryReadDetails ()
 The default constructor. More...
 

Properties

DateTimeCollection ReqTimes [get, set]
 Defines the specific timestamps for which values are to be read. More...
 
bool UseSimpleBounds [get, set]
 Use simple bounds to determine the value at the specific timestamp. More...
 
override ExpandedNodeId TypeId [get]
 
override ExpandedNodeId BinaryEncodingId [get]
 
override ExpandedNodeId XmlEncodingId [get]
 
- Properties inherited from UnifiedAutomation.UaBase.HistoryReadDetails
virtual ExpandedNodeId TypeId [get]
 
virtual ExpandedNodeId BinaryEncodingId [get]
 
virtual ExpandedNodeId XmlEncodingId [get]
 
- Properties inherited from UnifiedAutomation.UaBase.IEncodeable
ExpandedNodeId TypeId [get]
 Returns the UA type identifier for the encodable type. More...
 
ExpandedNodeId BinaryEncodingId [get]
 Returns the UA type identifier for the default binary encoding for the type. More...
 
ExpandedNodeId XmlEncodingId [get]
 Returns the UA type identifier for the default XML encoding for the type. More...
 

Detailed Description

Selects a set of raw or interpolated values from the history database by specifying a series of timestamps for one or more variables.

The ReadAtTimeDetails structure reads the values and qualities from the history database for the specified timestamps for one or more HistoricalDataNodes. This function is intended to provide values to correlate with other values with a known timestamp. For example, a Client may need to read the values of sensors when lab samples were collected.

The order of the values and qualities returned shall match the order of the timestamps supplied in the request.

If no value exists for a specified timestamp, a value shall be interpolated from the surrounding values to represent the value at the specified timestamp. The interpolation will follow the same rules as the standard interpolated aggregate as outlined in Part 13 of the OPC UA specification.

If the useSimpleBounds flag is True and interpolation is required, SimpleBounds will be used to calculate the data value.

If a value is found for the specified timestamp, the server will set the StatusCode InfoBits to be Raw. If the value is interpolated from the surrounding values, the server will set the StatusCode InfoBits to be Interpolated.

If the requested timestamp format is not supported for a node, the operation shall return the Bad_TimestampNotSupported StatusCode.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.ReadAtTimeDetails.ReadAtTimeDetails ( )
inline

The default constructor.

Member Function Documentation

override bool UnifiedAutomation.UaBase.ReadAtTimeDetails.IsEqual ( IEncodeable  encodeable)
inlinevirtual

Checks if encodeable is the same object or has the same content

Parameters
encodeable
Returns

Reimplemented from UnifiedAutomation.UaBase.HistoryReadDetails.

Property Documentation

DateTimeCollection UnifiedAutomation.UaBase.ReadAtTimeDetails.ReqTimes
getset

Defines the specific timestamps for which values are to be read.

bool UnifiedAutomation.UaBase.ReadAtTimeDetails.UseSimpleBounds
getset

Use simple bounds to determine the value at the specific timestamp.


The documentation for this class was generated from the following file: