Click or drag to resize

IMeasurement Interface

Represents an interface for an abstract measurement value measured by a device at an exact time.

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax

The IMeasurement type exposes the following members.

Properties
 NameDescription
Public propertyAdder Defines an offset to add to the IMeasurement value.
Public propertyAdjustedValue Gets the adjusted numeric value of this IMeasurement, taking into account the specified Adder and Multiplier offsets.
Public propertyCreatedTimestamp Gets timestamp, in ticks, of when this IMeasurement was created.
Public propertyID Gets or sets the Guid based signal ID of this ITimeSeriesValueT.
(Inherited from ITimeSeriesValue)
Public propertyKey Gets or sets the primary key of this IMeasurement.
Public propertyLifespan Gets the life-span of this IMeasurement since its creation.
Public propertyMeasurementValueFilter Gets or sets function used to apply a down-sampling filter over a sequence of IMeasurement values.
Public propertyMetadata Gets or sets associated metadata values for the IMeasurement .
Public propertyMultiplier Defines a multiplicative offset to apply to the IMeasurement value.
Public propertyStateFlags Gets or sets MeasurementStateFlags associated with this IMeasurement.
Public propertyTagName Gets or sets the text based tag name of this IMeasurement.
Public propertyTimestamp Gets or sets exact timestamp, in ticks, of the data represented by this ITimeSeriesValueT.
(Inherited from ITimeSeriesValue)
Public propertyValue Gets or sets the raw typed value of this ITimeSeriesValueT.
(Inherited from ITimeSeriesValueT)
Top
Methods
 NameDescription
Public methodCompareTo(T)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparableITimeSeriesValue)
Public methodCompareTo(Object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from IComparable)
Public methodEqualsIndicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableITimeSeriesValue)
Public methodGetHashCode Get the hash code for the ID.
(Inherited from ITimeSeriesValue)
Top
Extension Methods
 NameDescription
Public Extension MethodGetSignalType Gets a unique (run-time only) signal type ID for the given measurement useful for sorting.
(Defined by IMeasurementExtensions)
Public Extension MethodHistorianQuality Gets a Quality value from a IMeasurement value.
(Defined by QualityExtensions)
Public Extension MethodIsCalculated Returns true if CalculatedValue is set.
(Defined by IMeasurementExtensions)
Public Extension MethodIsDiscarded Returns true if DiscardedValue is set.
(Defined by IMeasurementExtensions)
Public Extension MethodRuntimeSignalID Returns the measurement ID if defined, otherwise the run-time signal ID associated with the measurement key.
(Defined by IMeasurementExtensions)
Public Extension MethodSetAdder Sets the adder (i.e., "b" of y = mx + b) for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension MethodSetKey Sets the associated MeasurementKey for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension MethodSetMultiplier Sets the multiplier (i.e., "m" of y = mx + b) for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension MethodSetTagName Sets the tag name for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension MethodTimestampQualityIsGood Returns true if BadTime is not set.
(Defined by IMeasurementExtensions)
Public Extension MethodTimestampQualityIsSuspect Returns true if SuspectTime is set.
(Defined by IMeasurementExtensions)
Public Extension MethodValueQualityIsGood Returns true if BadData is not set.
(Defined by IMeasurementExtensions)
Top
Remarks
This interface abstractly represents a measured value at an exact time interval.
See Also