C# Класс Quickstarts.HistoricalAccessServer.DataFileReader

Reads an item history from a file.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateData ( ArchiveItem item ) : void

Creates new data.

LoadConfiguration ( ISystemContext context, ArchiveItem item ) : bool

Loads the item configuaration.

LoadHistoryData ( ISystemContext context, ArchiveItem item ) : void

Loads the history for the item.

Приватные методы

Метод Описание
CreateDataSet ( ) : DataSet

Creates a new data set.

ExtractField ( int lineCount, string &line, BuiltInType &value ) : bool

Extracts a BuiltInType value from the line.

ExtractField ( int lineCount, string &line, ServiceMessageContext context, BuiltInType valueType, Variant &value ) : bool

Extracts a BuiltInType value from the line.

ExtractField ( int lineCount, string &line, Opc.Ua.StatusCode &value ) : bool

Extracts a StatusCode value from the line.

ExtractField ( int lineCount, string &line, int &value ) : bool

Extracts an integer value from the line.

ExtractField ( int lineCount, string &line, string &value ) : bool

Extracts an integer value from the line.

ExtractField ( string &line ) : string

Extracts the next comma seperated field from the line.

LoadData ( ISystemContext context, System.DateTime baseline, StreamReader reader ) : DataSet

Loads the history data from a stream.

Описание методов

CreateData() публичный Метод

Creates new data.
public CreateData ( ArchiveItem item ) : void
item ArchiveItem
Результат void

LoadConfiguration() публичный Метод

Loads the item configuaration.
public LoadConfiguration ( ISystemContext context, ArchiveItem item ) : bool
context ISystemContext
item ArchiveItem
Результат bool

LoadHistoryData() публичный Метод

Loads the history for the item.
public LoadHistoryData ( ISystemContext context, ArchiveItem item ) : void
context ISystemContext
item ArchiveItem
Результат void