IMeasurementExtensions Class

Defines static extension functions for IMeasurement implementations.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
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 a unique (run-time only) signal type ID for the given measurement useful for sorting.
IsCalculated Returns true if CalculatedValue is set.
IsDiscarded Returns true if DiscardedValue is set.
MeasurementKeys Returns the MeasurementKey values of a IMeasurement enumeration.
RuntimeSignalID Returns the measurement ID if defined, otherwise the run-time signal ID associated with the measurement key.
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