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();
}