C# Class GSF.PhasorProtocols.ConfigurationCellBase

Inheritance: ChannelCellBase, IConfigurationCell
显示文件 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
CompareTo ( IConfigurationCell other ) : int

Compares this instance to a specified IConfigurationCell object and returns an indication of their relative values.

CompareTo ( object obj ) : int

Compares this instance to a specified object and returns an indication of their relative values.

Equals ( IConfigurationCell other ) : bool

Returns a value indicating whether this instance is equal to specified IConfigurationCell value.

Equals ( object obj ) : bool

Returns a value indicating whether this instance is equal to a specified object.

GetHashCode ( ) : int

Returns the hash code for this instance.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void

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

ToString ( ) : string

Gets the string respresentation of this ConfigurationCellBase.

Protected Methods

Method Description
ConfigurationCellBase ( IConfigurationFrame parent, ushort idCode, int maximumPhasors, int maximumAnalogs, int maximumDigitals ) : System

Creates a new ConfigurationCellBase from specified parameters.

ConfigurationCellBase ( SerializationInfo info, StreamingContext context ) : System

Creates a new ConfigurationCellBase from serialization parameters.

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

Parses the binary body image.

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

Parses the binary footer image.

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

Parses the binary header image.

Method Details

CompareTo() public method

Compares this instance to a specified IConfigurationCell object and returns an indication of their relative values.
public CompareTo ( IConfigurationCell other ) : int
other IConfigurationCell A object to compare.
return int

CompareTo() public method

Compares this instance to a specified object and returns an indication of their relative values.
value is not an .
public CompareTo ( object obj ) : int
obj object An object to compare, or null.
return int

ConfigurationCellBase() protected method

Creates a new ConfigurationCellBase from specified parameters.
protected ConfigurationCellBase ( IConfigurationFrame parent, ushort idCode, int maximumPhasors, int maximumAnalogs, int maximumDigitals ) : System
parent IConfigurationFrame The reference to parent of this .
idCode ushort The numeric ID code for 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

ConfigurationCellBase() protected method

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

Equals() public method

Returns a value indicating whether this instance is equal to specified IConfigurationCell value.
public Equals ( IConfigurationCell other ) : bool
other IConfigurationCell A object to compare to this instance.
return bool

Equals() public method

Returns a value indicating whether this instance is equal to a specified object.
value is not an .
public Equals ( object obj ) : bool
obj object An object to compare, or null.
return bool

GetHashCode() public method

Returns the hash code for this instance.
public GetHashCode ( ) : int
return int

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

ParseFooterImage() protected method

Parses the binary footer image.
protected ParseFooterImage ( 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

ParseHeaderImage() protected method

Parses the binary header image.
protected ParseHeaderImage ( 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

ToString() public method

Gets the string respresentation of this ConfigurationCellBase.
public ToString ( ) : string
return string