ENUMVALUES
Parameters
Order | Name | Type | Desc |
---|---|---|---|
1 | properties | property list | A list of properties to get enumeration values from |
Returns
Returns a map containing enum information.
Description
This function returns the standard enumeration map (used to convert numbers into human-readable text) for the given properties.
Note that only enumeration, digital and lookup functions provide enumeration information.
The map usually contains an object for each property in the list, when then contains each of the possible values in a dictionary.
NOTE: Some assets have specialised enumeration values. This is very common with valves or other equipment that control flow direction. Where possible, you should rely on the information returned from the POINTS command, instead of these general values