Model Syntax for Enumeration

Enumeration definition

An enumeration model defines a fixed set of values that represent some property in the application.

Syntax:

Name Component [ Layer ] [ CodeGenProperties ] Values [ Subsets ]

Naming section

First section contains the naming of the model and component.

enumerationname Season;
component       APPS8;

Code generation control section

An optional section with codegen properties is used when necessary.

codegenproperties {
   TitleText "Yearly season";
}

Values section

Next section contains a complete list of all value names.

values {
   value Spring;
   value Summer;
   value Autumn;
   value Winter;
}

Subsets section

Subsets are optional and is a complement to the full list of value names.

subsets {
   subset Warm (Spring,Summer,Autumn);
}

This page is generated from IFS Developer Studio at 2026-06-02 06:02.