OperationVariable🔗

The value of an operation variable is a submodel element that is used as input and/or output variable of an operation.

Specification of operations in a Submodel with HasKind.kind = ModellingKind.Instance are handled identical to operations in Submodel templates (Submodel with HasKind.kind = ModellingKind.Template).

An operation can be invoked via an API call (InvokeOperationSync and InvokeOperationAsync). For further explanation see Part 2 (IDTA-01002).
OperationVariable is introduced as a separate class to enable future extensions, e.g. for adding a default value or cardinality (optional/mandatory).

Properties 🔗

value: SubmodelElement 🔗
Describes an argument or result of an operation via a submodel element

Invariants 🔗

  • Value must have the ID-short specified according to Constraint AASd-117 (ID-short of non-identifiable Referables not being a direct child of a Submodel element list shall be specified).
    self.value.idShort is not None

Usages

Operation Operation.inputVariables, Operation.outputVariables, Operation.inoutputVariables