UA Bundle SDK .NET  2.2.3.276
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaServer.HistoryDataRawReader Class Reference

A class which manages reading from data from an archive. More...

Public Member Functions

void Initialize (RequestContext context, IHistoryDataSource datasource, ReadRawModifiedDetails details)
 Initializes the specified context. More...
 
bool Next ()
 Moves the position to the next data value. More...
 
bool Back ()
 Moves the position to the next data value. More...
 
void Move (DateTime timestamp, bool treatUncertainAsBad, bool useSimpleBounds)
 Resets the reader to the specified timestamp. More...
 
DataValue GetValue ()
 Get the value at the current position. More...
 
ModificationInfo GetModificationInfo ()
 Gets the modification info for the value at the current position. More...
 

Detailed Description

A class which manages reading from data from an archive.

Member Function Documentation

bool UnifiedAutomation.UaServer.HistoryDataRawReader.Back ( )
inline

Moves the position to the next data value.

Returns
True if successful, false if there is no more data.
ModificationInfo UnifiedAutomation.UaServer.HistoryDataRawReader.GetModificationInfo ( )
inline

Gets the modification info for the value at the current position.

Returns
The modification info, null if no data exists.
DataValue UnifiedAutomation.UaServer.HistoryDataRawReader.GetValue ( )
inline

Get the value at the current position.

Returns
The value, null if there is no data.
void UnifiedAutomation.UaServer.HistoryDataRawReader.Initialize ( RequestContext  context,
IHistoryDataSource  datasource,
ReadRawModifiedDetails  details 
)
inline

Initializes the specified context.

Parameters
contextThe context.
datasourceThe datasource.
detailsThe details.
void UnifiedAutomation.UaServer.HistoryDataRawReader.Move ( DateTime  timestamp,
bool  treatUncertainAsBad,
bool  useSimpleBounds 
)
inline

Resets the reader to the specified timestamp.

Parameters
timestampThe timestamp.
treatUncertainAsBadif set to true then treat uncertain values as bad values.
useSimpleBoundsif set to true then use simple bounds.
bool UnifiedAutomation.UaServer.HistoryDataRawReader.Next ( )
inline

Moves the position to the next data value.

Returns
True if successful, false if there is no more data.

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