C# Class GSF.PhasorProtocols.ConfigurationCellBase

Inheritance: ChannelCellBase, IConfigurationCell
Afficher le fichier Open project: GridProtectionAlliance/gsf

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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.
Résultat int

CompareTo() public méthode

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.
Résultat int

ConfigurationCellBase() protected méthode

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.
Résultat System

ConfigurationCellBase() protected méthode

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.
Résultat System

Equals() public méthode

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.
Résultat bool

Equals() public méthode

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.
Résultat bool

GetHashCode() public méthode

Returns the hash code for this instance.
public GetHashCode ( ) : int
Résultat int

GetObjectData() public méthode

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.
Résultat void

ParseBodyImage() protected méthode

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 .
Résultat int

ParseFooterImage() protected méthode

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 .
Résultat int

ParseHeaderImage() protected méthode

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 .
Résultat int

ToString() public méthode

Gets the string respresentation of this ConfigurationCellBase.
public ToString ( ) : string
Résultat string