Click or drag to resize

MeasurementMetadata Class

Represents a set of meta-data fields for IMeasurement that should rarely change.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeriesMeasurementMetadata

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
[SerializableAttribute]
public class MeasurementMetadata
View Source

The MeasurementMetadata type exposes the following members.

Constructors
 NameDescription
Public methodMeasurementMetadata Creates a MeasurementMetadata
Top
Properties
 NameDescription
Public propertyStatic memberUndefined Represents an undefined MeasurementMetadata.
Top
Methods
 NameDescription
Public methodChangeAdder Creates a new instance of MeasurementMetadata using the provided adder. All other fields remain the same.
Public methodChangeAdderMultiplier Creates a new instance of MeasurementMetadata using the provided adder and multiplier. All other fields remain the same.
Public methodChangeKey Creates a new instance of MeasurementMetadata using the provided measurement key. All other fields remain the same.
Public methodChangeMeasurementValueFilter Creates a new instance of MeasurementMetadata using the provided measurementValueFilter. All other fields remain the same.
Public methodChangeMultiplier Creates a new instance of MeasurementMetadata using the provided multiplier. All other fields remain the same.
Public methodChangeTagName Creates a new instance of MeasurementMetadata using the provided tagName. All other fields remain the same.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldAdder Defines an offset to add to the IMeasurement value.
Public fieldKey Gets or sets the primary key of this IMeasurement.
Public fieldMeasurementValueFilter Gets or sets function used to apply a down-sampling filter over a sequence of IMeasurement values.
Public fieldMultiplier Defines a multiplicative offset to apply to the IMeasurement value.
Public fieldTagName Gets or sets the text based tag name of this IMeasurement.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
This class allows measurement meta-data to be quickly transferred from one IMeasurement to another. This class is immutable, so any change to these values requires that the class be recreated.
See Also