Tag Definitions (TagInfoList)

The Tag Definitions folder in a tagdictionary contains the collection of standardized tags that have semantic meaning for that namespace (tag dictionary). Each tag in this TagInfoList can be used to add specific metadata to objects in a station, assigning additional semantic information, which provides a basis for searching. Tags typically contain a Validity slot with conditions such as, Always, IsType.

The following implementations of Simple Tag Info are available in the Tags folder of the tagdictionary palette. When creating a custom tag dictionary, drag and drop tags from the palette to the Tag Definitions folder in the tag dictionary’s property sheet to create the tag definitions for that dictionary.

Tag components available in the palette are listed in the following table.

Tag Name Value Description
Marker Marker (default) Tag name only. The Marker tag does not require a value. The fact that a component has the tag applied is sufficient to convey semantic information (the tag name, that is, “device” or “input”).
String String value Tag name and string value
Integer 0 (default) Tag name and numeric value
Long 0 (default) Tag name and numeric value
Float 0.00 (default) Tag name and numeric value
Double 0.00 (default) Tag name and numeric value
Ord null (default) Tag name and Ord value
DynamicEnum 0 (default) Tag name and numeric value
EnumRange   Tag name and numeric value
AbsTime date/time Tag name and date/time relative to given time zone
RelTime 00000h 00m 00s Tag name and time
Unit   Tag name, type and unit of measure
TimeZone UTC Tag name and timezone
Figure 27.   Example tag properties
Image

Tag properties

Following is a list of common properties for tag (Simple Tag Info) components

Name Value Description
Validity   A tag's validity property reflects criteria specified in the Condition property, providing a "hint" as to which objects the tag may be applied.
Condition Always, And, BooleanFilter, HasAncestor, HasRelation, IsType, Or A Validity subproperty used to specify criteria to be met in order for the tag to be applied to an object. Used in conjunction with the Filter subproperty. There may be one or more conditions under the Validity property.
Filter A tag name A Condition subproperty used to further specify objects to which the tag may be applied. The Filter value indicates tag(s) that must already be assigned to an object.
Default Value   Assigns a default value. Often present when validity specifies that the tag may be applied only to a baja:Component.
defFacets   Configurable facets applied to the default value property.
 NOTE: Tag dictionaries support adding a single DataPolicy to a TagInfo or a TagGroupInfo component. Also, the TagInfo and TagGroupInfo components have an Add DataPolicy action. For details, see “Data Policies”.