Click or drag to resize

DigitalDefinitionSetLabel Method

Sets the individual labels for specified bit in this DigitalDefinition.

Namespace: GSF.PhasorProtocols.IEEEC37_118
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax
public void SetLabel(
	int index,
	string value
)
View Source

Parameters

index  Int32
Index of desired bit label to access.
value  String
Value of the bit label to assign.
Remarks

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.

See Also