C# Класс TestData.HistoryFile

Wraps a file which contains a list of historical values.
Наследование: IHistoryDataSource
Показать файл Открыть проект

Открытые методы

Метод Описание
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