Procházet zdrojové kódy

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 před 5 roky
rodič
revize
2d70f1eef3
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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: