Versions Compared

Key

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


Info
iconfalse

Download the Solution Example here: TagEnumeration.dbsln


  • Solution Name: TagEnumeration

  • Software Version:

10.0.6
  • v10

  • Keywords:

Tags
  •  Enumeration. Unified Namespace.


Summary

This solution shows demonstrates how to use the Enumerations feature.

Image Added


Technical Information

 These Dictionaries cause a device to have an example value like 0 or 1 display strings On and Off. It is also possible to represent these values in different Tags, Symbols and Graphics.

Using this infrastructure, you can configure enumerations on Unified Namespaces →  Enumerations. You can also organize your solution-defined categories into Tags, Symbols, and other elements.

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.

Image Added


Reference Information

→ See Unified Namespaces Enumerations for more information.


In this section:

Page Tree
root@parent
spacesV10

Reference

See Unified Namespaces - Enumerations for more information.