IMeasurement Interface

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

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.128 -- Release Build+e2476c52e94864f123f37e60764c948e49eb89eb
Implements
ITimeseriesValue, ITimeseriesValueDouble, IComparable, IComparableITimeseriesValue, IEquatableITimeseriesValue

Remarks

This interface abstractly represents a measured value at an exact time interval.

Properties

Adder Defines an offset to add to the IMeasurement value.
AdjustedValue Gets the adjusted numeric value of this IMeasurement, taking into account the specified Adder and Multiplier offsets.
CreatedTimestamp Gets timestamp, in ticks, of when this IMeasurement was created.
ID Gets or sets the Guid based signal ID of this ITimeseriesValueT.
(Inherited from ITimeseriesValue)
Key Gets or sets the primary key of this IMeasurement.
Lifespan Gets the life-span of this IMeasurement since its creation.
MeasurementValueFilter Gets or sets function used to apply a down-sampling filter over a sequence of IMeasurement values.
Metadata Gets or sets associated metadata values for the IMeasurement .
Multiplier Defines a multiplicative offset to apply to the IMeasurement value.
StateFlags Gets or sets MeasurementStateFlags associated with this IMeasurement.
TagName Gets or sets the text based tag name of this IMeasurement.
Timestamp Gets or sets exact timestamp, in ticks, of the data represented by this ITimeseriesValueT.
(Inherited from ITimeseriesValue)
Value Gets or sets the raw typed value of this ITimeseriesValueT.
(Inherited from ITimeseriesValueT)

Methods

CompareTo(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)
CompareTo(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)
EqualsIndicates whether the current object is equal to another object of the same type.
(Inherited from IEquatableITimeseriesValue)
GetHashCode Get the hash code for the ID.
(Inherited from ITimeseriesValue)

Extension Methods

GetSignalType Gets a unique (run-time only) signal type ID for the given measurement useful for sorting.
(Defined by IMeasurementExtensions)
IsCalculated Returns true if CalculatedValue is set.
(Defined by IMeasurementExtensions)
IsDiscarded Returns true if DiscardedValue is set.
(Defined by IMeasurementExtensions)
RuntimeSignalID Returns the measurement ID if defined, otherwise the run-time signal ID associated with the measurement key.
(Defined by IMeasurementExtensions)
SetAdder Sets the adder (i.e., "b" of y = mx + b) for a IMeasurement.
(Defined by IMeasurementExtensions)
SetKey Sets the associated MeasurementKey for a IMeasurement.
(Defined by IMeasurementExtensions)
SetMultiplier Sets the multiplier (i.e., "m" of y = mx + b) for a IMeasurement.
(Defined by IMeasurementExtensions)
SetTagName Sets the tag name for a IMeasurement.
(Defined by IMeasurementExtensions)
TimestampQualityIsGood Returns true if BadTime is not set.
(Defined by IMeasurementExtensions)
TimestampQualityIsSuspect Returns true if SuspectTime is set.
(Defined by IMeasurementExtensions)
ValueQualityIsGood Returns true if BadData is not set.
(Defined by IMeasurementExtensions)

See Also