Click or drag to resize

ChannelCellBase Class

Represents the common implementation of the protocol independent representation of any kind of data cell.
Inheritance Hierarchy

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
View Source

The ChannelCellBase type exposes the following members.

Constructors
 NameDescription
Protected methodChannelCellBase(IChannelFrame, UInt16) Creates a new ChannelCellBase from specified parameters.
Protected methodChannelCellBase(SerializationInfo, StreamingContext) Creates a new ChannelCellBase from serialization parameters.
Top
Properties
 NameDescription
Public propertyAttributesDictionaryTKey, TValue of string based property names and values for the ChannelCellBase object.
(Overrides ChannelBaseAttributes)
Public propertyBinaryImage Gets the binary image of the ChannelBase object.
(Inherited from ChannelBase)
Public propertyBinaryLength Gets the length of the BinaryImageBase object.
(Inherited from BinaryImageBase)
Protected propertyBodyImage Gets the binary body image of the ChannelBase object.
(Inherited from ChannelBase)
Protected propertyBodyLength Gets the length of the body portion of the BinaryImageBase object.
(Inherited from BinaryImageBase)
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)
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 numeric ID code for this ChannelCellBase.
Public propertyParent Gets or sets a reference to the parent IChannelFrame for this ChannelCellBase.
Public propertyState Gets or sets the parsing state for the this ChannelCellBase.
Public propertyTag Gets or sets a user definable reference to an object associated with this ChannelBase object.
(Inherited from ChannelBase)
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 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 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 methodParseBinaryImage Initializes object by parsing the specified buffer containing a binary image.
(Inherited from BinaryImageBase)
Protected methodParseBodyImage Parses the binary body image.
(Inherited from BinaryImageBase)
Protected methodParseFooterImage Parses the binary footer image.
(Inherited from BinaryImageBase)
Protected methodParseHeaderImage Parses the binary header image.
(Inherited from BinaryImageBase)
Public methodToString Gets the string representation of this ChannelCellBase.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodBinaryImage Returns a binary image of an object that implements ISupportBinaryImage.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyBinaryImageToStream Copies binary image of object that implements ISupportBinaryImage to a Stream.
(Defined by ISupportBinaryImageExtensions)
Public Extension MethodCopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)
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)
Public Extension MethodParseBinaryImageFromStream Parses binary image of object that implements ISupportBinaryImage from a Stream.
(Defined by ISupportBinaryImageExtensions)
Top
Remarks
This phasor protocol implementation defines a "cell" as a portion of a frame, i.e., a logical unit of data. For example, a DataCellBase (derived from ChannelCellBase) could be defined as a PMU within a frame of data, a DataFrameBase, that contains multiple PMU's coming from a PDC.
See Also