A statusEnum-to-string link results in the string value of the Enum’s tag (descriptor), for example “Off” or “Occupied”. A statusEnum “null” value does not change the target string value.
A statusEnum-to-boolean link has a “False Value” converter property, with a default value of 0, such that any ordinal value other than 0 results in a boolean true. If needed, “False Value” can be edited to specify a different ordinal (integer) Enum value to associate with false.
A statusEnum “null” value does not change the target boolean value.
A statusEnum to “different simple number type” link results in the (integer) ordinal value of that Enum. A statusEnum “null” value does change/affect a linked long or integer value; however, a “null” changes a linked double or float value to “nan” (not a number).
A statusEnum-to-statusBoolean link has a “False Value” converter property, with a default 0 value, such that any ordinal value other than 0 results in a boolean true. If needed, “False Value” can be edited to specify a different ordinal (integer) Enum value to associate with false.
A statusEnum value “null” value changes the statusBoolean target to “null”.
A statusEnum to statusNumeric link results in the (integer) ordinal value of that Enum. A statusEnum “null” value changes the statusEnum target to “null”.
A statusEnum-to-statusString link results in the string value of the Enum’s tag (descriptor), for example “Off” or “Occupied”. A statusEnum “null” value changes the statusString target to “null”.
Links to other Conversion link "From" notes.
Copyright © 2000-2016 Tridium Inc. All rights reserved.