C# Class GSF.PhasorProtocols.IEC61850_90_5.DigitalDefinition

Inheritance: DigitalDefinitionBase
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Private Properties

Свойство Type Description
CreateNewDefinition IDigitalDefinition
ParseConversionFactor int

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode Description
CreateNewDefinition ( IConfigurationCell parent, byte buffer, int startIndex, int &parsedLength ) : IDigitalDefinition
ParseConversionFactor ( byte buffer, int startIndex ) : int

Parses conversion factor image from the specified buffer.

Method Details

DigitalDefinition() public méthode

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

DigitalDefinition() public méthode

Creates a new DigitalDefinition.
public DigitalDefinition ( IConfigurationCell parent ) : System
parent IConfigurationCell The parent of this .
Résultat System

DigitalDefinition() protected méthode

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

GetLabel() public méthode

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

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

SetLabel() public méthode

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