In Amendment 7 there is no such example, but I did not found a rule which restrict the Interface to extend the ParameterSet as well as FunctionalGroups from DI.
ComponentType
A-Type
Identification (FunctionalGroup)
ParameterSet
Var1
Var2
ComponentType
B-Type
Maintenance (FunctionalGroup)
ParameterSet
VarX
VarY
BaseInterfaceType
IDiagnosticsType
Diagnostics (FunctionalGroup)
Current
VarDiag1 (OrganizeRef)
Voltage
VarDiag2 (OrganizeRef)
ParameterSet
VarDiag1
VarDiag2
Now apply these Interface to the A- and B-Type:
ComponentType
A-Type –> HasInterface –> IDiagnosticsType
Identification (FunctionalGroup)
Diagnostics (FunctionalGroup)
Current
VarDiag1 (OrganizeRef)
Voltage
VarDiag2 (OrganizeRef)
ParameterSet
Var1
Var2
VarDiag1
VarDiag2
ComponentType
B-Type –> HasInterface –> IDiagnosticsType
Maintenance (FunctionalGroup)
Diagnostics (FunctionalGroup)
Current
VarDiag1 (OrganizeRef)
Voltage
VarDiag2 (OrganizeRef)
ParameterSet
VarX
VarY
VarDiag1
VarDiag2
Is this permitted?
br
Martin
Dear Matthias,
thank you for your answer!
Why are the ModellingRules restricted to Mandatory and Optional?
Example:
IDiagnosticsType
Diagnostics (FunctionalGroup)
Current
VarCurrentPin<n>
Voltage
VarVoltagePin<n>
Temperature
VarTemperaturePin<n>
ParameterSet
VarCurrentPin<n> (MandatoryPlaceholder)
VarVoltagePin<n> (MandatoryPlaceholder)
VarTemperaturePin<n> (MandatoryPlaceholder)
ComponentType
B-Type –> HasInterface –> IDiagnosticsType
Maintenance (FunctionalGroup)
Diagnostics (FunctionalGroup)
Current
VarCurrentPin1
VarCurrentPin2
Voltage
VarVoltagePin1
VarVoltagePin2
Temperature
VarTemperaturePin1
VarTemperaturePin2
ParameterSet
VarCurrentPin1
VarCurrentPin2
VarVoltagePin1
VarVoltagePin2
VarTemperaturePin1
VarTemperaturePin2
Br
Martin
1 Guest(s)