This solution demonstrates how to use the Enumerations feature.
These dictionaries allow displays to display numerical values (e.g., 0, 1) as strings (e.g., 'On', 'Off').
You can configure enumerations in Unified Namespaces → Enumerations and apply them to display values.
See Unified Namespaces Enumerations for more information.