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

Contains a series of Times and Values for an individual signal. This class will store the value as a float.
Наследование: SignalDataBase
Показать файл Открыть проект

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

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

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

AddDataRaw ( ulong time, ulong value ) : void

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

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.

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
SignalDataSingle ( ) : System

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

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

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

Adds a value to the signal in its raw 64-bit format.
public AddDataRaw ( ulong time, ulong value ) : void
time ulong the time value to consider
value ulong the 64-bit 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

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

Gets a value from the signal with the provided index in its raw 64-bit format.
public 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 GetDate ( int index ) : ulong
index int
Результат ulong

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

public SignalDataSingle ( ) : System
Результат System