Click or drag to resize

IMeasurementExtensions Class

Defines static extension functions for IMeasurement implementations.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeriesIMeasurementExtensions

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
public static class IMeasurementExtensions
View Source

The IMeasurementExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodDeriveQualityFlags Gets derived quality flags from a set of source measurements.
Public Extension MethodGetDataColumn Gets a single column of measurement data from a two dimensional data window.
Public Extension MethodGetSignalType Gets a unique (run-time only) signal type ID for the given measurement useful for sorting.
Public Extension MethodIsCalculated Returns true if CalculatedValue is set.
Public Extension MethodIsDiscarded Returns true if DiscardedValue is set.
Public Extension MethodMeasurementKeys Returns the MeasurementKey values of a IMeasurement enumeration.
Public Extension MethodRuntimeSignalID Returns the measurement ID if defined, otherwise the run-time signal ID associated with the measurement key.
Public Extension MethodSetAdder Sets the adder (i.e., "b" of y = mx + b) for a IMeasurement.
Public Extension MethodSetKey Sets the associated MeasurementKey for a IMeasurement.
Public Extension MethodSetMultiplier Sets the multiplier (i.e., "m" of y = mx + b) for a IMeasurement.
Public Extension MethodSetTagName Sets the tag name for a IMeasurement.
Public Extension MethodTimestampQualityIsGood Returns true if BadTime is not set.
Public Extension MethodTimestampQualityIsSuspect Returns true if SuspectTime is set.
Public Extension MethodValueQualityIsGood Returns true if BadData is not set.
Top
Remarks
These helper functions map to the previously defined corresponding properties to help with the transition of MeasurementStateFlags.
See Also