C# Class TestData.HistoryArchive

A class that provides access to archived data.
Inheritance: IDisposable
Show file Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
CreateRecord ( Opc.Ua.NodeId nodeId, BuiltInType dataType ) : void

Creates a new record in the archive.

Dispose ( ) : void

Frees any unmanaged resources.

GetHistoryFile ( Opc.Ua.NodeId nodeId ) : HistoryFile

Returns an object that can be used to browse the archive.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Private Methods

Method Description
OnUpdate ( object state ) : void

Periodically adds new values into the archive.

Method Details

CreateRecord() public method

Creates a new record in the archive.
public CreateRecord ( Opc.Ua.NodeId nodeId, BuiltInType dataType ) : void
nodeId Opc.Ua.NodeId
dataType BuiltInType
return void

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetHistoryFile() public method

Returns an object that can be used to browse the archive.
public GetHistoryFile ( Opc.Ua.NodeId nodeId ) : HistoryFile
nodeId Opc.Ua.NodeId
return HistoryFile