Serializable
|
[XmlTypeAttribute("TimeSeriesDataPoint")] [DataContractAttribute(Name = "TimeSeriesDataPoint", Namespace = "")] public class SerializableTimeSeriesDataPoint
The SerializableTimeSeriesDataPoint type exposes the following members.
Name | Description | |
---|---|---|
SerializableTimeSeriesDataPoint | Initializes a new instance of the SerializableTimeSeriesDataPoint class. | |
SerializableTimeSeriesDataPoint(IDataPoint) | Initializes a new instance of the SerializableTimeSeriesDataPoint class. |
Name | Description | |
---|---|---|
HistorianID | Gets or sets the HistorianID. | |
Quality | Gets or sets the Quality. | |
Time | Gets or sets the String representation of Time. | |
Value | Gets or sets the Value. |
Name | Description | |
---|---|---|
Deflate | Returns an IDataPoint object for this SerializableTimeSeriesDataPoint. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from 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 the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
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) |
<?xml version="1.0"?> <TimeSeriesDataPoint xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" HistorianID="1" Time="2009-08-21 14:21:23.236" Value="60.0419579" Quality="Good" />
<TimeSeriesDataPoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <HistorianID>1</HistorianID> <Time>2009-08-21 14:21:54.612</Time> <Value>60.025547</Value> <Quality>Good</Quality> </TimeSeriesDataPoint>
{ "HistorianID":1, "Time":"2009-08-21 14:22:26.971", "Value":59.9974136, "Quality":29 }