C# 클래스 GSF.PhasorProtocols.ConfigurationCellBase

상속: ChannelCellBase, IConfigurationCell
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
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