Gemstone PhasorProtocols Library
Show/Hide TOC

# DataCellBase Class

Represents the protocol independent common implementation of all elements for cells in a IDataFrame.

## Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.172 -- Release Build+8ff484d27be470a9f139c028632b756fcaea69c8
C#
View Source Request Example

    [SerializableAttribute]
    public abstract class DataCellBase : ChannelCellBase,
    	IDataCell, IChannelCell, IChannel, ISupportBinaryImage, ISerializable

VB
View Source Request Example

    <SerializableAttribute>
    Public MustInherit Class DataCellBase
    	Inherits ChannelCellBase
    	Implements IDataCell, IChannelCell, IChannel, ISupportBinaryImage,
    	ISerializable

C++
View Source Request Example

    [SerializableAttribute]
    public ref class DataCellBase abstract : public ChannelCellBase,
    	IDataCell, IChannelCell, IChannel, ISupportBinaryImage, ISerializable

JavaScript
View Source Request Example

    Gemstone.PhasorProtocols.DataCellBase = function();

    Type.createClass(
    	'Gemstone.PhasorProtocols.DataCellBase',
    	Gemstone.PhasorProtocols.ChannelCellBase,
    	Gemstone.PhasorProtocols.IDataCell,
    	Gemstone.PhasorProtocols.IChannelCell,
    	Gemstone.PhasorProtocols.IChannel,
    	ISupportBinaryImage,
    	ISerializable);

Inheritance
  Object BinaryImageBase ChannelBase ChannelCellBase DataCellBase

Derived
  Gemstone.PhasorProtocols.BPAPDCstreamDataCell
  Gemstone.PhasorProtocols.FNETDataCell
  Gemstone.PhasorProtocols.IEC61850_90_5DataCell
  Gemstone.PhasorProtocols.IEEE1344DataCell
  Gemstone.PhasorProtocols.IEEEC37_118DataCell
  Gemstone.PhasorProtocols.MacrodyneDataCell
  Gemstone.PhasorProtocols.SelCWSDataCell
  Gemstone.PhasorProtocols.SelFastMessageDataCell
  More Less

Implements
  ISupportBinaryImage, IChannel, IChannelCell, IDataCell, ISerializable

## Constructors

DataCellBase(SerializationInfo, StreamingContext) | Creates a new DataCellBase from serialization parameters.
DataCellBase(IDataFrame, IConfigurationCell, UInt16, Int32, Int32, Int32) | Creates a new DataCellBase from specified parameters.

## Properties

AllValuesAssigned | Gets flag that determines if all values of this DataCellBase have been assigned.
AnalogValues | Gets AnalogValueCollectionof this DataCellBase.
Attributes | DictionaryTKey, TValue of string based property names and values for the DataCellBase object. (Overrides ChannelCellBaseAttributes)
BinaryImage | Gets the binary image of the ChannelBase object. (Inherited from ChannelBase)
BinaryLength | Gets the length of the BinaryImageBase object. (Inherited from BinaryImageBase)
BodyImage | Gets the binary body image of the DataCellBase object. (Overrides ChannelBaseBodyImage)
BodyLength | Gets the length of the BodyImage. (Overrides BodyLength)
CommonStatusFlags | Gets or sets common status flags of this DataCellBase.
ConfigurationCell | Gets or sets the IConfigurationCell associated with this DataCellBase.
DataIsValid | Gets or sets flag that determines if data of this DataCellBase is valid.
DataModified | Gets or sets flag that determines if data is modified by a post-processing device, such as a PDC.
DataSortingType | Gets or sets DataSortingType of this DataCellBase.
DeviceError | Gets or sets flag that determines if source device of this DataCellBase is reporting an error.
DigitalValues | Gets DigitalValueCollectionof this DataCellBase.
FooterImage | Gets the binary footer image of the BinaryImageBase object. (Inherited from ChannelBase)
FooterLength | Gets the length of the footer portion of the BinaryImageBase object. (Inherited from BinaryImageBase)
FrequencyValue | Gets IFrequencyValue of this DataCellBase.
HeaderImage | Gets the binary header image of the ChannelBase object. (Inherited from ChannelBase)
HeaderLength | Gets the length of the header portion of the BinaryImageBase object. (Inherited from BinaryImageBase)
IDCode | Gets the numeric ID code for this DataCellBase. (Overrides ChannelCellBaseIDCode)
IDLabel | Gets ID label of this DataCellBase.
Parent | Gets or sets the reference to parent IDataFrame of this DataCellBase.
PhasorValues | Gets PhasorValueCollection of this DataCellBase.
State | Gets or sets the parsing state for the this DataCellBase.
StationName | Gets station name of this DataCellBase.
StatusFlags | Gets or sets 16-bit status flags of this DataCellBase.
SynchronizationIsValid | Gets or sets flag that determines if timestamp of this DataCellBase is valid based on GPS lock.
Tag | Gets or sets a user definable reference to an object associated with this ChannelBase object. (Inherited from ChannelBase)

## Methods

Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GenerateBinaryImage | Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes. (Inherited from ChannelBase)
GenerateBodyImage(Byte[], Int32) | Generates the binary body image and copies it into the given buffer, for BodyLength bytes. (Inherited from BinaryImageBase)
GenerateFooterImage(Byte[], Int32) | Generates the binary footer image and copies it into the given buffer, for FooterLength bytes. (Inherited from BinaryImageBase)
GenerateHeaderImage(Byte[], Int32) | Generates the binary header image and copies it into the given buffer, for HeaderLength bytes. (Inherited from BinaryImageBase)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Overrides ChannelCellBaseGetObjectData(SerializationInfo, StreamingContext))
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ParseBinaryImage(Byte[], Int32, Int32) | Initializes object by parsing the specified buffer containing a binary image. (Inherited from BinaryImageBase)
ParseBodyImage | Parses the binary body image. (Overrides ParseBodyImage(Byte[], Int32, Int32))
ParseFooterImage(Byte[], Int32, Int32) | Parses the binary footer image. (Inherited from BinaryImageBase)
ParseHeaderImage(Byte[], Int32, Int32) | Parses the binary header image. (Inherited from BinaryImageBase)
ToString | Gets the string representation of this ChannelCellBase. (Inherited from ChannelCellBase)

## Extension Methods

CopyImage | This is a common optimized block copy function for any kind of data. (Defined by Common)

## See Also

#### Reference

Gemstone.PhasorProtocols Namespace