CommonFrameHeader Class

Represents the common header for all IEEE 1344 frames of data.

Definition

Namespace: Gemstone.PhasorProtocols.IEEE1344
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.110 -- Release Build+b26f50da8951964ebeac94cceca49a2cc8bc2c4d
Inheritance
Object    CommonFrameHeader
Implements
ICommonHeaderFrameType, ISerializable

Constructors

CommonFrameHeader(Byte, Int32) Creates a new CommonFrameHeader from given buffer.
CommonFrameHeader(FrameType, Ticks) Creates a new CommonFrameHeader from specified parameters.
CommonFrameHeader(SerializationInfo, StreamingContext) Creates a new CommonFrameHeader from serialization parameters.

Properties

BinaryImage Gets the binary image of the common header portion of this frame.
DataLength Gets or sets the length of the data in the IEEE 1344 frame (i.e., the FrameLength minus the header length and checksum: FrameLength - 8).
FrameCount Gets or sets the total frame count.
FrameImages Gets or sets reference to a FrameImageCollector associated the IEEE 1344 frame, if any.
FrameLength Gets or sets the entire length of the IEEE 1344 frame.
FrameType Gets the fundamental frame type of this frame.
IsFirstFrame Gets or sets flag from that determines if this is the first frame image in a series of images representing an entire frame.
IsLastFrame Gets or sets flag that determines if this is the last frame image in a series of images representing an entire frame.
SampleCount Gets or sets the sample number (i.e., frame count) of this frame.
State Gets or sets the parsing state for the CommonFrameHeader object.
Timestamp Gets or sets timestamp of this CommonFrameHeader.
TimeTag Gets the timestamp of this frame in NTP format.
TypeID Gets or sets the IEEE 1344 specific frame type of this frame.

Methods

ChecksumIsValid Validates the CRC-CCITT for the specified IEEE 1344 buffer.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

FixedLength Total fixed length of CommonFrameHeader.

See Also