From 9c1b0b9187008966dadebe602ea59b2a91b8004c Mon Sep 17 00:00:00 2001 From: olivier R-D Date: Sun, 21 Aug 2016 15:46:26 +0200 Subject: [PATCH] add standard address space part 14 --- .../standard_address_space.py | 2 + .../standard_address_space_part14.py | 7936 +++++++++++++++++ schemas/generate_address_space.py | 2 +- 3 files changed, 7939 insertions(+), 1 deletion(-) create mode 100644 opcua/server/standard_address_space/standard_address_space_part14.py diff --git a/opcua/server/standard_address_space/standard_address_space.py b/opcua/server/standard_address_space/standard_address_space.py index 5a0b8b9c3..2dd939ddc 100644 --- a/opcua/server/standard_address_space/standard_address_space.py +++ b/opcua/server/standard_address_space/standard_address_space.py @@ -11,6 +11,7 @@ from opcua.server.standard_address_space.standard_address_space_part10 import create_standard_address_space_Part10 from opcua.server.standard_address_space.standard_address_space_part11 import create_standard_address_space_Part11 from opcua.server.standard_address_space.standard_address_space_part13 import create_standard_address_space_Part13 +from opcua.server.standard_address_space.standard_address_space_part14 import create_standard_address_space_Part14 def fill_address_space(nodeservice): @@ -22,3 +23,4 @@ def fill_address_space(nodeservice): create_standard_address_space_Part10(nodeservice) create_standard_address_space_Part11(nodeservice) create_standard_address_space_Part13(nodeservice) + create_standard_address_space_Part14(nodeservice) diff --git a/opcua/server/standard_address_space/standard_address_space_part14.py b/opcua/server/standard_address_space/standard_address_space_part14.py new file mode 100644 index 000000000..ade7be453 --- /dev/null +++ b/opcua/server/standard_address_space/standard_address_space_part14.py @@ -0,0 +1,7936 @@ + +""" +DO NOT EDIT THIS FILE! +It is automatically generated from opcfoundation.org schemas. +""" + +from opcua import ua + +false = False #FIXME +true = True #FIXME + +def create_standard_address_space_Part14(server): + + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14416") + node.BrowseName = ua.QualifiedName.from_string("PublishSubscribeType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PublishSubscribeType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=14476") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14417") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14901") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14429") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14432") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15212") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15431") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15434") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14434") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15844") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14417") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=14476") + node.TypeDefinition = ua.NodeId.from_string("i=14209") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14417") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14418") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14417") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14419") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14417") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14423") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14417") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14418") + node.BrowseName = ua.QualifiedName.from_string("PublisherId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14417") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublisherId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14418") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14419") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14417") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14419") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14420") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14419") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14420") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14419") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14420") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14423") + node.BrowseName = ua.QualifiedName.from_string("Address") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14417") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Address") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14423") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14901") + node.BrowseName = ua.QualifiedName.from_string("AddUadpConnection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddUadpConnection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14901") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14902") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14901") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14903") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14901") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14902") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14901") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14902") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14903") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14901") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14903") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14429") + node.BrowseName = ua.QualifiedName.from_string("AddAmqpConnection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddAmqpConnection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14429") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14430") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14429") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14431") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14429") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14430") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14429") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14430") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14431") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14429") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14431") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14432") + node.BrowseName = ua.QualifiedName.from_string("RemoveConnection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveConnection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14432") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14433") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14432") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14433") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14432") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14433") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15212") + node.BrowseName = ua.QualifiedName.from_string("GetSecurityKeys") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("GetSecurityKeys") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15212") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15213") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15212") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15214") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15212") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15213") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15212") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15213") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15214") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15212") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15214") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15431") + node.BrowseName = ua.QualifiedName.from_string("GetSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("GetSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15431") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15432") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15431") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15433") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15431") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15432") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15431") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15432") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15433") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15431") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15433") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15434") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroups") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15452") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroups") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15434") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15435") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15434") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15438") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15434") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15435") + node.BrowseName = ua.QualifiedName.from_string("AddSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15434") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15435") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15436") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15435") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15437") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15435") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15436") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15435") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15436") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15437") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15435") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15437") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15438") + node.BrowseName = ua.QualifiedName.from_string("RemoveSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15434") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15438") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15439") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15438") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15439") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15438") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15439") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14434") + node.BrowseName = ua.QualifiedName.from_string("PublishedDataSets") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14477") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedDataSets") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14434") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15844") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14416") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15844") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15845") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15844") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15845") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15844") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15845") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14443") + node.BrowseName = ua.QualifiedName.from_string("PublishSubscribe") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=2253") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14416") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("PublishSubscribe") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14904") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14456") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14459") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15215") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15440") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15443") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14461") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15848") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14904") + node.BrowseName = ua.QualifiedName.from_string("AddUadpConnection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddUadpConnection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14904") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14905") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14904") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14906") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14905") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14904") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14906") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14904") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14456") + node.BrowseName = ua.QualifiedName.from_string("AddAmqpConnection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddAmqpConnection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14456") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14457") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14456") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14458") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14457") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14456") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14458") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14456") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14459") + node.BrowseName = ua.QualifiedName.from_string("RemoveConnection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveConnection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14459") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14460") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14460") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14459") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15215") + node.BrowseName = ua.QualifiedName.from_string("GetSecurityKeys") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("GetSecurityKeys") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15215") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15216") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15215") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15217") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15216") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15215") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15217") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15215") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15440") + node.BrowseName = ua.QualifiedName.from_string("GetSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("GetSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15440") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15441") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15440") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15442") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15441") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15440") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15442") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15440") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15443") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroups") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15452") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroups") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15444") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15443") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15447") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15444") + node.BrowseName = ua.QualifiedName.from_string("AddSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15444") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15445") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15444") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15446") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15445") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15444") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15446") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15444") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15447") + node.BrowseName = ua.QualifiedName.from_string("RemoveSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15447") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15448") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15448") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15447") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14461") + node.BrowseName = ua.QualifiedName.from_string("PublishedDataSets") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14477") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedDataSets") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15848") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14443") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15848") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15849") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15849") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15848") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15452") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupFolderType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=61") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupFolderType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=35") + ref.SourceNodeId = ua.NodeId.from_string("i=15452") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15453") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15452") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15459") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15452") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15461") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15452") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15464") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15453") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15452") + node.ReferenceTypeId = ua.NodeId.from_string("i=35") + node.TypeDefinition = ua.NodeId.from_string("i=15452") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15453") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15454") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15453") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15457") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15453") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15454") + node.BrowseName = ua.QualifiedName.from_string("AddSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15453") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15454") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15455") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15454") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15456") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15454") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15455") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15454") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15455") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15456") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15454") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15456") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15457") + node.BrowseName = ua.QualifiedName.from_string("RemoveSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15453") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15457") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15458") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15457") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15458") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15457") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15458") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15459") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15452") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15471") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15459") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15460") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15459") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15460") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15459") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15460") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15461") + node.BrowseName = ua.QualifiedName.from_string("AddSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15452") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15461") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15462") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15461") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15463") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15461") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15462") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15461") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15462") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15463") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15461") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15463") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15464") + node.BrowseName = ua.QualifiedName.from_string("RemoveSecurityGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15452") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveSecurityGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15464") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15465") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15464") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15465") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15464") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15465") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15471") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15471") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15472") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15472") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15471") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15472") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14476") + node.BrowseName = ua.QualifiedName.from_string("HasPubSubConnection") + node.NodeClass = ua.NodeClass.ReferenceType + node.ParentNodeId = ua.NodeId.from_string("i=47") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ReferenceTypeAttributes() + attrs.DisplayName = ua.LocalizedText("HasPubSubConnection") + attrs.InverseName = ua.LocalizedText("PubSubConnectionOf") + attrs.IsAbstract = false + attrs.Symmetric = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14477") + node.BrowseName = ua.QualifiedName.from_string("DataSetFolderType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=61") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetFolderType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=35") + ref.SourceNodeId = ua.NodeId.from_string("i=14477") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14478") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14477") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14487") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14477") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14493") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14477") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14496") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14477") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14499") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14478") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14477") + node.ReferenceTypeId = ua.NodeId.from_string("i=35") + node.TypeDefinition = ua.NodeId.from_string("i=14477") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14478") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14479") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14478") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14482") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14478") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14485") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14478") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14479") + node.BrowseName = ua.QualifiedName.from_string("AddPublishedDataItems") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14478") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddPublishedDataItems") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14479") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14480") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14479") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14481") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14479") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14480") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14479") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14480") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14481") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14479") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14481") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14482") + node.BrowseName = ua.QualifiedName.from_string("AddPublishedEvents") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14478") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddPublishedEvents") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14482") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14483") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14482") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14484") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14482") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14483") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14482") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14483") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14484") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14482") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14484") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14485") + node.BrowseName = ua.QualifiedName.from_string("RemovePublishedDataSet") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14478") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemovePublishedDataSet") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14485") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14486") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14485") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14486") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14485") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14486") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14487") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14477") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14509") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14487") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14489") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14487") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15221") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14487") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14489") + node.BrowseName = ua.QualifiedName.from_string("ConfigurationVersion") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14487") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("ConfigurationVersion") + attrs.DataType = ua.NodeId.from_string("i=14593") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14489") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15221") + node.BrowseName = ua.QualifiedName.from_string("DataSetMetaData") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14487") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetMetaData") + attrs.DataType = ua.NodeId.from_string("i=14523") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15221") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14493") + node.BrowseName = ua.QualifiedName.from_string("AddPublishedDataItems") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14477") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddPublishedDataItems") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14493") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14494") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14493") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14495") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14493") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14494") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14493") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14494") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14495") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14493") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14495") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14496") + node.BrowseName = ua.QualifiedName.from_string("AddPublishedEvents") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14477") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddPublishedEvents") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14496") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14497") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14496") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14498") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14496") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14497") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14496") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14497") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14498") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14496") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14498") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14499") + node.BrowseName = ua.QualifiedName.from_string("RemovePublishedDataSet") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14477") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemovePublishedDataSet") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14499") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14500") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14499") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14500") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14499") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14500") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14509") + node.BrowseName = ua.QualifiedName.from_string("PublishedDataSetType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedDataSetType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=14936") + ref.SourceNodeId = ua.NodeId.from_string("i=14509") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15222") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14509") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14519") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14509") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15229") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14509") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15481") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15222") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=14936") + node.TypeDefinition = ua.NodeId.from_string("i=15298") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15222") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15223") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15222") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15227") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15222") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15480") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15222") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15223") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15222") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15223") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15224") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15223") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15224") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15223") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15224") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15227") + node.BrowseName = ua.QualifiedName.from_string("TransportSettings") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15222") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15305") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("TransportSettings") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15227") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15480") + node.BrowseName = ua.QualifiedName.from_string("DataSetContentMask") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15222") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetContentMask") + attrs.DataType = ua.NodeId.from_string("i=15532") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15480") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14519") + node.BrowseName = ua.QualifiedName.from_string("ConfigurationVersion") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("ConfigurationVersion") + attrs.DataType = ua.NodeId.from_string("i=14593") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14519") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15229") + node.BrowseName = ua.QualifiedName.from_string("DataSetMetaData") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetMetaData") + attrs.DataType = ua.NodeId.from_string("i=14523") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15229") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15481") + node.BrowseName = ua.QualifiedName.from_string("ExtensionFields") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15489") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("ExtensionFields") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15481") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15482") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15481") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15485") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15481") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15482") + node.BrowseName = ua.QualifiedName.from_string("AddExtensionField") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15481") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddExtensionField") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15482") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15483") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15482") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15484") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15482") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15483") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15482") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15483") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15484") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15482") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15484") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15485") + node.BrowseName = ua.QualifiedName.from_string("RemoveExtensionField") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15481") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveExtensionField") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15485") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15486") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15485") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15486") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15485") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15486") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14593") + node.BrowseName = ua.QualifiedName.from_string("ConfigurationVersionDataType") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("ConfigurationVersionDataType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14523") + node.BrowseName = ua.QualifiedName.from_string("DataSetMetaDataType") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetMetaDataType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14524") + node.BrowseName = ua.QualifiedName.from_string("FieldMetaData") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("FieldMetaData") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14525") + node.BrowseName = ua.QualifiedName.from_string("DataTypeDescription") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataTypeDescription") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15487") + node.BrowseName = ua.QualifiedName.from_string("StructureDescription") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=14525") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("StructureDescription") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15488") + node.BrowseName = ua.QualifiedName.from_string("EnumDescription") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=14525") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("EnumDescription") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14533") + node.BrowseName = ua.QualifiedName.from_string("KeyValuePair") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("KeyValuePair") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15489") + node.BrowseName = ua.QualifiedName.from_string("ExtensionFieldsType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("ExtensionFieldsType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15489") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15490") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15489") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15491") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15489") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15494") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15490") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15489") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15490") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15491") + node.BrowseName = ua.QualifiedName.from_string("AddExtensionField") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15489") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddExtensionField") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15491") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15492") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15491") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15493") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15491") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15492") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15491") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15492") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15493") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15491") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15493") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15494") + node.BrowseName = ua.QualifiedName.from_string("RemoveExtensionField") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15489") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveExtensionField") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15494") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15495") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15494") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15495") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15494") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15495") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14936") + node.BrowseName = ua.QualifiedName.from_string("DataSetToWriter") + node.NodeClass = ua.NodeClass.ReferenceType + node.ParentNodeId = ua.NodeId.from_string("i=33") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ReferenceTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetToWriter") + attrs.InverseName = ua.LocalizedText("WriterToDataSet") + attrs.IsAbstract = false + attrs.Symmetric = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14534") + node.BrowseName = ua.QualifiedName.from_string("PublishedDataItemsType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedDataItemsType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14534") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14548") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14534") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14555") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14534") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14558") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14548") + node.BrowseName = ua.QualifiedName.from_string("PublishedData") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14534") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedData") + attrs.DataType = ua.NodeId.from_string("i=14273") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14548") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14555") + node.BrowseName = ua.QualifiedName.from_string("AddVariables") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14534") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddVariables") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14555") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14556") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14555") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14557") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14555") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14556") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14555") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14556") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14557") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14555") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14557") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14558") + node.BrowseName = ua.QualifiedName.from_string("RemoveVariables") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14534") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveVariables") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14558") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14559") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14558") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14560") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14558") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14559") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14558") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14559") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14560") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14558") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14560") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14273") + node.BrowseName = ua.QualifiedName.from_string("PublishedVariableDataType") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedVariableDataType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14572") + node.BrowseName = ua.QualifiedName.from_string("PublishedEventsType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PublishedEventsType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14572") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14586") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14572") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14587") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14572") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14588") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14572") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15052") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14586") + node.BrowseName = ua.QualifiedName.from_string("EventNotifier") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14572") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("EventNotifier") + attrs.DataType = ua.NodeId(ua.ObjectIds.NodeId) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14586") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14587") + node.BrowseName = ua.QualifiedName.from_string("SelectedFields") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14572") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SelectedFields") + attrs.DataType = ua.NodeId.from_string("i=601") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14587") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14588") + node.BrowseName = ua.QualifiedName.from_string("Filter") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14572") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Filter") + attrs.DataType = ua.NodeId.from_string("i=586") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14588") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15052") + node.BrowseName = ua.QualifiedName.from_string("ModifyFieldSelection") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14572") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("ModifyFieldSelection") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15052") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15053") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15052") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15517") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15052") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15053") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15052") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15053") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15517") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15052") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15517") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15056") + node.BrowseName = ua.QualifiedName.from_string("DataSetClassType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14509") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetClassType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15056") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15072") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15072") + node.BrowseName = ua.QualifiedName.from_string("DataSetClassId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15056") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetClassId") + attrs.DataType = ua.NodeId(ua.ObjectIds.Guid) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15072") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14209") + node.BrowseName = ua.QualifiedName.from_string("PubSubConnectionType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubConnectionType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14209") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14595") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14209") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14210") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14209") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14600") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14209") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14221") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14209") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14225") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14595") + node.BrowseName = ua.QualifiedName.from_string("PublisherId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublisherId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14595") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14210") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14232") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14210") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15073") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14210") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15074") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14210") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15254") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14210") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15852") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14210") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15255") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14210") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15073") + node.BrowseName = ua.QualifiedName.from_string("PublishingInterval") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14210") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublishingInterval") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15073") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15074") + node.BrowseName = ua.QualifiedName.from_string("KeepAliveTime") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14210") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("KeepAliveTime") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15074") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15254") + node.BrowseName = ua.QualifiedName.from_string("EncodingMimeType") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14210") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("EncodingMimeType") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15254") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15852") + node.BrowseName = ua.QualifiedName.from_string("Priority") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14210") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Priority") + attrs.DataType = ua.NodeId(ua.ObjectIds.Byte) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15852") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15255") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14210") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15255") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15256") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15255") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15256") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15255") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15256") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14600") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14600") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14601") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14600") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14601") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14600") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14601") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14221") + node.BrowseName = ua.QualifiedName.from_string("Address") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Address") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14221") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14225") + node.BrowseName = ua.QualifiedName.from_string("RemoveGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14225") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14226") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14225") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14226") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14225") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14226") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14232") + node.BrowseName = ua.QualifiedName.from_string("PubSubGroupType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubGroupType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15079") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15080") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15264") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15854") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15265") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15081") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=15296") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15270") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15277") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=15297") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15279") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14232") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15292") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15079") + node.BrowseName = ua.QualifiedName.from_string("PublishingInterval") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublishingInterval") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15079") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15080") + node.BrowseName = ua.QualifiedName.from_string("KeepAliveTime") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("KeepAliveTime") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15080") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15264") + node.BrowseName = ua.QualifiedName.from_string("EncodingMimeType") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("EncodingMimeType") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15264") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15854") + node.BrowseName = ua.QualifiedName.from_string("Priority") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Priority") + attrs.DataType = ua.NodeId(ua.ObjectIds.Byte) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15854") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15265") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15265") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15266") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15265") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15266") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15265") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15266") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15081") + node.BrowseName = ua.QualifiedName.from_string("MessageSecurity") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15094") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("MessageSecurity") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15081") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15082") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15081") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15084") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15081") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15082") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15081") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15082") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15084") + node.BrowseName = ua.QualifiedName.from_string("SecurityMode") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15081") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityMode") + attrs.DataType = ua.NodeId.from_string("i=302") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15084") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15270") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=15296") + node.TypeDefinition = ua.NodeId.from_string("i=15298") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15270") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15271") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15270") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15275") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15270") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15528") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15270") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15271") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15270") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15271") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15272") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15271") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15272") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15271") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15272") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15275") + node.BrowseName = ua.QualifiedName.from_string("TransportSettings") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15270") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15305") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("TransportSettings") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15275") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15528") + node.BrowseName = ua.QualifiedName.from_string("DataSetContentMask") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15270") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetContentMask") + attrs.DataType = ua.NodeId.from_string("i=15532") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15528") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15277") + node.BrowseName = ua.QualifiedName.from_string("RemoveDataSetWriter") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveDataSetWriter") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15277") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15278") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15277") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15278") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15277") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15278") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15279") + node.BrowseName = ua.QualifiedName.from_string("") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=15297") + node.TypeDefinition = ua.NodeId.from_string("i=15306") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15279") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15280") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15279") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15284") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15279") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15289") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15279") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=11508") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15280") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15279") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15280") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15281") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15280") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15281") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15280") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15281") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15284") + node.BrowseName = ua.QualifiedName.from_string("TransportSettings") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15279") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15319") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("TransportSettings") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15284") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15289") + node.BrowseName = ua.QualifiedName.from_string("SubscribedDataSet") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15279") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15108") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("SubscribedDataSet") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15289") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15290") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15289") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15291") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15289") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15290") + node.BrowseName = ua.QualifiedName.from_string("DataSetMetaData") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15289") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetMetaData") + attrs.DataType = ua.NodeId.from_string("i=14523") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15290") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15291") + node.BrowseName = ua.QualifiedName.from_string("MessageReceiveTimeout") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15289") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MessageReceiveTimeout") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15291") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15292") + node.BrowseName = ua.QualifiedName.from_string("RemoveDataSetReader") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveDataSetReader") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15292") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15293") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15292") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15293") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15292") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15293") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15094") + node.BrowseName = ua.QualifiedName.from_string("PubSubMessageSecurityType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubMessageSecurityType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15094") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15095") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15094") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15097") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15094") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15862") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15095") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15094") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15095") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15097") + node.BrowseName = ua.QualifiedName.from_string("SecurityMode") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15094") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityMode") + attrs.DataType = ua.NodeId.from_string("i=302") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15097") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15862") + node.BrowseName = ua.QualifiedName.from_string("SecurityKeyServices") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15094") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityKeyServices") + attrs.DataType = ua.NodeId.from_string("i=312") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15862") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15294") + node.BrowseName = ua.QualifiedName.from_string("SecurityKeyServiceDataType") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=22") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityKeyServiceDataType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15296") + node.BrowseName = ua.QualifiedName.from_string("HasDataSetWriter") + node.NodeClass = ua.NodeClass.ReferenceType + node.ParentNodeId = ua.NodeId.from_string("i=47") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ReferenceTypeAttributes() + attrs.DisplayName = ua.LocalizedText("HasDataSetWriter") + attrs.InverseName = ua.LocalizedText("IsWriterInGroup") + attrs.IsAbstract = false + attrs.Symmetric = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15297") + node.BrowseName = ua.QualifiedName.from_string("HasDataSetReader") + node.NodeClass = ua.NodeClass.ReferenceType + node.ParentNodeId = ua.NodeId.from_string("i=47") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ReferenceTypeAttributes() + attrs.DisplayName = ua.LocalizedText("HasDataSetReader") + attrs.InverseName = ua.LocalizedText("IsReaderInGroup") + attrs.IsAbstract = false + attrs.Symmetric = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15298") + node.BrowseName = ua.QualifiedName.from_string("DataSetWriterType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetWriterType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15298") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15299") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15298") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15303") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15298") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15530") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15299") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15298") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15299") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15300") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15299") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15300") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15299") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15300") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15303") + node.BrowseName = ua.QualifiedName.from_string("TransportSettings") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15298") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15305") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("TransportSettings") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15303") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15530") + node.BrowseName = ua.QualifiedName.from_string("DataSetContentMask") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15298") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetContentMask") + attrs.DataType = ua.NodeId.from_string("i=15532") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15530") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15305") + node.BrowseName = ua.QualifiedName.from_string("DataSetWriterTransportType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetWriterTransportType") + attrs.IsAbstract = true + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15305") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15531") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15531") + node.BrowseName = ua.QualifiedName.from_string("KeyFrameCount") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15305") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("KeyFrameCount") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt32) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15531") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15532") + node.BrowseName = ua.QualifiedName.from_string("DataSetContentMask") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=29") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetContentMask") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15532") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15533") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15533") + node.BrowseName = ua.QualifiedName.from_string("EnumValues") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15532") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("EnumValues") + attrs.DataType = ua.NodeId.from_string("i=7594") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15533") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15306") + node.BrowseName = ua.QualifiedName.from_string("DataSetReaderType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetReaderType") + attrs.IsAbstract = true + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15306") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15307") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15306") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15311") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15306") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15312") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15306") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15316") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15306") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15864") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15306") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15867") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15307") + node.BrowseName = ua.QualifiedName.from_string("Status") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15306") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=14643") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Status") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15307") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15308") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15307") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15308") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15307") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15308") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15311") + node.BrowseName = ua.QualifiedName.from_string("TransportSettings") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15306") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15319") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("TransportSettings") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15311") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15312") + node.BrowseName = ua.QualifiedName.from_string("MessageSecurity") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15306") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15094") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("MessageSecurity") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15312") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15313") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15312") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15314") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15312") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15313") + node.BrowseName = ua.QualifiedName.from_string("SecurityGroupId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15312") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityGroupId") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15313") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15314") + node.BrowseName = ua.QualifiedName.from_string("SecurityMode") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15312") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SecurityMode") + attrs.DataType = ua.NodeId.from_string("i=302") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15314") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15316") + node.BrowseName = ua.QualifiedName.from_string("SubscribedDataSet") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15306") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=15108") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("SubscribedDataSet") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15316") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15317") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15316") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15318") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15316") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15317") + node.BrowseName = ua.QualifiedName.from_string("DataSetMetaData") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15316") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetMetaData") + attrs.DataType = ua.NodeId.from_string("i=14523") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15317") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15318") + node.BrowseName = ua.QualifiedName.from_string("MessageReceiveTimeout") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15316") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MessageReceiveTimeout") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15318") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15864") + node.BrowseName = ua.QualifiedName.from_string("SetConnectVariables") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15306") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("SetConnectVariables") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15864") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15865") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15864") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15866") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15864") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15865") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15864") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15865") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15866") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15864") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15866") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15867") + node.BrowseName = ua.QualifiedName.from_string("SetDataSetMirror") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15306") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("SetDataSetMirror") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15867") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15868") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15867") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15868") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15867") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15868") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15319") + node.BrowseName = ua.QualifiedName.from_string("DataSetReaderTransportType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetReaderTransportType") + attrs.IsAbstract = true + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15108") + node.BrowseName = ua.QualifiedName.from_string("SubscribedDataSetType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("SubscribedDataSetType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15108") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15109") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15108") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15110") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15109") + node.BrowseName = ua.QualifiedName.from_string("DataSetMetaData") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15108") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetMetaData") + attrs.DataType = ua.NodeId.from_string("i=14523") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15109") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15110") + node.BrowseName = ua.QualifiedName.from_string("MessageReceiveTimeout") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15108") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MessageReceiveTimeout") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15110") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15111") + node.BrowseName = ua.QualifiedName.from_string("ConnectedVariablesType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15108") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("ConnectedVariablesType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15111") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15114") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15111") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15115") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=15111") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15118") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15114") + node.BrowseName = ua.QualifiedName.from_string("ConnectedVariables") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15111") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("ConnectedVariables") + attrs.DataType = ua.NodeId.from_string("i=14744") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15114") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15115") + node.BrowseName = ua.QualifiedName.from_string("AddDataConnections") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15111") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddDataConnections") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15115") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15116") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15115") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15117") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15115") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15116") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15115") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15116") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15117") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15115") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15117") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15118") + node.BrowseName = ua.QualifiedName.from_string("RemoveDataConnections") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=15111") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("RemoveDataConnections") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15118") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15119") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15118") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15120") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15118") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15119") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15118") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15119") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15120") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15118") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15120") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15874") + node.BrowseName = ua.QualifiedName.from_string("OverrideValueHandling") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=29") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("OverrideValueHandling") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15874") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15875") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15875") + node.BrowseName = ua.QualifiedName.from_string("EnumStrings") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15874") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("EnumStrings") + attrs.DataType = ua.NodeId(ua.ObjectIds.LocalizedText) + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15875") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15127") + node.BrowseName = ua.QualifiedName.from_string("SubscribedDataSetMirrorType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15108") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("SubscribedDataSetMirrorType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15127") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15534") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15534") + node.BrowseName = ua.QualifiedName.from_string("ParentNode") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15127") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("ParentNode") + attrs.DataType = ua.NodeId(ua.ObjectIds.NodeId) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15534") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14643") + node.BrowseName = ua.QualifiedName.from_string("PubSubStatusType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=58") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubStatusType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14643") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14644") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14643") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14645") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14643") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14646") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14644") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14643") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14644") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14645") + node.BrowseName = ua.QualifiedName.from_string("Enable") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14643") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("Enable") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14645") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14646") + node.BrowseName = ua.QualifiedName.from_string("Disable") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14643") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("Disable") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14646") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15535") + node.BrowseName = ua.QualifiedName.from_string("PubSubStatusEventType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=2130") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubStatusEventType") + attrs.IsAbstract = true + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15535") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15545") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15535") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15546") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15535") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15547") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15545") + node.BrowseName = ua.QualifiedName.from_string("ConnectionId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15535") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("ConnectionId") + attrs.DataType = ua.NodeId(ua.ObjectIds.NodeId) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15545") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15546") + node.BrowseName = ua.QualifiedName.from_string("GroupId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15535") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("GroupId") + attrs.DataType = ua.NodeId(ua.ObjectIds.NodeId) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15546") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15547") + node.BrowseName = ua.QualifiedName.from_string("State") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15535") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("State") + attrs.DataType = ua.NodeId.from_string("i=14647") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15547") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15548") + node.BrowseName = ua.QualifiedName.from_string("PubSubTransportLimitsExceedEventType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15535") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubTransportLimitsExceedEventType") + attrs.IsAbstract = true + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15548") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15561") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15548") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15562") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15561") + node.BrowseName = ua.QualifiedName.from_string("Actual") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15548") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Actual") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt32) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15561") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15562") + node.BrowseName = ua.QualifiedName.from_string("Maximum") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15548") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Maximum") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt32) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15562") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15563") + node.BrowseName = ua.QualifiedName.from_string("PubSubCommunicationFailureEventType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15535") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("PubSubCommunicationFailureEventType") + attrs.IsAbstract = true + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15563") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15576") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15576") + node.BrowseName = ua.QualifiedName.from_string("Error") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15563") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("Error") + attrs.DataType = ua.NodeId(ua.ObjectIds.StatusCode) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15576") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14943") + node.BrowseName = ua.QualifiedName.from_string("UadpConnectionType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("UadpConnectionType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14943") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15330") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14943") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15334") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14943") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14959") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15330") + node.BrowseName = ua.QualifiedName.from_string("NetworkInterface") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14943") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + node.TypeDefinition = ua.NodeId.from_string("i=2376") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("NetworkInterface") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt32) + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15330") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15333") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15330") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15333") + node.BrowseName = ua.QualifiedName.from_string("EnumStrings") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15330") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("EnumStrings") + attrs.DataType = ua.NodeId(ua.ObjectIds.LocalizedText) + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15333") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15334") + node.BrowseName = ua.QualifiedName.from_string("TimeToLive") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14943") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("TimeToLive") + attrs.DataType = ua.NodeId(ua.ObjectIds.Byte) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15334") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14959") + node.BrowseName = ua.QualifiedName.from_string("AddGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14943") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14959") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14960") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14959") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14961") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14959") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14960") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14959") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14960") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14961") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14959") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14961") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14967") + node.BrowseName = ua.QualifiedName.from_string("UadpGroupType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("UadpGroupType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15365") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15366") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15151") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15152") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15153") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15368") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15369") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14967") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15372") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15365") + node.BrowseName = ua.QualifiedName.from_string("MaxNetworkMessageSize") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MaxNetworkMessageSize") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt16) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15365") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15366") + node.BrowseName = ua.QualifiedName.from_string("SamplingOffset") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("SamplingOffset") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15366") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15151") + node.BrowseName = ua.QualifiedName.from_string("PublishingOffset") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublishingOffset") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15151") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15152") + node.BrowseName = ua.QualifiedName.from_string("MessageRepeatCount") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MessageRepeatCount") + attrs.DataType = ua.NodeId(ua.ObjectIds.Byte) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15152") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15153") + node.BrowseName = ua.QualifiedName.from_string("MessageRepeatDelay") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MessageRepeatDelay") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15153") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15368") + node.BrowseName = ua.QualifiedName.from_string("UadpStreamAddress") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("UadpStreamAddress") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15368") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15369") + node.BrowseName = ua.QualifiedName.from_string("AddDataSetWriter") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddDataSetWriter") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15369") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15370") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15369") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15371") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15369") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15370") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15369") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15370") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15371") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15369") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15371") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15372") + node.BrowseName = ua.QualifiedName.from_string("AddDataSetReader") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14967") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddDataSetReader") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15372") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15373") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15372") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15374") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15372") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15373") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15372") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15373") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15374") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15372") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15374") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15011") + node.BrowseName = ua.QualifiedName.from_string("UadpWriterTransportType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15305") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("UadpWriterTransportType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15011") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15012") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15012") + node.BrowseName = ua.QualifiedName.from_string("DataSetWriterId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15011") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetWriterId") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt16) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15012") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15154") + node.BrowseName = ua.QualifiedName.from_string("UadpReaderTransportType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15319") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("UadpReaderTransportType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15154") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15155") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15154") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15156") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15155") + node.BrowseName = ua.QualifiedName.from_string("PublisherId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15154") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("PublisherId") + attrs.DataType = ua.NodeId(ua.ObjectIds.Guid) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15155") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15156") + node.BrowseName = ua.QualifiedName.from_string("DataSetWriterId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15154") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetWriterId") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt16) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15156") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14354") + node.BrowseName = ua.QualifiedName.from_string("AmqpConnectionType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14209") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpConnectionType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14354") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14367") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14367") + node.BrowseName = ua.QualifiedName.from_string("AddGroup") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14354") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddGroup") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14367") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14368") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14367") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14369") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14367") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14368") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14367") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14368") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14369") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14367") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=14369") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14761") + node.BrowseName = ua.QualifiedName.from_string("AmqpGroupType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=14232") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpGroupType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=14761") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15415") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14761") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15416") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=47") + ref.SourceNodeId = ua.NodeId.from_string("i=14761") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15582") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15415") + node.BrowseName = ua.QualifiedName.from_string("AmqpNodeName") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=14761") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpNodeName") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15415") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15416") + node.BrowseName = ua.QualifiedName.from_string("AddDataSetWriter") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14761") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddDataSetWriter") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15417") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15418") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15416") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15417") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15416") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15417") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15418") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15416") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15418") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15582") + node.BrowseName = ua.QualifiedName.from_string("AddDataSetReader") + node.NodeClass = ua.NodeClass.Method + node.ParentNodeId = ua.NodeId.from_string("i=14761") + node.ReferenceTypeId = ua.NodeId.from_string("i=47") + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AddDataSetReader") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15582") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15583") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15582") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15584") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15582") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=80") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15583") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15582") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15583") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15584") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15582") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15584") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15585") + node.BrowseName = ua.QualifiedName.from_string("AmqpGroupTypeAddReaderType") + node.NodeClass = ua.NodeClass.Method + attrs = ua.MethodAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpGroupTypeAddReaderType") + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15585") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15586") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15585") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15587") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15586") + node.BrowseName = ua.QualifiedName.from_string("InputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15585") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("InputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15587") + node.BrowseName = ua.QualifiedName.from_string("OutputArguments") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15585") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("OutputArguments") + attrs.DataType = ua.NodeId.from_string("i=296") + attrs.ValueRank = 1 + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15043") + node.BrowseName = ua.QualifiedName.from_string("AmqpWriterTransportType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15305") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpWriterTransportType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15043") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15419") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15043") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15420") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15043") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15046") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15043") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15047") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15043") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15048") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15419") + node.BrowseName = ua.QualifiedName.from_string("AmqpNodeName") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15043") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpNodeName") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15419") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15420") + node.BrowseName = ua.QualifiedName.from_string("MetaDataAmqpNodeName") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15043") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MetaDataAmqpNodeName") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15420") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15046") + node.BrowseName = ua.QualifiedName.from_string("MetaDataUpdateTime") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15043") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MetaDataUpdateTime") + attrs.DataType = ua.NodeId.from_string("i=290") + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15046") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15047") + node.BrowseName = ua.QualifiedName.from_string("DataSetWriterId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15043") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetWriterId") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt16) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15047") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15048") + node.BrowseName = ua.QualifiedName.from_string("MaxMessageSize") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15043") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MaxMessageSize") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt32) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15048") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15178") + node.BrowseName = ua.QualifiedName.from_string("AmqpReaderTransportType") + node.NodeClass = ua.NodeClass.ObjectType + node.ParentNodeId = ua.NodeId.from_string("i=15319") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.ObjectTypeAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpReaderTransportType") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15178") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15421") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15178") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15422") + refs.append(ref) + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=46") + ref.SourceNodeId = ua.NodeId.from_string("i=15178") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15181") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15421") + node.BrowseName = ua.QualifiedName.from_string("AmqpNodeName") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15178") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("AmqpNodeName") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15421") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15422") + node.BrowseName = ua.QualifiedName.from_string("MetaDataAmqpNodeName") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15178") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("MetaDataAmqpNodeName") + attrs.DataType = ua.NodeId(ua.ObjectIds.String) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15422") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15181") + node.BrowseName = ua.QualifiedName.from_string("DataSetWriterId") + node.NodeClass = ua.NodeClass.Variable + node.ParentNodeId = ua.NodeId.from_string("i=15178") + node.ReferenceTypeId = ua.NodeId.from_string("i=46") + node.TypeDefinition = ua.NodeId.from_string("i=68") + attrs = ua.VariableAttributes() + attrs.DisplayName = ua.LocalizedText("DataSetWriterId") + attrs.DataType = ua.NodeId(ua.ObjectIds.UInt16) + attrs.ValueRank = -1 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=37") + ref.SourceNodeId = ua.NodeId.from_string("i=15181") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=78") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14532") + node.BrowseName = ua.QualifiedName.from_string("EnumField") + node.NodeClass = ua.NodeClass.DataType + node.ParentNodeId = ua.NodeId.from_string("i=7594") + node.ReferenceTypeId = ua.NodeId.from_string("i=45") + attrs = ua.DataTypeAttributes() + attrs.DisplayName = ua.LocalizedText("EnumField") + attrs.IsAbstract = false + node.NodeAttributes = attrs + server.add_nodes([node]) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14803") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14593") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14803") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14832") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14794") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14523") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14794") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14805") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14795") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14524") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14795") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14808") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14796") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14525") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14796") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14811") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15589") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15487") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=15589") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15591") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15590") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15488") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=15590") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15594") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14802") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14533") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14802") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14829") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14319") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14273") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14319") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14320") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15423") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15294") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=15423") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15424") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14801") + node.BrowseName = ua.QualifiedName.from_string("Default XML") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14532") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default XML") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14801") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14826") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14847") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14593") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14847") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14876") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14838") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14523") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14838") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14849") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14839") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14524") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14839") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14852") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14840") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14525") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14840") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14855") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15597") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15487") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=15597") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15599") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15598") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15488") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=15598") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15602") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14846") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14533") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14846") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14873") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14323") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14273") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14323") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14324") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=15427") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=15294") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=15427") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=15428") + refs.append(ref) + server.add_references(refs) + + node = ua.AddNodesItem() + node.RequestedNewNodeId = ua.NodeId.from_string("i=14845") + node.BrowseName = ua.QualifiedName.from_string("Default Binary") + node.NodeClass = ua.NodeClass.Object + node.ParentNodeId = ua.NodeId.from_string("i=14532") + node.ReferenceTypeId = ua.NodeId.from_string("i=38") + node.TypeDefinition = ua.NodeId.from_string("i=76") + attrs = ua.ObjectAttributes() + attrs.DisplayName = ua.LocalizedText("Default Binary") + attrs.EventNotifier = 0 + node.NodeAttributes = attrs + server.add_nodes([node]) + refs = [] + ref = ua.AddReferencesItem() + ref.IsForward = true + ref.ReferenceTypeId = ua.NodeId.from_string("i=39") + ref.SourceNodeId = ua.NodeId.from_string("i=14845") + ref.TargetNodeClass = ua.NodeClass.DataType + ref.TargetNodeId = ua.NodeId.from_string("i=14870") + refs.append(ref) + server.add_references(refs) diff --git a/schemas/generate_address_space.py b/schemas/generate_address_space.py index 9021dd65b..1f02b670d 100644 --- a/schemas/generate_address_space.py +++ b/schemas/generate_address_space.py @@ -245,7 +245,7 @@ def save_aspace_to_disk(): aspace.dump(path) if __name__ == "__main__": - for i in (3, 4, 5, 8, 9, 10, 11, 13): + for i in (3, 4, 5, 8, 9, 10, 11, 13, 14): xmlpath = "Opc.Ua.NodeSet2.Part{}.xml".format(str(i)) cpppath = "../opcua/server/standard_address_space/standard_address_space_part{}.py".format(str(i)) c = CodeGenerator(xmlpath, cpppath)