C# 클래스 GSF.PhasorProtocols.IEC61850_90_5.DigitalDefinition

상속: DigitalDefinitionBase
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateNewDefinition IDigitalDefinition
ParseConversionFactor int

공개 메소드들

메소드 설명
DigitalDefinition ( GSF.PhasorProtocols.IEC61850_90_5.ConfigurationCell parent, string label, ushort normalStatus, ushort validInputs ) : System

Creates a new DigitalDefinition from specified parameters.

DigitalDefinition ( IConfigurationCell parent ) : System

Creates a new DigitalDefinition.

GetLabel ( int index ) : string

Gets the individual labels for specified bit in this DigitalDefinition.

In the final version of the protocol each digital bit can be labeled, but we read them out as one big string in the "Label" property so this property allows individual access to each label.

Note that the draft 6 implementation of the protocol supports one label for all 16-bits, however draft 7 (i.e., version 1) supports a label for each of the 16 bits.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void

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

SetLabel ( int index, string value ) : void

Sets the individual labels for specified bit in this DigitalDefinition.

In the final version of the protocol each digital bit can be labeled, but we read them out as one big string in the "Label" property so this property allows individual access to each label.

Note that the draft 6 implementation of the protocol supports one label for all 16-bits, however draft 7 (i.e., version 1) supports a label for each of the 16 bits.

보호된 메소드들

메소드 설명
DigitalDefinition ( SerializationInfo info, StreamingContext context ) : System

Creates a new DigitalDefinition from serialization parameters.

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

Parses the binary body image.

비공개 메소드들

메소드 설명
CreateNewDefinition ( IConfigurationCell parent, byte buffer, int startIndex, int &parsedLength ) : IDigitalDefinition
ParseConversionFactor ( byte buffer, int startIndex ) : int

Parses conversion factor image from the specified buffer.

메소드 상세

DigitalDefinition() 공개 메소드

Creates a new DigitalDefinition from specified parameters.
public DigitalDefinition ( GSF.PhasorProtocols.IEC61850_90_5.ConfigurationCell parent, string label, ushort normalStatus, ushort validInputs ) : System
parent GSF.PhasorProtocols.IEC61850_90_5.ConfigurationCell The parent of this .
label string The label of this .
normalStatus ushort The normal status for this .
validInputs ushort The valid input for this .
리턴 System

DigitalDefinition() 공개 메소드

Creates a new DigitalDefinition.
public DigitalDefinition ( IConfigurationCell parent ) : System
parent IConfigurationCell The parent of this .
리턴 System

DigitalDefinition() 보호된 메소드

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

GetLabel() 공개 메소드

Gets the individual labels for specified bit in this DigitalDefinition.

In the final version of the protocol each digital bit can be labeled, but we read them out as one big string in the "Label" property so this property allows individual access to each label.

Note that the draft 6 implementation of the protocol supports one label for all 16-bits, however draft 7 (i.e., version 1) supports a label for each of the 16 bits.

public GetLabel ( int index ) : string
index int Index of desired bit label to access.
리턴 string

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

SetLabel() 공개 메소드

Sets the individual labels for specified bit in this DigitalDefinition.

In the final version of the protocol each digital bit can be labeled, but we read them out as one big string in the "Label" property so this property allows individual access to each label.

Note that the draft 6 implementation of the protocol supports one label for all 16-bits, however draft 7 (i.e., version 1) supports a label for each of the 16 bits.

public SetLabel ( int index, string value ) : void
index int Index of desired bit label to access.
value string Value of the bit label to assign.
리턴 void