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
Show file Open project: GridProtectionAlliance/openHistorian

Public Methods

Method 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 method

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
return void

AddDataRaw() public method

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
return void

GetData() public method

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
return void

GetDataRaw() public method

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
return void

GetDate() public method

public GetDate ( int index ) : ulong
index int
return ulong

SignalDataSingle() public method

public SignalDataSingle ( ) : System
return System