.NET Based OPC UA Client/Server SDK
3.2.1.522
|
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 data source. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
An in-memory history data source.
UnifiedAutomation.UaServer.InMemoryHistoryDataSource.InMemoryHistoryDataSource | ( | ) |
Initializes a new instance of the InMemoryHistoryDataSource class.
void UnifiedAutomation.UaServer.InMemoryHistoryDataSource.Dispose | ( | ) |
Frees any unmanaged resources.
|
protectedvirtual |
An overrideable version of the Dispose.
IHistoryDataEnumerator UnifiedAutomation.UaServer.InMemoryHistoryDataSource.GetEnumerator | ( | RequestContext | context, |
DateTime | timestamp | ||
) |
Begins iterating the historical values for a data source.
context | |
timestamp | The timestamp where the iterating begins. |
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 | ||
) |
Inserts the specified value in the history.
value | The value. |
status | The status. |
timestamp | The timestamp. |