C# 클래스 TestData.HistoryDataReader

A class used to read values from a history data source.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
BeginReadRaw ( ServerSystemContext context, ReadRawModifiedDetails request, TimestampsToReturn timestampsToReturn, NumericRange indexRange, Opc.Ua.QualifiedName dataEncoding, DataValueCollection values ) : void

Starts reading raw values.

Dispose ( ) : void

Frees any unmanaged resources.

HistoryDataReader ( Opc.Ua.NodeId variableId, IHistoryDataSource source ) : System

Constructs a reader for the source.

NextReadRaw ( ServerSystemContext context, TimestampsToReturn timestampsToReturn, NumericRange indexRange, Opc.Ua.QualifiedName dataEncoding, DataValueCollection values ) : bool

Continues a read raw operation.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

비공개 메소드들

메소드 설명
AddValue ( TimestampsToReturn timestampsToReturn, NumericRange indexRange, Opc.Ua.QualifiedName dataEncoding, DataValueCollection values, Opc.Ua.DataValue value ) : void

Adds a DataValue to a list of values to return.

메소드 상세

BeginReadRaw() 공개 메소드

Starts reading raw values.
public BeginReadRaw ( ServerSystemContext context, ReadRawModifiedDetails request, TimestampsToReturn timestampsToReturn, NumericRange indexRange, Opc.Ua.QualifiedName dataEncoding, DataValueCollection values ) : void
context Opc.Ua.Server.ServerSystemContext The context for the operation.
request ReadRawModifiedDetails The request parameters.
timestampsToReturn TimestampsToReturn The timestamps to return with the value.
indexRange Opc.Ua.NumericRange The range to return for array values.
dataEncoding Opc.Ua.QualifiedName The data encoding to use for structured values.
values DataValueCollection The values to return.
리턴 void

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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

HistoryDataReader() 공개 메소드

Constructs a reader for the source.
public HistoryDataReader ( Opc.Ua.NodeId variableId, IHistoryDataSource source ) : System
variableId Opc.Ua.NodeId
source IHistoryDataSource The source of the history data.
리턴 System

NextReadRaw() 공개 메소드

Continues a read raw operation.
public NextReadRaw ( ServerSystemContext context, TimestampsToReturn timestampsToReturn, NumericRange indexRange, Opc.Ua.QualifiedName dataEncoding, DataValueCollection values ) : bool
context Opc.Ua.Server.ServerSystemContext The context for the operation.
timestampsToReturn TimestampsToReturn The timestamps to return with the value.
indexRange Opc.Ua.NumericRange The range to return for array values.
dataEncoding Opc.Ua.QualifiedName The data encoding to use for structured values.
values DataValueCollection The values to return.
리턴 bool