Translations¶
-
IDictionary<uint, string> ISignal.Translations { get; }¶
Gets the collection of known values and their associated human-readable string representations.
- Value
IDictionary<uint, string> – Collection of values to their human-readable string representations.
- Throws
UnsupportedException– GetTranslations not supported (signal data type must be SignalDataType.Bool, SignalDataType.Enum or SignalDataType.Mask).CommunicationErrorException– Protocol error.ConnectionLostException– Connection to controller lost.RebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
Meant for:
Booleans, i.e. “True” and “False”
Enumerations, i.e. translations from enumerator to name
Masks, i.e. translations from mask value to name.