Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

Download the Solution Example: TagEnumeration.dbsln


  • Solution Name: TagEnumeration
  • Software Version: 10.0
  • Keywords: Tags Enumeration

Summary

This solution demonstrates how to use the Enumerations feature.

Technical Information

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 Tags (using the Enumeration field for tags).

When showing the value of tags in the displays, Tag.Value shows the numeric value, Tag.ValueAsString shows the enumeration string connected with that value.

Reference

See Unified Namespaces Enumerations for more information.