C# 클래스 TestData.HistoryFile

Wraps a file which contains a list of historical values.
상속: IHistoryDataSource
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET

공개 메소드들

메소드 설명
FirstRaw ( System.DateTime startTime, bool isForward, bool isReadModified, int &position ) : Opc.Ua.DataValue

Returns the next value in the archive.

NextRaw ( System.DateTime lastTime, bool isForward, bool isReadModified, int &position ) : Opc.Ua.DataValue

Returns the next value in the archive.

비공개 메소드들

메소드 설명
HistoryFile ( object dataLock, List entries ) : System

Creates a new file.

메소드 상세

FirstRaw() 공개 메소드

Returns the next value in the archive.
public FirstRaw ( System.DateTime startTime, bool isForward, bool isReadModified, int &position ) : Opc.Ua.DataValue
startTime System.DateTime The starting time for the search.
isForward bool Whether to search forward in time.
isReadModified bool Whether to return modified data.
position int A index that must be passed to the NextRaw call.
리턴 Opc.Ua.DataValue

NextRaw() 공개 메소드

Returns the next value in the archive.
public NextRaw ( System.DateTime lastTime, bool isForward, bool isReadModified, int &position ) : Opc.Ua.DataValue
lastTime System.DateTime The timestamp of the last value returned.
isForward bool Whether to search forward in time.
isReadModified bool Whether to return modified data.
position int A index previously returned by the reader.
리턴 Opc.Ua.DataValue