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

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

Inherits UnifiedAutomation.UaServer.IHistoryDataSource, and IDisposable.

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...
 
void Dispose ()
 Frees any unmanaged resources. More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 An overrideable version of the Dispose. 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

void UnifiedAutomation.UaServer.InMemoryHistoryDataSource.Dispose ( )
inline

Frees any unmanaged resources.

virtual void UnifiedAutomation.UaServer.InMemoryHistoryDataSource.Dispose ( bool  disposing)
inlineprotectedvirtual

An overrideable version of the Dispose.

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: