C# Class 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.
显示文件 Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

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

Method Details

AddData() public method

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

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

AddData() public method

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

AddData() public method

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

AddDataRaw() public abstract method

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

Completed() public method

Flags this signal as complete which locks down the ability to add additional points to it.
public Completed ( ) : void
return void

GetData() public method

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

GetData() public method

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

GetData() public method

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

GetDataRaw() public abstract method

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

GetDate() public abstract method

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