Serializable
|
[XmlTypeAttribute("TimeSeriesData")] [DataContractAttribute(Name = "TimeSeriesData", Namespace = "")] public class SerializableTimeSeriesData
The SerializableTimeSeriesData type exposes the following members.
Name | Description | |
---|---|---|
SerializableTimeSeriesData | Initializes a new instance of the SerializableTimeSeriesData class. | |
SerializableTimeSeriesData(IEnumerableIDataPoint) | Initializes a new instance of the SerializableTimeSeriesData class. |
Name | Description | |
---|---|---|
TimeSeriesDataPoints | Gets or sets the SerializableTimeSeriesDataPoints contained in the SerializableTimeSeriesData. |
Name | Description | |
---|---|---|
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" encoding="utf-8" ?> <TimeSeriesData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TimeSeriesDataPoints> <TimeSeriesDataPoint HistorianID="1" Time="21-Aug-2009 14:29:52.634" Value="59.9537773" Quality="Good" /> <TimeSeriesDataPoint HistorianID="2" Time="21-Aug-2009 14:29:52.668" Value="60.0351028" Quality="Good" /> <TimeSeriesDataPoint HistorianID="3" Time="21-Aug-2009 14:29:52.702" Value="59.99268" Quality="Good" /> <TimeSeriesDataPoint HistorianID="4" Time="21-Aug-2009 14:29:52.736" Value="59.99003" Quality="Good" /> <TimeSeriesDataPoint HistorianID="5" Time="21-Aug-2009 14:29:52.770" Value="59.9532661" Quality="Good" /> </TimeSeriesDataPoints> </TimeSeriesData>
<TimeSeriesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <TimeSeriesDataPoints> <TimeSeriesDataPoint> <HistorianID>1</HistorianID> <Time>21-Aug-2009 14:31:56.176</Time> <Value>60.0272522</Value> <Quality>Good</Quality> </TimeSeriesDataPoint> <TimeSeriesDataPoint> <HistorianID>2</HistorianID> <Time>21-Aug-2009 14:31:56.210</Time> <Value>60.0283241</Value> <Quality>Good</Quality> </TimeSeriesDataPoint> <TimeSeriesDataPoint> <HistorianID>3</HistorianID> <Time>21-Aug-2009 14:31:56.244</Time> <Value>60.0418167</Value> <Quality>Good</Quality> </TimeSeriesDataPoint> <TimeSeriesDataPoint> <HistorianID>4</HistorianID> <Time>21-Aug-2009 14:31:56.278</Time> <Value>60.0049438</Value> <Quality>Good</Quality> </TimeSeriesDataPoint> <TimeSeriesDataPoint> <HistorianID>5</HistorianID> <Time>21-Aug-2009 14:31:56.312</Time> <Value>59.9982834</Value> <Quality>Good</Quality> </TimeSeriesDataPoint> </TimeSeriesDataPoints> </TimeSeriesData>
{ "TimeSeriesDataPoints": [{"HistorianID":1, "Time":"21-Aug-2009 14:37:04.804", "Value":59.9637527, "Quality":29}, {"HistorianID":2, "Time":"21-Aug-2009 14:37:04.838", "Value":60.0154762, "Quality":29}, {"HistorianID":3, "Time":"21-Aug-2009 14:37:04.872", "Value":59.977684, "Quality":29}, {"HistorianID":3, "Time":"21-Aug-2009 14:37:04.906", "Value":59.97335, "Quality":29}, {"HistorianID":5, "Time":"21-Aug-2009 14:37:04.940", "Value":59.974678, "Quality":29}] }