C# Класс openHistorian.Data.Query.SignalDataBase

Contains a series of Times and Values for an individual signal. Abstract versions of this class should attempt to store the value in its most appropriate format to reduce the amount of conversion that must occur.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddData ( ulong time, double value ) : void

Adds a value to the signal and converts it from a double into its native format.

AddData ( ulong time, float value ) : void

Adds a value to the signal and converts it from a float into its native format.

AddData ( ulong time, long value ) : void

Adds a value to the signal and converts it from a long into its native format.

AddData ( ulong time, ulong value ) : void

Adds a value to the signal and converts it from a ulong into its native format.

AddDataRaw ( ulong time, ulong value ) : void

Adds a value to the signal in its raw 64-bit format.

Completed ( ) : void

Flags this signal as complete which locks down the ability to add additional points to it.

GetData ( int index, ulong &time, double &value ) : void

Gets a value from the signal with the provided index and automatically converts it to a double.

GetData ( int index, ulong &time, float &value ) : void

Gets a value from the signal with the provided index and automatically converts it to a float.

GetData ( int index, ulong &time, long &value ) : void

Gets a value from the signal with the provided index and automatically converts it to a long.

GetData ( int index, ulong &time, ulong &value ) : void

Gets a value from the signal with the provided index and automatically converts it to a ulong.

GetDataRaw ( int index, ulong &time, ulong &value ) : void

Gets a value from the signal with the provided index in its raw 64-bit format.

GetDate ( int index ) : ulong

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

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

Adds a value to the signal and converts it from a double into its native format.
public AddData ( ulong time, double value ) : void
time ulong the time value to consider
value double the value to convert
Результат void

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

Adds a value to the signal and converts it from a float into its native format.
public AddData ( ulong time, float value ) : void
time ulong the time value to consider
value float the value to convert
Результат void

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

Adds a value to the signal and converts it from a long into its native format.
public AddData ( ulong time, long value ) : void
time ulong the time value to consider
value long the value to convert
Результат void

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

Adds a value to the signal and converts it from a ulong into its native format.
public AddData ( ulong time, ulong value ) : void
time ulong the time value to consider
value ulong the value to convert
Результат void

AddDataRaw() публичный абстрактный Метод

Adds a value to the signal in its raw 64-bit format.
public abstract AddDataRaw ( ulong time, ulong value ) : void
time ulong the time value to consider
value ulong the 64-bit value
Результат void

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

Flags this signal as complete which locks down the ability to add additional points to it.
public Completed ( ) : void
Результат void

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

Gets a value from the signal with the provided index and automatically converts it to a double.
public GetData ( int index, ulong &time, double &value ) : void
index int The zero based index of the position
time ulong an output field for the time
value double an output field for the converted value
Результат void

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

Gets a value from the signal with the provided index and automatically converts it to a float.
public GetData ( int index, ulong &time, float &value ) : void
index int The zero based index of the position
time ulong an output field for the time
value float an output field for the converted value
Результат void

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

Gets a value from the signal with the provided index and automatically converts it to a long.
public GetData ( int index, ulong &time, long &value ) : void
index int The zero based index of the position
time ulong an output field for the time
value long an output field for the converted value
Результат void

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

Gets a value from the signal with the provided index and automatically converts it to a ulong.
public GetData ( int index, ulong &time, ulong &value ) : void
index int The zero based index of the position
time ulong an output field for the time
value ulong an output field for the converted value
Результат void

GetDataRaw() публичный абстрактный Метод

Gets a value from the signal with the provided index in its raw 64-bit format.
public abstract GetDataRaw ( int index, ulong &time, ulong &value ) : void
index int The zero based index of the position
time ulong an output field for the time
value ulong an output field for the raw 64-bit value
Результат void

GetDate() публичный абстрактный Метод

public abstract GetDate ( int index ) : ulong
index int
Результат ulong