C# Class GSF.PhasorProtocols.CommandCell

Inheritance: ChannelCellBase, ICommandCell
ファイルを表示 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
CommandCell ( ICommandFrame parent, byte extendedDataByte ) : System

Creates a new CommandCell from specified parameters.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void

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

Protected Methods

Method Description
CommandCell ( SerializationInfo info, StreamingContext context ) : System

Creates a new CommandCell from serialization parameters.

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

Parses the binary body image.

Private Methods

Method Description
CreateNewCell ( IChannelFrame parent, IChannelFrameParsingState state, int index, byte buffer, int startIndex, int &parsedLength ) : ICommandCell

Method Details

CommandCell() public method

Creates a new CommandCell from specified parameters.
public CommandCell ( ICommandFrame parent, byte extendedDataByte ) : System
parent ICommandFrame A reference to the parent for this .
extendedDataByte byte Extended data that represents this .
return System

CommandCell() protected method

Creates a new CommandCell from serialization parameters.
protected CommandCell ( 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