Skip to content

Simplification of the modeling of Enumerations, like "FEMALE" and "MALE" #11

Description

@foprs

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions