![]() |
Measurement Class |
[SerializableAttribute] public class Measurement : IMeasurement, ITimeSeriesValue<double>, ITimeSeriesValue, IEquatable<ITimeSeriesValue>, IComparable<ITimeSeriesValue>, IComparable
The Measurement type exposes the following members.
Name | Description | |
---|---|---|
![]() | Measurement | Constructs a new Measurement using default settings. |
Name | Description | |
---|---|---|
![]() | Adder | Gets an offset to add to the measurement value. This defaults to 0.0. |
![]() | AdjustedValue | Gets the adjusted numeric value of this measurement, taking into account the specified Adder and Multiplier offsets. |
![]() | CreatedTimestamp | Gets timestamp, in ticks, of when this Measurement was created. |
![]() | ID | Gets the Guid based signal ID of the Measurement implementation. |
![]() | Key | Gets the primary MeasurementKey of this Measurement implementation. |
![]() | Lifespan | Gets the life-span of this Measurement since its creation. |
![]() | MeasurementValueFilter | Gets function used to apply a down-sampling filter over a sequence of Measurement values. |
![]() | Metadata | Gets or sets associated metadata values for the Measurement implementation. |
![]() | Multiplier | Gets a multiplicative offset to apply to the measurement value. This defaults to 1.0. |
![]() | StateFlags | Gets or sets MeasurementStateFlags associated with this Measurement. |
![]() | TagName | Gets the text based tag name of this Measurement implementation. |
![]() | Timestamp | Gets or sets exact timestamp, in ticks, of the data represented by this Measurement. |
![]() | Value | Gets or sets the raw measurement value that is not offset by Adder and Multiplier. |
Name | Description | |
---|---|---|
![]() ![]() | AverageAngleValueFilter | Calculates an average of the specified sequence of IMeasurement phase angle values. |
![]() ![]() | AverageValueFilter | Calculates an average of the specified sequence of IMeasurement values. |
![]() ![]() | Clone(IMeasurement) | Creates a copy of the specified measurement. |
![]() ![]() | Clone(IMeasurement, Ticks) | Creates a copy of the specified measurement using a new timestamp. |
![]() ![]() | Clone(IMeasurement, Double, Ticks) | Creates a copy of the specified measurement using a new value and timestamp. |
![]() ![]() | Clone(IMeasurement, Double, Ticks, MeasurementStateFlags, Boolean) | Creates a copy of the specified measurement using a new value, timestamp and state flags. |
![]() | CompareTo(ITimeSeriesValue) | Compares the Measurement with an ITimeSeriesValue. |
![]() | CompareTo(Object) | Compares the Measurement with the specified Object. |
![]() | Equals(ITimeSeriesValue) | Determines whether the specified ITimeSeriesValue is equal to the current Measurement. |
![]() | Equals(Object) |
Determines whether the specified Object is equal to the current Measurement.
(Overrides ObjectEquals(Object)) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GetHashCode |
Serves as a hash function for the current Measurement.
(Overrides ObjectGetHashCode) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() ![]() | MajorityValueFilter | Returns the majority value of the specified sequence of IMeasurement values. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | ToString |
Returns a String that represents the current Measurement.
(Overrides ObjectToString) |
![]() ![]() | ToString(IMeasurement, Boolean) | Returns a String that represents the specified IMeasurement. |
Name | Description | |
---|---|---|
![]() ![]() | Equality(Measurement, Measurement) | Compares two Measurement values for equality. |
![]() ![]() | GreaterThan(Measurement, Measurement) | Returns true if left Measurement value is greater than right Measurement value. |
![]() ![]() | GreaterThanOrEqual(Measurement, Measurement) | Returns true if left Measurement value is greater than or equal to right Measurement value. |
![]() ![]() | Inequality(Measurement, Measurement) | Compares two Measurement values for inequality. |
![]() ![]() | LessThan(Measurement, Measurement) | Returns true if left Measurement value is less than right Measurement value. |
![]() ![]() | LessThanOrEqual(Measurement, Measurement) | Returns true if left Measurement value is less than or equal to right Measurement value. |
Name | Description | |
---|---|---|
![]() | GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | GetSignalType |
Gets a unique (run-time only) signal type ID for the given measurement useful for sorting.
(Defined by IMeasurementExtensions) |
![]() | HistorianQuality |
Gets a Quality value from a IMeasurement value.
(Defined by QualityExtensions) |
![]() | 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) |