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.
Fully-inherited InstanceDeclarationHierarchy not supported
Moderator: uamodeler
-
- Sr. Member
- Posts: 16
- Joined: 26 Nov 2015, 09:05
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Fully-inherited InstanceDeclarationHierarchy not support
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
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
-
- Sr. Member
- Posts: 16
- Joined: 26 Nov 2015, 09:05
Re: Fully-inherited InstanceDeclarationHierarchy not support
Thanks for your fast reply and the workaround information!