Click or drag to resize

StateRecordDataPoint Class

Represents time-series data stored in StateFile.
Inheritance Hierarchy
SystemObject
  GSF.Historian.FilesArchiveDataPoint
    GSF.Historian.FilesStateRecordDataPoint

Namespace: GSF.Historian.Files
Assembly: GSF.Historian (in GSF.Historian.dll) Version: 2.4.181-beta
Syntax
public class StateRecordDataPoint : ArchiveDataPoint
View Source

The StateRecordDataPoint type exposes the following members.

Constructors
 NameDescription
Public methodStateRecordDataPoint(IDataPoint) Initializes a new instance of the StateRecordDataPoint class.
Public methodStateRecordDataPoint(Int32) Initializes a new instance of the StateRecordDataPoint class.
Public methodStateRecordDataPoint(Int32, TimeTag, Single, Quality) Initializes a new instance of the StateRecordDataPoint class.
Public methodStateRecordDataPoint(Int32, Byte, Int32, Int32) Initializes a new instance of the StateRecordDataPoint class.
Top
Properties
 NameDescription
Public propertyBinaryLength Gets the length of the StateRecordDataPoint.
(Overrides ArchiveDataPointBinaryLength)
Public propertyDaylightSavingsTime Gets a boolean value that indicates whether daylight savings time is in effect.
Protected propertyFlags Gets or sets the 32-bit word used for storing data of ArchiveDataPoint.
(Inherited from ArchiveDataPoint)
Public propertyHistorianID Gets or sets the historian identifier of ArchiveDataPoint.
(Inherited from ArchiveDataPoint)
Public propertyIsEmpty Gets a boolean value that indicates whether ArchiveDataPoint contains any data.
(Inherited from ArchiveDataPoint)
Public propertyMetadata Gets or sets the associated MetadataRecord with this ArchiveDataPoint.
(Inherited from ArchiveDataPoint)
Public propertyQuality Gets or sets the Quality of ArchiveDataPoint.
(Inherited from ArchiveDataPoint)
Public propertyTime Gets or sets the TimeTag of StateRecordDataPoint.
(Overrides ArchiveDataPointTime)
Public propertyTimeZoneIndex Gets or sets the 0-based index of the time-zone for the Time.
Public propertyValue Gets or sets the floating-point value of ArchiveDataPoint.
(Inherited from ArchiveDataPoint)
Top
Methods
 NameDescription
Public methodCompareTo Compares the current ArchiveDataPoint object to obj.
(Inherited from ArchiveDataPoint)
Public methodEquals Determines whether the current ArchiveDataPoint object is equal to obj.
(Inherited from ArchiveDataPoint)
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 methodGenerateBinaryImage Generates binary image of the StateRecordDataPoint and copies it into the given buffer, for BinaryLength bytes.
(Overrides ArchiveDataPointGenerateBinaryImage(Byte, Int32))
Public methodGetHashCode Returns the hash code for the current ArchiveDataPoint object.
(Inherited from ArchiveDataPoint)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodParseBinaryImage Initializes StateRecordDataPoint from the specified buffer.
(Overrides ArchiveDataPointParseBinaryImage(Byte, Int32, Int32))
Public methodToString Returns the text representation of ArchiveDataPoint object.
(Inherited from ArchiveDataPoint)
Public methodToString(IFormatProvider) Returns the text representation of ArchiveDataPoint object using the specified provider.
(Inherited from ArchiveDataPoint)
Public methodToString(String) Returns the text representation of ArchiveDataPoint object in the specified format.
(Inherited from ArchiveDataPoint)
Public methodToString(String, IFormatProvider) Returns the text representation of ArchiveDataPoint object in the specified format using the specified provider.
(Inherited from ArchiveDataPoint)
Top
Fields
 NameDescription
Protected fieldStatic memberDstMask Specifies the bit-mask for DaylightSavingsTime stored in Flags.
Public fieldStatic memberFixedLength Specifies the number of bytes in the binary image of StateRecordDataPoint.
Protected fieldStatic memberTziMask Specifies the bit-mask for TimeZoneIndex stored in Flags.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also