Click or drag to resize

CommonFrameHeader Class

Represents the common header for all BPA PDCstream frames of data.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocols.BPAPDCstreamCommonFrameHeader

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

The CommonFrameHeader type exposes the following members.

Constructors
 NameDescription
Public methodCommonFrameHeader(Byte) Creates a new CommonFrameHeader from specified parameters.
Protected methodCommonFrameHeader(SerializationInfo, StreamingContext) Creates a new CommonFrameHeader from serialization parameters.
Public methodCommonFrameHeader(Boolean, Boolean, ConfigurationFrame, Byte, Int32, Int32) Creates a new CommonFrameHeader from given buffer.
Top
Properties
 NameDescription
Public propertyBinaryImage Gets the binary image of the common header portion of this frame.
Public propertyDataLength Gets or sets the length of the data in the BPA PDCstream frame (i.e., the FrameLength minus the header length and checksum: FrameLength - 8).
Public propertyFileType Gets or sets file type for this CommonFrameHeader used when frame is configuration frame and use phasor file format is true.
Public propertyFileVersion Gets or sets file version for this CommonFrameHeader used when frame is configuration frame and use phasor file format is true.
Public propertyFrameLength Gets or sets the BPA PDCstream frame length of this frame.
Public propertyFrameRate Gets frame rate based on sample rate and sample interval for the CommonFrameHeader object.
Public propertyFrameType Gets the fundamental frame type of this frame.
Public propertyPacketNumber Gets or sets the BPA PDCstream packet number of this frame - set to 00 for configuration frame
Public propertyPmuCount Gets or sets PMU count (i.e., number of cells) for the CommonFrameHeader object when use phasor file format is true.
Public propertyPreTriggerRows Gets or sets pre-trigger rows for the CommonFrameHeader object when use phasor file format is true.
Public propertyRoughTimestamp Gets rough timestamp, accurate to the second, that can be used until configuration frame arrives.
Public propertyRowFlags Gets or sets row flags for this CommonFrameHeader when frame is a data frame and use phasor file format is true.
Public propertyRowLength Gets or sets row length for the CommonFrameHeader object when use phasor file format is true.
Public propertySampleInterval Gets or sets sample interval for the CommonFrameHeader object.
Public propertySampleRate Gets or sets sample rate for the CommonFrameHeader object.
Public propertySourceID Gets or sets source ID for the CommonFrameHeader object.
Public propertyStartSample Gets or sets start sample for the CommonFrameHeader object.
Public propertyState Gets or sets the parsing state for the CommonFrameHeader object.
Public propertyTotalRows Gets or sets total number of data rows for the CommonFrameHeader object when use phasor file format is true.
Public propertyTriggerPMU Gets or sets trigger PMU number for the CommonFrameHeader object when use phasor file format is true.
Public propertyTriggerSample Gets or sets trigger sample for the CommonFrameHeader object when use phasor file format is true.
Public propertyTriggerTime Gets or sets trigger time for the CommonFrameHeader object when use phasor file format is true.
Public propertyTriggerType Gets or sets trigger type for the CommonFrameHeader object when use phasor file format is true.
Public propertyTypeID Gets or sets the BPA PDCstream specific frame type of this frame.
Public propertyUsePhasorDataFileFormat Gets or sets flag that determines if source data is in the Phasor Data File Format (i.e., a DST file).
Public propertyUserInformation Gets or sets free-form user information that can be added to the CommonFrameHeader object when use phasor file format is true.
Public propertyWordCount Gets or sets the BPA PDcstream word count.
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 memberDstHeaderFixedLength Total fixed length of CommonFrameHeader for header in phasor file format data.
Public fieldStatic memberFixedLength Total fixed length of CommonFrameHeader, streaming data or data row in phasor file format data.
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