IMeasurementExtensions Class

Defines static extension functions for IMeasurement implementations.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.137 -- Release Build+5d21665c80e600baad1ecadd223a3b4e0dc3a8d8
public static class IMeasurementExtensions
Inheritance
Object    IMeasurementExtensions

Remarks

These helper functions map to the previously defined corresponding properties to help with the transition of MeasurementStateFlags.

Methods

DeriveQualityFlags Gets derived quality flags from a set of source measurements.
GetDataColumn Gets a single column of measurement data from a two-dimensional data window.
GetSignalType Gets the SignalType for the given measurement as queried from the database - or - NONE if the signal type is not found in the database, the measurement ID is empty, or the signal type ID is not a valid SignalType enumeration value.
GetSignalTypeID(IMeasurement, DataSet, SignalType) Gets the signal type ID for the given measurement as queried from the database.
GetSignalTypeID(IMeasurement, DataSet, Int32) Gets the signal type ID for the given measurement as queried from the database.
IsCalculated Returns true if CalculatedValue is set.
IsDiscarded Returns true if DiscardedValue is set.
MeasurementKeys Returns the MeasurementKey values of a IMeasurement enumeration.
SetAdder Sets the adder (i.e., "b" of y = mx + b) for a IMeasurement.
SetKey Sets the associated MeasurementKey for a IMeasurement.
SetMultiplier Sets the multiplier (i.e., "m" of y = mx + b) for a IMeasurement.
SetTagName Sets the tag name for a IMeasurement.
TimestampQualityIsGood Returns true if BadTime is not set.
TimestampQualityIsSuspect Returns true if SuspectTime is set.
ValueQualityIsGood Returns true if BadData is not set.

See Also