Click or drag to resize

CommonFrameHeader Class

Represents the common header for all Macrodyne frames of data.
Inheritance Hierarchy
SystemObject
  GSF.ParsingCommonHeaderBaseFrameType
    GSF.PhasorProtocols.MacrodyneCommonFrameHeader

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

The CommonFrameHeader type exposes the following members.

Constructors
 NameDescription
Public methodCommonFrameHeader Creates a new CommonFrameHeader.
Public methodCommonFrameHeader(ProtocolVersion, FrameType) Creates a new CommonFrameHeader.
Protected methodCommonFrameHeader(SerializationInfo, StreamingContext) Creates a new CommonFrameHeader from serialization parameters.
Public methodCommonFrameHeader(Byte, Int32, ProtocolVersion, ConfigurationFrame) Creates a new CommonFrameHeader from given buffer.
Top
Properties
 NameDescription
Public propertyBinaryImage Gets the binary image of the common header portion of this CommonFrameHeader.
Public propertyDataLength Gets the Macrodyne data length.
Public propertyFrameLength Gets the Macrodyne frame length.
Public propertyFrameType Gets the fundamental frame type of this frame.
Public propertyProtocolVersion Gets or sets flag that determines the Macrodyne protocol version.
Public propertyState Gets or sets any additional state information that might be needed for parsing.
(Inherited from CommonHeaderBaseTTypeIdentifier)
Public propertyStatusFlags Gets or sets the StatusFlags of this CommonFrameHeader.
Public propertyTypeID Gets or sets the identifier used for identifying the Type to be parsed.
(Inherited from CommonHeaderBaseTTypeIdentifier)
Top
Methods
 NameDescription
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