Fully-inherited InstanceDeclarationHierarchy not supported

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
stroebi
Sr. Member
Sr. Member
Posts: 16
Joined: 26 Nov 2015, 09:05

Fully-inherited InstanceDeclarationHierarchy not supported

Post by stroebi »

The OPC UA Spec Part 3 in chapter 6.3.3.2 introduces the concept of Fully-inherited InstanceDeclarationHierarchy.

Unfortunately the UaModeler Version 1.4.1 329 does not fully apply to this spec.
I created a subtype and overrided an object of the supertype, which contains subobjects, and added some subobjects myself.
After instantiating the subtype I expected an aggregation of the subobjects of the object of the supertype and the subtype, but only the subobjects of the subtype were instantiated by the UaModeler.
Further references of the type of the instance will not be taken over to the instance.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: Fully-inherited InstanceDeclarationHierarchy not support

Post by Support Team »

Hello,

Thanks for the bug report. We will fix this in the next version.

There are two workarounds:
1) Create own types for the override node. E.g. you have a TypeA1 that has a child with TypeDefinition TypeB1. TypeB2 is a subtype of TypeB1. TypeA2 is a subtype of TypeA1 and overrides the child; the TypeDefinition of the child changes to TypeB2.
2) After overriding the child you select the child and add the missing grandchild manually.

Best regards
Support Team

stroebi
Sr. Member
Sr. Member
Posts: 16
Joined: 26 Nov 2015, 09:05

Re: Fully-inherited InstanceDeclarationHierarchy not support

Post by stroebi »

Thanks for your fast reply and the workaround information!

Post Reply