Browse Source

add missing hierarchical types

Martin Kunz 1 year ago
parent
commit
4a8533a118
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/ua/UABaseNode.ts

+ 2 - 0
src/ua/UABaseNode.ts

@@ -33,9 +33,11 @@ export class UABaseNode implements IToXML{
             }
             }
             switch(ref.referenceType) {
             switch(ref.referenceType) {
                 case 'HasComponent':
                 case 'HasComponent':
+                case 'HasOrderedComponent':
                 case 'Organizes':
                 case 'Organizes':
                 case 'HasProperty':
                 case 'HasProperty':
                 case 'HasSubtype':
                 case 'HasSubtype':
+                case 'HasAddIn':
                     if(ref.isForward) {
                     if(ref.isForward) {
                         if(!this.children.includes(node))
                         if(!this.children.includes(node))
                             this.children.push(node);
                             this.children.push(node);