.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaServer.InMemoryHistoryDataSource Class Reference

An in-memory history data source. More...

Inherits UnifiedAutomation.UaServer.IHistoryDataSource.

Public Member Functions

 InMemoryHistoryDataSource ()
 Initializes a new instance of the InMemoryHistoryDataSource class. More...
 
void Insert (Variant value, StatusCode status, DateTime timestamp)
 Inserts the specified value in the history. More...
 
IHistoryDataEnumerator GetEnumerator (RequestContext context, DateTime timestamp)
 Begins iterating the historical values for a datasource. More...
 

Detailed Description

An in-memory history data source.

Constructor & Destructor Documentation

UnifiedAutomation.UaServer.InMemoryHistoryDataSource.InMemoryHistoryDataSource ( )
inline

Initializes a new instance of the InMemoryHistoryDataSource class.

Member Function Documentation

IHistoryDataEnumerator UnifiedAutomation.UaServer.InMemoryHistoryDataSource.GetEnumerator ( RequestContext  context,
DateTime  timestamp 
)
inline

Begins iterating the historical values for a datasource.

Parameters
context
timestampThe timestamp where the iterating begins.
Returns
A iterator object that can be used to navigate the archive.

An iterator that points to the first value if multiple values exist at the timestamp.

Implements UnifiedAutomation.UaServer.IHistoryDataSource.

void UnifiedAutomation.UaServer.InMemoryHistoryDataSource.Insert ( Variant  value,
StatusCode  status,
DateTime  timestamp 
)
inline

Inserts the specified value in the history.

Parameters
valueThe value.
statusThe status.
timestampThe timestamp.

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