public GetLabel ( int index ) : string | ||
index | int | Index of desired bit label to access. |
리턴 | string |
public string GetLabel(int index)
{
if (index < 0 || index >= LabelCount)
throw new IndexOutOfRangeException("Invalid label index specified. Note that there are " + LabelCount + " labels per digital available in " + DraftRevision + " of the IEC 61850-90-5 protocol");
return Label.PadRight(MaximumLabelLength).Substring(index * 16, 16).GetValidLabel();
}