소스 검색

feat(nc): add support for reading Historizing attribute in UAVariable

Parsing of UAVariable xml element now also supports Historizing attribute

Closes https://github.com/open62541/open62541/issues/2516
Silvio Traversaro 5 년 전
부모
커밋
2d70f1eef3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      tools/nodeset_compiler/nodes.py

+ 2 - 0
tools/nodeset_compiler/nodes.py

@@ -253,6 +253,8 @@ class VariableNode(Node):
                 self.dataType = RefOrAlias(av)
             elif  at == "ArrayDimensions":
                 self.arrayDimensions = av.split(",")
+            elif at == "Historizing":
+                self.historizing = "false" not in av.lower()
 
         for x in xmlelement.childNodes:
             if x.nodeType != x.ELEMENT_NODE: