C# Класс GSF.PhasorProtocols.ConfigurationCellBase

Наследование: ChannelCellBase, IConfigurationCell
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

CompareTo() публичный Метод

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.
Результат int

CompareTo() публичный Метод

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.
Результат int

ConfigurationCellBase() защищенный Метод

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.
Результат System

ConfigurationCellBase() защищенный Метод

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.
Результат System

Equals() публичный Метод

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.
Результат bool

Equals() публичный Метод

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.
Результат bool

GetHashCode() публичный Метод

Returns the hash code for this instance.
public GetHashCode ( ) : int
Результат int

GetObjectData() публичный Метод

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.
Результат void

ParseBodyImage() защищенный Метод

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 .
Результат int

ParseFooterImage() защищенный Метод

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 .
Результат int

ParseHeaderImage() защищенный Метод

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 .
Результат int

ToString() публичный Метод

Gets the string respresentation of this ConfigurationCellBase.
public ToString ( ) : string
Результат string