C# Class GSF.PhasorProtocols.DataCellBase

Inheritance: ChannelCellBase, IDataCell
Datei anzeigen Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Populates a SerializationInfo with the data needed to serialize the target object.

Protected Methods

Method Description
DataCellBase ( IDataFrame parent, IConfigurationCell configurationCell, ushort statusFlags, int maximumPhasors, int maximumAnalogs, int maximumDigitals ) : System

Creates a new DataCellBase from specified parameters.

DataCellBase ( SerializationInfo info, StreamingContext context ) : System

Creates a new DataCellBase from serialization parameters.

ParseBodyImage ( byte buffer, int startIndex, int length ) : int

Parses the binary body image.

Private Methods

Method Description
IDataCell ( ) : IMeasurement

Method Details

DataCellBase() protected method

Creates a new DataCellBase from specified parameters.
protected DataCellBase ( IDataFrame parent, IConfigurationCell configurationCell, ushort statusFlags, int maximumPhasors, int maximumAnalogs, int maximumDigitals ) : System
parent IDataFrame The reference to parent of this .
configurationCell IConfigurationCell The associated with this .
statusFlags ushort The default status flags to apply to this .
maximumPhasors int Sets the maximum number of phasors for the collection.
maximumAnalogs int Sets the maximum number of phasors for the collection.
maximumDigitals int Sets the maximum number of phasors for the collection.
return System

DataCellBase() protected method

Creates a new DataCellBase from serialization parameters.
protected DataCellBase ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The with populated with data.
context System.Runtime.Serialization.StreamingContext The source for this deserialization.
return System

GetObjectData() public method

Populates a SerializationInfo with the data needed to serialize the target object.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The to populate with data.
context System.Runtime.Serialization.StreamingContext The destination for this serialization.
return void

ParseBodyImage() protected method

Parses the binary body image.
protected ParseBodyImage ( byte buffer, int startIndex, int length ) : int
buffer byte Binary image to parse.
startIndex int Start index into to begin parsing.
length int Length of valid data within .
return int