Click or drag to resize

Measurement Methods

The Measurement type exposes the following members.

Methods
  Name Description
Public method Static member AverageAngleValueFilter Calculates an average of the specified sequence of IMeasurement phase angle values.
Public method Static member AverageValueFilter Calculates an average of the specified sequence of IMeasurement values.
Public method Static member Clone(IMeasurement) Creates a copy of the specified measurement.
Public method Static member Clone(IMeasurement, Ticks) Creates a copy of the specified measurement using a new timestamp.
Public method Static member Clone(IMeasurement, Double, Ticks) Creates a copy of the specified measurement using a new value and timestamp.
Public method Static member Clone(IMeasurement, Double, Ticks, MeasurementStateFlags, Boolean) Creates a copy of the specified measurement using a new value, timestamp and state flags.
Public method CompareTo(ITimeSeriesValue) Compares the Measurement with an ITimeSeriesValue.
Public method CompareTo(Object) Compares the Measurement with the specified Object.
Public method Equals(ITimeSeriesValue) Determines whether the specified ITimeSeriesValue is equal to the current Measurement.
Public method Equals(Object) Determines whether the specified Object is equal to the current Measurement.
(Overrides ObjectEquals(Object))
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetHashCode Serves as a hash function for the current Measurement.
(Overrides ObjectGetHashCode)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method Static member MajorityValueFilter Returns the majority value of the specified sequence of IMeasurement values.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method ToString Returns a String that represents the current Measurement.
(Overrides ObjectToString)
Public method Static member ToString(IMeasurement, Boolean) Returns a String that represents the specified IMeasurement.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetSignalType Gets a unique (run-time only) signal type ID for the given measurement useful for sorting.
(Defined by IMeasurementExtensions)
Public Extension Method HistorianQuality Gets a Quality value from a IMeasurement value.
(Defined by QualityExtensions)
Public Extension Method IsCalculated Returns true if CalculatedValue is set.
(Defined by IMeasurementExtensions)
Public Extension Method IsDiscarded Returns true if DiscardedValue is set.
(Defined by IMeasurementExtensions)
Public Extension Method RuntimeSignalID Returns the measurement ID if defined, otherwise the run-time signal ID associated with the measurement key.
(Defined by IMeasurementExtensions)
Public Extension Method SetAdder Sets the adder (i.e., "b" of y = mx + b) for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension Method SetKey Sets the associated MeasurementKey for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension Method SetMultiplier Sets the multiplier (i.e., "m" of y = mx + b) for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension Method SetTagName Sets the tag name for a IMeasurement.
(Defined by IMeasurementExtensions)
Public Extension Method TimestampQualityIsGood Returns true if BadTime is not set.
(Defined by IMeasurementExtensions)
Public Extension Method TimestampQualityIsSuspect Returns true if SuspectTime is set.
(Defined by IMeasurementExtensions)
Public Extension Method ValueQualityIsGood Returns true if BadData is not set.
(Defined by IMeasurementExtensions)
Top
See Also