Click or drag to resize
Grid Solutions Framework

MeasurementWrapper Class

A wrapper object used for easy insertion to and retrieval from a MongoDB database.
Inheritance Hierarchy
SystemObject
  MongoAdaptersMeasurementWrapper

Namespace: MongoAdapters
Assembly: MongoAdapters (in MongoAdapters.dll) Version: 2.4.181-beta
Syntax
public class MeasurementWrapper
View Source

The MeasurementWrapper type exposes the following members.

Constructors
 NameDescription
Public methodMeasurementWrapper Creates an empty instance of the MeasurementWrapper class.
Public methodMeasurementWrapper(IMeasurement) Creates a new instance of the MeasurementWrapper class.
Top
Properties
 NameDescription
Public propertyAdder The adder used to adjust the value of the measurement.
Public propertyID The identification number of the measurement. PointIDs are unsigned integers, but MongoDB needs to store them as signed integers.
Public propertyMultiplier The multiplier used to adjust the value of the measurement.
Public propertySignalID String representation of the measurement's signal ID.
Public propertySource The source of the measurement.
Public propertyTagName The measurement's tag name.
Public propertyTimestamp The timestamp associated with the measurement.
Public propertyValue The value of the measurement, before applying the adder and multiplier.
Top
Methods
 NameDescription
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 methodGetMeasurement Returns a new measurement equivalent to the one being wrapped.
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
See Also