Gurux.DLMS.Objects.GXDLMSSFSKMacSynchronizationTimeouts.GetDataType C# (CSharp) Méthode

GetDataType() public méthode

public GetDataType ( int index ) : DataType
index int
Résultat DataType
    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.");
    }