openPDC Historian Help
SerializableTimeSeriesDataPoint Class
NamespacesTVA.Historian.ServicesSerializableTimeSeriesDataPoint

[This is preliminary documentation and is subject to change.]

Represents a time-series data-point that can be serialized using XmlSerializer, DataContractSerializer or DataContractJsonSerializer.
Declaration Syntax
C#Visual BasicVisual C++
[XmlTypeAttribute("TimeSeriesDataPoint")]
[DataContractAttribute(Name = "TimeSeriesDataPoint")]
public class SerializableTimeSeriesDataPoint
<XmlTypeAttribute("TimeSeriesDataPoint")> _
<DataContractAttribute(Name := "TimeSeriesDataPoint")> _
Public Class SerializableTimeSeriesDataPoint
[XmlTypeAttribute(L"TimeSeriesDataPoint")]
[DataContractAttribute(Name = L"TimeSeriesDataPoint")]
public ref class SerializableTimeSeriesDataPoint
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SerializableTimeSeriesDataPoint()()()
Initializes a new instance of the SerializableTimeSeriesDataPoint class.

SerializableTimeSeriesDataPoint(IDataPoint)
Initializes a new instance of the SerializableTimeSeriesDataPoint class.

Deflate()()()
Returns an IDataPoint object for this SerializableTimeSeriesDataPoint.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HistorianID
Gets or sets the HistorianID.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Quality
Gets or sets the Quality.

Time
Gets or sets the String representation of Time.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Value
Gets or sets the Value.

Examples
This is the output for SerializableTimeSeriesDataPoint serialized using XmlSerializer:
CopyC#
<?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="21-Aug-2009 14:21:23.236" Value="60.0419579" Quality="Good" />
This is the output for SerializableTimeSeriesDataPoint serialized using DataContractSerializer:
CopyC#
<TimeSeriesDataPoint xmlns="http://schemas.datacontract.org/2004/07/TVA.Historian.Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <HistorianID>1</HistorianID>
  <Time>21-Aug-2009 14:21:54.612</Time>
  <Value>60.025547</Value>
  <Quality>Good</Quality>
</TimeSeriesDataPoint>
This is the output for SerializableTimeSeriesDataPoint serialized using DataContractJsonSerializer:
CopyC#
{
  "HistorianID":1,
  "Time":"21-Aug-2009 14:22:26.971",
  "Value":59.9974136,
  "Quality":29
}
Inheritance Hierarchy
Object
SerializableTimeSeriesDataPoint
See Also

Assembly: TVA.Historian (Module: TVA.Historian) Version: 1.0.0.0