public override DataType GetDataType(int index)
{
if (index == 1)
{
return DataType.OctetString;
}
if (index == 2)
{
return DataType.UInt16;
}
if (index == 3)
{
return DataType.UInt16;
}
if (index == 4)
{
return DataType.UInt16;
}
if (index == 5)
{
return DataType.UInt16;
}
throw new ArgumentException("GetDataType failed. Invalid attribute index.");
}