Click or drag to resize
Grid Solutions Framework

SerializableMeasurement Class

Represents a serializable IMeasurement that can be serialized using XmlSerializer, DataContractSerializer or DataContractJsonSerializer.
Inheritance Hierarchy

Namespace: DataQualityMonitoring
Assembly: DataQualityMonitoring (in DataQualityMonitoring.dll) Version: 2.4.218-beta
Syntax
[XmlTypeAttribute("Measurement")]
[DataContractAttribute(Name = "Measurement", Namespace = "")]
public class SerializableMeasurement
View Source

The SerializableMeasurement type exposes the following members.

Constructors
 NameDescription
Public methodSerializableMeasurement Initializes a new instance of the SerializableMeasurement class.
Public methodSerializableMeasurement(IMeasurement) Initializes a new instance of the SerializableMeasurement class.
Top
Properties
 NameDescription
Public propertyDevice Gets or sets the device of the IMeasurement.
Public propertyKey Gets or sets the Key.
Public propertySignalID Gets or sets the ID.
Public propertySignalType Gets or sets the signal type of the IMeasurement.
Public propertyTimestamp Gets or sets the Timestamp in DateTime string format.
Public propertyValue Gets or sets the AdjustedValue.
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnProcessException Raises the ProcessException event.
Public methodSetDeviceAndSignalType Acquires and sets the device and signal type of the source measurement.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventProcessException Occurs when an System.Exception is encountered when processing a request.
Top
See Also