How to use the installer.open62541--v100.etc.appio.tools.open62541.v100.python-scripts.nodeset_compiler.nodes.Node.parseXML function in installer

To help you get started, we’ve selected a few installer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github appioframework / APPIOframework / installer / open62541--v1.0.0 / etc / appio / tools / open62541 / v1.0.0 / python-scripts / nodeset_compiler / nodes.py View on Github external
def parseXML(self, xmlelement):
        Node.parseXML(self, xmlelement)
        for (at, av) in xmlelement.attributes.items():
            if at == "ValueRank":
                self.valueRank = int(av)
            elif at == "AccessLevel":
                self.accessLevel = int(av)
            elif at == "UserAccessLevel":
                self.userAccessLevel = int(av)
            elif at == "MinimumSamplingInterval":
                self.minimumSamplingInterval = float(av)
            elif at == "DataType":
                self.dataType = RefOrAlias(av)
            elif  at == "ArrayDimensions":
                self.arrayDimensions = av.split(",")

        for x in xmlelement.childNodes:
            if x.nodeType != x.ELEMENT_NODE:
github appioframework / APPIOframework / installer / open62541--v1.0.0 / etc / appio / tools / open62541 / v1.0.0 / python-scripts / nodeset_compiler / nodes.py View on Github external
def parseXML(self, xmlelement):
        Node.parseXML(self, xmlelement)
        for (at, av) in xmlelement.attributes.items():
            if at == "Executable":
                self.executable = "false" not in av.lower()
            if at == "UserExecutable":
                self.userExecutable = "false" not in av.lower()
            if at == "MethodDeclarationId":
                self.methodDeclaration = str(av)
github appioframework / APPIOframework / installer / open62541--v1.0.0 / etc / appio / tools / open62541 / v1.0.0 / python-scripts / nodeset_compiler / nodes.py View on Github external
def parseXML(self, xmlelement):
        Node.parseXML(self, xmlelement)
        for (at, av) in xmlelement.attributes.items():
            if at == "IsAbstract":
                self.isAbstract = "false" not in av.lower()
github appioframework / APPIOframework / installer / open62541--v1.0.0 / etc / appio / tools / open62541 / v1.0.0 / python-scripts / nodeset_compiler / nodes.py View on Github external
def parseXML(self, xmlelement):
        Node.parseXML(self, xmlelement)
        for (at, av) in xmlelement.attributes.items():
            if at == "Symmetric":
                self.symmetric = "false" not in av.lower()
            elif at == "InverseName":
                self.inverseName = str(av)
            elif at == "IsAbstract":
                self.isAbstract = "false" not in av.lower()

        for x in xmlelement.childNodes:
            if x.nodeType == x.ELEMENT_NODE:
                if x.localName == "InverseName" and x.firstChild:
                    self.inverseName = str(unicode(x.firstChild.data))
github appioframework / APPIOframework / installer / open62541--v1.0.0 / etc / appio / tools / open62541 / v1.0.0 / python-scripts / nodeset_compiler / nodes.py View on Github external
def parseXML(self, xmlelement):
        Node.parseXML(self, xmlelement)
        for (at, av) in xmlelement.attributes.items():
            if at == "IsAbstract":
                self.isAbstract = "false" not in av.lower()

        for x in xmlelement.childNodes:
            if x.nodeType == x.ELEMENT_NODE:
                if x.localName == "Definition":
                    self.__xmlDefinition__ = x
github appioframework / APPIOframework / installer / open62541--v1.0.0 / etc / appio / tools / open62541 / v1.0.0 / python-scripts / nodeset_compiler / nodes.py View on Github external
def parseXML(self, xmlelement):
        Node.parseXML(self, xmlelement)
        for (at, av) in xmlelement.attributes.items():
            if at == "EventNotifier":
                self.eventNotifier = int(av)