Echelon NodeBuilder Resource Editor User Manual
Page 55

Member
The name of the enumerator. The name must be
unique for all enumeration types that may be
used in an application. To ensure uniqueness,
select a unique prefix for each enumeration type.
By convention, enumerator names use all upper
case, with words separated by underscores (for
example: DSIT_DRY_CONTACT). Enumerator
names are limited to 64 characters, including the
unique prefix. You can use upper and lower case
alphanumeric characters (though lower case is
typically not used) and underscores. You cannot
use spaces or other special characters in names.
Value
The value associated with the enumerator. This
value must be between -128 and 127 (inclusive).
A value of -1 is used to indicate an invalid value,
and must be included in every enumeration type.
Comment
The language string associated with the
enumerator. You can enter a new string or select
an existing one. When a network integrator or
network operator uses the enumeration, they will
see this value for the enumerator.
To enter a new string, double-click Comment and
enter a new value. The new value will be added to
the language file for this resource file set (see
Using Resource Strings, later in this chapter).
To reference an existing string, click Comment
and then click the
button that appears when
Comment is selected. The Link dialog appears
that allows you to browse to the desired string as
described in Adding Strings to a Language
Resource File.
Example:
The following figure shows the fire_initiator_t enumeration type from the
standard resource file set:
NodeBuilder Resource Editor User's Guide
47