Is it permitted to extend a ParameterSet by a Interface?|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Is it permitted to extend a ParameterSet by a Interface?
Avatar
Martin Lang
Germany
Member
Members
Forum Posts: 72
Member Since:
06/25/2014
sp_UserOfflineSmall Offline
1
08/07/2019 - 04:10
sp_Permalink sp_Print sp_EditHistory

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

Avatar
Matthias Damm
Moderator
Members

Moderators-Companion
Forum Posts: 10
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
2
08/08/2019 - 00:03
sp_Permalink sp_Print

Dear Martin,

 

This seems to be valid as long as you use the exact same definition for ParameterSet (you can change the modeling rule from optional to mandatory)

 

BR, Matthias

Avatar
Martin Lang
Germany
Member
Members
Forum Posts: 72
Member Since:
06/25/2014
sp_UserOfflineSmall Offline
3
08/13/2019 - 05:14
sp_Permalink sp_Print

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

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 23
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1351
Posts: 4579