openPDC Historian Help
StateRecord Class
NamespacesTVA.Historian.FilesStateRecord
Represents a record in the StateFile that contains the state information associated to a HistorianID.
Declaration Syntax
C#Visual BasicVisual C++
public class StateRecord : ISupportBinaryImage, 
	IComparable
Public Class StateRecord _
	Implements ISupportBinaryImage, IComparable
public ref class StateRecord : ISupportBinaryImage, 
	IComparable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
StateRecord(Int32)
Initializes a new instance of the StateRecord class.

StateRecord(Int32, array<Byte>[]()[], Int32, Int32)
Initializes a new instance of the StateRecord class.

ActiveDataBlockIndex
Gets or sets the 0-based index of the active ArchiveDataBlock for the HistorianID.

ActiveDataBlockSlot
Gets or sets the next slot position in the active ArchiveDataBlock for the HistorianID where data can be written.

ArchivedData
Gets or sets the most recently archived StateRecordDataPoint for the HistorianID.

BinaryImage
Gets the binary representation of StateRecord.

BinaryLength
Gets the length of the BinaryImage.

ByteCount
Specifies the number of bytes in the binary image of StateRecord.

CompareTo(Object)
Compares the current StateRecord object to obj.

CurrentData
Gets or sets the most current StateRecordDataPoint received for the HistorianID.

Equals(Object)
Determines whether the current StateRecord object is equal to obj.
(Overrides Object.Equals(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()()()
Returns the hash code for the current StateRecord object.
(Overrides Object.GetHashCode()()().)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HistorianID
Gets the historian identifier of StateRecord.

Initialize(array<Byte>[]()[], Int32, Int32)
Initializes StateRecord from the specified binaryImage.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PreviousData
Gets or sets the previous StateRecordDataPoint received for the HistorianID.

Slope1
Gets or sets slope #1 used in the piece-wise linear compression of data.

Slope2
Gets or sets slope #2 used in the piece-wise linear compression of data.

Summary
Gets the StateRecordSummary object for StateRecord.

ToString()()()
Returns the text representation of StateRecord object.
(Overrides Object.ToString()()().)
Inheritance Hierarchy
Object
StateRecord
See Also

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