C# Class openHistorian.Data.Query.SignalDataSingle

Contains a series of Times and Values for an individual signal. This class will store the value as a float.
Inheritance: SignalDataBase
Afficher le fichier Open project: GridProtectionAlliance/openHistorian

Méthodes publiques

Méthode Description
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

Method Details

AddData() public méthode

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
Résultat void

AddDataRaw() public méthode

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
Résultat void

GetData() public méthode

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
Résultat void

GetDataRaw() public méthode

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
Résultat void

GetDate() public méthode

public GetDate ( int index ) : ulong
index int
Résultat ulong

SignalDataSingle() public méthode

public SignalDataSingle ( ) : System
Résultat System