Click or drag to resize

CommonFrameHeader Class

Represents the common header for all IEEE C37.118 frames of data.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocols.IEEEC37_118CommonFrameHeader

Namespace: GSF.PhasorProtocols.IEEEC37_118
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.181-beta
Syntax
[SerializableAttribute]
public class CommonFrameHeader : ICommonHeader<FrameType>, 
	ISerializable
View Source

The CommonFrameHeader type exposes the following members.

Constructors
 NameDescription
Protected methodCommonFrameHeader(SerializationInfo, StreamingContext) Creates a new CommonFrameHeader from serialization parameters.
Public methodCommonFrameHeader(ConfigurationFrame1, Byte, Int32) Creates a new CommonFrameHeader from given buffer.
Public methodCommonFrameHeader(ConfigurationFrame1, FrameType, UInt16, Ticks, DraftRevision) Creates a new CommonFrameHeader from specified parameters.
Top
Properties
 NameDescription
Public propertyBinaryImage Gets the binary image of the common header portion of this frame.
Public propertyContinuationIndex Gets or sets continuation index for fragmented frames of a ConfigurationFrame3.
Public propertyDataLength Gets or sets the length of the data in the IEEE C37.118 frame (i.e., the FrameLength minus the header length and checksum: FrameLength - 8).
Public propertyFractionOfSecond Gets the IEEE C37.118 fraction of second.
Public propertyFrameImages Gets or sets reference to FrameImageCollector used to cumulate fragmented frames of a ConfigurationFrame3.
Public propertyFrameLength Gets or sets the IEEE C37.118 frame length of this frame.
Public propertyFrameType Gets the fundamental frame type of this frame.
Public propertyIDCode Gets or sets the IEEE C37.118 ID code of this frame.
Public propertyIsFirstFrame Gets flag that determines if the ContinuationIndex represents the first frame in a series of frames that follow.
Public propertyIsLastFrame Gets flag that determines if the ContinuationIndex represents the last frame in a series of frames.
Public propertySecondOfCentury Gets the IEEE C37.118 second of century.
Public propertyState Gets or sets the parsing state for the CommonFrameHeader object.
Public propertyTimebase Gets or sets the IEEE C37.118 resolution of fractional time stamps.
Public propertyTimeQualityFlags Gets or sets the IEEE C37.118 TimeQualityFlags.
Public propertyTimeQualityIndicatorCode Gets or sets the IEEE C37.118 TimeQualityIndicatorCode.
Public propertyTimestamp Gets or sets timestamp of this CommonFrameHeader.
Public propertyTimeTag Gets time as a UnixTimeTag representing seconds of current Timestamp.
Public propertyTypeID Gets or sets the IEEE C37.118 specific frame type of this frame.
Public propertyVersion Gets or sets the IEEE C37.118 version of this frame.
Top
Methods
 NameDescription
Public methodStatic memberChecksumIsValid Validates the CRC-CCITT for the specified IEEE C37.118 buffer.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberFixedLength Total fixed length of CommonFrameHeader.
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