The SelectionListType VariableTypeis used for a Variablewhere the possible values are provided by a set of values.
The Selections Propertycontains an array of values which represent valid values for this VariableType’svalue.
The DataTypeof the Selections Propertyarray shall be of the same DataTypeas this VariableType. When the SelectionListTypeis subtyped, the DataTypeof the Selections Propertyarray of the subtype shall be the same DataTypeas the subtype.When the SelectionListTypeis instantiated, the DataTypeof the Selections Propertyarray of the instance shall be the same as the DataTypeof the instance.
Each array element of the optional SelectionDescriptions Propertycontains a human-readable representation of the corresponding value in the Selections Propertyand shall be of the same array size as the Selections Property.
The value of this VariableTypemay be restricted to only the values defined in the Selections Propertyby setting the optional RestrictToList Propertyto a value of True. If the RestrictToList Propertyis not present or has a value of Falsethen the value is not restricted to the set defined by the Selections Property.
The VariableTypeis formally defined in Table 83.
Table 83– SelectionListType definition
Attribute |
Value |
||||
BrowseName |
SelectionListType |
||||
IsAbstract |
False |
||||
ValueRank |
-1 (-1 – Scalar) |
||||
DataType |
BaseDataType |
||||
References |
NodeClass |
Browse Name |
DataType TypeDefinition |
ModellingRule |
|
Subtype of the BaseDataVariableType defined in 7.4 |
|||||
HasProperty |
Variable |
Selections |
BaseDataType[] PropertyType |
Mandatory |
|
HasProperty |
Variable |
SelectionDescriptions |
LocalizedText[] PropertyType |
Optional |
|
HasProperty |
Variable |
RestrictToList |
Boolean PropertyType |
Optional |
|
Conformance Units |
|||||
Base Info Selection List |