Click or drag to resize

CommandFrame Class

Represents the Macrodyne implementation of a ICommandFrame that can be sent or received.
Inheritance Hierarchy
SystemObject
  GSF.ParsingBinaryImageBase
    GSF.PhasorProtocolsChannelBase
      GSF.PhasorProtocolsChannelFrameBaseICommandCell
        GSF.PhasorProtocolsCommandFrameBase
          GSF.PhasorProtocols.MacrodyneCommandFrame

Namespace: GSF.PhasorProtocols.Macrodyne
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.207-beta
Syntax
[SerializableAttribute]
public class CommandFrame : CommandFrameBase
View Source

The CommandFrame type exposes the following members.

Constructors
 NameDescription
Public methodCommandFrame(DeviceCommand) Creates a new CommandFrame from specified parameters.
Protected methodCommandFrame(SerializationInfo, StreamingContext) Creates a new CommandFrame from serialization parameters.
Top
Properties
 NameDescription
Public propertyAllowQueuedPublication Gets flag that determines if frame image can be queued for publication or should be processed immediately.
(Inherited from ChannelFrameBaseT)
Public propertyAttributesDictionaryTKey, TValue of string based property names and values for the CommandFrameBase object.
(Inherited from CommandFrameBase)
Public propertyBinaryImage Gets the binary body image of this CommandFrame.
(Overrides ChannelFrameBaseTBinaryImage)
Public propertyBinaryLength Gets the length of the BinaryImage.
(Overrides ChannelFrameBaseTBinaryLength)
Protected propertyBodyImage Gets the binary body image of this CommandFrameBase.
(Inherited from CommandFrameBase)
Protected propertyBodyLength Gets the length of the BodyImage.
(Inherited from CommandFrameBase)
Public propertyCells Gets reference to the CommandCellCollection for this CommandFrameBase.
(Inherited from CommandFrameBase)
Public propertyChecksum Gets calculated checksum for this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertyCommand Gets or sets the DeviceCommand for this CommandFrame.
Public propertyCreatedTimestamp Gets timestamp, in ticks, of when this ChannelFrameBaseT was created.
(Inherited from ChannelFrameBaseT)
Public propertyExtendedData Gets or sets extended binary image data for this CommandFrameBase.
(Inherited from CommandFrameBase)
Protected propertyFooterImage Gets the binary footer image of the BinaryImageBase object.
(Inherited from ChannelBase)
Protected propertyFooterLength Gets the length of the footer portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
Public propertyFrameType Gets the FundamentalFrameType for this CommandFrameBase.
(Inherited from CommandFrameBase)
Protected propertyHeaderImage Gets the binary header image of the ChannelBase object.
(Inherited from ChannelBase)
Protected propertyHeaderLength Gets the length of the header portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
Public propertyIDCode Gets or sets the ID code of this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertyLastSortedMeasurement Gets or sets reference to last IMeasurement that was sorted into this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertyLifespan Gets the life-span of this ChannelFrameBaseT since its creation.
(Inherited from ChannelFrameBaseT)
Public propertyMeasurements Keyed measurements in this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Protected propertyParsedBinaryLength Gets the parsed binary length derived from the parsing state, if any.
(Inherited from ChannelFrameBaseT)
Public propertyPublished Gets or sets published state of this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertySortedMeasurements Gets or sets total number of measurements that have been sorted into this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertySource Gets or sets the data source identifier for this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertyState Gets or sets the parsing state for the this CommandFrameBase.
(Inherited from CommandFrameBase)
Public propertyTag Gets or sets a user definable reference to an object associated with this ChannelBase object.
(Inherited from ChannelBase)
Public propertyTimestamp Gets or sets exact timestamp, in ticks, of the data represented by this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertyTimeTag Gets UNIX based time representation of the ticks of this ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public propertyTrustHeaderLength Gets or sets flag that determines if header lengths should be trusted over parsed byte count.
(Inherited from ChannelFrameBaseT)
Public propertyValidateCheckSum Gets or sets flag that determines if frame's check-sum should be validated - this should normally be left as true.
(Inherited from ChannelFrameBaseT)
Top
Methods
 NameDescription
Protected methodAppendChecksum Appends checksum onto buffer starting at startIndex.
(Inherited from ChannelFrameBaseT)
Protected methodCalculateChecksum Calculates checksum of given buffer.
(Overrides ChannelFrameBaseTCalculateChecksum(Byte, Int32, Int32))
Protected methodChecksumIsValid Determines if checksum in the buffer is valid.
(Inherited from ChannelFrameBaseT)
Public methodCompareTo(IFrame) Compares the ChannelFrameBaseT with an IFrame.
(Inherited from ChannelFrameBaseT)
Public methodCompareTo(Object) Compares the ChannelFrameBaseT with the specified Object.
(Inherited from ChannelFrameBaseT)
Public methodEquals(IFrame) Determines whether the specified IFrame is equal to the current ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
Public methodEquals(Object) Determines whether the specified Object is equal to the current ChannelFrameBaseT.
(Inherited from ChannelFrameBaseT)
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 object and copies it into the given buffer, for BinaryLength bytes.
(Inherited from ChannelBase)
Protected methodGenerateBodyImage Generates the binary body image and copies it into the given buffer, for BodyLength bytes.
(Inherited from BinaryImageBase)
Protected methodGenerateFooterImage Generates the binary footer image and copies it into the given buffer, for FooterLength bytes.
(Inherited from BinaryImageBase)
Protected methodGenerateHeaderImage Generates the binary header image and copies it into the given buffer, for HeaderLength bytes.
(Inherited from BinaryImageBase)
Public methodGetHashCode Returns the hash code for this instance.
(Inherited from ChannelFrameBaseT)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from CommandFrameBase)
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 Parses the binary image.
(Inherited from ChannelFrameBaseT)
Protected methodParseBodyImage Parses the binary body image.
(Inherited from CommandFrameBase)
Protected methodParseFooterImage Parses the binary footer image.
(Inherited from BinaryImageBase)
Protected methodParseHeaderImage Parses the binary header image.
(Inherited from BinaryImageBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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
Remarks
Macrodyne command frames are designed only to be sent to a device, not received from a device. As a result this frame does not implement ISupportFrameImageTTypeIdentifier for automated frame parsing.
See Also