Modeling of enumeration values for properties is a hard job with the metamodel (when creating Submodel Templates).
As I understand there are two ways:
way 1) create multiple valueIds with reference to a ConceptDescription per enum, add a DataSpecification to every ConceptDescription and enter the value (value field of IEC 61360 DataSpecification)
way 2) create a ConceptDescription for the property, add a DataSpecification (IEC 61360 Data Specification), create a value list and link the valueID to a ConceptDescription for every enum to get a global id.
Proposal:
- create multiple valueIds with reference to a ConceptDescription
- Allow the shortId of the CD to be the value by a proper definition within the Spec.
There might be arguments why this is not possible and I could understand this due to deviation to the normal modeling logic. However, to model enumerations is very often a requirement. There should be a simplification somehow.
Modeling of enumeration values for properties is a hard job with the metamodel (when creating Submodel Templates).
As I understand there are two ways:
way 1) create multiple valueIds with reference to a ConceptDescription per enum, add a DataSpecification to every ConceptDescription and enter the value (value field of IEC 61360 DataSpecification)
way 2) create a ConceptDescription for the property, add a DataSpecification (IEC 61360 Data Specification), create a value list and link the valueID to a ConceptDescription for every enum to get a global id.
Proposal:
There might be arguments why this is not possible and I could understand this due to deviation to the normal modeling logic. However, to model enumerations is very often a requirement. There should be a simplification somehow.