from KL.constants import ObjectIds
from KL.types import NumericNodeId, QualifiedName, NodeId, Variant, VariantType
from KL.application_protocol import NodeClass, LocalizedText, ObjectTypeAttributes, \
    AddNodesItem, AddReferencesItem, ReferenceTypeAttributes, VariableAttributes, ObjectAttributes, DataTypeAttributes, EnumValueType, VariableTypeAttributes, MethodAttributes, Argument
from KL import constants
import datetime
'from datautil.tz import tzutc'

def create_standard_address_space_Part5(server):


    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(51, 0)
    node.BrowseName = QualifiedName('FromState', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("FromState")
    attrs.InverseName = LocalizedText("ToTransition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(51, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(52, 0)
    node.BrowseName = QualifiedName('ToState', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("ToState")
    attrs.InverseName = LocalizedText("FromTransition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(52, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(53, 0)
    node.BrowseName = QualifiedName('HasCause', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasCause")
    attrs.InverseName = LocalizedText("MayBeCausedBy")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(53, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(54, 0)
    node.BrowseName = QualifiedName('HasEffect', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasEffect")
    attrs.InverseName = LocalizedText("MayBeEffectedBy")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(54, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(117, 0)
    node.BrowseName = QualifiedName('HasSubStateMachine', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasSubStateMachine")
    attrs.InverseName = LocalizedText("SubStateMachineOf")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(58, 0)
    node.BrowseName = QualifiedName('BaseObjectType', 0)
    node.NodeClass = NodeClass.ObjectType
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("BaseObjectType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(61, 0)
    node.BrowseName = QualifiedName('FolderType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("FolderType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(61, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(62, 0)
    node.BrowseName = QualifiedName('BaseVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("BaseVariableType")
    attrs.IsAbstract = True
    attrs.DisplayName = LocalizedText("BaseVariableType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -2
    node.NodeAttributes = attrs
    server.add_nodes([node])

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(63, 0)
    node.BrowseName = QualifiedName('BaseDataVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(62, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("BaseDataVariableType")
    attrs.DisplayName = LocalizedText("BaseDataVariableType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -2
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(63, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(62, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(68, 0)
    node.BrowseName = QualifiedName('PropertyType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(62, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("PropertyType")
    attrs.DisplayName = LocalizedText("PropertyType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -2
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(68, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(62, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(69, 0)
    node.BrowseName = QualifiedName('DataTypeDescriptionType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("DataTypeDescriptionType")
    attrs.DisplayName = LocalizedText("DataTypeDescriptionType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(69, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(104, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(69, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(105, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(69, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(104, 0)
    node.BrowseName = QualifiedName('DataTypeVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(69, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(105, 0)
    node.BrowseName = QualifiedName('DictionaryFragment', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(69, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DictionaryFragment")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(72, 0)
    node.BrowseName = QualifiedName('DataTypeDictionaryType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("DataTypeDictionaryType")
    attrs.DisplayName = LocalizedText("DataTypeDictionaryType")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(72, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(106, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(72, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(107, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(72, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15001, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(72, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(106, 0)
    node.BrowseName = QualifiedName('DataTypeVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(72, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(72, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(107, 0)
    node.BrowseName = QualifiedName('NamespaceUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(72, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(72, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15001, 0)
    node.BrowseName = QualifiedName('Deprecated', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(72, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Deprecated")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15001, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15001, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15001, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(72, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(75, 0)
    node.BrowseName = QualifiedName('DataTypeSystemType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("DataTypeSystemType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(75, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(76, 0)
    node.BrowseName = QualifiedName('DataTypeEncodingType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("DataTypeEncodingType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(76, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(77, 0)
    node.BrowseName = QualifiedName('ModellingRuleType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ModellingRuleType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(77, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(111, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(77, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(111, 0)
    node.BrowseName = QualifiedName('NamingRule', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(77, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamingRule")
    attrs.DataType = NumericNodeId(120, 0)
    attrs.Value = Variant(1, VariantType.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(77, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(78, 0)
    node.BrowseName = QualifiedName('Mandatory', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(77, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Mandatory")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(78, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(112, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(78, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(77, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(112, 0)
    node.BrowseName = QualifiedName('NamingRule', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(78, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamingRule")
    attrs.DataType = NumericNodeId(120, 0)
    attrs.Value = Variant(1, VariantType.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(80, 0)
    node.BrowseName = QualifiedName('Optional', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(77, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Optional")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(80, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(113, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(80, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(77, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(113, 0)
    node.BrowseName = QualifiedName('NamingRule', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(80, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamingRule")
    attrs.DataType = NumericNodeId(120, 0)
    attrs.Value = Variant(2, VariantType.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(83, 0)
    node.BrowseName = QualifiedName('ExposesItsArray', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(77, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ExposesItsArray")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(83, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(114, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(83, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(77, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(114, 0)
    node.BrowseName = QualifiedName('NamingRule', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(83, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamingRule")
    attrs.DataType = NumericNodeId(120, 0)
    attrs.Value = Variant(3, VariantType.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(83, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11508, 0)
    node.BrowseName = QualifiedName('OptionalPlaceholder', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(77, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("OptionalPlaceholder")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11508, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11509, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11508, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(77, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11509, 0)
    node.BrowseName = QualifiedName('NamingRule', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11508, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamingRule")
    attrs.DataType = NumericNodeId(120, 0)
    attrs.Value = Variant(2, VariantType.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11509, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11509, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11510, 0)
    node.BrowseName = QualifiedName('MandatoryPlaceholder', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(77, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("MandatoryPlaceholder")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11510, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11511, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11510, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(77, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11511, 0)
    node.BrowseName = QualifiedName('NamingRule', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11510, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamingRule")
    attrs.DataType = NumericNodeId(120, 0)
    attrs.Value = Variant(1, VariantType.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11511, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11511, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11510, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(84, 0)
    node.BrowseName = QualifiedName('Root', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Root")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(84, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(85, 0)
    node.BrowseName = QualifiedName('Objects', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(84, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Objects")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(85, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(84, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(85, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(86, 0)
    node.BrowseName = QualifiedName('Types', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(84, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Types")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(86, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(84, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(86, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(87, 0)
    node.BrowseName = QualifiedName('Views', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(84, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Views")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(87, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(84, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(87, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(88, 0)
    node.BrowseName = QualifiedName('ObjectTypes', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(86, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ObjectTypes")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(88, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(86, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(88, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(88, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(89, 0)
    node.BrowseName = QualifiedName('VariableTypes', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(86, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("VariableTypes")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(89, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(86, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(89, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(62, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(89, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(90, 0)
    node.BrowseName = QualifiedName('DataTypes', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(86, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("DataTypes")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(90, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(86, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(90, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(24, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(90, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(91, 0)
    node.BrowseName = QualifiedName('ReferenceTypes', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(86, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReferenceTypes")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(91, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(86, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(91, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(31, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(91, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(92, 0)
    node.BrowseName = QualifiedName('XML Schema', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(90, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(75, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("XML Schema")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(92, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(90, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(92, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(75, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(93, 0)
    node.BrowseName = QualifiedName('OPC Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(90, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(75, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("OPC Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(93, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(90, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(93, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(75, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15957, 0)
    node.BrowseName = QualifiedName('http://opcfoundation.org/UA/', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11715, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11616, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("http://opcfoundation.org/UA/")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15958, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15959, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15960, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15961, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15962, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15963, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15964, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16134, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16135, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16136, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11715, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15958, 0)
    node.BrowseName = QualifiedName('NamespaceUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('http://opcfoundation.org/UA/', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15958, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15958, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15959, 0)
    node.BrowseName = QualifiedName('NamespaceVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('1.04.6', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15959, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15959, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15960, 0)
    node.BrowseName = QualifiedName('NamespacePublicationDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespacePublicationDate")
    attrs.DataType = NodeId(ObjectIds.DateTime)
    attrs.Value = Variant(datetime.datetime(2020, 4, 14, 0, 0, 12), VariantType.DateTime)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15960, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15960, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15961, 0)
    node.BrowseName = QualifiedName('IsNamespaceSubset', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IsNamespaceSubset")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.Value = Variant(False, VariantType.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15961, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15961, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15962, 0)
    node.BrowseName = QualifiedName('StaticNodeIdTypes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticNodeIdTypes")
    attrs.DataType = NumericNodeId(256, 0)
    attrs.Value = Variant([0], VariantType.Int32)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15962, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15962, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15963, 0)
    node.BrowseName = QualifiedName('StaticNumericNodeIdRange', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticNumericNodeIdRange")
    attrs.DataType = NumericNodeId(291, 0)
    attrs.Value = Variant(['1:65535'], VariantType.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15963, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15963, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15964, 0)
    node.BrowseName = QualifiedName('StaticStringNodeIdPattern', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticStringNodeIdPattern")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('\n      ', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15964, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15964, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16134, 0)
    node.BrowseName = QualifiedName('DefaultRolePermissions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DefaultRolePermissions")
    attrs.DataType = NumericNodeId(96, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16135, 0)
    node.BrowseName = QualifiedName('DefaultUserRolePermissions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DefaultUserRolePermissions")
    attrs.DataType = NumericNodeId(96, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16136, 0)
    node.BrowseName = QualifiedName('DefaultAccessRestrictions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15957, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DefaultAccessRestrictions")
    attrs.DataType = NumericNodeId(95, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15957, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2004, 0)
    node.BrowseName = QualifiedName('ServerType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2005, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2006, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15003, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2008, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2742, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12882, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17612, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2010, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2011, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2012, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11527, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11489, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12871, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12746, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12883, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2005, 0)
    node.BrowseName = QualifiedName('ServerArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ServerArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2005, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2005, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2005, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2006, 0)
    node.BrowseName = QualifiedName('NamespaceArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("NamespaceArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2006, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2006, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2006, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15003, 0)
    node.BrowseName = QualifiedName('UrisVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("UrisVersion")
    attrs.DataType = NumericNodeId(20998, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15003, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15003, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15003, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2007, 0)
    node.BrowseName = QualifiedName('ServerStatus', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2138, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ServerStatus")
    attrs.DataType = NumericNodeId(862, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3074, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3075, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3076, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3084, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3085, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2007, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3074, 0)
    node.BrowseName = QualifiedName('StartTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2007, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StartTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3075, 0)
    node.BrowseName = QualifiedName('CurrentTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2007, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3076, 0)
    node.BrowseName = QualifiedName('State', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2007, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("State")
    attrs.DataType = NumericNodeId(852, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3077, 0)
    node.BrowseName = QualifiedName('BuildInfo', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2007, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(3051, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BuildInfo")
    attrs.DataType = NumericNodeId(338, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3078, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3079, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3080, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3081, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3082, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3083, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3078, 0)
    node.BrowseName = QualifiedName('ProductUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3077, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3078, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3078, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3078, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3079, 0)
    node.BrowseName = QualifiedName('ManufacturerName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3077, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ManufacturerName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3079, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3079, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3079, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3080, 0)
    node.BrowseName = QualifiedName('ProductName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3077, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3081, 0)
    node.BrowseName = QualifiedName('SoftwareVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3077, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("SoftwareVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3081, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3081, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3081, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3082, 0)
    node.BrowseName = QualifiedName('BuildNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3077, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildNumber")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3082, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3082, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3082, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3083, 0)
    node.BrowseName = QualifiedName('BuildDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3077, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildDate")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3077, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3084, 0)
    node.BrowseName = QualifiedName('SecondsTillShutdown', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2007, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecondsTillShutdown")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3084, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3084, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3084, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3085, 0)
    node.BrowseName = QualifiedName('ShutdownReason', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2007, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ShutdownReason")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3085, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3085, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3085, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2007, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2008, 0)
    node.BrowseName = QualifiedName('ServiceLevel', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ServiceLevel")
    attrs.DataType = NodeId(ObjectIds.Byte)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2008, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2008, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2008, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2742, 0)
    node.BrowseName = QualifiedName('Auditing', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("Auditing")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2742, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2742, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2742, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12882, 0)
    node.BrowseName = QualifiedName('EstimatedReturnTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("EstimatedReturnTime")
    attrs.DataType = NodeId(ObjectIds.DateTime)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12882, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12882, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12882, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17612, 0)
    node.BrowseName = QualifiedName('LocalTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("LocalTime")
    attrs.DataType = NumericNodeId(8912, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17612, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17612, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17612, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2009, 0)
    node.BrowseName = QualifiedName('ServerCapabilities', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2013, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ServerCapabilities")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3086, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3087, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3088, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3089, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3090, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3091, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3092, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3093, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3094, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2009, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3086, 0)
    node.BrowseName = QualifiedName('ServerProfileArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerProfileArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3087, 0)
    node.BrowseName = QualifiedName('LocaleIdArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIdArray")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3087, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3087, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3087, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3088, 0)
    node.BrowseName = QualifiedName('MinSupportedSampleRate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MinSupportedSampleRate")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3088, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3088, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3088, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3089, 0)
    node.BrowseName = QualifiedName('MaxBrowseContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxBrowseContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3089, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3089, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3089, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3090, 0)
    node.BrowseName = QualifiedName('MaxQueryContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxQueryContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3090, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3090, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3090, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3091, 0)
    node.BrowseName = QualifiedName('MaxHistoryContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxHistoryContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3092, 0)
    node.BrowseName = QualifiedName('SoftwareCertificates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SoftwareCertificates")
    attrs.DataType = NumericNodeId(344, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3093, 0)
    node.BrowseName = QualifiedName('ModellingRules', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ModellingRules")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3093, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3093, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3093, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3094, 0)
    node.BrowseName = QualifiedName('AggregateFunctions', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2009, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("AggregateFunctions")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2009, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2010, 0)
    node.BrowseName = QualifiedName('ServerDiagnostics', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2020, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnostics")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3110, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3111, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3114, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2010, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3095, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummary', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2010, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2150, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummary")
    attrs.DataType = NumericNodeId(859, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3096, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3097, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3098, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3099, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3100, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3101, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3102, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3104, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3105, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3106, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3107, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3108, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2010, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3096, 0)
    node.BrowseName = QualifiedName('ServerViewCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerViewCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3096, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3096, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3096, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3097, 0)
    node.BrowseName = QualifiedName('CurrentSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3098, 0)
    node.BrowseName = QualifiedName('CumulatedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3099, 0)
    node.BrowseName = QualifiedName('SecurityRejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3100, 0)
    node.BrowseName = QualifiedName('RejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3101, 0)
    node.BrowseName = QualifiedName('SessionTimeoutCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionTimeoutCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3102, 0)
    node.BrowseName = QualifiedName('SessionAbortCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionAbortCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3104, 0)
    node.BrowseName = QualifiedName('PublishingIntervalCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingIntervalCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3105, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3106, 0)
    node.BrowseName = QualifiedName('CumulatedSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3107, 0)
    node.BrowseName = QualifiedName('SecurityRejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3108, 0)
    node.BrowseName = QualifiedName('RejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3095, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3108, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3108, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3108, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3110, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2010, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2171, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArray")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2010, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3111, 0)
    node.BrowseName = QualifiedName('SessionsDiagnosticsSummary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2010, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2026, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("SessionsDiagnosticsSummary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3112, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3113, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2026, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2010, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3112, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3111, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2196, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsArray")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2196, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3111, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3113, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3111, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2243, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsArray")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2243, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3111, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3114, 0)
    node.BrowseName = QualifiedName('EnabledFlag', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2010, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnabledFlag")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    attrs.AccessLevel = 3
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2010, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2011, 0)
    node.BrowseName = QualifiedName('VendorServerInfo', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2033, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("VendorServerInfo")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2011, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2033, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2011, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2011, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2012, 0)
    node.BrowseName = QualifiedName('ServerRedundancy', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2034, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ServerRedundancy")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2012, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3115, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2012, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2034, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2012, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2012, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3115, 0)
    node.BrowseName = QualifiedName('RedundancySupport', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2012, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundancySupport")
    attrs.DataType = NumericNodeId(851, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3115, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3115, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3115, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2012, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11527, 0)
    node.BrowseName = QualifiedName('Namespaces', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11645, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Namespaces")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11527, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11645, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11527, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11527, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11489, 0)
    node.BrowseName = QualifiedName('GetMonitoredItems', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GetMonitoredItems")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11489, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11490, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11489, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11491, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11489, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11489, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11490, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11489, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'SubscriptionId'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11490, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11490, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11490, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11489, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11491, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11489, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ServerHandles'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = 1
    extobj.ArrayDimensions = [0]
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'ClientHandles'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = 1
    extobj.ArrayDimensions = [0]
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11491, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11491, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11491, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11489, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12871, 0)
    node.BrowseName = QualifiedName('ResendData', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("ResendData")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12871, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12872, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12871, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12871, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12872, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12871, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'SubscriptionId'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12871, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12746, 0)
    node.BrowseName = QualifiedName('SetSubscriptionDurable', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("SetSubscriptionDurable")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12747, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12748, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12747, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12746, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'SubscriptionId'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'LifetimeInHours'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12746, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12748, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12746, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RevisedLifetimeInHours'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12746, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12883, 0)
    node.BrowseName = QualifiedName('RequestServerStateChange', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2004, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RequestServerStateChange")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12883, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12884, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12883, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12883, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12884, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12883, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'State'
    extobj.DataType = NumericNodeId(852, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'EstimatedReturnTime'
    extobj.DataType = NumericNodeId(13, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'SecondsTillShutdown'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Reason'
    extobj.DataType = NumericNodeId(21, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Restart'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12884, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12884, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12884, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12883, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2013, 0)
    node.BrowseName = QualifiedName('ServerCapabilitiesType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerCapabilitiesType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2014, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2016, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2017, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2732, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2733, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2734, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3049, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11549, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11550, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12910, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11551, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2019, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2754, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11562, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16295, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2013, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2014, 0)
    node.BrowseName = QualifiedName('ServerProfileArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerProfileArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2014, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2014, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2014, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2016, 0)
    node.BrowseName = QualifiedName('LocaleIdArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIdArray")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2016, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2016, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2016, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2017, 0)
    node.BrowseName = QualifiedName('MinSupportedSampleRate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MinSupportedSampleRate")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2017, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2017, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2017, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2732, 0)
    node.BrowseName = QualifiedName('MaxBrowseContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxBrowseContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2732, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2732, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2732, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2733, 0)
    node.BrowseName = QualifiedName('MaxQueryContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxQueryContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2733, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2733, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2733, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2734, 0)
    node.BrowseName = QualifiedName('MaxHistoryContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxHistoryContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3049, 0)
    node.BrowseName = QualifiedName('SoftwareCertificates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SoftwareCertificates")
    attrs.DataType = NumericNodeId(344, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3049, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3049, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3049, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11549, 0)
    node.BrowseName = QualifiedName('MaxArrayLength', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxArrayLength")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11549, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11549, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11549, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11550, 0)
    node.BrowseName = QualifiedName('MaxStringLength', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxStringLength")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11550, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11550, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11550, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12910, 0)
    node.BrowseName = QualifiedName('MaxByteStringLength', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxByteStringLength")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12910, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12910, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12910, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11551, 0)
    node.BrowseName = QualifiedName('OperationLimits', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11564, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("OperationLimits")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11551, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11551, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11551, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2019, 0)
    node.BrowseName = QualifiedName('ModellingRules', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ModellingRules")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2019, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2019, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2019, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2754, 0)
    node.BrowseName = QualifiedName('AggregateFunctions', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("AggregateFunctions")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11562, 0)
    node.BrowseName = QualifiedName('<VendorCapability>', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2137, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("<VendorCapability>")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11562, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2137, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11562, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11562, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16295, 0)
    node.BrowseName = QualifiedName('RoleSet', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2013, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15607, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("RoleSet")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16296, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16299, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15607, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16296, 0)
    node.BrowseName = QualifiedName('AddRole', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16295, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddRole")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16297, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16298, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16295, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16297, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'NamespaceUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16297, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16297, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16297, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16298, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16298, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16298, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16298, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16299, 0)
    node.BrowseName = QualifiedName('RemoveRole', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16295, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveRole")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16300, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16295, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16300, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16299, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16299, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2020, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2020, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2020, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2022, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2020, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2023, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2020, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2744, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2020, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2025, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2020, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2021, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummary', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2020, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2150, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummary")
    attrs.DataType = NumericNodeId(859, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3116, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3117, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3118, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3119, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3120, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3121, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3122, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3124, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3125, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3126, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3127, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3128, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2021, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3116, 0)
    node.BrowseName = QualifiedName('ServerViewCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerViewCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3117, 0)
    node.BrowseName = QualifiedName('CurrentSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3118, 0)
    node.BrowseName = QualifiedName('CumulatedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3118, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3118, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3118, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3119, 0)
    node.BrowseName = QualifiedName('SecurityRejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3120, 0)
    node.BrowseName = QualifiedName('RejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3120, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3120, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3120, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3121, 0)
    node.BrowseName = QualifiedName('SessionTimeoutCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionTimeoutCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3121, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3121, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3121, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3122, 0)
    node.BrowseName = QualifiedName('SessionAbortCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionAbortCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3122, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3122, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3122, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3124, 0)
    node.BrowseName = QualifiedName('PublishingIntervalCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingIntervalCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3124, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3124, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3124, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3125, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3126, 0)
    node.BrowseName = QualifiedName('CumulatedSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3126, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3126, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3126, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3127, 0)
    node.BrowseName = QualifiedName('SecurityRejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3128, 0)
    node.BrowseName = QualifiedName('RejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2021, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2021, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2022, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2020, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2164, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsArray")
    attrs.DataType = NumericNodeId(856, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2022, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2164, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2022, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2022, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2023, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2020, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2171, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArray")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2023, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2023, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2023, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2744, 0)
    node.BrowseName = QualifiedName('SessionsDiagnosticsSummary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2020, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2026, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("SessionsDiagnosticsSummary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3129, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3130, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2026, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3129, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2744, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2196, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsArray")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2196, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3130, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2744, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2243, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsArray")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2243, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2025, 0)
    node.BrowseName = QualifiedName('EnabledFlag', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2020, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnabledFlag")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    attrs.AccessLevel = 3
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2025, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2025, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2025, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2026, 0)
    node.BrowseName = QualifiedName('SessionsDiagnosticsSummaryType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionsDiagnosticsSummaryType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2026, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2027, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2026, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2028, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2026, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12097, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2026, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2027, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2026, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2196, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsArray")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2027, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2196, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2027, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2027, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2026, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2028, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2026, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2243, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsArray")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2028, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2243, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2028, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2028, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2026, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12097, 0)
    node.BrowseName = QualifiedName('<ClientName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2026, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2029, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<ClientName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12152, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2029, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2026, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12098, 0)
    node.BrowseName = QualifiedName('SessionDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12097, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2197, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnostics")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12099, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12100, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12101, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12102, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12103, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12104, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12105, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12106, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12107, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12108, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12109, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12110, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12111, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12112, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12113, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12114, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12115, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12116, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12117, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12118, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12119, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12120, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12121, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12122, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12123, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12124, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12125, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12126, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12127, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12128, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12129, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12130, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12131, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12132, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12133, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12134, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12135, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12136, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12137, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12138, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12139, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12140, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12141, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12097, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12099, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12100, 0)
    node.BrowseName = QualifiedName('SessionName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12101, 0)
    node.BrowseName = QualifiedName('ClientDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientDescription")
    attrs.DataType = NumericNodeId(308, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12102, 0)
    node.BrowseName = QualifiedName('ServerUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12103, 0)
    node.BrowseName = QualifiedName('EndpointUrl', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrl")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12103, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12103, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12103, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12104, 0)
    node.BrowseName = QualifiedName('LocaleIds', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIds")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12105, 0)
    node.BrowseName = QualifiedName('ActualSessionTimeout', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ActualSessionTimeout")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12105, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12106, 0)
    node.BrowseName = QualifiedName('MaxResponseMessageSize', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxResponseMessageSize")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12106, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12107, 0)
    node.BrowseName = QualifiedName('ClientConnectionTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientConnectionTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12108, 0)
    node.BrowseName = QualifiedName('ClientLastContactTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientLastContactTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12108, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12108, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12108, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12109, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12109, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12109, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12109, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12110, 0)
    node.BrowseName = QualifiedName('CurrentMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12111, 0)
    node.BrowseName = QualifiedName('CurrentPublishRequestsInQueue', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentPublishRequestsInQueue")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12111, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12112, 0)
    node.BrowseName = QualifiedName('TotalRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TotalRequestCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12113, 0)
    node.BrowseName = QualifiedName('UnauthorizedRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnauthorizedRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12114, 0)
    node.BrowseName = QualifiedName('ReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12114, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12115, 0)
    node.BrowseName = QualifiedName('HistoryReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12115, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12115, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12115, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12116, 0)
    node.BrowseName = QualifiedName('WriteCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriteCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12117, 0)
    node.BrowseName = QualifiedName('HistoryUpdateCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryUpdateCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12117, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12118, 0)
    node.BrowseName = QualifiedName('CallCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CallCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12118, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12118, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12118, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12119, 0)
    node.BrowseName = QualifiedName('CreateMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12120, 0)
    node.BrowseName = QualifiedName('ModifyMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifyMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12120, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12120, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12120, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12121, 0)
    node.BrowseName = QualifiedName('SetMonitoringModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetMonitoringModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12121, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12121, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12121, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12122, 0)
    node.BrowseName = QualifiedName('SetTriggeringCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetTriggeringCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12122, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12122, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12122, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12123, 0)
    node.BrowseName = QualifiedName('DeleteMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12123, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12123, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12123, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12124, 0)
    node.BrowseName = QualifiedName('CreateSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateSubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12124, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12124, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12124, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12125, 0)
    node.BrowseName = QualifiedName('ModifySubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifySubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12126, 0)
    node.BrowseName = QualifiedName('SetPublishingModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetPublishingModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12126, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12126, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12126, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12127, 0)
    node.BrowseName = QualifiedName('PublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12128, 0)
    node.BrowseName = QualifiedName('RepublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12129, 0)
    node.BrowseName = QualifiedName('TransferSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12130, 0)
    node.BrowseName = QualifiedName('DeleteSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12131, 0)
    node.BrowseName = QualifiedName('AddNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12132, 0)
    node.BrowseName = QualifiedName('AddReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12133, 0)
    node.BrowseName = QualifiedName('DeleteNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12134, 0)
    node.BrowseName = QualifiedName('DeleteReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12135, 0)
    node.BrowseName = QualifiedName('BrowseCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12136, 0)
    node.BrowseName = QualifiedName('BrowseNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12137, 0)
    node.BrowseName = QualifiedName('TranslateBrowsePathsToNodeIdsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TranslateBrowsePathsToNodeIdsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12138, 0)
    node.BrowseName = QualifiedName('QueryFirstCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryFirstCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12139, 0)
    node.BrowseName = QualifiedName('QueryNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12140, 0)
    node.BrowseName = QualifiedName('RegisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RegisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12141, 0)
    node.BrowseName = QualifiedName('UnregisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12098, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnregisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12098, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12142, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12097, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2244, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnostics")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12143, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12144, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12145, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12146, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12147, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12148, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12149, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12150, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12151, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12097, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12143, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12143, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12143, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12143, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12144, 0)
    node.BrowseName = QualifiedName('ClientUserIdOfSession', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdOfSession")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12144, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12144, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12144, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12145, 0)
    node.BrowseName = QualifiedName('ClientUserIdHistory', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdHistory")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12145, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12145, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12145, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12146, 0)
    node.BrowseName = QualifiedName('AuthenticationMechanism', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AuthenticationMechanism")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12146, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12146, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12146, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12147, 0)
    node.BrowseName = QualifiedName('Encoding', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Encoding")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12147, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12147, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12147, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12148, 0)
    node.BrowseName = QualifiedName('TransportProtocol', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransportProtocol")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12148, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12148, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12148, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12149, 0)
    node.BrowseName = QualifiedName('SecurityMode', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityMode")
    attrs.DataType = NumericNodeId(302, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12149, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12149, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12149, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12150, 0)
    node.BrowseName = QualifiedName('SecurityPolicyUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityPolicyUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12151, 0)
    node.BrowseName = QualifiedName('ClientCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12152, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12097, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2171, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArray")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12097, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2029, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsObjectType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsObjectType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2029, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2029, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2029, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2032, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2029, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2030, 0)
    node.BrowseName = QualifiedName('SessionDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2029, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2197, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnostics")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3131, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3132, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3133, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3134, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3135, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3136, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3137, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3138, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3139, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3140, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3141, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3142, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3143, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8898, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11891, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3151, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3152, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3153, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3154, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3155, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3156, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3157, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3158, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3159, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3160, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3161, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3162, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3163, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3164, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3165, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3166, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3167, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3168, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3169, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3170, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3172, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3173, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3174, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3175, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3176, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3177, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3178, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2029, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3131, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3132, 0)
    node.BrowseName = QualifiedName('SessionName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3133, 0)
    node.BrowseName = QualifiedName('ClientDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientDescription")
    attrs.DataType = NumericNodeId(308, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3134, 0)
    node.BrowseName = QualifiedName('ServerUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3135, 0)
    node.BrowseName = QualifiedName('EndpointUrl', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrl")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3135, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3136, 0)
    node.BrowseName = QualifiedName('LocaleIds', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIds")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3136, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3137, 0)
    node.BrowseName = QualifiedName('ActualSessionTimeout', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ActualSessionTimeout")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3138, 0)
    node.BrowseName = QualifiedName('MaxResponseMessageSize', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxResponseMessageSize")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3139, 0)
    node.BrowseName = QualifiedName('ClientConnectionTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientConnectionTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3140, 0)
    node.BrowseName = QualifiedName('ClientLastContactTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientLastContactTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3141, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3142, 0)
    node.BrowseName = QualifiedName('CurrentMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3143, 0)
    node.BrowseName = QualifiedName('CurrentPublishRequestsInQueue', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentPublishRequestsInQueue")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3143, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3143, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3143, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8898, 0)
    node.BrowseName = QualifiedName('TotalRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TotalRequestCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11891, 0)
    node.BrowseName = QualifiedName('UnauthorizedRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnauthorizedRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11891, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11891, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11891, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3151, 0)
    node.BrowseName = QualifiedName('ReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3152, 0)
    node.BrowseName = QualifiedName('HistoryReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3153, 0)
    node.BrowseName = QualifiedName('WriteCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriteCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3153, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3153, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3153, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3154, 0)
    node.BrowseName = QualifiedName('HistoryUpdateCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryUpdateCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3154, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3154, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3154, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3155, 0)
    node.BrowseName = QualifiedName('CallCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CallCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3155, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3155, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3155, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3156, 0)
    node.BrowseName = QualifiedName('CreateMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3157, 0)
    node.BrowseName = QualifiedName('ModifyMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifyMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3157, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3157, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3157, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3158, 0)
    node.BrowseName = QualifiedName('SetMonitoringModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetMonitoringModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3158, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3158, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3158, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3159, 0)
    node.BrowseName = QualifiedName('SetTriggeringCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetTriggeringCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3160, 0)
    node.BrowseName = QualifiedName('DeleteMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3160, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3160, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3160, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3161, 0)
    node.BrowseName = QualifiedName('CreateSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateSubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3162, 0)
    node.BrowseName = QualifiedName('ModifySubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifySubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3163, 0)
    node.BrowseName = QualifiedName('SetPublishingModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetPublishingModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3164, 0)
    node.BrowseName = QualifiedName('PublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3165, 0)
    node.BrowseName = QualifiedName('RepublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3166, 0)
    node.BrowseName = QualifiedName('TransferSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3167, 0)
    node.BrowseName = QualifiedName('DeleteSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3167, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3167, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3167, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3168, 0)
    node.BrowseName = QualifiedName('AddNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3169, 0)
    node.BrowseName = QualifiedName('AddReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3169, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3169, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3169, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3170, 0)
    node.BrowseName = QualifiedName('DeleteNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3170, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3170, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3170, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3171, 0)
    node.BrowseName = QualifiedName('DeleteReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3172, 0)
    node.BrowseName = QualifiedName('BrowseCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3173, 0)
    node.BrowseName = QualifiedName('BrowseNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3174, 0)
    node.BrowseName = QualifiedName('TranslateBrowsePathsToNodeIdsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TranslateBrowsePathsToNodeIdsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3175, 0)
    node.BrowseName = QualifiedName('QueryFirstCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryFirstCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3176, 0)
    node.BrowseName = QualifiedName('QueryNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3177, 0)
    node.BrowseName = QualifiedName('RegisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RegisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3178, 0)
    node.BrowseName = QualifiedName('UnregisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2030, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnregisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2030, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2031, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2029, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2244, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnostics")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3179, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3180, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3181, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3182, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3183, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3184, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3185, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3186, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3187, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2031, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2029, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3179, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3180, 0)
    node.BrowseName = QualifiedName('ClientUserIdOfSession', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdOfSession")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3181, 0)
    node.BrowseName = QualifiedName('ClientUserIdHistory', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdHistory")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3182, 0)
    node.BrowseName = QualifiedName('AuthenticationMechanism', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AuthenticationMechanism")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3183, 0)
    node.BrowseName = QualifiedName('Encoding', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Encoding")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3184, 0)
    node.BrowseName = QualifiedName('TransportProtocol', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransportProtocol")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3185, 0)
    node.BrowseName = QualifiedName('SecurityMode', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityMode")
    attrs.DataType = NumericNodeId(302, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3185, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3185, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3185, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3186, 0)
    node.BrowseName = QualifiedName('SecurityPolicyUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityPolicyUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3187, 0)
    node.BrowseName = QualifiedName('ClientCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2031, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2031, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2032, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2029, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2171, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArray")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2032, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2032, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2032, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2029, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2033, 0)
    node.BrowseName = QualifiedName('VendorServerInfoType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("VendorServerInfoType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2033, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2034, 0)
    node.BrowseName = QualifiedName('ServerRedundancyType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerRedundancyType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2034, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2035, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2034, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2035, 0)
    node.BrowseName = QualifiedName('RedundancySupport', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2034, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundancySupport")
    attrs.DataType = NumericNodeId(851, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2035, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2035, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2035, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2034, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2036, 0)
    node.BrowseName = QualifiedName('TransparentRedundancyType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2034, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("TransparentRedundancyType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2037, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2038, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2034, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2037, 0)
    node.BrowseName = QualifiedName('CurrentServerId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentServerId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2038, 0)
    node.BrowseName = QualifiedName('RedundantServerArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundantServerArray")
    attrs.DataType = NumericNodeId(853, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2038, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2038, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2038, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2039, 0)
    node.BrowseName = QualifiedName('NonTransparentRedundancyType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2034, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("NonTransparentRedundancyType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2039, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2040, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2039, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2034, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2040, 0)
    node.BrowseName = QualifiedName('ServerUriArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2039, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerUriArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2040, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2040, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2040, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2039, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11945, 0)
    node.BrowseName = QualifiedName('NonTransparentNetworkRedundancyType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2039, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("NonTransparentNetworkRedundancyType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11945, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11948, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11945, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2039, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11948, 0)
    node.BrowseName = QualifiedName('ServerNetworkGroups', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11945, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerNetworkGroups")
    attrs.DataType = NumericNodeId(11944, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11948, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11948, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11948, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11945, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11564, 0)
    node.BrowseName = QualifiedName('OperationLimitsType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(61, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("OperationLimitsType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11565, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12161, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12162, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11567, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12163, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12164, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11569, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11570, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11571, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11572, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11573, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11574, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11565, 0)
    node.BrowseName = QualifiedName('MaxNodesPerRead', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerRead")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11565, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11565, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11565, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12161, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryReadData', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryReadData")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12162, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryReadEvents', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryReadEvents")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11567, 0)
    node.BrowseName = QualifiedName('MaxNodesPerWrite', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerWrite")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11567, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11567, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11567, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12163, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryUpdateData', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryUpdateData")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12164, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryUpdateEvents', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryUpdateEvents")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11569, 0)
    node.BrowseName = QualifiedName('MaxNodesPerMethodCall', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerMethodCall")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11569, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11569, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11569, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11570, 0)
    node.BrowseName = QualifiedName('MaxNodesPerBrowse', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerBrowse")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11570, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11570, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11570, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11571, 0)
    node.BrowseName = QualifiedName('MaxNodesPerRegisterNodes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerRegisterNodes")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11571, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11571, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11571, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11572, 0)
    node.BrowseName = QualifiedName('MaxNodesPerTranslateBrowsePathsToNodeIds', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerTranslateBrowsePathsToNodeIds")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11572, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11572, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11572, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11573, 0)
    node.BrowseName = QualifiedName('MaxNodesPerNodeManagement', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerNodeManagement")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11573, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11573, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11573, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11574, 0)
    node.BrowseName = QualifiedName('MaxMonitoredItemsPerCall', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11564, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxMonitoredItemsPerCall")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11574, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11574, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11574, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11575, 0)
    node.BrowseName = QualifiedName('FileType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("FileType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11576, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12686, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12687, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11579, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13341, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11580, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11583, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11585, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11588, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11590, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11593, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11575, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11576, 0)
    node.BrowseName = QualifiedName('Size', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Size")
    attrs.DataType = NodeId(ObjectIds.UInt64)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11576, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11576, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11576, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12686, 0)
    node.BrowseName = QualifiedName('Writable', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Writable")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12687, 0)
    node.BrowseName = QualifiedName('UserWritable', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserWritable")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12687, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12687, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12687, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11579, 0)
    node.BrowseName = QualifiedName('OpenCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OpenCount")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11579, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11579, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11579, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13341, 0)
    node.BrowseName = QualifiedName('MimeType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MimeType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13341, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13341, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13341, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11580, 0)
    node.BrowseName = QualifiedName('Open', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Open")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11580, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11581, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11580, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11582, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11580, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11580, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11581, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11580, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Mode'
    extobj.DataType = NumericNodeId(3, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11581, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11581, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11581, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11580, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11582, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11580, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11582, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11582, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11582, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11580, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11583, 0)
    node.BrowseName = QualifiedName('Close', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Close")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11583, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11584, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11583, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11583, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11584, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11583, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11584, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11584, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11584, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11583, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11585, 0)
    node.BrowseName = QualifiedName('Read', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Read")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11585, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11586, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11585, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11587, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11585, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11585, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11586, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11585, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Length'
    extobj.DataType = NumericNodeId(6, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11586, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11586, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11586, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11585, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11587, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11585, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Data'
    extobj.DataType = NumericNodeId(15, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11587, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11587, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11587, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11585, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11588, 0)
    node.BrowseName = QualifiedName('Write', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Write")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11588, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11589, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11588, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11588, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11589, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11588, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Data'
    extobj.DataType = NumericNodeId(15, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11589, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11589, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11589, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11588, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11590, 0)
    node.BrowseName = QualifiedName('GetPosition', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GetPosition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11591, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11592, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11591, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11590, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11590, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11592, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11590, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Position'
    extobj.DataType = NumericNodeId(9, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11592, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11592, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11592, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11590, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11593, 0)
    node.BrowseName = QualifiedName('SetPosition', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("SetPosition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11593, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11594, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11593, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11593, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11594, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11593, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Position'
    extobj.DataType = NumericNodeId(9, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11593, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11595, 0)
    node.BrowseName = QualifiedName('AddressSpaceFileType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(11575, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AddressSpaceFileType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11595, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11615, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11595, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11615, 0)
    node.BrowseName = QualifiedName('ExportNamespace', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11595, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("ExportNamespace")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11615, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11615, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11595, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11616, 0)
    node.BrowseName = QualifiedName('NamespaceMetadataType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("NamespaceMetadataType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11617, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11618, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11619, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11620, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11621, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11622, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11623, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16137, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16138, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16139, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11616, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11617, 0)
    node.BrowseName = QualifiedName('NamespaceUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11618, 0)
    node.BrowseName = QualifiedName('NamespaceVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11618, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11618, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11618, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11619, 0)
    node.BrowseName = QualifiedName('NamespacePublicationDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespacePublicationDate")
    attrs.DataType = NodeId(ObjectIds.DateTime)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11619, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11619, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11619, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11620, 0)
    node.BrowseName = QualifiedName('IsNamespaceSubset', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IsNamespaceSubset")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11621, 0)
    node.BrowseName = QualifiedName('StaticNodeIdTypes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticNodeIdTypes")
    attrs.DataType = NumericNodeId(256, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11621, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11621, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11621, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11622, 0)
    node.BrowseName = QualifiedName('StaticNumericNodeIdRange', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticNumericNodeIdRange")
    attrs.DataType = NumericNodeId(291, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11622, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11622, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11622, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11623, 0)
    node.BrowseName = QualifiedName('StaticStringNodeIdPattern', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticStringNodeIdPattern")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11623, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11623, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11623, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11624, 0)
    node.BrowseName = QualifiedName('NamespaceFile', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11595, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("NamespaceFile")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11625, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12690, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12691, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11628, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11629, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11632, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11634, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11637, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11639, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11642, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11595, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11625, 0)
    node.BrowseName = QualifiedName('Size', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Size")
    attrs.DataType = NodeId(ObjectIds.UInt64)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11625, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11625, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11625, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12690, 0)
    node.BrowseName = QualifiedName('Writable', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Writable")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12690, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12690, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12690, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12691, 0)
    node.BrowseName = QualifiedName('UserWritable', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserWritable")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12691, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12691, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12691, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11628, 0)
    node.BrowseName = QualifiedName('OpenCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OpenCount")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11628, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11628, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11628, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11629, 0)
    node.BrowseName = QualifiedName('Open', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Open")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11629, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11630, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11629, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11631, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11629, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11629, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11630, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11629, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Mode'
    extobj.DataType = NumericNodeId(3, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11630, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11630, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11630, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11629, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11631, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11629, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11631, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11631, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11631, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11629, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11632, 0)
    node.BrowseName = QualifiedName('Close', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Close")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11633, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11633, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11632, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11632, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11634, 0)
    node.BrowseName = QualifiedName('Read', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Read")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11635, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11636, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11635, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11634, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Length'
    extobj.DataType = NumericNodeId(6, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11635, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11635, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11635, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11634, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11636, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11634, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Data'
    extobj.DataType = NumericNodeId(15, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11636, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11636, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11636, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11634, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11637, 0)
    node.BrowseName = QualifiedName('Write', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Write")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11637, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11638, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11637, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11637, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11638, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11637, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Data'
    extobj.DataType = NumericNodeId(15, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11638, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11638, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11638, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11637, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11639, 0)
    node.BrowseName = QualifiedName('GetPosition', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GetPosition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11639, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11640, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11639, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11641, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11639, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11639, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11640, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11639, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11640, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11640, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11640, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11639, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11641, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11639, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Position'
    extobj.DataType = NumericNodeId(9, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11641, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11641, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11641, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11639, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11642, 0)
    node.BrowseName = QualifiedName('SetPosition', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(11624, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("SetPosition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11642, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11643, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11642, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11642, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11643, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11642, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Position'
    extobj.DataType = NumericNodeId(9, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11643, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11643, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11643, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11642, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16137, 0)
    node.BrowseName = QualifiedName('DefaultRolePermissions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DefaultRolePermissions")
    attrs.DataType = NumericNodeId(96, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16138, 0)
    node.BrowseName = QualifiedName('DefaultUserRolePermissions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DefaultUserRolePermissions")
    attrs.DataType = NumericNodeId(96, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16139, 0)
    node.BrowseName = QualifiedName('DefaultAccessRestrictions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11616, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DefaultAccessRestrictions")
    attrs.DataType = NumericNodeId(95, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11645, 0)
    node.BrowseName = QualifiedName('NamespacesType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("NamespacesType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11645, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11645, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11646, 0)
    node.BrowseName = QualifiedName('<NamespaceIdentifier>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11645, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11616, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<NamespaceIdentifier>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11647, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11648, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11649, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11650, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11651, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11652, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11653, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11616, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11646, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11645, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11647, 0)
    node.BrowseName = QualifiedName('NamespaceUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11647, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11647, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11647, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11648, 0)
    node.BrowseName = QualifiedName('NamespaceVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11648, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11648, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11648, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11649, 0)
    node.BrowseName = QualifiedName('NamespacePublicationDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespacePublicationDate")
    attrs.DataType = NodeId(ObjectIds.DateTime)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11649, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11649, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11649, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11650, 0)
    node.BrowseName = QualifiedName('IsNamespaceSubset', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IsNamespaceSubset")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11651, 0)
    node.BrowseName = QualifiedName('StaticNodeIdTypes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticNodeIdTypes")
    attrs.DataType = NumericNodeId(256, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11651, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11651, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11651, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11652, 0)
    node.BrowseName = QualifiedName('StaticNumericNodeIdRange', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticNumericNodeIdRange")
    attrs.DataType = NumericNodeId(291, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11652, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11652, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11652, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11653, 0)
    node.BrowseName = QualifiedName('StaticStringNodeIdPattern', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11646, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StaticStringNodeIdPattern")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11653, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11653, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11653, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11646, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2041, 0)
    node.BrowseName = QualifiedName('BaseEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("BaseEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2042, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2043, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2044, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2045, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2046, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2047, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3190, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2050, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2051, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2042, 0)
    node.BrowseName = QualifiedName('EventId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventId")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2043, 0)
    node.BrowseName = QualifiedName('EventType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventType")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2043, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2043, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2043, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2044, 0)
    node.BrowseName = QualifiedName('SourceNode', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SourceNode")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2044, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2044, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2044, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2045, 0)
    node.BrowseName = QualifiedName('SourceName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SourceName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2045, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2045, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2045, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2046, 0)
    node.BrowseName = QualifiedName('Time', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Time")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2046, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2046, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2046, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2047, 0)
    node.BrowseName = QualifiedName('ReceiveTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReceiveTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2047, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2047, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2047, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3190, 0)
    node.BrowseName = QualifiedName('LocalTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocalTime")
    attrs.DataType = NumericNodeId(8912, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3190, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3190, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3190, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2050, 0)
    node.BrowseName = QualifiedName('Message', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Message")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2051, 0)
    node.BrowseName = QualifiedName('Severity', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Severity")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2052, 0)
    node.BrowseName = QualifiedName('AuditEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2053, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2054, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2055, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2056, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2057, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2053, 0)
    node.BrowseName = QualifiedName('ActionTimeStamp', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ActionTimeStamp")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2054, 0)
    node.BrowseName = QualifiedName('Status', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Status")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2054, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2054, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2054, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2055, 0)
    node.BrowseName = QualifiedName('ServerId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2056, 0)
    node.BrowseName = QualifiedName('ClientAuditEntryId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientAuditEntryId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2057, 0)
    node.BrowseName = QualifiedName('ClientUserId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2057, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2057, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2057, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2058, 0)
    node.BrowseName = QualifiedName('AuditSecurityEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditSecurityEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17615, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17615, 0)
    node.BrowseName = QualifiedName('StatusCodeId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2058, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StatusCodeId")
    attrs.DataType = NodeId(ObjectIds.StatusCode)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17615, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17615, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17615, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2058, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2059, 0)
    node.BrowseName = QualifiedName('AuditChannelEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2058, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditChannelEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2059, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2745, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2059, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2058, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2745, 0)
    node.BrowseName = QualifiedName('SecureChannelId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2059, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecureChannelId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2745, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2745, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2745, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2059, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2060, 0)
    node.BrowseName = QualifiedName('AuditOpenSecureChannelEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2059, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditOpenSecureChannelEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2061, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2746, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2062, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2063, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2065, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2066, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2060, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2059, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2061, 0)
    node.BrowseName = QualifiedName('ClientCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2060, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2061, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2061, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2061, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2060, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2746, 0)
    node.BrowseName = QualifiedName('ClientCertificateThumbprint', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2060, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificateThumbprint")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2060, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2062, 0)
    node.BrowseName = QualifiedName('RequestType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2060, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RequestType")
    attrs.DataType = NumericNodeId(315, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2062, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2062, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2062, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2060, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2063, 0)
    node.BrowseName = QualifiedName('SecurityPolicyUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2060, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityPolicyUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2063, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2063, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2063, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2060, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2065, 0)
    node.BrowseName = QualifiedName('SecurityMode', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2060, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityMode")
    attrs.DataType = NumericNodeId(302, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2060, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2066, 0)
    node.BrowseName = QualifiedName('RequestedLifetime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2060, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RequestedLifetime")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2066, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2066, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2066, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2060, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2069, 0)
    node.BrowseName = QualifiedName('AuditSessionEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2058, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditSessionEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2069, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2070, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2069, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2058, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2070, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2069, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2070, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2070, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2070, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2069, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2071, 0)
    node.BrowseName = QualifiedName('AuditCreateSessionEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2069, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCreateSessionEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2072, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2073, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2747, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2074, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2069, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2072, 0)
    node.BrowseName = QualifiedName('SecureChannelId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2071, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecureChannelId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2072, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2072, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2072, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2071, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2073, 0)
    node.BrowseName = QualifiedName('ClientCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2071, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2073, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2073, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2073, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2071, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2747, 0)
    node.BrowseName = QualifiedName('ClientCertificateThumbprint', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2071, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificateThumbprint")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2071, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2074, 0)
    node.BrowseName = QualifiedName('RevisedSessionTimeout', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2071, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RevisedSessionTimeout")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2071, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2748, 0)
    node.BrowseName = QualifiedName('AuditUrlMismatchEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2071, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditUrlMismatchEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2749, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2071, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2749, 0)
    node.BrowseName = QualifiedName('EndpointUrl', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2748, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrl")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2748, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2075, 0)
    node.BrowseName = QualifiedName('AuditActivateSessionEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2069, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditActivateSessionEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2076, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2077, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11485, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2069, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2076, 0)
    node.BrowseName = QualifiedName('ClientSoftwareCertificates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2075, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientSoftwareCertificates")
    attrs.DataType = NumericNodeId(344, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2075, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2077, 0)
    node.BrowseName = QualifiedName('UserIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2075, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserIdentityToken")
    attrs.DataType = NumericNodeId(316, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2075, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11485, 0)
    node.BrowseName = QualifiedName('SecureChannelId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2075, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecureChannelId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11485, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11485, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11485, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2075, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2078, 0)
    node.BrowseName = QualifiedName('AuditCancelEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2069, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCancelEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2078, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2079, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2078, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2069, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2079, 0)
    node.BrowseName = QualifiedName('RequestHandle', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2078, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RequestHandle")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2079, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2079, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2079, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2078, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2080, 0)
    node.BrowseName = QualifiedName('AuditCertificateEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2058, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2081, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2058, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2081, 0)
    node.BrowseName = QualifiedName('Certificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Certificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2081, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2081, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2081, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2082, 0)
    node.BrowseName = QualifiedName('AuditCertificateDataMismatchEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateDataMismatchEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2082, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2083, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2082, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2084, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2082, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2083, 0)
    node.BrowseName = QualifiedName('InvalidHostname', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2082, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InvalidHostname")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2082, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2084, 0)
    node.BrowseName = QualifiedName('InvalidUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2082, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InvalidUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2084, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2084, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2084, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2082, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2085, 0)
    node.BrowseName = QualifiedName('AuditCertificateExpiredEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateExpiredEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2085, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2086, 0)
    node.BrowseName = QualifiedName('AuditCertificateInvalidEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateInvalidEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2087, 0)
    node.BrowseName = QualifiedName('AuditCertificateUntrustedEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateUntrustedEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2087, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2088, 0)
    node.BrowseName = QualifiedName('AuditCertificateRevokedEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateRevokedEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2088, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2089, 0)
    node.BrowseName = QualifiedName('AuditCertificateMismatchEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2080, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditCertificateMismatchEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2089, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2080, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2090, 0)
    node.BrowseName = QualifiedName('AuditNodeManagementEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditNodeManagementEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2090, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2091, 0)
    node.BrowseName = QualifiedName('AuditAddNodesEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2090, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditAddNodesEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2092, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2090, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2092, 0)
    node.BrowseName = QualifiedName('NodesToAdd', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2091, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NodesToAdd")
    attrs.DataType = NumericNodeId(376, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2091, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2093, 0)
    node.BrowseName = QualifiedName('AuditDeleteNodesEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2090, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditDeleteNodesEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2093, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2094, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2093, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2090, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2094, 0)
    node.BrowseName = QualifiedName('NodesToDelete', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2093, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NodesToDelete")
    attrs.DataType = NumericNodeId(382, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2093, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2095, 0)
    node.BrowseName = QualifiedName('AuditAddReferencesEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2090, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditAddReferencesEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2096, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2090, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2096, 0)
    node.BrowseName = QualifiedName('ReferencesToAdd', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2095, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReferencesToAdd")
    attrs.DataType = NumericNodeId(379, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2096, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2096, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2096, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2095, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2097, 0)
    node.BrowseName = QualifiedName('AuditDeleteReferencesEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2090, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditDeleteReferencesEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2098, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2097, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2090, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2098, 0)
    node.BrowseName = QualifiedName('ReferencesToDelete', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2097, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReferencesToDelete")
    attrs.DataType = NumericNodeId(385, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2097, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2099, 0)
    node.BrowseName = QualifiedName('AuditUpdateEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditUpdateEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2099, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2100, 0)
    node.BrowseName = QualifiedName('AuditWriteUpdateEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2099, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditWriteUpdateEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2750, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2101, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2102, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2103, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2100, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2099, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2750, 0)
    node.BrowseName = QualifiedName('AttributeId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2100, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AttributeId")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2100, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2101, 0)
    node.BrowseName = QualifiedName('IndexRange', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2100, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IndexRange")
    attrs.DataType = NumericNodeId(291, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2101, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2100, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2102, 0)
    node.BrowseName = QualifiedName('OldValue', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2100, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OldValue")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2102, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2100, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2103, 0)
    node.BrowseName = QualifiedName('NewValue', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2100, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NewValue")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2103, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2103, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2103, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2100, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2104, 0)
    node.BrowseName = QualifiedName('AuditHistoryUpdateEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2099, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditHistoryUpdateEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2751, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2099, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2751, 0)
    node.BrowseName = QualifiedName('ParameterDataTypeId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2104, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ParameterDataTypeId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2104, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2127, 0)
    node.BrowseName = QualifiedName('AuditUpdateMethodEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2052, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditUpdateMethodEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2128, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2129, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2052, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2128, 0)
    node.BrowseName = QualifiedName('MethodId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2127, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MethodId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2127, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2129, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2127, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2127, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2130, 0)
    node.BrowseName = QualifiedName('SystemEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("SystemEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2130, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2131, 0)
    node.BrowseName = QualifiedName('DeviceFailureEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2130, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("DeviceFailureEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2130, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11446, 0)
    node.BrowseName = QualifiedName('SystemStatusChangeEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2130, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("SystemStatusChangeEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11446, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11696, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11446, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2130, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11696, 0)
    node.BrowseName = QualifiedName('SystemState', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11446, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SystemState")
    attrs.DataType = NumericNodeId(852, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11696, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11696, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11696, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11446, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2132, 0)
    node.BrowseName = QualifiedName('BaseModelChangeEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("BaseModelChangeEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2132, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2133, 0)
    node.BrowseName = QualifiedName('GeneralModelChangeEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2132, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("GeneralModelChangeEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2134, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2133, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2132, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2134, 0)
    node.BrowseName = QualifiedName('Changes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2133, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Changes")
    attrs.DataType = NumericNodeId(877, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2134, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2133, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2738, 0)
    node.BrowseName = QualifiedName('SemanticChangeEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("SemanticChangeEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2738, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2739, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2738, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2739, 0)
    node.BrowseName = QualifiedName('Changes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2738, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Changes")
    attrs.DataType = NumericNodeId(897, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2739, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2739, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2739, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2738, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3035, 0)
    node.BrowseName = QualifiedName('EventQueueOverflowEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("EventQueueOverflowEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(3035, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11436, 0)
    node.BrowseName = QualifiedName('ProgressEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ProgressEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11436, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12502, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11436, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12503, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11436, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12502, 0)
    node.BrowseName = QualifiedName('Context', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11436, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Context")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12502, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12502, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12502, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11436, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12503, 0)
    node.BrowseName = QualifiedName('Progress', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11436, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Progress")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12503, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12503, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12503, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11436, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2340, 0)
    node.BrowseName = QualifiedName('AggregateFunctionType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AggregateFunctionType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2340, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2137, 0)
    node.BrowseName = QualifiedName('ServerVendorCapabilityType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerVendorCapabilityType")
    attrs.IsAbstract = True
    attrs.DisplayName = LocalizedText("ServerVendorCapabilityType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2137, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2138, 0)
    node.BrowseName = QualifiedName('ServerStatusType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerStatusType")
    attrs.DisplayName = LocalizedText("ServerStatusType")
    attrs.DataType = NumericNodeId(862, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2139, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2140, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2141, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2752, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2753, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2138, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2139, 0)
    node.BrowseName = QualifiedName('StartTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2138, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StartTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2139, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2140, 0)
    node.BrowseName = QualifiedName('CurrentTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2138, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2140, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2141, 0)
    node.BrowseName = QualifiedName('State', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2138, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("State")
    attrs.DataType = NumericNodeId(852, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2141, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2142, 0)
    node.BrowseName = QualifiedName('BuildInfo', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2138, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(3051, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BuildInfo")
    attrs.DataType = NumericNodeId(338, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3698, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3699, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3700, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3701, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3702, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3703, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2142, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3698, 0)
    node.BrowseName = QualifiedName('ProductUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3699, 0)
    node.BrowseName = QualifiedName('ManufacturerName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ManufacturerName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3700, 0)
    node.BrowseName = QualifiedName('ProductName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3700, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3700, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3700, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3701, 0)
    node.BrowseName = QualifiedName('SoftwareVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("SoftwareVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3701, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3701, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3701, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3702, 0)
    node.BrowseName = QualifiedName('BuildNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildNumber")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3703, 0)
    node.BrowseName = QualifiedName('BuildDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2142, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildDate")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3703, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3703, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3703, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2142, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2752, 0)
    node.BrowseName = QualifiedName('SecondsTillShutdown', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2138, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecondsTillShutdown")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2752, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2752, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2752, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2753, 0)
    node.BrowseName = QualifiedName('ShutdownReason', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2138, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ShutdownReason")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2753, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2753, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2753, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3051, 0)
    node.BrowseName = QualifiedName('BuildInfoType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("BuildInfoType")
    attrs.DisplayName = LocalizedText("BuildInfoType")
    attrs.DataType = NumericNodeId(338, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3052, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3053, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3054, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3055, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3056, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3057, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(3051, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3052, 0)
    node.BrowseName = QualifiedName('ProductUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3051, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3053, 0)
    node.BrowseName = QualifiedName('ManufacturerName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3051, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ManufacturerName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3054, 0)
    node.BrowseName = QualifiedName('ProductName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3051, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3054, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3054, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3054, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3055, 0)
    node.BrowseName = QualifiedName('SoftwareVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3051, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("SoftwareVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3056, 0)
    node.BrowseName = QualifiedName('BuildNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3051, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildNumber")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3057, 0)
    node.BrowseName = QualifiedName('BuildDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3051, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildDate")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3057, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3057, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3057, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2150, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummaryType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummaryType")
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummaryType")
    attrs.DataType = NumericNodeId(859, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2151, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2152, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2153, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2154, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2155, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2156, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2157, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2159, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2160, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2161, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2162, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2163, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2151, 0)
    node.BrowseName = QualifiedName('ServerViewCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerViewCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2151, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2152, 0)
    node.BrowseName = QualifiedName('CurrentSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2152, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2153, 0)
    node.BrowseName = QualifiedName('CumulatedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2153, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2153, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2153, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2154, 0)
    node.BrowseName = QualifiedName('SecurityRejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2154, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2154, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2154, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2155, 0)
    node.BrowseName = QualifiedName('RejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2155, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2155, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2155, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2156, 0)
    node.BrowseName = QualifiedName('SessionTimeoutCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionTimeoutCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2157, 0)
    node.BrowseName = QualifiedName('SessionAbortCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionAbortCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2157, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2157, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2157, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2159, 0)
    node.BrowseName = QualifiedName('PublishingIntervalCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingIntervalCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2160, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2160, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2160, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2160, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2161, 0)
    node.BrowseName = QualifiedName('CumulatedSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2161, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2162, 0)
    node.BrowseName = QualifiedName('SecurityRejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2163, 0)
    node.BrowseName = QualifiedName('RejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2150, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2163, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2164, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsArrayType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsArrayType")
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsArrayType")
    attrs.DataType = NumericNodeId(856, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12779, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2164, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12779, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2164, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2165, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnostics")
    attrs.DataType = NumericNodeId(856, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12780, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12781, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12782, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12783, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2165, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(83, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2164, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12780, 0)
    node.BrowseName = QualifiedName('SamplingInterval', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12779, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingInterval")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12780, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12780, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12780, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12779, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12781, 0)
    node.BrowseName = QualifiedName('SampledMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12779, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SampledMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12779, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12782, 0)
    node.BrowseName = QualifiedName('MaxSampledMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12779, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxSampledMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12782, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12782, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12782, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12779, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12783, 0)
    node.BrowseName = QualifiedName('DisabledMonitoredItemsSamplingCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12779, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DisabledMonitoredItemsSamplingCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12783, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12783, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12783, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12779, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2165, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsType")
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsType")
    attrs.DataType = NumericNodeId(856, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2166, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11697, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11698, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11699, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2166, 0)
    node.BrowseName = QualifiedName('SamplingInterval', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2165, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingInterval")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2165, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11697, 0)
    node.BrowseName = QualifiedName('SampledMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2165, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SampledMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11697, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11697, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11697, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2165, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11698, 0)
    node.BrowseName = QualifiedName('MaxSampledMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2165, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxSampledMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2165, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11699, 0)
    node.BrowseName = QualifiedName('DisabledMonitoredItemsSamplingCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2165, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DisabledMonitoredItemsSamplingCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2165, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2171, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsArrayType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArrayType")
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArrayType")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12784, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2171, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2172, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnostics")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12785, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12786, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12787, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12788, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12789, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12790, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12791, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12792, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12793, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12794, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12795, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12796, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12797, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12798, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12799, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12800, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12801, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12802, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12803, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12804, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12805, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12806, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12807, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12808, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12809, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12810, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12811, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12812, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12813, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12814, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(83, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2171, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12785, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12785, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12785, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12785, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12786, 0)
    node.BrowseName = QualifiedName('SubscriptionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionId")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12787, 0)
    node.BrowseName = QualifiedName('Priority', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Priority")
    attrs.DataType = NodeId(ObjectIds.Byte)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12788, 0)
    node.BrowseName = QualifiedName('PublishingInterval', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingInterval")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12788, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12788, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12788, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12789, 0)
    node.BrowseName = QualifiedName('MaxKeepAliveCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxKeepAliveCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12789, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12789, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12789, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12790, 0)
    node.BrowseName = QualifiedName('MaxLifetimeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxLifetimeCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12790, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12790, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12790, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12791, 0)
    node.BrowseName = QualifiedName('MaxNotificationsPerPublish', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNotificationsPerPublish")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12791, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12791, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12791, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12792, 0)
    node.BrowseName = QualifiedName('PublishingEnabled', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingEnabled")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12793, 0)
    node.BrowseName = QualifiedName('ModifyCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifyCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12793, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12793, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12793, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12794, 0)
    node.BrowseName = QualifiedName('EnableCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnableCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12794, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12794, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12794, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12795, 0)
    node.BrowseName = QualifiedName('DisableCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DisableCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12795, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12795, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12795, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12796, 0)
    node.BrowseName = QualifiedName('RepublishRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12797, 0)
    node.BrowseName = QualifiedName('RepublishMessageRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishMessageRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12797, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12797, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12797, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12798, 0)
    node.BrowseName = QualifiedName('RepublishMessageCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishMessageCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12798, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12798, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12798, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12799, 0)
    node.BrowseName = QualifiedName('TransferRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12799, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12799, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12799, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12800, 0)
    node.BrowseName = QualifiedName('TransferredToAltClientCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferredToAltClientCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12800, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12800, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12800, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12801, 0)
    node.BrowseName = QualifiedName('TransferredToSameClientCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferredToSameClientCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12801, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12801, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12801, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12802, 0)
    node.BrowseName = QualifiedName('PublishRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12802, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12802, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12802, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12803, 0)
    node.BrowseName = QualifiedName('DataChangeNotificationsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataChangeNotificationsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12804, 0)
    node.BrowseName = QualifiedName('EventNotificationsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventNotificationsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12804, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12804, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12804, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12805, 0)
    node.BrowseName = QualifiedName('NotificationsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NotificationsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12805, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12805, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12805, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12806, 0)
    node.BrowseName = QualifiedName('LatePublishRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LatePublishRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12806, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12806, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12806, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12807, 0)
    node.BrowseName = QualifiedName('CurrentKeepAliveCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentKeepAliveCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12807, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12807, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12807, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12808, 0)
    node.BrowseName = QualifiedName('CurrentLifetimeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentLifetimeCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12808, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12808, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12808, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12809, 0)
    node.BrowseName = QualifiedName('UnacknowledgedMessageCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnacknowledgedMessageCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12809, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12809, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12809, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12810, 0)
    node.BrowseName = QualifiedName('DiscardedMessageCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DiscardedMessageCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12810, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12810, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12810, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12811, 0)
    node.BrowseName = QualifiedName('MonitoredItemCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MonitoredItemCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12811, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12811, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12811, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12812, 0)
    node.BrowseName = QualifiedName('DisabledMonitoredItemCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DisabledMonitoredItemCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12812, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12812, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12812, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12813, 0)
    node.BrowseName = QualifiedName('MonitoringQueueOverflowCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MonitoringQueueOverflowCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12813, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12813, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12813, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12814, 0)
    node.BrowseName = QualifiedName('NextSequenceNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NextSequenceNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12814, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12814, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12814, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12815, 0)
    node.BrowseName = QualifiedName('EventQueueOverflowCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12784, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventQueueOverflowCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12784, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2172, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsType")
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsType")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2173, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2174, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2175, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2176, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2177, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8888, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2179, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2180, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2181, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2182, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2183, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2184, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2185, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2186, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2187, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2188, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2189, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2190, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2191, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2998, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2193, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8889, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8890, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8891, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8892, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8893, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8894, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8895, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8896, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8897, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8902, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2173, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2174, 0)
    node.BrowseName = QualifiedName('SubscriptionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionId")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2175, 0)
    node.BrowseName = QualifiedName('Priority', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Priority")
    attrs.DataType = NodeId(ObjectIds.Byte)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2176, 0)
    node.BrowseName = QualifiedName('PublishingInterval', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingInterval")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2177, 0)
    node.BrowseName = QualifiedName('MaxKeepAliveCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxKeepAliveCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8888, 0)
    node.BrowseName = QualifiedName('MaxLifetimeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxLifetimeCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8888, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8888, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8888, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2179, 0)
    node.BrowseName = QualifiedName('MaxNotificationsPerPublish', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNotificationsPerPublish")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2180, 0)
    node.BrowseName = QualifiedName('PublishingEnabled', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingEnabled")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2181, 0)
    node.BrowseName = QualifiedName('ModifyCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifyCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2182, 0)
    node.BrowseName = QualifiedName('EnableCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnableCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2183, 0)
    node.BrowseName = QualifiedName('DisableCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DisableCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2184, 0)
    node.BrowseName = QualifiedName('RepublishRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2185, 0)
    node.BrowseName = QualifiedName('RepublishMessageRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishMessageRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2185, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2185, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2185, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2186, 0)
    node.BrowseName = QualifiedName('RepublishMessageCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishMessageCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2187, 0)
    node.BrowseName = QualifiedName('TransferRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2188, 0)
    node.BrowseName = QualifiedName('TransferredToAltClientCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferredToAltClientCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2188, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2188, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2188, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2189, 0)
    node.BrowseName = QualifiedName('TransferredToSameClientCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferredToSameClientCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2189, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2189, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2189, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2190, 0)
    node.BrowseName = QualifiedName('PublishRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2190, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2190, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2190, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2191, 0)
    node.BrowseName = QualifiedName('DataChangeNotificationsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataChangeNotificationsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2191, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2191, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2191, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2998, 0)
    node.BrowseName = QualifiedName('EventNotificationsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventNotificationsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2998, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2998, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2998, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2193, 0)
    node.BrowseName = QualifiedName('NotificationsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NotificationsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2193, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2193, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2193, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8889, 0)
    node.BrowseName = QualifiedName('LatePublishRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LatePublishRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8889, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8889, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8889, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8890, 0)
    node.BrowseName = QualifiedName('CurrentKeepAliveCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentKeepAliveCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8890, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8890, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8890, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8891, 0)
    node.BrowseName = QualifiedName('CurrentLifetimeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentLifetimeCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8891, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8891, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8891, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8892, 0)
    node.BrowseName = QualifiedName('UnacknowledgedMessageCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnacknowledgedMessageCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8892, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8892, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8892, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8893, 0)
    node.BrowseName = QualifiedName('DiscardedMessageCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DiscardedMessageCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8893, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8893, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8893, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8894, 0)
    node.BrowseName = QualifiedName('MonitoredItemCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MonitoredItemCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8894, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8894, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8894, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8895, 0)
    node.BrowseName = QualifiedName('DisabledMonitoredItemCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DisabledMonitoredItemCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8895, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8895, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8895, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8896, 0)
    node.BrowseName = QualifiedName('MonitoringQueueOverflowCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MonitoringQueueOverflowCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8896, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8896, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8896, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8897, 0)
    node.BrowseName = QualifiedName('NextSequenceNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NextSequenceNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8897, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8897, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8897, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8902, 0)
    node.BrowseName = QualifiedName('EventQueueOverflowCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2172, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventQueueOverflowCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8902, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8902, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8902, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2172, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2196, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsArrayType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsArrayType")
    attrs.DisplayName = LocalizedText("SessionDiagnosticsArrayType")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2196, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2196, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12816, 0)
    node.BrowseName = QualifiedName('SessionDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2196, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2197, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnostics")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12817, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12818, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12819, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12820, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12821, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12822, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12823, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12824, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12825, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12826, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12827, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12828, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12829, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12830, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12831, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12832, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12833, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12834, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12835, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12836, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12837, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12838, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12839, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12840, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12841, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12842, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12843, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12844, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12845, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12846, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12847, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12848, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12849, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12850, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12851, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12852, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12853, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12854, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12855, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12856, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12857, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12858, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12859, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(83, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2196, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12817, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12818, 0)
    node.BrowseName = QualifiedName('SessionName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12819, 0)
    node.BrowseName = QualifiedName('ClientDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientDescription")
    attrs.DataType = NumericNodeId(308, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12820, 0)
    node.BrowseName = QualifiedName('ServerUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12821, 0)
    node.BrowseName = QualifiedName('EndpointUrl', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrl")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12822, 0)
    node.BrowseName = QualifiedName('LocaleIds', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIds")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12823, 0)
    node.BrowseName = QualifiedName('ActualSessionTimeout', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ActualSessionTimeout")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12824, 0)
    node.BrowseName = QualifiedName('MaxResponseMessageSize', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxResponseMessageSize")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12825, 0)
    node.BrowseName = QualifiedName('ClientConnectionTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientConnectionTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12826, 0)
    node.BrowseName = QualifiedName('ClientLastContactTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientLastContactTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12827, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12828, 0)
    node.BrowseName = QualifiedName('CurrentMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12828, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12828, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12828, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12829, 0)
    node.BrowseName = QualifiedName('CurrentPublishRequestsInQueue', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentPublishRequestsInQueue")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12830, 0)
    node.BrowseName = QualifiedName('TotalRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TotalRequestCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12831, 0)
    node.BrowseName = QualifiedName('UnauthorizedRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnauthorizedRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12832, 0)
    node.BrowseName = QualifiedName('ReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12833, 0)
    node.BrowseName = QualifiedName('HistoryReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12834, 0)
    node.BrowseName = QualifiedName('WriteCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriteCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12834, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12834, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12834, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12835, 0)
    node.BrowseName = QualifiedName('HistoryUpdateCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryUpdateCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12836, 0)
    node.BrowseName = QualifiedName('CallCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CallCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12837, 0)
    node.BrowseName = QualifiedName('CreateMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12838, 0)
    node.BrowseName = QualifiedName('ModifyMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifyMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12838, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12838, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12838, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12839, 0)
    node.BrowseName = QualifiedName('SetMonitoringModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetMonitoringModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12840, 0)
    node.BrowseName = QualifiedName('SetTriggeringCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetTriggeringCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12840, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12840, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12840, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12841, 0)
    node.BrowseName = QualifiedName('DeleteMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12842, 0)
    node.BrowseName = QualifiedName('CreateSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateSubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12843, 0)
    node.BrowseName = QualifiedName('ModifySubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifySubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12844, 0)
    node.BrowseName = QualifiedName('SetPublishingModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetPublishingModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12844, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12844, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12844, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12845, 0)
    node.BrowseName = QualifiedName('PublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12845, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12845, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12845, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12846, 0)
    node.BrowseName = QualifiedName('RepublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12847, 0)
    node.BrowseName = QualifiedName('TransferSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12847, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12847, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12847, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12848, 0)
    node.BrowseName = QualifiedName('DeleteSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12848, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12848, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12848, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12849, 0)
    node.BrowseName = QualifiedName('AddNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12850, 0)
    node.BrowseName = QualifiedName('AddReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12850, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12850, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12850, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12851, 0)
    node.BrowseName = QualifiedName('DeleteNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12852, 0)
    node.BrowseName = QualifiedName('DeleteReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12853, 0)
    node.BrowseName = QualifiedName('BrowseCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12854, 0)
    node.BrowseName = QualifiedName('BrowseNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12855, 0)
    node.BrowseName = QualifiedName('TranslateBrowsePathsToNodeIdsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TranslateBrowsePathsToNodeIdsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12856, 0)
    node.BrowseName = QualifiedName('QueryFirstCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryFirstCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12857, 0)
    node.BrowseName = QualifiedName('QueryNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12858, 0)
    node.BrowseName = QualifiedName('RegisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RegisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12859, 0)
    node.BrowseName = QualifiedName('UnregisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12816, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnregisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12816, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2197, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsVariableType")
    attrs.DisplayName = LocalizedText("SessionDiagnosticsVariableType")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2198, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2199, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2200, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2201, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2202, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2203, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2204, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3050, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2205, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2206, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2207, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2208, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2209, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8900, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11892, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2217, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2218, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2219, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2220, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2221, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2222, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2223, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2224, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2225, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2226, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2227, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2228, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2229, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2230, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2231, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2232, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2233, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2234, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2235, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2236, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2237, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2238, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2239, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2240, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2241, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2242, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2730, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2731, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2198, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2198, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2198, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2198, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2199, 0)
    node.BrowseName = QualifiedName('SessionName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2199, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2199, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2199, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2200, 0)
    node.BrowseName = QualifiedName('ClientDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientDescription")
    attrs.DataType = NumericNodeId(308, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2200, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2200, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2200, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2201, 0)
    node.BrowseName = QualifiedName('ServerUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2202, 0)
    node.BrowseName = QualifiedName('EndpointUrl', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrl")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2202, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2202, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2202, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2203, 0)
    node.BrowseName = QualifiedName('LocaleIds', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIds")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2203, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2203, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2203, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2204, 0)
    node.BrowseName = QualifiedName('ActualSessionTimeout', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ActualSessionTimeout")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2204, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2204, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2204, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3050, 0)
    node.BrowseName = QualifiedName('MaxResponseMessageSize', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxResponseMessageSize")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2205, 0)
    node.BrowseName = QualifiedName('ClientConnectionTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientConnectionTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2205, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2205, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2205, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2206, 0)
    node.BrowseName = QualifiedName('ClientLastContactTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientLastContactTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2206, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2206, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2206, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2207, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2207, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2207, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2207, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2208, 0)
    node.BrowseName = QualifiedName('CurrentMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentMonitoredItemsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2209, 0)
    node.BrowseName = QualifiedName('CurrentPublishRequestsInQueue', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentPublishRequestsInQueue")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2209, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2209, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2209, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8900, 0)
    node.BrowseName = QualifiedName('TotalRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TotalRequestCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8900, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(8900, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8900, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11892, 0)
    node.BrowseName = QualifiedName('UnauthorizedRequestCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnauthorizedRequestCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11892, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11892, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11892, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2217, 0)
    node.BrowseName = QualifiedName('ReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2218, 0)
    node.BrowseName = QualifiedName('HistoryReadCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryReadCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2218, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2218, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2218, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2219, 0)
    node.BrowseName = QualifiedName('WriteCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriteCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2219, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2219, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2219, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2220, 0)
    node.BrowseName = QualifiedName('HistoryUpdateCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryUpdateCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2221, 0)
    node.BrowseName = QualifiedName('CallCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CallCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2221, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2221, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2221, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2222, 0)
    node.BrowseName = QualifiedName('CreateMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2222, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2222, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2222, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2223, 0)
    node.BrowseName = QualifiedName('ModifyMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifyMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2224, 0)
    node.BrowseName = QualifiedName('SetMonitoringModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetMonitoringModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2224, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2224, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2224, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2225, 0)
    node.BrowseName = QualifiedName('SetTriggeringCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetTriggeringCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2225, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2225, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2225, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2226, 0)
    node.BrowseName = QualifiedName('DeleteMonitoredItemsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteMonitoredItemsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2227, 0)
    node.BrowseName = QualifiedName('CreateSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CreateSubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2227, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2227, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2227, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2228, 0)
    node.BrowseName = QualifiedName('ModifySubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModifySubscriptionCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2228, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2228, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2228, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2229, 0)
    node.BrowseName = QualifiedName('SetPublishingModeCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SetPublishingModeCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2230, 0)
    node.BrowseName = QualifiedName('PublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2230, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2230, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2230, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2231, 0)
    node.BrowseName = QualifiedName('RepublishCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RepublishCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2231, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2231, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2231, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2232, 0)
    node.BrowseName = QualifiedName('TransferSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransferSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2233, 0)
    node.BrowseName = QualifiedName('DeleteSubscriptionsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteSubscriptionsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2233, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2233, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2233, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2234, 0)
    node.BrowseName = QualifiedName('AddNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2234, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2234, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2234, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2235, 0)
    node.BrowseName = QualifiedName('AddReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2236, 0)
    node.BrowseName = QualifiedName('DeleteNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2236, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2236, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2236, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2237, 0)
    node.BrowseName = QualifiedName('DeleteReferencesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteReferencesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2237, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2237, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2237, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2238, 0)
    node.BrowseName = QualifiedName('BrowseCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2239, 0)
    node.BrowseName = QualifiedName('BrowseNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrowseNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2239, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2239, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2239, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2240, 0)
    node.BrowseName = QualifiedName('TranslateBrowsePathsToNodeIdsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TranslateBrowsePathsToNodeIdsCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2240, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2240, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2240, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2241, 0)
    node.BrowseName = QualifiedName('QueryFirstCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryFirstCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2242, 0)
    node.BrowseName = QualifiedName('QueryNextCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("QueryNextCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2242, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2242, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2242, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2730, 0)
    node.BrowseName = QualifiedName('RegisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RegisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2730, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2730, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2730, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2731, 0)
    node.BrowseName = QualifiedName('UnregisterNodesCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2197, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UnregisterNodesCount")
    attrs.DataType = NumericNodeId(871, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2731, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2731, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2731, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2243, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsArrayType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsArrayType")
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsArrayType")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2243, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2243, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12860, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnostics', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2243, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2244, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnostics")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12861, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12862, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12863, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12864, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12865, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12866, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12867, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12868, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12869, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(83, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2243, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12861, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12862, 0)
    node.BrowseName = QualifiedName('ClientUserIdOfSession', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdOfSession")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12862, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12862, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12862, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12863, 0)
    node.BrowseName = QualifiedName('ClientUserIdHistory', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdHistory")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12864, 0)
    node.BrowseName = QualifiedName('AuthenticationMechanism', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AuthenticationMechanism")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12865, 0)
    node.BrowseName = QualifiedName('Encoding', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Encoding")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12865, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12865, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12865, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12866, 0)
    node.BrowseName = QualifiedName('TransportProtocol', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransportProtocol")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12867, 0)
    node.BrowseName = QualifiedName('SecurityMode', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityMode")
    attrs.DataType = NumericNodeId(302, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12868, 0)
    node.BrowseName = QualifiedName('SecurityPolicyUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityPolicyUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12868, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12868, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12868, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12869, 0)
    node.BrowseName = QualifiedName('ClientCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12860, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(12869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12860, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2244, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsType")
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsType")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2245, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2246, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2247, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2248, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2249, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2250, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2251, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2252, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3058, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2245, 0)
    node.BrowseName = QualifiedName('SessionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionId")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2245, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2245, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2245, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2246, 0)
    node.BrowseName = QualifiedName('ClientUserIdOfSession', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdOfSession")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2246, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2246, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2246, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2247, 0)
    node.BrowseName = QualifiedName('ClientUserIdHistory', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientUserIdHistory")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2248, 0)
    node.BrowseName = QualifiedName('AuthenticationMechanism', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AuthenticationMechanism")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2248, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2248, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2248, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2249, 0)
    node.BrowseName = QualifiedName('Encoding', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Encoding")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2249, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2249, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2249, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2250, 0)
    node.BrowseName = QualifiedName('TransportProtocol', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransportProtocol")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2250, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2250, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2250, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2251, 0)
    node.BrowseName = QualifiedName('SecurityMode', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityMode")
    attrs.DataType = NumericNodeId(302, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2251, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2251, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2251, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2252, 0)
    node.BrowseName = QualifiedName('SecurityPolicyUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityPolicyUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3058, 0)
    node.BrowseName = QualifiedName('ClientCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2244, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientCertificate")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2244, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11487, 0)
    node.BrowseName = QualifiedName('OptionSetType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("OptionSetType")
    attrs.DisplayName = LocalizedText("OptionSetType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11487, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11488, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11487, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11701, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11487, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11488, 0)
    node.BrowseName = QualifiedName('OptionSetValues', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11487, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OptionSetValues")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11488, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11488, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11488, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11487, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11701, 0)
    node.BrowseName = QualifiedName('BitMask', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11487, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BitMask")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11701, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11701, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11701, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11487, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16309, 0)
    node.BrowseName = QualifiedName('SelectionListType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("SelectionListType")
    attrs.DisplayName = LocalizedText("SelectionListType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -2
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17632, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17633, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16312, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(16309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17632, 0)
    node.BrowseName = QualifiedName('Selections', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16309, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Selections")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16309, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17633, 0)
    node.BrowseName = QualifiedName('SelectionDescriptions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16309, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SelectionDescriptions")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16309, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16312, 0)
    node.BrowseName = QualifiedName('RestrictToList', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16309, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RestrictToList")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16309, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17986, 0)
    node.BrowseName = QualifiedName('AudioVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("AudioVariableType")
    attrs.DisplayName = LocalizedText("AudioVariableType")
    attrs.DataType = NumericNodeId(16307, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17986, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17988, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17986, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17989, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17986, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17990, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17986, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17988, 0)
    node.BrowseName = QualifiedName('ListId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17986, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ListId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17988, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17988, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17988, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17986, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17989, 0)
    node.BrowseName = QualifiedName('AgencyId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17986, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AgencyId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17989, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17989, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17989, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17986, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17990, 0)
    node.BrowseName = QualifiedName('VersionId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17986, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("VersionId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17990, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17990, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17990, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17986, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3048, 0)
    node.BrowseName = QualifiedName('EventTypes', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(86, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("EventTypes")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(3048, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(86, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(3048, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3048, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2253, 0)
    node.BrowseName = QualifiedName('Server', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(85, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(2004, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Server")
    attrs.EventNotifier = 1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2254, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2255, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2267, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2994, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12885, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17634, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2274, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2295, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2296, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11715, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11492, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12873, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12749, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12886, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(85, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2004, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2254, 0)
    node.BrowseName = QualifiedName('ServerArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ServerArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2254, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2254, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2255, 0)
    node.BrowseName = QualifiedName('NamespaceArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("NamespaceArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2255, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2255, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2256, 0)
    node.BrowseName = QualifiedName('ServerStatus', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2138, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ServerStatus")
    attrs.DataType = NumericNodeId(862, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2257, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2258, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2259, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2992, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2993, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2138, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2257, 0)
    node.BrowseName = QualifiedName('StartTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2256, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StartTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2257, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2257, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2258, 0)
    node.BrowseName = QualifiedName('CurrentTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2256, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2258, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2258, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2259, 0)
    node.BrowseName = QualifiedName('State', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2256, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("State")
    attrs.DataType = NumericNodeId(852, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2259, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2259, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2260, 0)
    node.BrowseName = QualifiedName('BuildInfo', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2256, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(3051, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BuildInfo")
    attrs.DataType = NumericNodeId(338, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2262, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2263, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2261, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2264, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2265, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2266, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3051, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2262, 0)
    node.BrowseName = QualifiedName('ProductUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2260, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2262, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2262, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2263, 0)
    node.BrowseName = QualifiedName('ManufacturerName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2260, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ManufacturerName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2263, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2263, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2261, 0)
    node.BrowseName = QualifiedName('ProductName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2260, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ProductName")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2261, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2261, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2264, 0)
    node.BrowseName = QualifiedName('SoftwareVersion', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2260, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("SoftwareVersion")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2264, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2264, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2265, 0)
    node.BrowseName = QualifiedName('BuildNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2260, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildNumber")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2265, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2265, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2266, 0)
    node.BrowseName = QualifiedName('BuildDate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2260, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("BuildDate")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2266, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2266, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2260, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2992, 0)
    node.BrowseName = QualifiedName('SecondsTillShutdown', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2256, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecondsTillShutdown")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2992, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2992, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2993, 0)
    node.BrowseName = QualifiedName('ShutdownReason', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2256, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ShutdownReason")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2993, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2993, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2267, 0)
    node.BrowseName = QualifiedName('ServiceLevel', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("ServiceLevel")
    attrs.DataType = NodeId(ObjectIds.Byte)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2267, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2267, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2994, 0)
    node.BrowseName = QualifiedName('Auditing', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("Auditing")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2994, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2994, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12885, 0)
    node.BrowseName = QualifiedName('EstimatedReturnTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("EstimatedReturnTime")
    attrs.DataType = NodeId(ObjectIds.DateTime)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12885, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12885, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17634, 0)
    node.BrowseName = QualifiedName('LocalTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.MinimumSamplingInterval = 1000
    attrs.DisplayName = LocalizedText("LocalTime")
    attrs.DataType = NumericNodeId(8912, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2268, 0)
    node.BrowseName = QualifiedName('ServerCapabilities', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2013, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ServerCapabilities")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2269, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2271, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2272, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2735, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2736, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2737, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3704, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11702, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11703, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12911, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2996, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2997, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2013, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2269, 0)
    node.BrowseName = QualifiedName('ServerProfileArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerProfileArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2269, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2269, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2271, 0)
    node.BrowseName = QualifiedName('LocaleIdArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LocaleIdArray")
    attrs.DataType = NumericNodeId(295, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2271, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2271, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2272, 0)
    node.BrowseName = QualifiedName('MinSupportedSampleRate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MinSupportedSampleRate")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2272, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2272, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2735, 0)
    node.BrowseName = QualifiedName('MaxBrowseContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxBrowseContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2735, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2735, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2736, 0)
    node.BrowseName = QualifiedName('MaxQueryContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxQueryContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2736, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2736, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2737, 0)
    node.BrowseName = QualifiedName('MaxHistoryContinuationPoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxHistoryContinuationPoints")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2737, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2737, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3704, 0)
    node.BrowseName = QualifiedName('SoftwareCertificates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SoftwareCertificates")
    attrs.DataType = NumericNodeId(344, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11702, 0)
    node.BrowseName = QualifiedName('MaxArrayLength', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxArrayLength")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11703, 0)
    node.BrowseName = QualifiedName('MaxStringLength', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxStringLength")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11703, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11703, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12911, 0)
    node.BrowseName = QualifiedName('MaxByteStringLength', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxByteStringLength")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12911, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12911, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11704, 0)
    node.BrowseName = QualifiedName('OperationLimits', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11564, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("OperationLimits")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11705, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12165, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12166, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11707, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12167, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12168, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11709, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11710, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11711, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11712, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11713, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11714, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11564, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11705, 0)
    node.BrowseName = QualifiedName('MaxNodesPerRead', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerRead")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11705, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11705, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12165, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryReadData', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryReadData")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12166, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryReadEvents', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryReadEvents")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11707, 0)
    node.BrowseName = QualifiedName('MaxNodesPerWrite', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerWrite")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11707, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11707, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12167, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryUpdateData', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryUpdateData")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12167, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12167, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12168, 0)
    node.BrowseName = QualifiedName('MaxNodesPerHistoryUpdateEvents', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerHistoryUpdateEvents")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11709, 0)
    node.BrowseName = QualifiedName('MaxNodesPerMethodCall', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerMethodCall")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11710, 0)
    node.BrowseName = QualifiedName('MaxNodesPerBrowse', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerBrowse")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11710, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11710, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11711, 0)
    node.BrowseName = QualifiedName('MaxNodesPerRegisterNodes', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerRegisterNodes")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11711, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11711, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11712, 0)
    node.BrowseName = QualifiedName('MaxNodesPerTranslateBrowsePathsToNodeIds', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerTranslateBrowsePathsToNodeIds")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11713, 0)
    node.BrowseName = QualifiedName('MaxNodesPerNodeManagement', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxNodesPerNodeManagement")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11713, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11713, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11714, 0)
    node.BrowseName = QualifiedName('MaxMonitoredItemsPerCall', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MaxMonitoredItemsPerCall")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11714, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11714, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2996, 0)
    node.BrowseName = QualifiedName('ModellingRules', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ModellingRules")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2996, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2996, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2997, 0)
    node.BrowseName = QualifiedName('AggregateFunctions', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("AggregateFunctions")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2997, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2997, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15606, 0)
    node.BrowseName = QualifiedName('RoleSet', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2268, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15607, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("RoleSet")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15606, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16301, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15606, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16304, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15606, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15607, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15606, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2268, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16301, 0)
    node.BrowseName = QualifiedName('AddRole', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddRole")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16301, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16302, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16301, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16303, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16301, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16302, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16301, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'NamespaceUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16302, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16302, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16301, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16303, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16301, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16303, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16303, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16301, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16304, 0)
    node.BrowseName = QualifiedName('RemoveRole', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveRole")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16304, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16305, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16304, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16305, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16304, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16305, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16305, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16304, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2274, 0)
    node.BrowseName = QualifiedName('ServerDiagnostics', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2020, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnostics")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2289, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2290, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3706, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2294, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2020, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2275, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummary', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2274, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2150, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummary")
    attrs.DataType = NumericNodeId(859, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2276, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2277, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2278, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2279, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3705, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2281, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2282, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2284, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2285, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2286, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2287, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2288, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2150, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2274, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2276, 0)
    node.BrowseName = QualifiedName('ServerViewCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerViewCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2276, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2276, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2277, 0)
    node.BrowseName = QualifiedName('CurrentSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2277, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2277, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2278, 0)
    node.BrowseName = QualifiedName('CumulatedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2278, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2278, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2279, 0)
    node.BrowseName = QualifiedName('SecurityRejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2279, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2279, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3705, 0)
    node.BrowseName = QualifiedName('RejectedSessionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedSessionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3705, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3705, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2281, 0)
    node.BrowseName = QualifiedName('SessionTimeoutCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionTimeoutCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2281, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2281, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2282, 0)
    node.BrowseName = QualifiedName('SessionAbortCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionAbortCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2282, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2282, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2284, 0)
    node.BrowseName = QualifiedName('PublishingIntervalCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishingIntervalCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2284, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2284, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2285, 0)
    node.BrowseName = QualifiedName('CurrentSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2285, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2285, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2286, 0)
    node.BrowseName = QualifiedName('CumulatedSubscriptionCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CumulatedSubscriptionCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2286, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2286, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2287, 0)
    node.BrowseName = QualifiedName('SecurityRejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SecurityRejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2287, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2287, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2288, 0)
    node.BrowseName = QualifiedName('RejectedRequestsCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2275, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RejectedRequestsCount")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2288, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2288, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2275, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2289, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2274, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2164, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsArray")
    attrs.DataType = NumericNodeId(856, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2289, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2164, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2289, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2274, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2290, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2274, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2171, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsArray")
    attrs.DataType = NumericNodeId(874, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2290, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2290, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2274, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3706, 0)
    node.BrowseName = QualifiedName('SessionsDiagnosticsSummary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2274, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2026, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("SessionsDiagnosticsSummary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3706, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3707, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3706, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3708, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3706, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2026, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3706, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2274, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3707, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3706, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2196, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsArray")
    attrs.DataType = NumericNodeId(865, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3707, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2196, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3707, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3706, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3708, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(3706, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2243, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsArray")
    attrs.DataType = NumericNodeId(868, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2243, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(3708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3706, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2294, 0)
    node.BrowseName = QualifiedName('EnabledFlag', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2274, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnabledFlag")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    attrs.AccessLevel = 3
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2294, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2294, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2274, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2295, 0)
    node.BrowseName = QualifiedName('VendorServerInfo', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2033, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("VendorServerInfo")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2033, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2295, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2296, 0)
    node.BrowseName = QualifiedName('ServerRedundancy', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2034, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ServerRedundancy")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3709, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11312, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11313, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11314, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14415, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2034, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2296, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3709, 0)
    node.BrowseName = QualifiedName('RedundancySupport', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundancySupport")
    attrs.DataType = NumericNodeId(851, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11312, 0)
    node.BrowseName = QualifiedName('CurrentServerId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentServerId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11313, 0)
    node.BrowseName = QualifiedName('RedundantServerArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundantServerArray")
    attrs.DataType = NumericNodeId(853, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11313, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11313, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11314, 0)
    node.BrowseName = QualifiedName('ServerUriArray', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerUriArray")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14415, 0)
    node.BrowseName = QualifiedName('ServerNetworkGroups', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2296, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerNetworkGroups")
    attrs.DataType = NumericNodeId(11944, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14415, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(14415, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2296, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11715, 0)
    node.BrowseName = QualifiedName('Namespaces', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(11645, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Namespaces")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11645, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11492, 0)
    node.BrowseName = QualifiedName('GetMonitoredItems', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GetMonitoredItems")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11492, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11493, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11492, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11494, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11492, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11493, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11492, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'SubscriptionId'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11493, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11493, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11492, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11494, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11492, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ServerHandles'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = 1
    extobj.ArrayDimensions = [0]
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'ClientHandles'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = 1
    extobj.ArrayDimensions = [0]
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11494, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11494, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11492, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12873, 0)
    node.BrowseName = QualifiedName('ResendData', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("ResendData")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12874, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12874, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12873, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'SubscriptionId'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12874, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12874, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12873, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12749, 0)
    node.BrowseName = QualifiedName('SetSubscriptionDurable', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("SetSubscriptionDurable")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12750, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12751, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12750, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12749, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'SubscriptionId'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'LifetimeInHours'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12749, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12751, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12749, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RevisedLifetimeInHours'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12749, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12886, 0)
    node.BrowseName = QualifiedName('RequestServerStateChange', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RequestServerStateChange")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12886, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12887, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12886, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12887, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(12886, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'State'
    extobj.DataType = NumericNodeId(852, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'EstimatedReturnTime'
    extobj.DataType = NumericNodeId(13, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'SecondsTillShutdown'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Reason'
    extobj.DataType = NumericNodeId(21, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Restart'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12887, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(12887, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12886, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11737, 0)
    node.BrowseName = QualifiedName('BitFieldMaskDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(9, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("BitFieldMaskDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11737, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(9, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14533, 0)
    node.BrowseName = QualifiedName('KeyValuePair', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("KeyValuePair")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(14533, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15528, 0)
    node.BrowseName = QualifiedName('EndpointType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("EndpointType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15528, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2299, 0)
    node.BrowseName = QualifiedName('StateMachineType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("StateMachineType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2769, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2770, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2769, 0)
    node.BrowseName = QualifiedName('CurrentState', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2299, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2755, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentState")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3720, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2299, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3720, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2769, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3720, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3720, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3720, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2769, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2770, 0)
    node.BrowseName = QualifiedName('LastTransition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2299, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2762, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LastTransition")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3724, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2299, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3724, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2770, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3724, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3724, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3724, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2770, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2755, 0)
    node.BrowseName = QualifiedName('StateVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("StateVariableType")
    attrs.DisplayName = LocalizedText("StateVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2756, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2757, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2758, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2759, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2756, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2755, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2756, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2756, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2756, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2757, 0)
    node.BrowseName = QualifiedName('Name', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2755, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Name")
    attrs.DataType = NodeId(ObjectIds.QualifiedName)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2757, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2757, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2757, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2758, 0)
    node.BrowseName = QualifiedName('Number', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2755, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Number")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2758, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2758, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2758, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2759, 0)
    node.BrowseName = QualifiedName('EffectiveDisplayName', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2755, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EffectiveDisplayName")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2759, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2759, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2759, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2762, 0)
    node.BrowseName = QualifiedName('TransitionVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("TransitionVariableType")
    attrs.DisplayName = LocalizedText("TransitionVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2763, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2764, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2765, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2766, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11456, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2763, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2762, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2763, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2763, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2763, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2764, 0)
    node.BrowseName = QualifiedName('Name', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2762, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Name")
    attrs.DataType = NodeId(ObjectIds.QualifiedName)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2764, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2764, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2764, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2765, 0)
    node.BrowseName = QualifiedName('Number', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2762, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Number")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2765, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2765, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2765, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2766, 0)
    node.BrowseName = QualifiedName('TransitionTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2762, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2766, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2766, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2766, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11456, 0)
    node.BrowseName = QualifiedName('EffectiveTransitionTime', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2762, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EffectiveTransitionTime")
    attrs.DataType = NumericNodeId(294, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11456, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11456, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11456, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2771, 0)
    node.BrowseName = QualifiedName('FiniteStateMachineType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2299, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("FiniteStateMachineType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2772, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2773, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17635, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17636, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2299, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2772, 0)
    node.BrowseName = QualifiedName('CurrentState', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2771, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2760, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentState")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3728, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2760, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2771, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3728, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2772, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2772, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2773, 0)
    node.BrowseName = QualifiedName('LastTransition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2771, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2767, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LastTransition")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3732, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2767, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2771, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3732, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2773, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3732, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3732, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3732, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2773, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17635, 0)
    node.BrowseName = QualifiedName('AvailableStates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2771, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AvailableStates")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17635, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17635, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17635, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2771, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17636, 0)
    node.BrowseName = QualifiedName('AvailableTransitions', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2771, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AvailableTransitions")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17636, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17636, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17636, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2771, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2760, 0)
    node.BrowseName = QualifiedName('FiniteStateVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(2755, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("FiniteStateVariableType")
    attrs.DisplayName = LocalizedText("FiniteStateVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2760, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2761, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2760, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2761, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2760, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2761, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2761, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2761, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2760, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2767, 0)
    node.BrowseName = QualifiedName('FiniteTransitionVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(2762, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("FiniteTransitionVariableType")
    attrs.DisplayName = LocalizedText("FiniteTransitionVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2767, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2768, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2767, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2768, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2767, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2768, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2768, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2768, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2767, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2307, 0)
    node.BrowseName = QualifiedName('StateType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("StateType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2307, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2308, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2307, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2308, 0)
    node.BrowseName = QualifiedName('StateNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2307, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StateNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2308, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2308, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2308, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2309, 0)
    node.BrowseName = QualifiedName('InitialStateType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2307, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("InitialStateType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2310, 0)
    node.BrowseName = QualifiedName('TransitionType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("TransitionType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2310, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2312, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2310, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2312, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2310, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15109, 0)
    node.BrowseName = QualifiedName('ChoiceStateType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2307, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("ChoiceStateType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15109, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15112, 0)
    node.BrowseName = QualifiedName('HasGuard', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(47, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasGuard")
    attrs.InverseName = LocalizedText("GuardOf")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15112, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(47, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15113, 0)
    node.BrowseName = QualifiedName('GuardVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("GuardVariableType")
    attrs.DisplayName = LocalizedText("GuardVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15128, 0)
    node.BrowseName = QualifiedName('ExpressionGuardVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(15113, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("ExpressionGuardVariableType")
    attrs.DisplayName = LocalizedText("ExpressionGuardVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15129, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15128, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15113, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15129, 0)
    node.BrowseName = QualifiedName('Expression', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15128, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Expression")
    attrs.DataType = NumericNodeId(586, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15129, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15128, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15317, 0)
    node.BrowseName = QualifiedName('ElseGuardVariableType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(15113, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("ElseGuardVariableType")
    attrs.DisplayName = LocalizedText("ElseGuardVariableType")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15317, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15113, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17709, 0)
    node.BrowseName = QualifiedName('RationalNumberType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("RationalNumberType")
    attrs.DisplayName = LocalizedText("RationalNumberType")
    attrs.DataType = NumericNodeId(18806, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17712, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17713, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17712, 0)
    node.BrowseName = QualifiedName('Numerator', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17709, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Numerator")
    attrs.DataType = NodeId(ObjectIds.Int32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17709, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17713, 0)
    node.BrowseName = QualifiedName('Denominator', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17709, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Denominator")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17713, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17713, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17713, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17709, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17714, 0)
    node.BrowseName = QualifiedName('VectorType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("VectorType")
    attrs.IsAbstract = True
    attrs.DisplayName = LocalizedText("VectorType")
    attrs.DataType = NumericNodeId(18807, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17714, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17715, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17714, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17715, 0)
    node.BrowseName = QualifiedName('VectorUnit', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17714, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("VectorUnit")
    attrs.DataType = NumericNodeId(887, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17714, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17716, 0)
    node.BrowseName = QualifiedName('3DVectorType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(17714, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("3DVectorType")
    attrs.DisplayName = LocalizedText("3DVectorType")
    attrs.DataType = NumericNodeId(18808, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18769, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18770, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18771, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17714, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18769, 0)
    node.BrowseName = QualifiedName('X', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("X")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18770, 0)
    node.BrowseName = QualifiedName('Y', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Y")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18771, 0)
    node.BrowseName = QualifiedName('Z', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Z")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18771, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18772, 0)
    node.BrowseName = QualifiedName('CartesianCoordinatesType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("CartesianCoordinatesType")
    attrs.IsAbstract = True
    attrs.DisplayName = LocalizedText("CartesianCoordinatesType")
    attrs.DataType = NumericNodeId(18809, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18773, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18773, 0)
    node.BrowseName = QualifiedName('LengthUnit', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18772, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LengthUnit")
    attrs.DataType = NumericNodeId(887, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18773, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18772, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18774, 0)
    node.BrowseName = QualifiedName('3DCartesianCoordinatesType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(18772, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("3DCartesianCoordinatesType")
    attrs.DisplayName = LocalizedText("3DCartesianCoordinatesType")
    attrs.DataType = NumericNodeId(18810, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18776, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18777, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18778, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18772, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18776, 0)
    node.BrowseName = QualifiedName('X', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18774, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("X")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18774, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18777, 0)
    node.BrowseName = QualifiedName('Y', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18774, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Y")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18777, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18777, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18777, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18774, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18778, 0)
    node.BrowseName = QualifiedName('Z', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18774, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Z")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18774, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18779, 0)
    node.BrowseName = QualifiedName('OrientationType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("OrientationType")
    attrs.IsAbstract = True
    attrs.DisplayName = LocalizedText("OrientationType")
    attrs.DataType = NumericNodeId(18811, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18780, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18779, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18780, 0)
    node.BrowseName = QualifiedName('AngleUnit', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18779, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AngleUnit")
    attrs.DataType = NumericNodeId(887, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18780, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18780, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18780, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18779, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18781, 0)
    node.BrowseName = QualifiedName('3DOrientationType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(18779, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("3DOrientationType")
    attrs.DisplayName = LocalizedText("3DOrientationType")
    attrs.DataType = NumericNodeId(18812, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18783, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18784, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18785, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18779, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18783, 0)
    node.BrowseName = QualifiedName('A', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18781, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("A")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18783, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18783, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18783, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18781, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18784, 0)
    node.BrowseName = QualifiedName('B', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18781, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("B")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18781, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18785, 0)
    node.BrowseName = QualifiedName('C', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18781, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("C")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18785, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18785, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18785, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18781, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18786, 0)
    node.BrowseName = QualifiedName('FrameType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(63, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("FrameType")
    attrs.IsAbstract = True
    attrs.DisplayName = LocalizedText("FrameType")
    attrs.DataType = NumericNodeId(18813, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18801, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18787, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18788, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18789, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18790, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18786, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18801, 0)
    node.BrowseName = QualifiedName('CartesianCoordinates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18786, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(18772, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CartesianCoordinates")
    attrs.DataType = NumericNodeId(18809, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18801, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18772, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18801, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18801, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18786, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18787, 0)
    node.BrowseName = QualifiedName('Orientation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18786, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(18779, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Orientation")
    attrs.DataType = NumericNodeId(18811, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18779, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18786, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18788, 0)
    node.BrowseName = QualifiedName('Constant', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18786, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Constant")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18788, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18788, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18788, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18786, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18789, 0)
    node.BrowseName = QualifiedName('BaseFrame', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18786, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BaseFrame")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18789, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18789, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18789, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18786, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18790, 0)
    node.BrowseName = QualifiedName('FixedBase', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18786, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FixedBase")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18790, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18790, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(18790, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18786, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18791, 0)
    node.BrowseName = QualifiedName('3DFrameType', 0)
    node.NodeClass = NodeClass.VariableType
    node.ParentNodeId = NumericNodeId(18786, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = VariableTypeAttributes()
    attrs.DisplayName = LocalizedText("3DFrameType")
    attrs.DisplayName = LocalizedText("3DFrameType")
    attrs.DataType = NumericNodeId(18814, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18791, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18796, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18791, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18792, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18791, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18786, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18796, 0)
    node.BrowseName = QualifiedName('CartesianCoordinates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18791, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(18774, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CartesianCoordinates")
    attrs.DataType = NumericNodeId(18810, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18798, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18799, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18800, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18774, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18796, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18791, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18798, 0)
    node.BrowseName = QualifiedName('X', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18796, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("X")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18798, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18798, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18798, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18796, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18799, 0)
    node.BrowseName = QualifiedName('Y', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18796, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Y")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18799, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18799, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18799, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18796, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18800, 0)
    node.BrowseName = QualifiedName('Z', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18796, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Z")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18800, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18800, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18800, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18796, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18792, 0)
    node.BrowseName = QualifiedName('Orientation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18791, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(18781, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Orientation")
    attrs.DataType = NumericNodeId(18812, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19074, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19075, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19076, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18781, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(18792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18792, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18791, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19074, 0)
    node.BrowseName = QualifiedName('A', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18792, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("A")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(19074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19074, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18792, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19075, 0)
    node.BrowseName = QualifiedName('B', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18792, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("B")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(19075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19075, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18792, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19076, 0)
    node.BrowseName = QualifiedName('C', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(18792, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(63, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("C")
    attrs.DataType = NodeId(ObjectIds.Double)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(63, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(19076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18792, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18806, 0)
    node.BrowseName = QualifiedName('RationalNumber', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("RationalNumber")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18806, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18807, 0)
    node.BrowseName = QualifiedName('Vector', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("Vector")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18807, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18808, 0)
    node.BrowseName = QualifiedName('3DVector', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(18807, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("3DVector")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18808, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18807, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18809, 0)
    node.BrowseName = QualifiedName('CartesianCoordinates', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("CartesianCoordinates")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18809, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18810, 0)
    node.BrowseName = QualifiedName('3DCartesianCoordinates', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(18809, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("3DCartesianCoordinates")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18810, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18809, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18811, 0)
    node.BrowseName = QualifiedName('Orientation', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("Orientation")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18811, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18812, 0)
    node.BrowseName = QualifiedName('3DOrientation', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(18811, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("3DOrientation")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18812, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18811, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18813, 0)
    node.BrowseName = QualifiedName('Frame', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("Frame")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18813, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18814, 0)
    node.BrowseName = QualifiedName('3DFrame', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(18813, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("3DFrame")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(18814, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18813, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2311, 0)
    node.BrowseName = QualifiedName('TransitionEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2041, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("TransitionEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2311, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2774, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2311, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2775, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2311, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2776, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2311, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2774, 0)
    node.BrowseName = QualifiedName('Transition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2311, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2762, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Transition")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3754, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2762, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2774, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3754, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2774, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2774, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2775, 0)
    node.BrowseName = QualifiedName('FromState', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2311, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2755, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FromState")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2775, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3746, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2775, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2775, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2775, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3746, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2775, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2775, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2776, 0)
    node.BrowseName = QualifiedName('ToState', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2311, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2755, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ToState")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(3750, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2755, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(2776, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(3750, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2776, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(3750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(3750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(3750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2776, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2315, 0)
    node.BrowseName = QualifiedName('AuditUpdateStateEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2127, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("AuditUpdateStateEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2315, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2777, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2315, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2778, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(2315, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2127, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2777, 0)
    node.BrowseName = QualifiedName('OldStateId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2315, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OldStateId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2777, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2777, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2777, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2315, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(2778, 0)
    node.BrowseName = QualifiedName('NewStateId', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(2315, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NewStateId")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(2778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(2778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(2778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2315, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11939, 0)
    node.BrowseName = QualifiedName('OpenFileMode', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(29, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("OpenFileMode")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11939, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11940, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11939, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(29, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11940, 0)
    node.BrowseName = QualifiedName('EnumValues', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11939, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumValues")
    attrs.DataType = NumericNodeId(7594, 0)
    value = []
    extobj = EnumValueType()
    extobj.Value = 1
    extobj.DisplayName.Text = 'Read'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 2
    extobj.DisplayName.Text = 'Write'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 4
    extobj.DisplayName.Text = 'EraseExisting'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 8
    extobj.DisplayName.Text = 'Append'
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11940, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11940, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11940, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11939, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13353, 0)
    node.BrowseName = QualifiedName('FileDirectoryType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(61, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("FileDirectoryType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13354, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13387, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13390, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13393, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13395, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(13353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13354, 0)
    node.BrowseName = QualifiedName('<FileDirectoryName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(13353, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(13353, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<FileDirectoryName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13355, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13358, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17718, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13363, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(13354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13355, 0)
    node.BrowseName = QualifiedName('CreateDirectory', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13354, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CreateDirectory")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13355, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13356, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13355, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13357, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13355, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13355, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13354, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13356, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13355, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'DirectoryName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13356, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13356, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13356, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13355, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13357, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13355, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'DirectoryNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13357, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13357, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13357, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13355, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13358, 0)
    node.BrowseName = QualifiedName('CreateFile', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13354, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CreateFile")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13358, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13359, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13358, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13360, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13358, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13358, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13354, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13359, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13358, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'RequestFileOpen'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13359, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13359, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13359, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13358, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13360, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13358, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13360, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13360, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13360, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13358, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17718, 0)
    node.BrowseName = QualifiedName('Delete', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13354, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Delete")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17718, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17719, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17718, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17718, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13354, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17719, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(17718, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ObjectToDelete'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17719, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17719, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(17719, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17718, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13363, 0)
    node.BrowseName = QualifiedName('MoveOrCopy', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13354, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("MoveOrCopy")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13364, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13365, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13354, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13364, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13363, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ObjectToMoveOrCopy'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'TargetDirectory'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'CreateCopy'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'NewName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13364, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13364, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13364, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13363, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13365, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13363, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'NewNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13365, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13365, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13365, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13363, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13366, 0)
    node.BrowseName = QualifiedName('<FileName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(13353, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(11575, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<FileName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13367, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13368, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13369, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13370, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13372, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13375, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13377, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13380, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13382, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13385, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11575, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(13366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13367, 0)
    node.BrowseName = QualifiedName('Size', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Size")
    attrs.DataType = NodeId(ObjectIds.UInt64)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13367, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13367, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13367, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13368, 0)
    node.BrowseName = QualifiedName('Writable', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Writable")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13368, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13368, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13368, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13369, 0)
    node.BrowseName = QualifiedName('UserWritable', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserWritable")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13370, 0)
    node.BrowseName = QualifiedName('OpenCount', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OpenCount")
    attrs.DataType = NodeId(ObjectIds.UInt16)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13370, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13370, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13370, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13372, 0)
    node.BrowseName = QualifiedName('Open', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Open")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13373, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13374, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13373, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13372, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Mode'
    extobj.DataType = NumericNodeId(3, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13373, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13373, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13373, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13372, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13374, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13372, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13374, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13374, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13374, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13372, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13375, 0)
    node.BrowseName = QualifiedName('Close', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Close")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13375, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13376, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13375, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13375, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13376, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13375, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13376, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13376, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13376, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13375, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13377, 0)
    node.BrowseName = QualifiedName('Read', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Read")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13377, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13378, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13377, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13379, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13377, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13377, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13378, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13377, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Length'
    extobj.DataType = NumericNodeId(6, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13378, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13378, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13378, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13377, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13379, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13377, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Data'
    extobj.DataType = NumericNodeId(15, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13379, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13379, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13379, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13377, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13380, 0)
    node.BrowseName = QualifiedName('Write', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Write")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13380, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13381, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13380, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13380, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13381, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13380, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Data'
    extobj.DataType = NumericNodeId(15, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13381, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13381, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13381, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13380, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13382, 0)
    node.BrowseName = QualifiedName('GetPosition', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GetPosition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13382, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13383, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13382, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13384, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13382, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13382, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13383, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13382, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13383, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13383, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13383, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13382, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13384, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13382, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Position'
    extobj.DataType = NumericNodeId(9, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13384, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13384, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13384, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13382, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13385, 0)
    node.BrowseName = QualifiedName('SetPosition', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13366, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("SetPosition")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13385, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13386, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13385, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13385, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13366, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13386, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13385, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'Position'
    extobj.DataType = NumericNodeId(9, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13386, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13386, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13386, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13385, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13387, 0)
    node.BrowseName = QualifiedName('CreateDirectory', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13353, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CreateDirectory")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13387, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13388, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13387, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13389, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13387, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13387, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13388, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13387, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'DirectoryName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13388, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13388, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13388, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13387, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13389, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13387, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'DirectoryNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13389, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13389, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13389, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13387, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13390, 0)
    node.BrowseName = QualifiedName('CreateFile', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13353, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CreateFile")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13390, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13391, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13390, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13392, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13390, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13390, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13391, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13390, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'RequestFileOpen'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13391, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13391, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13391, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13390, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13392, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13390, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13392, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13392, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13392, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13390, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13393, 0)
    node.BrowseName = QualifiedName('Delete', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13353, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Delete")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13393, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13394, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13393, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13393, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13394, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13393, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ObjectToDelete'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13394, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13394, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13394, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13393, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13395, 0)
    node.BrowseName = QualifiedName('MoveOrCopy', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(13353, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("MoveOrCopy")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13395, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13396, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13395, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13397, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13395, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(13395, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13396, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13395, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ObjectToMoveOrCopy'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'TargetDirectory'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'CreateCopy'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'NewName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13396, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13396, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13396, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13395, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(13397, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(13395, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'NewNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(13397, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(13397, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(13397, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13395, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16314, 0)
    node.BrowseName = QualifiedName('FileSystem', 0)
    node.NodeClass = NodeClass.Object
    node.TypeDefinition = NumericNodeId(13353, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("FileSystem")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16348, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16351, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16354, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16356, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16314, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(13353, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16348, 0)
    node.BrowseName = QualifiedName('CreateDirectory', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16314, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CreateDirectory")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16348, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16349, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16348, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16350, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16348, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16314, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16349, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16348, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'DirectoryName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16349, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16349, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16348, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16350, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16348, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'DirectoryNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16350, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16350, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16348, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16351, 0)
    node.BrowseName = QualifiedName('CreateFile', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16314, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CreateFile")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16351, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16352, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16351, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16353, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16351, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16314, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16352, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16351, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'RequestFileOpen'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16352, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16352, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16351, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16353, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16351, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16353, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16351, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16354, 0)
    node.BrowseName = QualifiedName('Delete', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16314, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Delete")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16355, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16354, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16314, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16355, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16354, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ObjectToDelete'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16355, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16355, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16354, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16356, 0)
    node.BrowseName = QualifiedName('MoveOrCopy', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16314, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("MoveOrCopy")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16356, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16357, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16356, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16358, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16356, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16314, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16357, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16356, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ObjectToMoveOrCopy'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'TargetDirectory'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'CreateCopy'
    extobj.DataType = NumericNodeId(1, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'NewName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16357, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16357, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16356, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16358, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16356, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'NewNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16358, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16358, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16356, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15744, 0)
    node.BrowseName = QualifiedName('TemporaryFileTransferType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("TemporaryFileTransferType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15745, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15746, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15749, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15751, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15754, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15744, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15745, 0)
    node.BrowseName = QualifiedName('ClientProcessingTimeout', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15744, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ClientProcessingTimeout")
    attrs.DataType = NumericNodeId(290, 0)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15745, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15745, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15745, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15746, 0)
    node.BrowseName = QualifiedName('GenerateFileForRead', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15744, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GenerateFileForRead")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15747, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15748, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15746, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15747, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15746, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'GenerateOptions'
    extobj.DataType = NumericNodeId(24, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15747, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15746, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15748, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15746, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'CompletionStateMachine'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15748, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15746, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15749, 0)
    node.BrowseName = QualifiedName('GenerateFileForWrite', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15744, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("GenerateFileForWrite")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16359, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15750, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15749, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16359, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15749, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'GenerateOptions'
    extobj.DataType = NumericNodeId(24, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16359, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16359, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16359, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15749, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15750, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15749, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15750, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15749, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15751, 0)
    node.BrowseName = QualifiedName('CloseAndCommit', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15744, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("CloseAndCommit")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15752, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15753, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15751, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15752, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15751, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'FileHandle'
    extobj.DataType = NumericNodeId(7, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15752, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15752, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15752, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15751, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15753, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15751, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'CompletionStateMachine'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15753, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15753, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15753, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15751, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15754, 0)
    node.BrowseName = QualifiedName('<TransferState>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15744, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15803, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<TransferState>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15755, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15794, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15754, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15744, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15755, 0)
    node.BrowseName = QualifiedName('CurrentState', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15754, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2760, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrentState")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15756, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2760, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15755, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15754, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15756, 0)
    node.BrowseName = QualifiedName('Id', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15755, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Id")
    attrs.DataType = NodeId(ObjectIds.NodeId)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15756, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15756, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15756, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15755, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15794, 0)
    node.BrowseName = QualifiedName('Reset', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15754, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Reset")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15794, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15794, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15754, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15803, 0)
    node.BrowseName = QualifiedName('FileTransferStateMachineType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2771, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("FileTransferStateMachineType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15817, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15819, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15821, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15823, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15825, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15827, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15829, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15831, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15833, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15835, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15837, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15839, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15841, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15843, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15803, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2771, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15815, 0)
    node.BrowseName = QualifiedName('Idle', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2309, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Idle")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15816, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15825, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15829, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15831, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15833, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15841, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2309, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15816, 0)
    node.BrowseName = QualifiedName('StateNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15815, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StateNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15817, 0)
    node.BrowseName = QualifiedName('ReadPrepare', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2307, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReadPrepare")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15818, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15825, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15827, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15835, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15818, 0)
    node.BrowseName = QualifiedName('StateNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15817, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StateNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15817, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15819, 0)
    node.BrowseName = QualifiedName('ReadTransfer', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2307, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReadTransfer")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15820, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15827, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15829, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15837, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15820, 0)
    node.BrowseName = QualifiedName('StateNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15819, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StateNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15819, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15821, 0)
    node.BrowseName = QualifiedName('ApplyWrite', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2307, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ApplyWrite")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15822, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15831, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15833, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15839, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15822, 0)
    node.BrowseName = QualifiedName('StateNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15821, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StateNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15821, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15823, 0)
    node.BrowseName = QualifiedName('Error', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2307, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Error")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15824, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15835, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15837, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15839, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15841, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2307, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15824, 0)
    node.BrowseName = QualifiedName('StateNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15823, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StateNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15823, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15825, 0)
    node.BrowseName = QualifiedName('IdleToReadPrepare', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("IdleToReadPrepare")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15826, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15817, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15825, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15826, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15825, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15825, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15827, 0)
    node.BrowseName = QualifiedName('ReadPrepareToReadTransfer', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReadPrepareToReadTransfer")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15828, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15817, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15819, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15828, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15827, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15828, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15828, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15828, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15827, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15829, 0)
    node.BrowseName = QualifiedName('ReadTransferToIdle', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReadTransferToIdle")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15830, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15819, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15830, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15829, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15829, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15831, 0)
    node.BrowseName = QualifiedName('IdleToApplyWrite', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("IdleToApplyWrite")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15832, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15821, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15831, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15832, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15831, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15831, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15833, 0)
    node.BrowseName = QualifiedName('ApplyWriteToIdle', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ApplyWriteToIdle")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15834, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15821, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15834, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15833, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15834, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15834, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15834, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15833, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15835, 0)
    node.BrowseName = QualifiedName('ReadPrepareToError', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReadPrepareToError")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15836, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15817, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15823, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15836, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15835, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15835, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15837, 0)
    node.BrowseName = QualifiedName('ReadTransferToError', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ReadTransferToError")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15838, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15819, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15823, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15837, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15838, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15837, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15838, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15838, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15838, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15837, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15839, 0)
    node.BrowseName = QualifiedName('ApplyWriteToError', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ApplyWriteToError")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15840, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15821, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15823, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15840, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15839, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15840, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15840, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15840, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15839, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15841, 0)
    node.BrowseName = QualifiedName('ErrorToIdle', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(2310, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ErrorToIdle")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15842, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(51, 0)
    ref.SourceNodeId = NumericNodeId(15841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15823, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(52, 0)
    ref.SourceNodeId = NumericNodeId(15841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15815, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(54, 0)
    ref.SourceNodeId = NumericNodeId(15841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2311, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2310, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15841, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15842, 0)
    node.BrowseName = QualifiedName('TransitionNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15841, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TransitionNumber")
    attrs.DataType = NodeId(ObjectIds.UInt32)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15841, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15843, 0)
    node.BrowseName = QualifiedName('Reset', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15803, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("Reset")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15803, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15607, 0)
    node.BrowseName = QualifiedName('RoleSetType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("RoleSetType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15607, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15608, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15607, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15997, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15607, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16000, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15607, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15608, 0)
    node.BrowseName = QualifiedName('<RoleName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15607, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<RoleName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15608, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16162, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15608, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15608, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15608, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15607, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16162, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15608, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15608, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15997, 0)
    node.BrowseName = QualifiedName('AddRole', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15607, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddRole")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15997, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15998, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15997, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15999, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15997, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15997, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15607, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15998, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15997, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleName'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    extobj = Argument()
    extobj.Name = 'NamespaceUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15998, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15998, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15998, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15997, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15999, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15997, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15999, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15999, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15999, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15997, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16000, 0)
    node.BrowseName = QualifiedName('RemoveRole', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15607, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveRole")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16000, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16001, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16000, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16000, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15607, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16001, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16000, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'RoleNodeId'
    extobj.DataType = NumericNodeId(17, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16001, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16001, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16001, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16000, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15620, 0)
    node.BrowseName = QualifiedName('RoleType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("RoleType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16173, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16174, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15410, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16175, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15411, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15624, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15626, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16176, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16178, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16180, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16182, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15620, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16173, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16173, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16174, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16174, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15410, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15410, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15410, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15410, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16175, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15411, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15411, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15411, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15411, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15624, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15625, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15624, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15625, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15624, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15625, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15625, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15625, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15624, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15626, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15626, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15627, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15626, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15626, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15627, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15626, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15627, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15627, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15627, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15626, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16176, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16177, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16176, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16177, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16176, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16177, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16176, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16178, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16179, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16179, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16178, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16179, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16178, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16180, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16181, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16181, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16180, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16180, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16182, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15620, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16183, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(80, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16182, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16183, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16182, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(16183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16182, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15632, 0)
    node.BrowseName = QualifiedName('IdentityCriteriaType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(29, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("IdentityCriteriaType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15633, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15632, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(29, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15633, 0)
    node.BrowseName = QualifiedName('EnumValues', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15632, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumValues")
    attrs.DataType = NumericNodeId(7594, 0)
    value = []
    extobj = EnumValueType()
    extobj.Value = 1
    extobj.DisplayName.Text = 'UserName'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 2
    extobj.DisplayName.Text = 'Thumbprint'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 3
    extobj.DisplayName.Text = 'Role'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 4
    extobj.DisplayName.Text = 'GroupId'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 5
    extobj.DisplayName.Text = 'Anonymous'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 6
    extobj.DisplayName.Text = 'AuthenticatedUser'
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(15633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15633, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15632, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15634, 0)
    node.BrowseName = QualifiedName('IdentityMappingRuleType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("IdentityMappingRuleType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(15634, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17641, 0)
    node.BrowseName = QualifiedName('RoleMappingRuleChangedAuditEventType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(2127, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("RoleMappingRuleChangedAuditEventType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17641, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2127, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15644, 0)
    node.BrowseName = QualifiedName('Anonymous', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Anonymous")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16192, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16193, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15412, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16194, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15413, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15648, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15650, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16195, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16197, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16199, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16201, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15644, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16192, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16192, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16192, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16193, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16193, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16193, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15412, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15412, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15412, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16194, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16194, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16194, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15413, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15413, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15413, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15648, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15648, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15649, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15648, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15649, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15648, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15649, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15649, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15648, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15650, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15651, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15651, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15650, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15651, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15651, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15650, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16195, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16195, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16196, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16195, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16196, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16195, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16196, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16196, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16195, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16197, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16198, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16197, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16198, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16197, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16198, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16198, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16197, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16199, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16199, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16200, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16199, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16200, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16199, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16200, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16200, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16199, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16201, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15644, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16202, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15644, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16202, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16201, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16202, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16202, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16201, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15656, 0)
    node.BrowseName = QualifiedName('AuthenticatedUser', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("AuthenticatedUser")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16203, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16204, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15414, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16205, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15415, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15660, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15662, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16206, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16208, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16210, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16212, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16203, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16203, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16203, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16204, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16204, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16204, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15414, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15414, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15414, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16205, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16205, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16205, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15415, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15415, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15415, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15660, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15660, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15661, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15660, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15661, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15660, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15661, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15661, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15660, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15662, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15662, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15663, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15662, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15663, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15662, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15663, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15663, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15662, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16206, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16206, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16207, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16206, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16207, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16206, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16207, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16207, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16206, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16208, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16209, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16209, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16208, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16209, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16209, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16208, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16210, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16210, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16211, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16210, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16211, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16210, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16211, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16211, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16210, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16212, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15656, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16212, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16213, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16212, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15656, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16213, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16212, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16213, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16213, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16212, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15668, 0)
    node.BrowseName = QualifiedName('Observer', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Observer")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16214, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16215, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15416, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16216, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15417, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15672, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15674, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16217, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16219, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16221, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16223, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16214, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16214, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16214, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16215, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16215, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16215, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15416, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15416, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15416, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16216, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16216, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16216, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15417, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15417, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15417, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15672, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15672, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15673, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15672, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15673, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15672, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15673, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15673, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15672, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15674, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15674, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15675, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15674, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15675, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15674, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15675, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15675, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15674, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16217, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16218, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16218, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16217, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16218, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16218, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16217, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16219, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16219, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16220, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16219, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16220, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16219, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16219, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16221, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16221, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16222, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16221, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16222, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16221, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16222, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16222, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16221, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16223, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15668, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16224, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15668, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16224, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16223, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16224, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16224, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16223, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15680, 0)
    node.BrowseName = QualifiedName('Operator', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Operator")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16225, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16226, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15418, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16227, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15423, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15684, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15686, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16228, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16230, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16232, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16234, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16225, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16225, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16225, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16226, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15418, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15418, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15418, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16227, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16227, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16227, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15423, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15423, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15423, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15684, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15684, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15685, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15684, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15685, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15684, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15685, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15685, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15684, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15686, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15687, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15687, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15686, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15687, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15687, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15686, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16228, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16228, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16229, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16228, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16229, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16228, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16228, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16230, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16230, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16231, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16230, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16231, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16230, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16231, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16231, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16230, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16232, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16233, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16233, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16232, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16233, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16233, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16232, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16234, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15680, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16234, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16235, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16234, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15680, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16235, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16234, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16234, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16036, 0)
    node.BrowseName = QualifiedName('Engineer', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Engineer")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16236, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16237, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15424, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16238, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15425, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16041, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16043, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16239, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16241, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16243, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16245, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16036, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16236, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16236, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16236, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16237, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16237, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16237, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15424, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15424, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15424, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16238, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15425, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15425, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15425, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16041, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16042, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16042, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16041, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16041, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16043, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16043, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16044, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16043, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16044, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16043, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16044, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16044, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16043, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16239, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16239, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16240, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16239, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16240, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16239, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16240, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16240, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16239, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16241, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16242, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16242, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16241, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16242, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16242, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16241, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16243, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16243, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16244, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16243, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16244, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16243, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16243, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16245, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(16036, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16245, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16246, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16245, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16036, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16246, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16245, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16246, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16246, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16245, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15692, 0)
    node.BrowseName = QualifiedName('Supervisor', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Supervisor")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16247, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16248, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15426, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16249, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15427, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15696, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15698, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16250, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16252, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16254, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16256, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16247, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16248, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16248, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16248, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15426, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15426, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15426, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16249, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16249, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16249, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15427, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15427, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15427, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15696, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15696, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15697, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15696, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15697, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15696, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15697, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15697, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15696, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15698, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15699, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15699, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15698, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15699, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15698, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16250, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16250, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16251, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16250, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16251, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16250, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16251, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16251, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16250, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16252, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16253, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16253, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16252, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16253, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16254, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16254, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16255, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16254, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16255, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16254, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16255, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16255, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16254, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16256, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15692, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16257, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16256, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15692, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16257, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16256, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16257, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16257, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16256, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15716, 0)
    node.BrowseName = QualifiedName('ConfigureAdmin', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("ConfigureAdmin")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16269, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16270, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15428, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16271, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15429, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15720, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15722, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16272, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16274, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16276, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16278, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15716, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16269, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16269, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16269, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16270, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16270, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16270, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15428, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15428, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15428, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16271, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16271, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16271, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15429, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15429, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15429, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15720, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15720, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15721, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15720, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15721, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15720, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15721, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15721, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15720, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15722, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15722, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15723, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15722, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15723, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15722, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15723, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15723, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15722, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16272, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16272, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16273, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16272, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16273, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16272, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16273, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16273, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16272, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16274, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16275, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16274, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16275, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16274, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16275, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16274, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16276, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16276, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16277, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16276, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16277, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16276, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16277, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16277, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16276, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16278, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15716, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16278, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16279, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16278, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15716, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16279, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16278, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16279, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16279, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16278, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15704, 0)
    node.BrowseName = QualifiedName('SecurityAdmin', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15606, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(15620, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("SecurityAdmin")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16258, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16259, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15430, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16260, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15527, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15708, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15710, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16261, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16263, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16265, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16267, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15606, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15704, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15620, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16258, 0)
    node.BrowseName = QualifiedName('Identities', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Identities")
    attrs.DataType = NumericNodeId(15634, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16258, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16258, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16259, 0)
    node.BrowseName = QualifiedName('Applications', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Applications")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16259, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16259, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15430, 0)
    node.BrowseName = QualifiedName('ApplicationsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15430, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15430, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16260, 0)
    node.BrowseName = QualifiedName('Endpoints', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Endpoints")
    attrs.DataType = NumericNodeId(15528, 0)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16260, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15527, 0)
    node.BrowseName = QualifiedName('EndpointsExclude', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointsExclude")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15527, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15527, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15708, 0)
    node.BrowseName = QualifiedName('AddIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15709, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15709, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15708, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15709, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15708, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15710, 0)
    node.BrowseName = QualifiedName('RemoveIdentity', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveIdentity")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15710, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15711, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15710, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15711, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(15710, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Rule'
    extobj.DataType = NumericNodeId(15634, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15711, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15711, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15710, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16261, 0)
    node.BrowseName = QualifiedName('AddApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16261, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16262, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16261, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16262, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16261, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16262, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16262, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16261, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16263, 0)
    node.BrowseName = QualifiedName('RemoveApplication', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveApplication")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16263, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16264, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16263, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16264, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16263, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'ApplicationUri'
    extobj.DataType = NumericNodeId(12, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16264, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16264, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16263, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16265, 0)
    node.BrowseName = QualifiedName('AddEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("AddEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16265, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16266, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16265, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16266, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16265, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16266, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16266, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16265, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16267, 0)
    node.BrowseName = QualifiedName('RemoveEndpoint', 0)
    node.NodeClass = NodeClass.Method
    node.ParentNodeId = NumericNodeId(15704, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    attrs = MethodAttributes()
    attrs.DisplayName = LocalizedText("RemoveEndpoint")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16267, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16268, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16267, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15704, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16268, 0)
    node.BrowseName = QualifiedName('InputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(16267, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("InputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = Argument()
    extobj.Name = 'Endpoint'
    extobj.DataType = NumericNodeId(15528, 0)
    extobj.ValueRank = -1
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(16268, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16267, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17589, 0)
    node.BrowseName = QualifiedName('DictionaryEntryType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("DictionaryEntryType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17589, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17590, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17589, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17590, 0)
    node.BrowseName = QualifiedName('<DictionaryEntryName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(17589, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(17589, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<DictionaryEntryName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17589, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17590, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17589, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17591, 0)
    node.BrowseName = QualifiedName('DictionaryFolderType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(61, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("DictionaryFolderType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17592, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17593, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17592, 0)
    node.BrowseName = QualifiedName('<DictionaryFolderName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(17591, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(17591, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<DictionaryFolderName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17592, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17591, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17592, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17592, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17591, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17593, 0)
    node.BrowseName = QualifiedName('<DictionaryEntryName>', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(17591, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(17589, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("<DictionaryEntryName>")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17593, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17589, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(17593, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17593, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17591, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17594, 0)
    node.BrowseName = QualifiedName('Dictionaries', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(2253, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(17591, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Dictionaries")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(2253, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17591, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17597, 0)
    node.BrowseName = QualifiedName('HasDictionaryEntry', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasDictionaryEntry")
    attrs.InverseName = LocalizedText("DictionaryEntryOf")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17597, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17598, 0)
    node.BrowseName = QualifiedName('IrdiDictionaryEntryType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(17589, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("IrdiDictionaryEntryType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17598, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17589, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17600, 0)
    node.BrowseName = QualifiedName('UriDictionaryEntryType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(17589, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("UriDictionaryEntryType")
    attrs.IsAbstract = False
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17600, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17589, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17602, 0)
    node.BrowseName = QualifiedName('BaseInterfaceType', 0)
    node.NodeClass = NodeClass.ObjectType
    node.ParentNodeId = NumericNodeId(58, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ObjectTypeAttributes()
    attrs.DisplayName = LocalizedText("BaseInterfaceType")
    attrs.IsAbstract = True
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17602, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(58, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17708, 0)
    node.BrowseName = QualifiedName('InterfaceTypes', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(86, 0)
    node.ReferenceTypeId = NumericNodeId(35, 0)
    node.TypeDefinition = NumericNodeId(61, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("InterfaceTypes")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(17708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17602, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(35, 0)
    ref.SourceNodeId = NumericNodeId(17708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(86, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(61, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17603, 0)
    node.BrowseName = QualifiedName('HasInterface', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(32, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasInterface")
    attrs.InverseName = LocalizedText("InterfaceOf")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17603, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(32, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17604, 0)
    node.BrowseName = QualifiedName('HasAddIn', 0)
    node.NodeClass = NodeClass.ReferenceType
    node.ParentNodeId = NumericNodeId(47, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = ReferenceTypeAttributes()
    attrs.DisplayName = LocalizedText("HasAddIn")
    attrs.InverseName = LocalizedText("AddInOf")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(17604, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(47, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23498, 0)
    node.BrowseName = QualifiedName('CurrencyUnitType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("CurrencyUnitType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(23498, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(338, 0)
    node.BrowseName = QualifiedName('BuildInfo', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("BuildInfo")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(338, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(851, 0)
    node.BrowseName = QualifiedName('RedundancySupport', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(29, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("RedundancySupport")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7611, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(29, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7611, 0)
    node.BrowseName = QualifiedName('EnumStrings', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(851, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumStrings")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.Value = [LocalizedText('None'),LocalizedText('Cold'),LocalizedText('Warm'),LocalizedText('Hot'),LocalizedText('Transparent'),LocalizedText('HotAndMirrored')]
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7611, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(7611, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(7611, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(851, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(852, 0)
    node.BrowseName = QualifiedName('ServerState', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(29, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerState")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7612, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(29, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7612, 0)
    node.BrowseName = QualifiedName('EnumStrings', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(852, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumStrings")
    attrs.DataType = NodeId(ObjectIds.LocalizedText)
    attrs.Value = [LocalizedText('Running'),LocalizedText('Failed'),LocalizedText('NoConfiguration'),LocalizedText('Suspended'),LocalizedText('Shutdown'),LocalizedText('Test'),LocalizedText('CommunicationFault'),LocalizedText('Unknown')]
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7612, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(7612, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(7612, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(852, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(853, 0)
    node.BrowseName = QualifiedName('RedundantServerDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("RedundantServerDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11943, 0)
    node.BrowseName = QualifiedName('EndpointUrlListDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrlListDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11943, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11944, 0)
    node.BrowseName = QualifiedName('NetworkGroupDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("NetworkGroupDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11944, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(856, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(859, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummaryDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummaryDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(862, 0)
    node.BrowseName = QualifiedName('ServerStatusDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("ServerStatusDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(862, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(865, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(865, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(868, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(868, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(871, 0)
    node.BrowseName = QualifiedName('ServiceCounterDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("ServiceCounterDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(871, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(299, 0)
    node.BrowseName = QualifiedName('StatusResult', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("StatusResult")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(299, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(874, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(874, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11941, 0)
    node.BrowseName = QualifiedName('ModelChangeStructureVerbMask', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(29, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("ModelChangeStructureVerbMask")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11941, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11942, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(11941, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(29, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11942, 0)
    node.BrowseName = QualifiedName('EnumValues', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(11941, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumValues")
    attrs.DataType = NumericNodeId(7594, 0)
    value = []
    extobj = EnumValueType()
    extobj.Value = 1
    extobj.DisplayName.Text = 'NodeAdded'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 2
    extobj.DisplayName.Text = 'NodeDeleted'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 4
    extobj.DisplayName.Text = 'ReferenceAdded'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 8
    extobj.DisplayName.Text = 'ReferenceDeleted'
    value.append(extobj)
    extobj = EnumValueType()
    extobj.Value = 16
    extobj.DisplayName.Text = 'DataTypeChanged'
    value.append(extobj)
    attrs.Value = Variant(value, VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11942, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(11942, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(78, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(11942, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11941, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(877, 0)
    node.BrowseName = QualifiedName('ModelChangeStructureDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("ModelChangeStructureDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(877, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(897, 0)
    node.BrowseName = QualifiedName('SemanticChangeStructureDataType', 0)
    node.NodeClass = NodeClass.DataType
    node.ParentNodeId = NumericNodeId(22, 0)
    node.ReferenceTypeId = NumericNodeId(45, 0)
    attrs = DataTypeAttributes()
    attrs.DisplayName = LocalizedText("SemanticChangeStructureDataType")
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(45, 0)
    ref.SourceNodeId = NumericNodeId(897, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(22, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14846, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(14533, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(14846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14533, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(14846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14873, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15671, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15528, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15671, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15528, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(15671, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15734, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15671, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18815, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18806, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18806, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18824, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18815, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18816, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18807, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18807, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18827, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18816, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18817, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18808, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18808, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18830, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18817, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18818, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18809, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18809, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18833, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18818, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18819, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18810, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18810, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18836, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18819, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18820, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18811, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18811, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18839, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18820, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18821, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18812, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18812, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18842, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18821, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18822, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18813, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18813, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18845, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18822, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18823, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18814, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18814, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18848, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18823, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15736, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15634, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15736, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15634, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(15736, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15738, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15736, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23507, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(23498, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(23507, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23498, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(23507, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23514, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23507, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(340, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(338, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(340, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(338, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(340, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7692, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(340, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(855, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(853, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(853, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8208, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11957, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11943, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(11957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11943, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(11957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11959, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11957, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11958, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11944, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(11958, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11944, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(11958, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11962, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11958, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(858, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(856, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(856, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8211, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(861, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(859, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(859, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8214, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(864, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(862, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(862, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8217, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(867, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(865, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(865, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8220, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(870, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(868, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(868, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8223, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(873, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(871, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(871, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8226, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(301, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(299, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(301, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(299, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(301, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7659, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(301, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(876, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(874, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(874, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8229, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(879, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(877, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(879, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(877, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(879, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8232, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(879, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(899, 0)
    node.BrowseName = QualifiedName('Default Binary', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(897, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default Binary")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(899, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(897, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(899, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8235, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(899, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7617, 0)
    node.BrowseName = QualifiedName('Opc.Ua', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(93, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(72, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Opc.Ua")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.Value = Variant(b'<opc:TypeDictionary\r\n  xmlns:opc="http://opcfoundation.org/BinarySchema/"\r\n  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r\n  xmlns:ua="http://opcfoundation.org/UA/"\r\n  xmlns:tns="http://opcfoundation.org/UA/"\r\n  DefaultByteOrder="LittleEndian"\r\n  TargetNamespace="http://opcfoundation.org/UA/"\r\n>\r\n\r\n  <opc:Import Namespace="http://opcfoundation.org/BinarySchema/" />\r\n\r\n  <opc:StructuredType Name="XmlElement">\r\n    <opc:Documentation>An XML element encoded as a UTF-8 string.</opc:Documentation>\r\n    <opc:Field Name="Length" TypeName="opc:Int32" />\r\n    <opc:Field Name="Value" TypeName="opc:Char" LengthField="Length" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="NodeIdType" LengthInBits="6">\r\n    <opc:Documentation>The possible encodings for a NodeId value.</opc:Documentation>\r\n    <opc:EnumeratedValue Name="TwoByte" Value="0" />\r\n    <opc:EnumeratedValue Name="FourByte" Value="1" />\r\n    <opc:EnumeratedValue Name="Numeric" Value="2" />\r\n    <opc:EnumeratedValue Name="String" Value="3" />\r\n    <opc:EnumeratedValue Name="Guid" Value="4" />\r\n    <opc:EnumeratedValue Name="ByteString" Value="5" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="TwoByteNodeId">\r\n    <opc:Field Name="Identifier" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FourByteNodeId">\r\n    <opc:Field Name="NamespaceIndex" TypeName="opc:Byte" />\r\n    <opc:Field Name="Identifier" TypeName="opc:UInt16" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NumericNodeId">\r\n    <opc:Field Name="NamespaceIndex" TypeName="opc:UInt16" />\r\n    <opc:Field Name="Identifier" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="StringNodeId">\r\n    <opc:Field Name="NamespaceIndex" TypeName="opc:UInt16" />\r\n    <opc:Field Name="Identifier" TypeName="opc:CharArray" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="GuidNodeId">\r\n    <opc:Field Name="NamespaceIndex" TypeName="opc:UInt16" />\r\n    <opc:Field Name="Identifier" TypeName="opc:Guid" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ByteStringNodeId">\r\n    <opc:Field Name="NamespaceIndex" TypeName="opc:UInt16" />\r\n    <opc:Field Name="Identifier" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NodeId">\r\n    <opc:Documentation>An identifier for a node in a UA server address space.</opc:Documentation>\r\n    <opc:Field Name="NodeIdType" TypeName="ua:NodeIdType" />\r\n    <opc:Field Name="Reserved1" TypeName="opc:Bit" Length="2" />\r\n    <opc:Field Name="TwoByte" TypeName="ua:TwoByteNodeId" SwitchField="NodeIdType" SwitchValue="0" />\r\n    <opc:Field Name="FourByte" TypeName="ua:FourByteNodeId" SwitchField="NodeIdType" SwitchValue="1" />\r\n    <opc:Field Name="Numeric" TypeName="ua:NumericNodeId" SwitchField="NodeIdType" SwitchValue="2" />\r\n    <opc:Field Name="String" TypeName="ua:StringNodeId" SwitchField="NodeIdType" SwitchValue="3" />\r\n    <opc:Field Name="Guid" TypeName="ua:GuidNodeId" SwitchField="NodeIdType" SwitchValue="4" />\r\n    <opc:Field Name="ByteString" TypeName="ua:ByteStringNodeId" SwitchField="NodeIdType" SwitchValue="5" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ExpandedNodeId">\r\n    <opc:Documentation>An identifier for a node in a UA server address space qualified with a complete namespace string.</opc:Documentation>\r\n    <opc:Field Name="NodeIdType" TypeName="ua:NodeIdType" />\r\n    <opc:Field Name="ServerIndexSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="NamespaceURISpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="TwoByte" TypeName="ua:TwoByteNodeId" SwitchField="NodeIdType" SwitchValue="0" />\r\n    <opc:Field Name="FourByte" TypeName="ua:FourByteNodeId" SwitchField="NodeIdType" SwitchValue="1" />\r\n    <opc:Field Name="Numeric" TypeName="ua:NumericNodeId" SwitchField="NodeIdType" SwitchValue="2" />\r\n    <opc:Field Name="String" TypeName="ua:StringNodeId" SwitchField="NodeIdType" SwitchValue="3" />\r\n    <opc:Field Name="Guid" TypeName="ua:GuidNodeId" SwitchField="NodeIdType" SwitchValue="4" />\r\n    <opc:Field Name="ByteString" TypeName="ua:ByteStringNodeId" SwitchField="NodeIdType" SwitchValue="5" />\r\n    <opc:Field Name="NamespaceURI" TypeName="opc:CharArray" SwitchField="NamespaceURISpecified"/>\r\n    <opc:Field Name="ServerIndex" TypeName="opc:UInt32" SwitchField="ServerIndexSpecified"/>\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="StatusCode" LengthInBits="32" ByteOrderSignificant="true">\r\n    <opc:Documentation>A 32-bit status code value.</opc:Documentation>\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="DiagnosticInfo">\r\n    <opc:Documentation>A recursive structure containing diagnostic information associated with a status code.</opc:Documentation>\r\n    <opc:Field Name="SymbolicIdSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="NamespaceURISpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="LocalizedTextSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="LocaleSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="AdditionalInfoSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="InnerStatusCodeSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="InnerDiagnosticInfoSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="Reserved1" TypeName="opc:Bit" Length="1" />\r\n    <opc:Field Name="SymbolicId" TypeName="opc:Int32" SwitchField="SymbolicIdSpecified" />\r\n    <opc:Field Name="NamespaceURI" TypeName="opc:Int32" SwitchField="NamespaceURISpecified" />\r\n    <opc:Field Name="Locale" TypeName="opc:Int32" SwitchField="LocaleSpecified" />\r\n    <opc:Field Name="LocalizedText" TypeName="opc:Int32" SwitchField="LocalizedTextSpecified" />\r\n    <opc:Field Name="AdditionalInfo" TypeName="opc:CharArray" SwitchField="AdditionalInfoSpecified" />\r\n    <opc:Field Name="InnerStatusCode" TypeName="ua:StatusCode" SwitchField="InnerStatusCodeSpecified" />\r\n    <opc:Field Name="InnerDiagnosticInfo" TypeName="ua:DiagnosticInfo" SwitchField="InnerDiagnosticInfoSpecified" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="QualifiedName">\r\n    <opc:Documentation>A string qualified with a namespace index.</opc:Documentation>\r\n    <opc:Field Name="NamespaceIndex" TypeName="opc:UInt16" />\r\n    <opc:Field Name="Name" TypeName="opc:CharArray" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="LocalizedText">\r\n    <opc:Documentation>A string qualified with a namespace index.</opc:Documentation>\r\n    <opc:Field Name="LocaleSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="TextSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="Reserved1" TypeName="opc:Bit" Length="6" />\r\n    <opc:Field Name="Locale" TypeName="opc:CharArray" SwitchField="LocaleSpecified" />\r\n    <opc:Field Name="Text" TypeName="opc:CharArray" SwitchField="TextSpecified" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataValue">\r\n    <opc:Documentation>A value with an associated timestamp, and quality.</opc:Documentation>\r\n    <opc:Field Name="ValueSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="StatusCodeSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="SourceTimestampSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="ServerTimestampSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="SourcePicosecondsSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="ServerPicosecondsSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="Reserved1" TypeName="opc:Bit" Length="2" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" SwitchField="ValueSpecified" />\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" SwitchField="StatusCodeSpecified" />\r\n    <opc:Field Name="SourceTimestamp" TypeName="opc:DateTime" SwitchField="SourceTimestampSpecified" />\r\n    <opc:Field Name="SourcePicoseconds" TypeName="opc:UInt16" SwitchField="SourcePicosecondsSpecified" />\r\n    <opc:Field Name="ServerTimestamp" TypeName="opc:DateTime" SwitchField="ServerTimestampSpecified" />\r\n    <opc:Field Name="ServerPicoseconds" TypeName="opc:UInt16" SwitchField="ServerPicosecondsSpecified" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ExtensionObject">\r\n    <opc:Documentation>A serialized object prefixed with its data type identifier.</opc:Documentation>\r\n    <opc:Field Name="TypeIdSpecified" TypeName="opc:Bit" />\r\n    <opc:Field Name="BinaryBody" TypeName="opc:Bit" />\r\n    <opc:Field Name="XmlBody" TypeName="opc:Bit" />\r\n    <opc:Field Name="Reserved1" TypeName="opc:Bit" Length="5" />\r\n    <opc:Field Name="TypeId" TypeName="ua:ExpandedNodeId" SwitchField="TypeIdSpecified" />\r\n    <opc:Field Name="BodyLength" TypeName="opc:Int32" />\r\n    <opc:Field Name="Body" TypeName="opc:Byte" LengthField="BodyLength" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Variant">\r\n    <opc:Documentation>A union of several types.</opc:Documentation>\r\n    <opc:Field Name="VariantType" TypeName="opc:Bit" Length="6" />\r\n    <opc:Field Name="ArrayDimensionsSpecified" TypeName="opc:Bit" Length="1"/>\r\n    <opc:Field Name="ArrayLengthSpecified" TypeName="opc:Bit" Length="1"/>\r\n    <opc:Field Name="ArrayLength" TypeName="opc:Int32" SwitchField="ArrayLengthSpecified" />\r\n    <opc:Field Name="Boolean" TypeName="opc:Boolean" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="1" />\r\n    <opc:Field Name="SByte" TypeName="opc:SByte" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="2" />\r\n    <opc:Field Name="Byte" TypeName="opc:Byte" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="3" />\r\n    <opc:Field Name="Int16" TypeName="opc:Int16" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="4" />\r\n    <opc:Field Name="UInt16" TypeName="opc:UInt16" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="5" />\r\n    <opc:Field Name="Int32" TypeName="opc:Int32" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="6" />\r\n    <opc:Field Name="UInt32" TypeName="opc:UInt32" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="7" />\r\n    <opc:Field Name="Int64" TypeName="opc:Int64" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="8" />\r\n    <opc:Field Name="UInt64" TypeName="opc:UInt64" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="9" />\r\n    <opc:Field Name="Float" TypeName="opc:Float" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="10" />\r\n    <opc:Field Name="Double" TypeName="opc:Double" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="11" />\r\n    <opc:Field Name="String" TypeName="opc:CharArray" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="12" />\r\n    <opc:Field Name="DateTime" TypeName="opc:DateTime" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="13" />\r\n    <opc:Field Name="Guid" TypeName="opc:Guid" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="14" />\r\n    <opc:Field Name="ByteString" TypeName="opc:ByteString" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="15" />\r\n    <opc:Field Name="XmlElement" TypeName="ua:XmlElement" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="16" />\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="17" />\r\n    <opc:Field Name="ExpandedNodeId" TypeName="ua:ExpandedNodeId" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="18" />\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="19" />\r\n    <opc:Field Name="QualifiedName" TypeName="ua:QualifiedName" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="20" />\r\n    <opc:Field Name="LocalizedText" TypeName="ua:LocalizedText" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="21" />\r\n    <opc:Field Name="ExtensionObject" TypeName="ua:ExtensionObject" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="22" />\r\n    <opc:Field Name="DataValue" TypeName="ua:DataValue" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="23" />\r\n    <opc:Field Name="Variant" TypeName="ua:Variant" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="24" />\r\n    <opc:Field Name="DiagnosticInfo" TypeName="ua:DiagnosticInfo" LengthField="ArrayLength" SwitchField="VariantType" SwitchValue="25" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" SwitchField="ArrayDimensionsSpecified" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:Int32" LengthField="NoOfArrayDimensions" SwitchField="ArrayDimensionsSpecified" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="NamingRuleType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Mandatory" Value="1" />\r\n    <opc:EnumeratedValue Name="Optional" Value="2" />\r\n    <opc:EnumeratedValue Name="Constraint" Value="3" />\r\n  </opc:EnumeratedType>\r\n    \r\n\r\n  <opc:OpaqueType Name="ImageBMP">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="ImageGIF">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="ImageJPG">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="ImagePNG">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="AudioDataType">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="BitFieldMaskDataType">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="KeyValuePair" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Key" TypeName="ua:QualifiedName" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EndpointType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="EndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" />\r\n    <opc:Field Name="SecurityPolicyUri" TypeName="opc:String" />\r\n    <opc:Field Name="TransportProfileUri" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RationalNumber" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Numerator" TypeName="opc:Int32" />\r\n    <opc:Field Name="Denominator" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Vector" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ThreeDVector" BaseType="tns:Vector">\r\n    <opc:Field Name="X" TypeName="opc:Double" />\r\n    <opc:Field Name="Y" TypeName="opc:Double" />\r\n    <opc:Field Name="Z" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CartesianCoordinates" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ThreeDCartesianCoordinates" BaseType="tns:CartesianCoordinates">\r\n    <opc:Field Name="X" TypeName="opc:Double" />\r\n    <opc:Field Name="Y" TypeName="opc:Double" />\r\n    <opc:Field Name="Z" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Orientation" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ThreeDOrientation" BaseType="tns:Orientation">\r\n    <opc:Field Name="A" TypeName="opc:Double" />\r\n    <opc:Field Name="B" TypeName="opc:Double" />\r\n    <opc:Field Name="C" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Frame" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ThreeDFrame" BaseType="tns:Frame">\r\n    <opc:Field Name="CartesianCoordinates" TypeName="tns:ThreeDCartesianCoordinates" />\r\n    <opc:Field Name="Orientation" TypeName="tns:ThreeDOrientation" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="OpenFileMode" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Read" Value="1" />\r\n    <opc:EnumeratedValue Name="Write" Value="2" />\r\n    <opc:EnumeratedValue Name="EraseExisting" Value="4" />\r\n    <opc:EnumeratedValue Name="Append" Value="8" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="IdentityCriteriaType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="UserName" Value="1" />\r\n    <opc:EnumeratedValue Name="Thumbprint" Value="2" />\r\n    <opc:EnumeratedValue Name="Role" Value="3" />\r\n    <opc:EnumeratedValue Name="GroupId" Value="4" />\r\n    <opc:EnumeratedValue Name="Anonymous" Value="5" />\r\n    <opc:EnumeratedValue Name="AuthenticatedUser" Value="6" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="IdentityMappingRuleType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="CriteriaType" TypeName="tns:IdentityCriteriaType" />\r\n    <opc:Field Name="Criteria" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CurrencyUnitType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NumericCode" TypeName="opc:Int16" />\r\n    <opc:Field Name="Exponent" TypeName="opc:SByte" />\r\n    <opc:Field Name="AlphabeticCode" TypeName="opc:String" />\r\n    <opc:Field Name="Currency" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="TrustListMasks" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="TrustedCertificates" Value="1" />\r\n    <opc:EnumeratedValue Name="TrustedCrls" Value="2" />\r\n    <opc:EnumeratedValue Name="IssuerCertificates" Value="4" />\r\n    <opc:EnumeratedValue Name="IssuerCrls" Value="8" />\r\n    <opc:EnumeratedValue Name="All" Value="15" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="TrustListDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SpecifiedLists" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfTrustedCertificates" TypeName="opc:Int32" />\r\n    <opc:Field Name="TrustedCertificates" TypeName="opc:ByteString" LengthField="NoOfTrustedCertificates" />\r\n    <opc:Field Name="NoOfTrustedCrls" TypeName="opc:Int32" />\r\n    <opc:Field Name="TrustedCrls" TypeName="opc:ByteString" LengthField="NoOfTrustedCrls" />\r\n    <opc:Field Name="NoOfIssuerCertificates" TypeName="opc:Int32" />\r\n    <opc:Field Name="IssuerCertificates" TypeName="opc:ByteString" LengthField="NoOfIssuerCertificates" />\r\n    <opc:Field Name="NoOfIssuerCrls" TypeName="opc:Int32" />\r\n    <opc:Field Name="IssuerCrls" TypeName="opc:ByteString" LengthField="NoOfIssuerCrls" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DecimalDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Scale" TypeName="opc:Int16" />\r\n    <opc:Field Name="Value" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataTypeSchemaHeader" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfNamespaces" TypeName="opc:Int32" />\r\n    <opc:Field Name="Namespaces" TypeName="opc:String" LengthField="NoOfNamespaces" />\r\n    <opc:Field Name="NoOfStructureDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="StructureDataTypes" TypeName="tns:StructureDescription" LengthField="NoOfStructureDataTypes" />\r\n    <opc:Field Name="NoOfEnumDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="EnumDataTypes" TypeName="tns:EnumDescription" LengthField="NoOfEnumDataTypes" />\r\n    <opc:Field Name="NoOfSimpleDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="SimpleDataTypes" TypeName="tns:SimpleTypeDescription" LengthField="NoOfSimpleDataTypes" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataTypeDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="DataTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="Name" TypeName="ua:QualifiedName" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="StructureDescription" BaseType="tns:DataTypeDescription">\r\n    <opc:Field Name="DataTypeId" TypeName="ua:NodeId" SourceType="tns:DataTypeDescription" />\r\n    <opc:Field Name="Name" TypeName="ua:QualifiedName" SourceType="tns:DataTypeDescription" />\r\n    <opc:Field Name="StructureDefinition" TypeName="tns:StructureDefinition" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EnumDescription" BaseType="tns:DataTypeDescription">\r\n    <opc:Field Name="DataTypeId" TypeName="ua:NodeId" SourceType="tns:DataTypeDescription" />\r\n    <opc:Field Name="Name" TypeName="ua:QualifiedName" SourceType="tns:DataTypeDescription" />\r\n    <opc:Field Name="EnumDefinition" TypeName="tns:EnumDefinition" />\r\n    <opc:Field Name="BuiltInType" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SimpleTypeDescription" BaseType="tns:DataTypeDescription">\r\n    <opc:Field Name="DataTypeId" TypeName="ua:NodeId" SourceType="tns:DataTypeDescription" />\r\n    <opc:Field Name="Name" TypeName="ua:QualifiedName" SourceType="tns:DataTypeDescription" />\r\n    <opc:Field Name="BaseDataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="BuiltInType" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UABinaryFileDataType" BaseType="tns:DataTypeSchemaHeader">\r\n    <opc:Field Name="NoOfNamespaces" TypeName="opc:Int32" />\r\n    <opc:Field Name="Namespaces" TypeName="opc:String" LengthField="NoOfNamespaces" />\r\n    <opc:Field Name="NoOfStructureDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="StructureDataTypes" TypeName="tns:StructureDescription" LengthField="NoOfStructureDataTypes" />\r\n    <opc:Field Name="NoOfEnumDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="EnumDataTypes" TypeName="tns:EnumDescription" LengthField="NoOfEnumDataTypes" />\r\n    <opc:Field Name="NoOfSimpleDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="SimpleDataTypes" TypeName="tns:SimpleTypeDescription" LengthField="NoOfSimpleDataTypes" />\r\n    <opc:Field Name="SchemaLocation" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfFileHeader" TypeName="opc:Int32" />\r\n    <opc:Field Name="FileHeader" TypeName="tns:KeyValuePair" LengthField="NoOfFileHeader" />\r\n    <opc:Field Name="Body" TypeName="ua:Variant" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="PubSubState" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Disabled" Value="0" />\r\n    <opc:EnumeratedValue Name="Paused" Value="1" />\r\n    <opc:EnumeratedValue Name="Operational" Value="2" />\r\n    <opc:EnumeratedValue Name="Error" Value="3" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="DataSetMetaDataType" BaseType="tns:DataTypeSchemaHeader">\r\n    <opc:Field Name="NoOfNamespaces" TypeName="opc:Int32" />\r\n    <opc:Field Name="Namespaces" TypeName="opc:String" LengthField="NoOfNamespaces" />\r\n    <opc:Field Name="NoOfStructureDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="StructureDataTypes" TypeName="tns:StructureDescription" LengthField="NoOfStructureDataTypes" />\r\n    <opc:Field Name="NoOfEnumDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="EnumDataTypes" TypeName="tns:EnumDescription" LengthField="NoOfEnumDataTypes" />\r\n    <opc:Field Name="NoOfSimpleDataTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="SimpleDataTypes" TypeName="tns:SimpleTypeDescription" LengthField="NoOfSimpleDataTypes" />\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="NoOfFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="Fields" TypeName="tns:FieldMetaData" LengthField="NoOfFields" />\r\n    <opc:Field Name="DataSetClassId" TypeName="opc:Guid" />\r\n    <opc:Field Name="ConfigurationVersion" TypeName="tns:ConfigurationVersionDataType" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FieldMetaData" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="FieldFlags" TypeName="tns:DataSetFieldFlags" />\r\n    <opc:Field Name="BuiltInType" TypeName="opc:Byte" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="MaxStringLength" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DataSetFieldId" TypeName="opc:Guid" />\r\n    <opc:Field Name="NoOfProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="Properties" TypeName="tns:KeyValuePair" LengthField="NoOfProperties" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="DataSetFieldFlags" LengthInBits="16" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="PromotedField" Value="1" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ConfigurationVersionDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="MajorVersion" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MinorVersion" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishedDataSetDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfDataSetFolder" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataSetFolder" TypeName="opc:String" LengthField="NoOfDataSetFolder" />\r\n    <opc:Field Name="DataSetMetaData" TypeName="tns:DataSetMetaDataType" />\r\n    <opc:Field Name="NoOfExtensionFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="ExtensionFields" TypeName="tns:KeyValuePair" LengthField="NoOfExtensionFields" />\r\n    <opc:Field Name="DataSetSource" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishedDataSetSourceDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishedVariableDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="PublishedVariable" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SamplingIntervalHint" TypeName="opc:Double" />\r\n    <opc:Field Name="DeadbandType" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DeadbandValue" TypeName="opc:Double" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n    <opc:Field Name="SubstituteValue" TypeName="ua:Variant" />\r\n    <opc:Field Name="NoOfMetaDataProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="MetaDataProperties" TypeName="ua:QualifiedName" LengthField="NoOfMetaDataProperties" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishedDataItemsDataType" BaseType="tns:PublishedDataSetSourceDataType">\r\n    <opc:Field Name="NoOfPublishedData" TypeName="opc:Int32" />\r\n    <opc:Field Name="PublishedData" TypeName="tns:PublishedVariableDataType" LengthField="NoOfPublishedData" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishedEventsDataType" BaseType="tns:PublishedDataSetSourceDataType">\r\n    <opc:Field Name="EventNotifier" TypeName="ua:NodeId" />\r\n    <opc:Field Name="NoOfSelectedFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="SelectedFields" TypeName="tns:SimpleAttributeOperand" LengthField="NoOfSelectedFields" />\r\n    <opc:Field Name="Filter" TypeName="tns:ContentFilter" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="DataSetFieldContentMask" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="StatusCode" Value="1" />\r\n    <opc:EnumeratedValue Name="SourceTimestamp" Value="2" />\r\n    <opc:EnumeratedValue Name="ServerTimestamp" Value="4" />\r\n    <opc:EnumeratedValue Name="SourcePicoSeconds" Value="8" />\r\n    <opc:EnumeratedValue Name="ServerPicoSeconds" Value="16" />\r\n    <opc:EnumeratedValue Name="RawData" Value="32" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="DataSetWriterDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="DataSetWriterId" TypeName="opc:UInt16" />\r\n    <opc:Field Name="DataSetFieldContentMask" TypeName="tns:DataSetFieldContentMask" />\r\n    <opc:Field Name="KeyFrameCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DataSetName" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfDataSetWriterProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataSetWriterProperties" TypeName="tns:KeyValuePair" LengthField="NoOfDataSetWriterProperties" />\r\n    <opc:Field Name="TransportSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="MessageSettings" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataSetWriterTransportDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataSetWriterMessageDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PubSubGroupDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" />\r\n    <opc:Field Name="SecurityGroupId" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfSecurityKeyServices" TypeName="opc:Int32" />\r\n    <opc:Field Name="SecurityKeyServices" TypeName="tns:EndpointDescription" LengthField="NoOfSecurityKeyServices" />\r\n    <opc:Field Name="MaxNetworkMessageSize" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfGroupProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="GroupProperties" TypeName="tns:KeyValuePair" LengthField="NoOfGroupProperties" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="WriterGroupDataType" BaseType="tns:PubSubGroupDataType">\r\n    <opc:Field Name="Name" TypeName="opc:String" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="SecurityGroupId" TypeName="opc:String" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="NoOfSecurityKeyServices" TypeName="opc:Int32" />\r\n    <opc:Field Name="SecurityKeyServices" TypeName="tns:EndpointDescription" LengthField="NoOfSecurityKeyServices" />\r\n    <opc:Field Name="MaxNetworkMessageSize" TypeName="opc:UInt32" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="NoOfGroupProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="GroupProperties" TypeName="tns:KeyValuePair" LengthField="NoOfGroupProperties" />\r\n    <opc:Field Name="WriterGroupId" TypeName="opc:UInt16" />\r\n    <opc:Field Name="PublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="KeepAliveTime" TypeName="opc:Double" />\r\n    <opc:Field Name="Priority" TypeName="opc:Byte" />\r\n    <opc:Field Name="NoOfLocaleIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="LocaleIds" TypeName="opc:String" LengthField="NoOfLocaleIds" />\r\n    <opc:Field Name="HeaderLayoutUri" TypeName="opc:String" />\r\n    <opc:Field Name="TransportSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="MessageSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="NoOfDataSetWriters" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataSetWriters" TypeName="tns:DataSetWriterDataType" LengthField="NoOfDataSetWriters" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="WriterGroupTransportDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="WriterGroupMessageDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PubSubConnectionDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="PublisherId" TypeName="ua:Variant" />\r\n    <opc:Field Name="TransportProfileUri" TypeName="opc:String" />\r\n    <opc:Field Name="Address" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="NoOfConnectionProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="ConnectionProperties" TypeName="tns:KeyValuePair" LengthField="NoOfConnectionProperties" />\r\n    <opc:Field Name="TransportSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="NoOfWriterGroups" TypeName="opc:Int32" />\r\n    <opc:Field Name="WriterGroups" TypeName="tns:WriterGroupDataType" LengthField="NoOfWriterGroups" />\r\n    <opc:Field Name="NoOfReaderGroups" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReaderGroups" TypeName="tns:ReaderGroupDataType" LengthField="NoOfReaderGroups" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ConnectionTransportDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NetworkAddressDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NetworkInterface" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NetworkAddressUrlDataType" BaseType="tns:NetworkAddressDataType">\r\n    <opc:Field Name="NetworkInterface" TypeName="opc:String" SourceType="tns:NetworkAddressDataType" />\r\n    <opc:Field Name="Url" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReaderGroupDataType" BaseType="tns:PubSubGroupDataType">\r\n    <opc:Field Name="Name" TypeName="opc:String" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="SecurityGroupId" TypeName="opc:String" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="NoOfSecurityKeyServices" TypeName="opc:Int32" />\r\n    <opc:Field Name="SecurityKeyServices" TypeName="tns:EndpointDescription" LengthField="NoOfSecurityKeyServices" />\r\n    <opc:Field Name="MaxNetworkMessageSize" TypeName="opc:UInt32" SourceType="tns:PubSubGroupDataType" />\r\n    <opc:Field Name="NoOfGroupProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="GroupProperties" TypeName="tns:KeyValuePair" LengthField="NoOfGroupProperties" />\r\n    <opc:Field Name="TransportSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="MessageSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="NoOfDataSetReaders" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataSetReaders" TypeName="tns:DataSetReaderDataType" LengthField="NoOfDataSetReaders" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReaderGroupTransportDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReaderGroupMessageDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataSetReaderDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="PublisherId" TypeName="ua:Variant" />\r\n    <opc:Field Name="WriterGroupId" TypeName="opc:UInt16" />\r\n    <opc:Field Name="DataSetWriterId" TypeName="opc:UInt16" />\r\n    <opc:Field Name="DataSetMetaData" TypeName="tns:DataSetMetaDataType" />\r\n    <opc:Field Name="DataSetFieldContentMask" TypeName="tns:DataSetFieldContentMask" />\r\n    <opc:Field Name="MessageReceiveTimeout" TypeName="opc:Double" />\r\n    <opc:Field Name="KeyFrameCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="HeaderLayoutUri" TypeName="opc:String" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" />\r\n    <opc:Field Name="SecurityGroupId" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfSecurityKeyServices" TypeName="opc:Int32" />\r\n    <opc:Field Name="SecurityKeyServices" TypeName="tns:EndpointDescription" LengthField="NoOfSecurityKeyServices" />\r\n    <opc:Field Name="NoOfDataSetReaderProperties" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataSetReaderProperties" TypeName="tns:KeyValuePair" LengthField="NoOfDataSetReaderProperties" />\r\n    <opc:Field Name="TransportSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="MessageSettings" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="SubscribedDataSet" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataSetReaderTransportDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataSetReaderMessageDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SubscribedDataSetDataType" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TargetVariablesDataType" BaseType="tns:SubscribedDataSetDataType">\r\n    <opc:Field Name="NoOfTargetVariables" TypeName="opc:Int32" />\r\n    <opc:Field Name="TargetVariables" TypeName="tns:FieldTargetDataType" LengthField="NoOfTargetVariables" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FieldTargetDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="DataSetFieldId" TypeName="opc:Guid" />\r\n    <opc:Field Name="ReceiverIndexRange" TypeName="opc:String" />\r\n    <opc:Field Name="TargetNodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="WriteIndexRange" TypeName="opc:String" />\r\n    <opc:Field Name="OverrideValueHandling" TypeName="tns:OverrideValueHandling" />\r\n    <opc:Field Name="OverrideValue" TypeName="ua:Variant" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="OverrideValueHandling" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Disabled" Value="0" />\r\n    <opc:EnumeratedValue Name="LastUsableValue" Value="1" />\r\n    <opc:EnumeratedValue Name="OverrideValue" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="SubscribedDataSetMirrorDataType" BaseType="tns:SubscribedDataSetDataType">\r\n    <opc:Field Name="ParentNodeName" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PubSubConfigurationDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfPublishedDataSets" TypeName="opc:Int32" />\r\n    <opc:Field Name="PublishedDataSets" TypeName="tns:PublishedDataSetDataType" LengthField="NoOfPublishedDataSets" />\r\n    <opc:Field Name="NoOfConnections" TypeName="opc:Int32" />\r\n    <opc:Field Name="Connections" TypeName="tns:PubSubConnectionDataType" LengthField="NoOfConnections" />\r\n    <opc:Field Name="Enabled" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="DataSetOrderingType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Undefined" Value="0" />\r\n    <opc:EnumeratedValue Name="AscendingWriterId" Value="1" />\r\n    <opc:EnumeratedValue Name="AscendingWriterIdSingle" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="UadpNetworkMessageContentMask" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="PublisherId" Value="1" />\r\n    <opc:EnumeratedValue Name="GroupHeader" Value="2" />\r\n    <opc:EnumeratedValue Name="WriterGroupId" Value="4" />\r\n    <opc:EnumeratedValue Name="GroupVersion" Value="8" />\r\n    <opc:EnumeratedValue Name="NetworkMessageNumber" Value="16" />\r\n    <opc:EnumeratedValue Name="SequenceNumber" Value="32" />\r\n    <opc:EnumeratedValue Name="PayloadHeader" Value="64" />\r\n    <opc:EnumeratedValue Name="Timestamp" Value="128" />\r\n    <opc:EnumeratedValue Name="PicoSeconds" Value="256" />\r\n    <opc:EnumeratedValue Name="DataSetClassId" Value="512" />\r\n    <opc:EnumeratedValue Name="PromotedFields" Value="1024" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="UadpWriterGroupMessageDataType" BaseType="tns:WriterGroupMessageDataType">\r\n    <opc:Field Name="GroupVersion" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DataSetOrdering" TypeName="tns:DataSetOrderingType" />\r\n    <opc:Field Name="NetworkMessageContentMask" TypeName="tns:UadpNetworkMessageContentMask" />\r\n    <opc:Field Name="SamplingOffset" TypeName="opc:Double" />\r\n    <opc:Field Name="NoOfPublishingOffset" TypeName="opc:Int32" />\r\n    <opc:Field Name="PublishingOffset" TypeName="opc:Double" LengthField="NoOfPublishingOffset" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="UadpDataSetMessageContentMask" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="Timestamp" Value="1" />\r\n    <opc:EnumeratedValue Name="PicoSeconds" Value="2" />\r\n    <opc:EnumeratedValue Name="Status" Value="4" />\r\n    <opc:EnumeratedValue Name="MajorVersion" Value="8" />\r\n    <opc:EnumeratedValue Name="MinorVersion" Value="16" />\r\n    <opc:EnumeratedValue Name="SequenceNumber" Value="32" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="UadpDataSetWriterMessageDataType" BaseType="tns:DataSetWriterMessageDataType">\r\n    <opc:Field Name="DataSetMessageContentMask" TypeName="tns:UadpDataSetMessageContentMask" />\r\n    <opc:Field Name="ConfiguredSize" TypeName="opc:UInt16" />\r\n    <opc:Field Name="NetworkMessageNumber" TypeName="opc:UInt16" />\r\n    <opc:Field Name="DataSetOffset" TypeName="opc:UInt16" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UadpDataSetReaderMessageDataType" BaseType="tns:DataSetReaderMessageDataType">\r\n    <opc:Field Name="GroupVersion" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NetworkMessageNumber" TypeName="opc:UInt16" />\r\n    <opc:Field Name="DataSetOffset" TypeName="opc:UInt16" />\r\n    <opc:Field Name="DataSetClassId" TypeName="opc:Guid" />\r\n    <opc:Field Name="NetworkMessageContentMask" TypeName="tns:UadpNetworkMessageContentMask" />\r\n    <opc:Field Name="DataSetMessageContentMask" TypeName="tns:UadpDataSetMessageContentMask" />\r\n    <opc:Field Name="PublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="ReceiveOffset" TypeName="opc:Double" />\r\n    <opc:Field Name="ProcessingOffset" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="JsonNetworkMessageContentMask" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="NetworkMessageHeader" Value="1" />\r\n    <opc:EnumeratedValue Name="DataSetMessageHeader" Value="2" />\r\n    <opc:EnumeratedValue Name="SingleDataSetMessage" Value="4" />\r\n    <opc:EnumeratedValue Name="PublisherId" Value="8" />\r\n    <opc:EnumeratedValue Name="DataSetClassId" Value="16" />\r\n    <opc:EnumeratedValue Name="ReplyTo" Value="32" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="JsonWriterGroupMessageDataType" BaseType="tns:WriterGroupMessageDataType">\r\n    <opc:Field Name="NetworkMessageContentMask" TypeName="tns:JsonNetworkMessageContentMask" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="JsonDataSetMessageContentMask" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="DataSetWriterId" Value="1" />\r\n    <opc:EnumeratedValue Name="MetaDataVersion" Value="2" />\r\n    <opc:EnumeratedValue Name="SequenceNumber" Value="4" />\r\n    <opc:EnumeratedValue Name="Timestamp" Value="8" />\r\n    <opc:EnumeratedValue Name="Status" Value="16" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="JsonDataSetWriterMessageDataType" BaseType="tns:DataSetWriterMessageDataType">\r\n    <opc:Field Name="DataSetMessageContentMask" TypeName="tns:JsonDataSetMessageContentMask" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="JsonDataSetReaderMessageDataType" BaseType="tns:DataSetReaderMessageDataType">\r\n    <opc:Field Name="NetworkMessageContentMask" TypeName="tns:JsonNetworkMessageContentMask" />\r\n    <opc:Field Name="DataSetMessageContentMask" TypeName="tns:JsonDataSetMessageContentMask" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DatagramConnectionTransportDataType" BaseType="tns:ConnectionTransportDataType">\r\n    <opc:Field Name="DiscoveryAddress" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DatagramWriterGroupTransportDataType" BaseType="tns:WriterGroupTransportDataType">\r\n    <opc:Field Name="MessageRepeatCount" TypeName="opc:Byte" />\r\n    <opc:Field Name="MessageRepeatDelay" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrokerConnectionTransportDataType" BaseType="tns:ConnectionTransportDataType">\r\n    <opc:Field Name="ResourceUri" TypeName="opc:String" />\r\n    <opc:Field Name="AuthenticationProfileUri" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="BrokerTransportQualityOfService" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="NotSpecified" Value="0" />\r\n    <opc:EnumeratedValue Name="BestEffort" Value="1" />\r\n    <opc:EnumeratedValue Name="AtLeastOnce" Value="2" />\r\n    <opc:EnumeratedValue Name="AtMostOnce" Value="3" />\r\n    <opc:EnumeratedValue Name="ExactlyOnce" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="BrokerWriterGroupTransportDataType" BaseType="tns:WriterGroupTransportDataType">\r\n    <opc:Field Name="QueueName" TypeName="opc:String" />\r\n    <opc:Field Name="ResourceUri" TypeName="opc:String" />\r\n    <opc:Field Name="AuthenticationProfileUri" TypeName="opc:String" />\r\n    <opc:Field Name="RequestedDeliveryGuarantee" TypeName="tns:BrokerTransportQualityOfService" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrokerDataSetWriterTransportDataType" BaseType="tns:DataSetWriterTransportDataType">\r\n    <opc:Field Name="QueueName" TypeName="opc:String" />\r\n    <opc:Field Name="ResourceUri" TypeName="opc:String" />\r\n    <opc:Field Name="AuthenticationProfileUri" TypeName="opc:String" />\r\n    <opc:Field Name="RequestedDeliveryGuarantee" TypeName="tns:BrokerTransportQualityOfService" />\r\n    <opc:Field Name="MetaDataQueueName" TypeName="opc:String" />\r\n    <opc:Field Name="MetaDataUpdateTime" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrokerDataSetReaderTransportDataType" BaseType="tns:DataSetReaderTransportDataType">\r\n    <opc:Field Name="QueueName" TypeName="opc:String" />\r\n    <opc:Field Name="ResourceUri" TypeName="opc:String" />\r\n    <opc:Field Name="AuthenticationProfileUri" TypeName="opc:String" />\r\n    <opc:Field Name="RequestedDeliveryGuarantee" TypeName="tns:BrokerTransportQualityOfService" />\r\n    <opc:Field Name="MetaDataQueueName" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="DiagnosticsLevel" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Basic" Value="0" />\r\n    <opc:EnumeratedValue Name="Advanced" Value="1" />\r\n    <opc:EnumeratedValue Name="Info" Value="2" />\r\n    <opc:EnumeratedValue Name="Log" Value="3" />\r\n    <opc:EnumeratedValue Name="Debug" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="PubSubDiagnosticsCounterClassification" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Information" Value="0" />\r\n    <opc:EnumeratedValue Name="Error" Value="1" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="AliasNameDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="AliasName" TypeName="ua:QualifiedName" />\r\n    <opc:Field Name="NoOfReferencedNodes" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReferencedNodes" TypeName="ua:ExpandedNodeId" LengthField="NoOfReferencedNodes" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="IdType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Numeric" Value="0" />\r\n    <opc:EnumeratedValue Name="String" Value="1" />\r\n    <opc:EnumeratedValue Name="Guid" Value="2" />\r\n    <opc:EnumeratedValue Name="Opaque" Value="3" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="NodeClass" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Unspecified" Value="0" />\r\n    <opc:EnumeratedValue Name="Object" Value="1" />\r\n    <opc:EnumeratedValue Name="Variable" Value="2" />\r\n    <opc:EnumeratedValue Name="Method" Value="4" />\r\n    <opc:EnumeratedValue Name="ObjectType" Value="8" />\r\n    <opc:EnumeratedValue Name="VariableType" Value="16" />\r\n    <opc:EnumeratedValue Name="ReferenceType" Value="32" />\r\n    <opc:EnumeratedValue Name="DataType" Value="64" />\r\n    <opc:EnumeratedValue Name="View" Value="128" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="PermissionType" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="Browse" Value="1" />\r\n    <opc:EnumeratedValue Name="ReadRolePermissions" Value="2" />\r\n    <opc:EnumeratedValue Name="WriteAttribute" Value="4" />\r\n    <opc:EnumeratedValue Name="WriteRolePermissions" Value="8" />\r\n    <opc:EnumeratedValue Name="WriteHistorizing" Value="16" />\r\n    <opc:EnumeratedValue Name="Read" Value="32" />\r\n    <opc:EnumeratedValue Name="Write" Value="64" />\r\n    <opc:EnumeratedValue Name="ReadHistory" Value="128" />\r\n    <opc:EnumeratedValue Name="InsertHistory" Value="256" />\r\n    <opc:EnumeratedValue Name="ModifyHistory" Value="512" />\r\n    <opc:EnumeratedValue Name="DeleteHistory" Value="1024" />\r\n    <opc:EnumeratedValue Name="ReceiveEvents" Value="2048" />\r\n    <opc:EnumeratedValue Name="Call" Value="4096" />\r\n    <opc:EnumeratedValue Name="AddReference" Value="8192" />\r\n    <opc:EnumeratedValue Name="RemoveReference" Value="16384" />\r\n    <opc:EnumeratedValue Name="DeleteNode" Value="32768" />\r\n    <opc:EnumeratedValue Name="AddNode" Value="65536" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="AccessLevelType" LengthInBits="8" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="CurrentRead" Value="1" />\r\n    <opc:EnumeratedValue Name="CurrentWrite" Value="2" />\r\n    <opc:EnumeratedValue Name="HistoryRead" Value="4" />\r\n    <opc:EnumeratedValue Name="HistoryWrite" Value="8" />\r\n    <opc:EnumeratedValue Name="SemanticChange" Value="16" />\r\n    <opc:EnumeratedValue Name="StatusWrite" Value="32" />\r\n    <opc:EnumeratedValue Name="TimestampWrite" Value="64" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="AccessLevelExType" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="CurrentRead" Value="1" />\r\n    <opc:EnumeratedValue Name="CurrentWrite" Value="2" />\r\n    <opc:EnumeratedValue Name="HistoryRead" Value="4" />\r\n    <opc:EnumeratedValue Name="HistoryWrite" Value="8" />\r\n    <opc:EnumeratedValue Name="SemanticChange" Value="16" />\r\n    <opc:EnumeratedValue Name="StatusWrite" Value="32" />\r\n    <opc:EnumeratedValue Name="TimestampWrite" Value="64" />\r\n    <opc:EnumeratedValue Name="NonatomicRead" Value="256" />\r\n    <opc:EnumeratedValue Name="NonatomicWrite" Value="512" />\r\n    <opc:EnumeratedValue Name="WriteFullArrayOnly" Value="1024" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="EventNotifierType" LengthInBits="8" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="SubscribeToEvents" Value="1" />\r\n    <opc:EnumeratedValue Name="HistoryRead" Value="4" />\r\n    <opc:EnumeratedValue Name="HistoryWrite" Value="8" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="AccessRestrictionType" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="SigningRequired" Value="1" />\r\n    <opc:EnumeratedValue Name="EncryptionRequired" Value="2" />\r\n    <opc:EnumeratedValue Name="SessionRequired" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="RolePermissionType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RoleId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="Permissions" TypeName="tns:PermissionType" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="StructureType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Structure" Value="0" />\r\n    <opc:EnumeratedValue Name="StructureWithOptionalFields" Value="1" />\r\n    <opc:EnumeratedValue Name="Union" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="StructureField" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="MaxStringLength" TypeName="opc:UInt32" />\r\n    <opc:Field Name="IsOptional" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="StructureDefinition" BaseType="tns:DataTypeDefinition">\r\n    <opc:Field Name="DefaultEncodingId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="BaseDataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="StructureType" TypeName="tns:StructureType" />\r\n    <opc:Field Name="NoOfFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="Fields" TypeName="tns:StructureField" LengthField="NoOfFields" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EnumDefinition" BaseType="tns:DataTypeDefinition">\r\n    <opc:Field Name="NoOfFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="Fields" TypeName="tns:EnumField" LengthField="NoOfFields" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Node" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="InstanceNode" BaseType="tns:Node">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TypeNode" BaseType="tns:Node">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ObjectNode" BaseType="tns:InstanceNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="EventNotifier" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ObjectTypeNode" BaseType="tns:TypeNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="VariableNode" BaseType="tns:InstanceNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="AccessLevel" TypeName="opc:Byte" />\r\n    <opc:Field Name="UserAccessLevel" TypeName="opc:Byte" />\r\n    <opc:Field Name="MinimumSamplingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="Historizing" TypeName="opc:Boolean" />\r\n    <opc:Field Name="AccessLevelEx" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="VariableTypeNode" BaseType="tns:TypeNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReferenceTypeNode" BaseType="tns:TypeNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n    <opc:Field Name="Symmetric" TypeName="opc:Boolean" />\r\n    <opc:Field Name="InverseName" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MethodNode" BaseType="tns:InstanceNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="Executable" TypeName="opc:Boolean" />\r\n    <opc:Field Name="UserExecutable" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ViewNode" BaseType="tns:InstanceNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="ContainsNoLoops" TypeName="opc:Boolean" />\r\n    <opc:Field Name="EventNotifier" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataTypeNode" BaseType="tns:TypeNode">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:Node" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" SourceType="tns:Node" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" SourceType="tns:Node" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:Node" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="RolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfRolePermissions" />\r\n    <opc:Field Name="NoOfUserRolePermissions" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserRolePermissions" TypeName="tns:RolePermissionType" LengthField="NoOfUserRolePermissions" />\r\n    <opc:Field Name="AccessRestrictions" TypeName="opc:UInt16" SourceType="tns:Node" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceNode" LengthField="NoOfReferences" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n    <opc:Field Name="DataTypeDefinition" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReferenceNode" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IsInverse" TypeName="opc:Boolean" />\r\n    <opc:Field Name="TargetId" TypeName="ua:ExpandedNodeId" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Argument" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EnumValueType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Value" TypeName="opc:Int64" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EnumField" BaseType="tns:EnumValueType">\r\n    <opc:Field Name="Value" TypeName="opc:Int64" SourceType="tns:EnumValueType" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:EnumValueType" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:EnumValueType" />\r\n    <opc:Field Name="Name" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="OptionSet" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Value" TypeName="opc:ByteString" />\r\n    <opc:Field Name="ValidBits" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Union" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="NormalizedString">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="DecimalString">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="DurationString">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="TimeString">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="DateString">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="Duration">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="UtcTime">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="LocaleId">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="TimeZoneDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Offset" TypeName="opc:Int16" />\r\n    <opc:Field Name="DaylightSavingInOffset" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="Index">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="IntegerId">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:EnumeratedType Name="ApplicationType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Server" Value="0" />\r\n    <opc:EnumeratedValue Name="Client" Value="1" />\r\n    <opc:EnumeratedValue Name="ClientAndServer" Value="2" />\r\n    <opc:EnumeratedValue Name="DiscoveryServer" Value="3" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ApplicationDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ApplicationUri" TypeName="opc:String" />\r\n    <opc:Field Name="ProductUri" TypeName="opc:String" />\r\n    <opc:Field Name="ApplicationName" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="ApplicationType" TypeName="tns:ApplicationType" />\r\n    <opc:Field Name="GatewayServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="DiscoveryProfileUri" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfDiscoveryUrls" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiscoveryUrls" TypeName="opc:String" LengthField="NoOfDiscoveryUrls" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RequestHeader" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="AuthenticationToken" TypeName="ua:NodeId" />\r\n    <opc:Field Name="Timestamp" TypeName="opc:DateTime" />\r\n    <opc:Field Name="RequestHandle" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ReturnDiagnostics" TypeName="opc:UInt32" />\r\n    <opc:Field Name="AuditEntryId" TypeName="opc:String" />\r\n    <opc:Field Name="TimeoutHint" TypeName="opc:UInt32" />\r\n    <opc:Field Name="AdditionalHeader" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ResponseHeader" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Timestamp" TypeName="opc:DateTime" />\r\n    <opc:Field Name="RequestHandle" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ServiceResult" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="ServiceDiagnostics" TypeName="ua:DiagnosticInfo" />\r\n    <opc:Field Name="NoOfStringTable" TypeName="opc:Int32" />\r\n    <opc:Field Name="StringTable" TypeName="opc:String" LengthField="NoOfStringTable" />\r\n    <opc:Field Name="AdditionalHeader" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="VersionTime">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="ServiceFault" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SessionlessInvokeRequestType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfUrisVersion" TypeName="opc:Int32" />\r\n    <opc:Field Name="UrisVersion" TypeName="opc:UInt32" LengthField="NoOfUrisVersion" />\r\n    <opc:Field Name="NoOfNamespaceUris" TypeName="opc:Int32" />\r\n    <opc:Field Name="NamespaceUris" TypeName="opc:String" LengthField="NoOfNamespaceUris" />\r\n    <opc:Field Name="NoOfServerUris" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerUris" TypeName="opc:String" LengthField="NoOfServerUris" />\r\n    <opc:Field Name="NoOfLocaleIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="LocaleIds" TypeName="opc:String" LengthField="NoOfLocaleIds" />\r\n    <opc:Field Name="ServiceId" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SessionlessInvokeResponseType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfNamespaceUris" TypeName="opc:Int32" />\r\n    <opc:Field Name="NamespaceUris" TypeName="opc:String" LengthField="NoOfNamespaceUris" />\r\n    <opc:Field Name="NoOfServerUris" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerUris" TypeName="opc:String" LengthField="NoOfServerUris" />\r\n    <opc:Field Name="ServiceId" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FindServersRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="EndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfLocaleIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="LocaleIds" TypeName="opc:String" LengthField="NoOfLocaleIds" />\r\n    <opc:Field Name="NoOfServerUris" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerUris" TypeName="opc:String" LengthField="NoOfServerUris" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FindServersResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfServers" TypeName="opc:Int32" />\r\n    <opc:Field Name="Servers" TypeName="tns:ApplicationDescription" LengthField="NoOfServers" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ServerOnNetwork" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RecordId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ServerName" TypeName="opc:String" />\r\n    <opc:Field Name="DiscoveryUrl" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfServerCapabilities" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerCapabilities" TypeName="opc:String" LengthField="NoOfServerCapabilities" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FindServersOnNetworkRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="StartingRecordId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxRecordsToReturn" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfServerCapabilityFilter" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerCapabilityFilter" TypeName="opc:String" LengthField="NoOfServerCapabilityFilter" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FindServersOnNetworkResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="LastCounterResetTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="NoOfServers" TypeName="opc:Int32" />\r\n    <opc:Field Name="Servers" TypeName="tns:ServerOnNetwork" LengthField="NoOfServers" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="ApplicationInstanceCertificate">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:EnumeratedType Name="MessageSecurityMode" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Invalid" Value="0" />\r\n    <opc:EnumeratedValue Name="None" Value="1" />\r\n    <opc:EnumeratedValue Name="Sign" Value="2" />\r\n    <opc:EnumeratedValue Name="SignAndEncrypt" Value="3" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="UserTokenType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Anonymous" Value="0" />\r\n    <opc:EnumeratedValue Name="UserName" Value="1" />\r\n    <opc:EnumeratedValue Name="Certificate" Value="2" />\r\n    <opc:EnumeratedValue Name="IssuedToken" Value="3" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="UserTokenPolicy" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="PolicyId" TypeName="opc:String" />\r\n    <opc:Field Name="TokenType" TypeName="tns:UserTokenType" />\r\n    <opc:Field Name="IssuedTokenType" TypeName="opc:String" />\r\n    <opc:Field Name="IssuerEndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="SecurityPolicyUri" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EndpointDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="EndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="Server" TypeName="tns:ApplicationDescription" />\r\n    <opc:Field Name="ServerCertificate" TypeName="opc:ByteString" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" />\r\n    <opc:Field Name="SecurityPolicyUri" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfUserIdentityTokens" TypeName="opc:Int32" />\r\n    <opc:Field Name="UserIdentityTokens" TypeName="tns:UserTokenPolicy" LengthField="NoOfUserIdentityTokens" />\r\n    <opc:Field Name="TransportProfileUri" TypeName="opc:String" />\r\n    <opc:Field Name="SecurityLevel" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="GetEndpointsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="EndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfLocaleIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="LocaleIds" TypeName="opc:String" LengthField="NoOfLocaleIds" />\r\n    <opc:Field Name="NoOfProfileUris" TypeName="opc:Int32" />\r\n    <opc:Field Name="ProfileUris" TypeName="opc:String" LengthField="NoOfProfileUris" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="GetEndpointsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfEndpoints" TypeName="opc:Int32" />\r\n    <opc:Field Name="Endpoints" TypeName="tns:EndpointDescription" LengthField="NoOfEndpoints" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisteredServer" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="ProductUri" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfServerNames" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerNames" TypeName="ua:LocalizedText" LengthField="NoOfServerNames" />\r\n    <opc:Field Name="ServerType" TypeName="tns:ApplicationType" />\r\n    <opc:Field Name="GatewayServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfDiscoveryUrls" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiscoveryUrls" TypeName="opc:String" LengthField="NoOfDiscoveryUrls" />\r\n    <opc:Field Name="SemaphoreFilePath" TypeName="opc:String" />\r\n    <opc:Field Name="IsOnline" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisterServerRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="Server" TypeName="tns:RegisteredServer" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisterServerResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DiscoveryConfiguration" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MdnsDiscoveryConfiguration" BaseType="tns:DiscoveryConfiguration">\r\n    <opc:Field Name="MdnsServerName" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfServerCapabilities" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerCapabilities" TypeName="opc:String" LengthField="NoOfServerCapabilities" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisterServer2Request" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="Server" TypeName="tns:RegisteredServer" />\r\n    <opc:Field Name="NoOfDiscoveryConfiguration" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiscoveryConfiguration" TypeName="ua:ExtensionObject" LengthField="NoOfDiscoveryConfiguration" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisterServer2Response" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfConfigurationResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="ConfigurationResults" TypeName="ua:StatusCode" LengthField="NoOfConfigurationResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="SecurityTokenRequestType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Issue" Value="0" />\r\n    <opc:EnumeratedValue Name="Renew" Value="1" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ChannelSecurityToken" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ChannelId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TokenId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CreatedAt" TypeName="opc:DateTime" />\r\n    <opc:Field Name="RevisedLifetime" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="OpenSecureChannelRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="ClientProtocolVersion" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RequestType" TypeName="tns:SecurityTokenRequestType" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" />\r\n    <opc:Field Name="ClientNonce" TypeName="opc:ByteString" />\r\n    <opc:Field Name="RequestedLifetime" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="OpenSecureChannelResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="ServerProtocolVersion" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SecurityToken" TypeName="tns:ChannelSecurityToken" />\r\n    <opc:Field Name="ServerNonce" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CloseSecureChannelRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CloseSecureChannelResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SignedSoftwareCertificate" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="CertificateData" TypeName="opc:ByteString" />\r\n    <opc:Field Name="Signature" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="SessionAuthenticationToken">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="SignatureData" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Algorithm" TypeName="opc:String" />\r\n    <opc:Field Name="Signature" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CreateSessionRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="ClientDescription" TypeName="tns:ApplicationDescription" />\r\n    <opc:Field Name="ServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="EndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="SessionName" TypeName="opc:String" />\r\n    <opc:Field Name="ClientNonce" TypeName="opc:ByteString" />\r\n    <opc:Field Name="ClientCertificate" TypeName="opc:ByteString" />\r\n    <opc:Field Name="RequestedSessionTimeout" TypeName="opc:Double" />\r\n    <opc:Field Name="MaxResponseMessageSize" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CreateSessionResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="SessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AuthenticationToken" TypeName="ua:NodeId" />\r\n    <opc:Field Name="RevisedSessionTimeout" TypeName="opc:Double" />\r\n    <opc:Field Name="ServerNonce" TypeName="opc:ByteString" />\r\n    <opc:Field Name="ServerCertificate" TypeName="opc:ByteString" />\r\n    <opc:Field Name="NoOfServerEndpoints" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerEndpoints" TypeName="tns:EndpointDescription" LengthField="NoOfServerEndpoints" />\r\n    <opc:Field Name="NoOfServerSoftwareCertificates" TypeName="opc:Int32" />\r\n    <opc:Field Name="ServerSoftwareCertificates" TypeName="tns:SignedSoftwareCertificate" LengthField="NoOfServerSoftwareCertificates" />\r\n    <opc:Field Name="ServerSignature" TypeName="tns:SignatureData" />\r\n    <opc:Field Name="MaxRequestMessageSize" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UserIdentityToken" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="PolicyId" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AnonymousIdentityToken" BaseType="tns:UserIdentityToken">\r\n    <opc:Field Name="PolicyId" TypeName="opc:String" SourceType="tns:UserIdentityToken" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UserNameIdentityToken" BaseType="tns:UserIdentityToken">\r\n    <opc:Field Name="PolicyId" TypeName="opc:String" SourceType="tns:UserIdentityToken" />\r\n    <opc:Field Name="UserName" TypeName="opc:String" />\r\n    <opc:Field Name="Password" TypeName="opc:ByteString" />\r\n    <opc:Field Name="EncryptionAlgorithm" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="X509IdentityToken" BaseType="tns:UserIdentityToken">\r\n    <opc:Field Name="PolicyId" TypeName="opc:String" SourceType="tns:UserIdentityToken" />\r\n    <opc:Field Name="CertificateData" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="IssuedIdentityToken" BaseType="tns:UserIdentityToken">\r\n    <opc:Field Name="PolicyId" TypeName="opc:String" SourceType="tns:UserIdentityToken" />\r\n    <opc:Field Name="TokenData" TypeName="opc:ByteString" />\r\n    <opc:Field Name="EncryptionAlgorithm" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="RsaEncryptedSecret">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="ActivateSessionRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="ClientSignature" TypeName="tns:SignatureData" />\r\n    <opc:Field Name="NoOfClientSoftwareCertificates" TypeName="opc:Int32" />\r\n    <opc:Field Name="ClientSoftwareCertificates" TypeName="tns:SignedSoftwareCertificate" LengthField="NoOfClientSoftwareCertificates" />\r\n    <opc:Field Name="NoOfLocaleIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="LocaleIds" TypeName="opc:String" LengthField="NoOfLocaleIds" />\r\n    <opc:Field Name="UserIdentityToken" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="UserTokenSignature" TypeName="tns:SignatureData" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ActivateSessionResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="ServerNonce" TypeName="opc:ByteString" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CloseSessionRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="DeleteSubscriptions" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CloseSessionResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CancelRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="RequestHandle" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CancelResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="CancelCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="NodeAttributesMask" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="AccessLevel" Value="1" />\r\n    <opc:EnumeratedValue Name="ArrayDimensions" Value="2" />\r\n    <opc:EnumeratedValue Name="BrowseName" Value="4" />\r\n    <opc:EnumeratedValue Name="ContainsNoLoops" Value="8" />\r\n    <opc:EnumeratedValue Name="DataType" Value="16" />\r\n    <opc:EnumeratedValue Name="Description" Value="32" />\r\n    <opc:EnumeratedValue Name="DisplayName" Value="64" />\r\n    <opc:EnumeratedValue Name="EventNotifier" Value="128" />\r\n    <opc:EnumeratedValue Name="Executable" Value="256" />\r\n    <opc:EnumeratedValue Name="Historizing" Value="512" />\r\n    <opc:EnumeratedValue Name="InverseName" Value="1024" />\r\n    <opc:EnumeratedValue Name="IsAbstract" Value="2048" />\r\n    <opc:EnumeratedValue Name="MinimumSamplingInterval" Value="4096" />\r\n    <opc:EnumeratedValue Name="NodeClass" Value="8192" />\r\n    <opc:EnumeratedValue Name="NodeId" Value="16384" />\r\n    <opc:EnumeratedValue Name="Symmetric" Value="32768" />\r\n    <opc:EnumeratedValue Name="UserAccessLevel" Value="65536" />\r\n    <opc:EnumeratedValue Name="UserExecutable" Value="131072" />\r\n    <opc:EnumeratedValue Name="UserWriteMask" Value="262144" />\r\n    <opc:EnumeratedValue Name="ValueRank" Value="524288" />\r\n    <opc:EnumeratedValue Name="WriteMask" Value="1048576" />\r\n    <opc:EnumeratedValue Name="Value" Value="2097152" />\r\n    <opc:EnumeratedValue Name="DataTypeDefinition" Value="4194304" />\r\n    <opc:EnumeratedValue Name="RolePermissions" Value="8388608" />\r\n    <opc:EnumeratedValue Name="AccessRestrictions" Value="16777216" />\r\n    <opc:EnumeratedValue Name="All" Value="33554431" />\r\n    <opc:EnumeratedValue Name="BaseNode" Value="26501220" />\r\n    <opc:EnumeratedValue Name="Object" Value="26501348" />\r\n    <opc:EnumeratedValue Name="ObjectType" Value="26503268" />\r\n    <opc:EnumeratedValue Name="Variable" Value="26571383" />\r\n    <opc:EnumeratedValue Name="VariableType" Value="28600438" />\r\n    <opc:EnumeratedValue Name="Method" Value="26632548" />\r\n    <opc:EnumeratedValue Name="ReferenceType" Value="26537060" />\r\n    <opc:EnumeratedValue Name="View" Value="26501356" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="NodeAttributes" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ObjectAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="EventNotifier" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="VariableAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="AccessLevel" TypeName="opc:Byte" />\r\n    <opc:Field Name="UserAccessLevel" TypeName="opc:Byte" />\r\n    <opc:Field Name="MinimumSamplingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="Historizing" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MethodAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Executable" TypeName="opc:Boolean" />\r\n    <opc:Field Name="UserExecutable" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ObjectTypeAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="VariableTypeAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n    <opc:Field Name="DataType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ValueRank" TypeName="opc:Int32" />\r\n    <opc:Field Name="NoOfArrayDimensions" TypeName="opc:Int32" />\r\n    <opc:Field Name="ArrayDimensions" TypeName="opc:UInt32" LengthField="NoOfArrayDimensions" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReferenceTypeAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n    <opc:Field Name="Symmetric" TypeName="opc:Boolean" />\r\n    <opc:Field Name="InverseName" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataTypeAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="IsAbstract" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ViewAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="ContainsNoLoops" TypeName="opc:Boolean" />\r\n    <opc:Field Name="EventNotifier" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="GenericAttributeValue" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="GenericAttributes" BaseType="tns:NodeAttributes">\r\n    <opc:Field Name="SpecifiedAttributes" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="WriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="UserWriteMask" TypeName="opc:UInt32" SourceType="tns:NodeAttributes" />\r\n    <opc:Field Name="NoOfAttributeValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="AttributeValues" TypeName="tns:GenericAttributeValue" LengthField="NoOfAttributeValues" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddNodesItem" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ParentNodeId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="RequestedNewNodeId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" />\r\n    <opc:Field Name="NodeAttributes" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="TypeDefinition" TypeName="ua:ExpandedNodeId" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddNodesResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="AddedNodeId" TypeName="ua:NodeId" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddNodesRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfNodesToAdd" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToAdd" TypeName="tns:AddNodesItem" LengthField="NoOfNodesToAdd" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddNodesResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:AddNodesResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddReferencesItem" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SourceNodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IsForward" TypeName="opc:Boolean" />\r\n    <opc:Field Name="TargetServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="TargetNodeId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="TargetNodeClass" TypeName="tns:NodeClass" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddReferencesRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfReferencesToAdd" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReferencesToAdd" TypeName="tns:AddReferencesItem" LengthField="NoOfReferencesToAdd" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AddReferencesResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteNodesItem" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="DeleteTargetReferences" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteNodesRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfNodesToDelete" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToDelete" TypeName="tns:DeleteNodesItem" LengthField="NoOfNodesToDelete" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteNodesResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteReferencesItem" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SourceNodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IsForward" TypeName="opc:Boolean" />\r\n    <opc:Field Name="TargetNodeId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="DeleteBidirectional" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteReferencesRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfReferencesToDelete" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReferencesToDelete" TypeName="tns:DeleteReferencesItem" LengthField="NoOfReferencesToDelete" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteReferencesResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="AttributeWriteMask" LengthInBits="32" IsOptionSet="true">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="AccessLevel" Value="1" />\r\n    <opc:EnumeratedValue Name="ArrayDimensions" Value="2" />\r\n    <opc:EnumeratedValue Name="BrowseName" Value="4" />\r\n    <opc:EnumeratedValue Name="ContainsNoLoops" Value="8" />\r\n    <opc:EnumeratedValue Name="DataType" Value="16" />\r\n    <opc:EnumeratedValue Name="Description" Value="32" />\r\n    <opc:EnumeratedValue Name="DisplayName" Value="64" />\r\n    <opc:EnumeratedValue Name="EventNotifier" Value="128" />\r\n    <opc:EnumeratedValue Name="Executable" Value="256" />\r\n    <opc:EnumeratedValue Name="Historizing" Value="512" />\r\n    <opc:EnumeratedValue Name="InverseName" Value="1024" />\r\n    <opc:EnumeratedValue Name="IsAbstract" Value="2048" />\r\n    <opc:EnumeratedValue Name="MinimumSamplingInterval" Value="4096" />\r\n    <opc:EnumeratedValue Name="NodeClass" Value="8192" />\r\n    <opc:EnumeratedValue Name="NodeId" Value="16384" />\r\n    <opc:EnumeratedValue Name="Symmetric" Value="32768" />\r\n    <opc:EnumeratedValue Name="UserAccessLevel" Value="65536" />\r\n    <opc:EnumeratedValue Name="UserExecutable" Value="131072" />\r\n    <opc:EnumeratedValue Name="UserWriteMask" Value="262144" />\r\n    <opc:EnumeratedValue Name="ValueRank" Value="524288" />\r\n    <opc:EnumeratedValue Name="WriteMask" Value="1048576" />\r\n    <opc:EnumeratedValue Name="ValueForVariableType" Value="2097152" />\r\n    <opc:EnumeratedValue Name="DataTypeDefinition" Value="4194304" />\r\n    <opc:EnumeratedValue Name="RolePermissions" Value="8388608" />\r\n    <opc:EnumeratedValue Name="AccessRestrictions" Value="16777216" />\r\n    <opc:EnumeratedValue Name="AccessLevelEx" Value="33554432" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="BrowseDirection" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Forward" Value="0" />\r\n    <opc:EnumeratedValue Name="Inverse" Value="1" />\r\n    <opc:EnumeratedValue Name="Both" Value="2" />\r\n    <opc:EnumeratedValue Name="Invalid" Value="3" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ViewDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ViewId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="Timestamp" TypeName="opc:DateTime" />\r\n    <opc:Field Name="ViewVersion" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowseDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="BrowseDirection" TypeName="tns:BrowseDirection" />\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IncludeSubtypes" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NodeClassMask" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ResultMask" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="BrowseResultMask" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="ReferenceTypeId" Value="1" />\r\n    <opc:EnumeratedValue Name="IsForward" Value="2" />\r\n    <opc:EnumeratedValue Name="NodeClass" Value="4" />\r\n    <opc:EnumeratedValue Name="BrowseName" Value="8" />\r\n    <opc:EnumeratedValue Name="DisplayName" Value="16" />\r\n    <opc:EnumeratedValue Name="TypeDefinition" Value="32" />\r\n    <opc:EnumeratedValue Name="All" Value="63" />\r\n    <opc:EnumeratedValue Name="ReferenceTypeInfo" Value="3" />\r\n    <opc:EnumeratedValue Name="TargetInfo" Value="60" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ReferenceDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IsForward" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NodeId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="BrowseName" TypeName="ua:QualifiedName" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="NodeClass" TypeName="tns:NodeClass" />\r\n    <opc:Field Name="TypeDefinition" TypeName="ua:ExpandedNodeId" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="ContinuationPoint">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="BrowseResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="ContinuationPoint" TypeName="opc:ByteString" />\r\n    <opc:Field Name="NoOfReferences" TypeName="opc:Int32" />\r\n    <opc:Field Name="References" TypeName="tns:ReferenceDescription" LengthField="NoOfReferences" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowseRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="View" TypeName="tns:ViewDescription" />\r\n    <opc:Field Name="RequestedMaxReferencesPerNode" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfNodesToBrowse" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToBrowse" TypeName="tns:BrowseDescription" LengthField="NoOfNodesToBrowse" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowseResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:BrowseResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowseNextRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="ReleaseContinuationPoints" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NoOfContinuationPoints" TypeName="opc:Int32" />\r\n    <opc:Field Name="ContinuationPoints" TypeName="opc:ByteString" LengthField="NoOfContinuationPoints" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowseNextResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:BrowseResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RelativePathElement" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IsInverse" TypeName="opc:Boolean" />\r\n    <opc:Field Name="IncludeSubtypes" TypeName="opc:Boolean" />\r\n    <opc:Field Name="TargetName" TypeName="ua:QualifiedName" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RelativePath" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfElements" TypeName="opc:Int32" />\r\n    <opc:Field Name="Elements" TypeName="tns:RelativePathElement" LengthField="NoOfElements" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowsePath" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StartingNode" TypeName="ua:NodeId" />\r\n    <opc:Field Name="RelativePath" TypeName="tns:RelativePath" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowsePathTarget" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="TargetId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="RemainingPathIndex" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BrowsePathResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="NoOfTargets" TypeName="opc:Int32" />\r\n    <opc:Field Name="Targets" TypeName="tns:BrowsePathTarget" LengthField="NoOfTargets" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TranslateBrowsePathsToNodeIdsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfBrowsePaths" TypeName="opc:Int32" />\r\n    <opc:Field Name="BrowsePaths" TypeName="tns:BrowsePath" LengthField="NoOfBrowsePaths" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TranslateBrowsePathsToNodeIdsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:BrowsePathResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisterNodesRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfNodesToRegister" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToRegister" TypeName="ua:NodeId" LengthField="NoOfNodesToRegister" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RegisterNodesResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfRegisteredNodeIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="RegisteredNodeIds" TypeName="ua:NodeId" LengthField="NoOfRegisteredNodeIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UnregisterNodesRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfNodesToUnregister" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToUnregister" TypeName="ua:NodeId" LengthField="NoOfNodesToUnregister" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UnregisterNodesResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:OpaqueType Name="Counter">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="NumericRange">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="Time">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:OpaqueType Name="Date">\r\n  </opc:OpaqueType>\r\n\r\n  <opc:StructuredType Name="EndpointConfiguration" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="OperationTimeout" TypeName="opc:Int32" />\r\n    <opc:Field Name="UseBinaryEncoding" TypeName="opc:Boolean" />\r\n    <opc:Field Name="MaxStringLength" TypeName="opc:Int32" />\r\n    <opc:Field Name="MaxByteStringLength" TypeName="opc:Int32" />\r\n    <opc:Field Name="MaxArrayLength" TypeName="opc:Int32" />\r\n    <opc:Field Name="MaxMessageSize" TypeName="opc:Int32" />\r\n    <opc:Field Name="MaxBufferSize" TypeName="opc:Int32" />\r\n    <opc:Field Name="ChannelLifetime" TypeName="opc:Int32" />\r\n    <opc:Field Name="SecurityTokenLifetime" TypeName="opc:Int32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="QueryDataDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RelativePath" TypeName="tns:RelativePath" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NodeTypeDescription" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="TypeDefinitionNode" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="IncludeSubTypes" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NoOfDataToReturn" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataToReturn" TypeName="tns:QueryDataDescription" LengthField="NoOfDataToReturn" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="FilterOperator" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Equals" Value="0" />\r\n    <opc:EnumeratedValue Name="IsNull" Value="1" />\r\n    <opc:EnumeratedValue Name="GreaterThan" Value="2" />\r\n    <opc:EnumeratedValue Name="LessThan" Value="3" />\r\n    <opc:EnumeratedValue Name="GreaterThanOrEqual" Value="4" />\r\n    <opc:EnumeratedValue Name="LessThanOrEqual" Value="5" />\r\n    <opc:EnumeratedValue Name="Like" Value="6" />\r\n    <opc:EnumeratedValue Name="Not" Value="7" />\r\n    <opc:EnumeratedValue Name="Between" Value="8" />\r\n    <opc:EnumeratedValue Name="InList" Value="9" />\r\n    <opc:EnumeratedValue Name="And" Value="10" />\r\n    <opc:EnumeratedValue Name="Or" Value="11" />\r\n    <opc:EnumeratedValue Name="Cast" Value="12" />\r\n    <opc:EnumeratedValue Name="InView" Value="13" />\r\n    <opc:EnumeratedValue Name="OfType" Value="14" />\r\n    <opc:EnumeratedValue Name="RelatedTo" Value="15" />\r\n    <opc:EnumeratedValue Name="BitwiseAnd" Value="16" />\r\n    <opc:EnumeratedValue Name="BitwiseOr" Value="17" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="QueryDataSet" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="TypeDefinitionNode" TypeName="ua:ExpandedNodeId" />\r\n    <opc:Field Name="NoOfValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="Values" TypeName="ua:Variant" LengthField="NoOfValues" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NodeReference" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ReferenceTypeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IsForward" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NoOfReferencedNodeIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReferencedNodeIds" TypeName="ua:NodeId" LengthField="NoOfReferencedNodeIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ContentFilterElement" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="FilterOperator" TypeName="tns:FilterOperator" />\r\n    <opc:Field Name="NoOfFilterOperands" TypeName="opc:Int32" />\r\n    <opc:Field Name="FilterOperands" TypeName="ua:ExtensionObject" LengthField="NoOfFilterOperands" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ContentFilter" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfElements" TypeName="opc:Int32" />\r\n    <opc:Field Name="Elements" TypeName="tns:ContentFilterElement" LengthField="NoOfElements" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="FilterOperand" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ElementOperand" BaseType="tns:FilterOperand">\r\n    <opc:Field Name="Index" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="LiteralOperand" BaseType="tns:FilterOperand">\r\n    <opc:Field Name="Value" TypeName="ua:Variant" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AttributeOperand" BaseType="tns:FilterOperand">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="Alias" TypeName="opc:String" />\r\n    <opc:Field Name="BrowsePath" TypeName="tns:RelativePath" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SimpleAttributeOperand" BaseType="tns:FilterOperand">\r\n    <opc:Field Name="TypeDefinitionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="NoOfBrowsePath" TypeName="opc:Int32" />\r\n    <opc:Field Name="BrowsePath" TypeName="ua:QualifiedName" LengthField="NoOfBrowsePath" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ContentFilterElementResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="NoOfOperandStatusCodes" TypeName="opc:Int32" />\r\n    <opc:Field Name="OperandStatusCodes" TypeName="ua:StatusCode" LengthField="NoOfOperandStatusCodes" />\r\n    <opc:Field Name="NoOfOperandDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="OperandDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfOperandDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ContentFilterResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfElementResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="ElementResults" TypeName="tns:ContentFilterElementResult" LengthField="NoOfElementResults" />\r\n    <opc:Field Name="NoOfElementDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="ElementDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfElementDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ParsingResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="NoOfDataStatusCodes" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataStatusCodes" TypeName="ua:StatusCode" LengthField="NoOfDataStatusCodes" />\r\n    <opc:Field Name="NoOfDataDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDataDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="QueryFirstRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="View" TypeName="tns:ViewDescription" />\r\n    <opc:Field Name="NoOfNodeTypes" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodeTypes" TypeName="tns:NodeTypeDescription" LengthField="NoOfNodeTypes" />\r\n    <opc:Field Name="Filter" TypeName="tns:ContentFilter" />\r\n    <opc:Field Name="MaxDataSetsToReturn" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxReferencesToReturn" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="QueryFirstResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfQueryDataSets" TypeName="opc:Int32" />\r\n    <opc:Field Name="QueryDataSets" TypeName="tns:QueryDataSet" LengthField="NoOfQueryDataSets" />\r\n    <opc:Field Name="ContinuationPoint" TypeName="opc:ByteString" />\r\n    <opc:Field Name="NoOfParsingResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="ParsingResults" TypeName="tns:ParsingResult" LengthField="NoOfParsingResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n    <opc:Field Name="FilterResult" TypeName="tns:ContentFilterResult" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="QueryNextRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="ReleaseContinuationPoint" TypeName="opc:Boolean" />\r\n    <opc:Field Name="ContinuationPoint" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="QueryNextResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfQueryDataSets" TypeName="opc:Int32" />\r\n    <opc:Field Name="QueryDataSets" TypeName="tns:QueryDataSet" LengthField="NoOfQueryDataSets" />\r\n    <opc:Field Name="RevisedContinuationPoint" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="TimestampsToReturn" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Source" Value="0" />\r\n    <opc:EnumeratedValue Name="Server" Value="1" />\r\n    <opc:EnumeratedValue Name="Both" Value="2" />\r\n    <opc:EnumeratedValue Name="Neither" Value="3" />\r\n    <opc:EnumeratedValue Name="Invalid" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ReadValueId" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n    <opc:Field Name="DataEncoding" TypeName="ua:QualifiedName" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="MaxAge" TypeName="opc:Double" />\r\n    <opc:Field Name="TimestampsToReturn" TypeName="tns:TimestampsToReturn" />\r\n    <opc:Field Name="NoOfNodesToRead" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToRead" TypeName="tns:ReadValueId" LengthField="NoOfNodesToRead" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:DataValue" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryReadValueId" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n    <opc:Field Name="DataEncoding" TypeName="ua:QualifiedName" />\r\n    <opc:Field Name="ContinuationPoint" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryReadResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="ContinuationPoint" TypeName="opc:ByteString" />\r\n    <opc:Field Name="HistoryData" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryReadDetails" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadEventDetails" BaseType="tns:HistoryReadDetails">\r\n    <opc:Field Name="NumValuesPerNode" TypeName="opc:UInt32" />\r\n    <opc:Field Name="StartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="EndTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="Filter" TypeName="tns:EventFilter" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadRawModifiedDetails" BaseType="tns:HistoryReadDetails">\r\n    <opc:Field Name="IsReadModified" TypeName="opc:Boolean" />\r\n    <opc:Field Name="StartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="EndTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="NumValuesPerNode" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ReturnBounds" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadProcessedDetails" BaseType="tns:HistoryReadDetails">\r\n    <opc:Field Name="StartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="EndTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="ProcessingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="NoOfAggregateType" TypeName="opc:Int32" />\r\n    <opc:Field Name="AggregateType" TypeName="ua:NodeId" LengthField="NoOfAggregateType" />\r\n    <opc:Field Name="AggregateConfiguration" TypeName="tns:AggregateConfiguration" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadAtTimeDetails" BaseType="tns:HistoryReadDetails">\r\n    <opc:Field Name="NoOfReqTimes" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReqTimes" TypeName="opc:DateTime" LengthField="NoOfReqTimes" />\r\n    <opc:Field Name="UseSimpleBounds" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ReadAnnotationDataDetails" BaseType="tns:HistoryReadDetails">\r\n    <opc:Field Name="NoOfReqTimes" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReqTimes" TypeName="opc:DateTime" LengthField="NoOfReqTimes" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryData" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfDataValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataValues" TypeName="ua:DataValue" LengthField="NoOfDataValues" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ModificationInfo" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ModificationTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="UpdateType" TypeName="tns:HistoryUpdateType" />\r\n    <opc:Field Name="UserName" TypeName="opc:String" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryModifiedData" BaseType="tns:HistoryData">\r\n    <opc:Field Name="NoOfDataValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="DataValues" TypeName="ua:DataValue" LengthField="NoOfDataValues" />\r\n    <opc:Field Name="NoOfModificationInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="ModificationInfos" TypeName="tns:ModificationInfo" LengthField="NoOfModificationInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryEvent" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfEvents" TypeName="opc:Int32" />\r\n    <opc:Field Name="Events" TypeName="tns:HistoryEventFieldList" LengthField="NoOfEvents" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryReadRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="HistoryReadDetails" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="TimestampsToReturn" TypeName="tns:TimestampsToReturn" />\r\n    <opc:Field Name="ReleaseContinuationPoints" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NoOfNodesToRead" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToRead" TypeName="tns:HistoryReadValueId" LengthField="NoOfNodesToRead" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryReadResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:HistoryReadResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="WriteValue" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AttributeId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="IndexRange" TypeName="opc:String" />\r\n    <opc:Field Name="Value" TypeName="ua:DataValue" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="WriteRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfNodesToWrite" TypeName="opc:Int32" />\r\n    <opc:Field Name="NodesToWrite" TypeName="tns:WriteValue" LengthField="NoOfNodesToWrite" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="WriteResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryUpdateDetails" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="HistoryUpdateType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Insert" Value="1" />\r\n    <opc:EnumeratedValue Name="Replace" Value="2" />\r\n    <opc:EnumeratedValue Name="Update" Value="3" />\r\n    <opc:EnumeratedValue Name="Delete" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="PerformUpdateType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Insert" Value="1" />\r\n    <opc:EnumeratedValue Name="Replace" Value="2" />\r\n    <opc:EnumeratedValue Name="Update" Value="3" />\r\n    <opc:EnumeratedValue Name="Remove" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="UpdateDataDetails" BaseType="tns:HistoryUpdateDetails">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:HistoryUpdateDetails" />\r\n    <opc:Field Name="PerformInsertReplace" TypeName="tns:PerformUpdateType" />\r\n    <opc:Field Name="NoOfUpdateValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="UpdateValues" TypeName="ua:DataValue" LengthField="NoOfUpdateValues" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UpdateStructureDataDetails" BaseType="tns:HistoryUpdateDetails">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:HistoryUpdateDetails" />\r\n    <opc:Field Name="PerformInsertReplace" TypeName="tns:PerformUpdateType" />\r\n    <opc:Field Name="NoOfUpdateValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="UpdateValues" TypeName="ua:DataValue" LengthField="NoOfUpdateValues" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="UpdateEventDetails" BaseType="tns:HistoryUpdateDetails">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:HistoryUpdateDetails" />\r\n    <opc:Field Name="PerformInsertReplace" TypeName="tns:PerformUpdateType" />\r\n    <opc:Field Name="Filter" TypeName="tns:EventFilter" />\r\n    <opc:Field Name="NoOfEventData" TypeName="opc:Int32" />\r\n    <opc:Field Name="EventData" TypeName="tns:HistoryEventFieldList" LengthField="NoOfEventData" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteRawModifiedDetails" BaseType="tns:HistoryUpdateDetails">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:HistoryUpdateDetails" />\r\n    <opc:Field Name="IsDeleteModified" TypeName="opc:Boolean" />\r\n    <opc:Field Name="StartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="EndTime" TypeName="opc:DateTime" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteAtTimeDetails" BaseType="tns:HistoryUpdateDetails">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:HistoryUpdateDetails" />\r\n    <opc:Field Name="NoOfReqTimes" TypeName="opc:Int32" />\r\n    <opc:Field Name="ReqTimes" TypeName="opc:DateTime" LengthField="NoOfReqTimes" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteEventDetails" BaseType="tns:HistoryUpdateDetails">\r\n    <opc:Field Name="NodeId" TypeName="ua:NodeId" SourceType="tns:HistoryUpdateDetails" />\r\n    <opc:Field Name="NoOfEventIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="EventIds" TypeName="opc:ByteString" LengthField="NoOfEventIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryUpdateResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="NoOfOperationResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="OperationResults" TypeName="ua:StatusCode" LengthField="NoOfOperationResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryUpdateRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfHistoryUpdateDetails" TypeName="opc:Int32" />\r\n    <opc:Field Name="HistoryUpdateDetails" TypeName="ua:ExtensionObject" LengthField="NoOfHistoryUpdateDetails" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryUpdateResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:HistoryUpdateResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CallMethodRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ObjectId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="MethodId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="NoOfInputArguments" TypeName="opc:Int32" />\r\n    <opc:Field Name="InputArguments" TypeName="ua:Variant" LengthField="NoOfInputArguments" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CallMethodResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="NoOfInputArgumentResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="InputArgumentResults" TypeName="ua:StatusCode" LengthField="NoOfInputArgumentResults" />\r\n    <opc:Field Name="NoOfInputArgumentDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="InputArgumentDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfInputArgumentDiagnosticInfos" />\r\n    <opc:Field Name="NoOfOutputArguments" TypeName="opc:Int32" />\r\n    <opc:Field Name="OutputArguments" TypeName="ua:Variant" LengthField="NoOfOutputArguments" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CallRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfMethodsToCall" TypeName="opc:Int32" />\r\n    <opc:Field Name="MethodsToCall" TypeName="tns:CallMethodRequest" LengthField="NoOfMethodsToCall" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CallResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:CallMethodResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="MonitoringMode" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Disabled" Value="0" />\r\n    <opc:EnumeratedValue Name="Sampling" Value="1" />\r\n    <opc:EnumeratedValue Name="Reporting" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="DataChangeTrigger" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Status" Value="0" />\r\n    <opc:EnumeratedValue Name="StatusValue" Value="1" />\r\n    <opc:EnumeratedValue Name="StatusValueTimestamp" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="DeadbandType" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="Absolute" Value="1" />\r\n    <opc:EnumeratedValue Name="Percent" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="MonitoringFilter" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataChangeFilter" BaseType="tns:MonitoringFilter">\r\n    <opc:Field Name="Trigger" TypeName="tns:DataChangeTrigger" />\r\n    <opc:Field Name="DeadbandType" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DeadbandValue" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EventFilter" BaseType="tns:MonitoringFilter">\r\n    <opc:Field Name="NoOfSelectClauses" TypeName="opc:Int32" />\r\n    <opc:Field Name="SelectClauses" TypeName="tns:SimpleAttributeOperand" LengthField="NoOfSelectClauses" />\r\n    <opc:Field Name="WhereClause" TypeName="tns:ContentFilter" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AggregateConfiguration" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="UseServerCapabilitiesDefaults" TypeName="opc:Boolean" />\r\n    <opc:Field Name="TreatUncertainAsBad" TypeName="opc:Boolean" />\r\n    <opc:Field Name="PercentDataBad" TypeName="opc:Byte" />\r\n    <opc:Field Name="PercentDataGood" TypeName="opc:Byte" />\r\n    <opc:Field Name="UseSlopedExtrapolation" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AggregateFilter" BaseType="tns:MonitoringFilter">\r\n    <opc:Field Name="StartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="AggregateType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ProcessingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="AggregateConfiguration" TypeName="tns:AggregateConfiguration" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoringFilterResult" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EventFilterResult" BaseType="tns:MonitoringFilterResult">\r\n    <opc:Field Name="NoOfSelectClauseResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="SelectClauseResults" TypeName="ua:StatusCode" LengthField="NoOfSelectClauseResults" />\r\n    <opc:Field Name="NoOfSelectClauseDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="SelectClauseDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfSelectClauseDiagnosticInfos" />\r\n    <opc:Field Name="WhereClauseResult" TypeName="tns:ContentFilterResult" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AggregateFilterResult" BaseType="tns:MonitoringFilterResult">\r\n    <opc:Field Name="RevisedStartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="RevisedProcessingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RevisedAggregateConfiguration" TypeName="tns:AggregateConfiguration" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoringParameters" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ClientHandle" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SamplingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="Filter" TypeName="ua:ExtensionObject" />\r\n    <opc:Field Name="QueueSize" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DiscardOldest" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoredItemCreateRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ItemToMonitor" TypeName="tns:ReadValueId" />\r\n    <opc:Field Name="MonitoringMode" TypeName="tns:MonitoringMode" />\r\n    <opc:Field Name="RequestedParameters" TypeName="tns:MonitoringParameters" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoredItemCreateResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="MonitoredItemId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RevisedSamplingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RevisedQueueSize" TypeName="opc:UInt32" />\r\n    <opc:Field Name="FilterResult" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CreateMonitoredItemsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TimestampsToReturn" TypeName="tns:TimestampsToReturn" />\r\n    <opc:Field Name="NoOfItemsToCreate" TypeName="opc:Int32" />\r\n    <opc:Field Name="ItemsToCreate" TypeName="tns:MonitoredItemCreateRequest" LengthField="NoOfItemsToCreate" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CreateMonitoredItemsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:MonitoredItemCreateResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoredItemModifyRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="MonitoredItemId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RequestedParameters" TypeName="tns:MonitoringParameters" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoredItemModifyResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="RevisedSamplingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RevisedQueueSize" TypeName="opc:UInt32" />\r\n    <opc:Field Name="FilterResult" TypeName="ua:ExtensionObject" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ModifyMonitoredItemsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TimestampsToReturn" TypeName="tns:TimestampsToReturn" />\r\n    <opc:Field Name="NoOfItemsToModify" TypeName="opc:Int32" />\r\n    <opc:Field Name="ItemsToModify" TypeName="tns:MonitoredItemModifyRequest" LengthField="NoOfItemsToModify" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ModifyMonitoredItemsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:MonitoredItemModifyResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SetMonitoringModeRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MonitoringMode" TypeName="tns:MonitoringMode" />\r\n    <opc:Field Name="NoOfMonitoredItemIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="MonitoredItemIds" TypeName="opc:UInt32" LengthField="NoOfMonitoredItemIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SetMonitoringModeResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SetTriggeringRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TriggeringItemId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfLinksToAdd" TypeName="opc:Int32" />\r\n    <opc:Field Name="LinksToAdd" TypeName="opc:UInt32" LengthField="NoOfLinksToAdd" />\r\n    <opc:Field Name="NoOfLinksToRemove" TypeName="opc:Int32" />\r\n    <opc:Field Name="LinksToRemove" TypeName="opc:UInt32" LengthField="NoOfLinksToRemove" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SetTriggeringResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfAddResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="AddResults" TypeName="ua:StatusCode" LengthField="NoOfAddResults" />\r\n    <opc:Field Name="NoOfAddDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="AddDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfAddDiagnosticInfos" />\r\n    <opc:Field Name="NoOfRemoveResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="RemoveResults" TypeName="ua:StatusCode" LengthField="NoOfRemoveResults" />\r\n    <opc:Field Name="NoOfRemoveDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="RemoveDiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfRemoveDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteMonitoredItemsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfMonitoredItemIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="MonitoredItemIds" TypeName="opc:UInt32" LengthField="NoOfMonitoredItemIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteMonitoredItemsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CreateSubscriptionRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="RequestedPublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RequestedLifetimeCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RequestedMaxKeepAliveCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxNotificationsPerPublish" TypeName="opc:UInt32" />\r\n    <opc:Field Name="PublishingEnabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="Priority" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="CreateSubscriptionResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RevisedPublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RevisedLifetimeCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RevisedMaxKeepAliveCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ModifySubscriptionRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RequestedPublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RequestedLifetimeCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RequestedMaxKeepAliveCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxNotificationsPerPublish" TypeName="opc:UInt32" />\r\n    <opc:Field Name="Priority" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ModifySubscriptionResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="RevisedPublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="RevisedLifetimeCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RevisedMaxKeepAliveCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SetPublishingModeRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="PublishingEnabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NoOfSubscriptionIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="SubscriptionIds" TypeName="opc:UInt32" LengthField="NoOfSubscriptionIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SetPublishingModeResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NotificationMessage" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SequenceNumber" TypeName="opc:UInt32" />\r\n    <opc:Field Name="PublishTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="NoOfNotificationData" TypeName="opc:Int32" />\r\n    <opc:Field Name="NotificationData" TypeName="ua:ExtensionObject" LengthField="NoOfNotificationData" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NotificationData" BaseType="ua:ExtensionObject">\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DataChangeNotification" BaseType="tns:NotificationData">\r\n    <opc:Field Name="NoOfMonitoredItems" TypeName="opc:Int32" />\r\n    <opc:Field Name="MonitoredItems" TypeName="tns:MonitoredItemNotification" LengthField="NoOfMonitoredItems" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="MonitoredItemNotification" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ClientHandle" TypeName="opc:UInt32" />\r\n    <opc:Field Name="Value" TypeName="ua:DataValue" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EventNotificationList" BaseType="tns:NotificationData">\r\n    <opc:Field Name="NoOfEvents" TypeName="opc:Int32" />\r\n    <opc:Field Name="Events" TypeName="tns:EventFieldList" LengthField="NoOfEvents" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EventFieldList" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ClientHandle" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfEventFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="EventFields" TypeName="ua:Variant" LengthField="NoOfEventFields" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="HistoryEventFieldList" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfEventFields" TypeName="opc:Int32" />\r\n    <opc:Field Name="EventFields" TypeName="ua:Variant" LengthField="NoOfEventFields" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="StatusChangeNotification" BaseType="tns:NotificationData">\r\n    <opc:Field Name="Status" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="DiagnosticInfo" TypeName="ua:DiagnosticInfo" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SubscriptionAcknowledgement" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SequenceNumber" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfSubscriptionAcknowledgements" TypeName="opc:Int32" />\r\n    <opc:Field Name="SubscriptionAcknowledgements" TypeName="tns:SubscriptionAcknowledgement" LengthField="NoOfSubscriptionAcknowledgements" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="PublishResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NoOfAvailableSequenceNumbers" TypeName="opc:Int32" />\r\n    <opc:Field Name="AvailableSequenceNumbers" TypeName="opc:UInt32" LengthField="NoOfAvailableSequenceNumbers" />\r\n    <opc:Field Name="MoreNotifications" TypeName="opc:Boolean" />\r\n    <opc:Field Name="NotificationMessage" TypeName="tns:NotificationMessage" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RepublishRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RetransmitSequenceNumber" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="RepublishResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NotificationMessage" TypeName="tns:NotificationMessage" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TransferResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="NoOfAvailableSequenceNumbers" TypeName="opc:Int32" />\r\n    <opc:Field Name="AvailableSequenceNumbers" TypeName="opc:UInt32" LengthField="NoOfAvailableSequenceNumbers" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TransferSubscriptionsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfSubscriptionIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="SubscriptionIds" TypeName="opc:UInt32" LengthField="NoOfSubscriptionIds" />\r\n    <opc:Field Name="SendInitialValues" TypeName="opc:Boolean" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="TransferSubscriptionsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="tns:TransferResult" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteSubscriptionsRequest" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="RequestHeader" TypeName="tns:RequestHeader" />\r\n    <opc:Field Name="NoOfSubscriptionIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="SubscriptionIds" TypeName="opc:UInt32" LengthField="NoOfSubscriptionIds" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DeleteSubscriptionsResponse" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ResponseHeader" TypeName="tns:ResponseHeader" />\r\n    <opc:Field Name="NoOfResults" TypeName="opc:Int32" />\r\n    <opc:Field Name="Results" TypeName="ua:StatusCode" LengthField="NoOfResults" />\r\n    <opc:Field Name="NoOfDiagnosticInfos" TypeName="opc:Int32" />\r\n    <opc:Field Name="DiagnosticInfos" TypeName="ua:DiagnosticInfo" LengthField="NoOfDiagnosticInfos" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="BuildInfo" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ProductUri" TypeName="opc:String" />\r\n    <opc:Field Name="ManufacturerName" TypeName="opc:String" />\r\n    <opc:Field Name="ProductName" TypeName="opc:String" />\r\n    <opc:Field Name="SoftwareVersion" TypeName="opc:String" />\r\n    <opc:Field Name="BuildNumber" TypeName="opc:String" />\r\n    <opc:Field Name="BuildDate" TypeName="opc:DateTime" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="RedundancySupport" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="None" Value="0" />\r\n    <opc:EnumeratedValue Name="Cold" Value="1" />\r\n    <opc:EnumeratedValue Name="Warm" Value="2" />\r\n    <opc:EnumeratedValue Name="Hot" Value="3" />\r\n    <opc:EnumeratedValue Name="Transparent" Value="4" />\r\n    <opc:EnumeratedValue Name="HotAndMirrored" Value="5" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:EnumeratedType Name="ServerState" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Running" Value="0" />\r\n    <opc:EnumeratedValue Name="Failed" Value="1" />\r\n    <opc:EnumeratedValue Name="NoConfiguration" Value="2" />\r\n    <opc:EnumeratedValue Name="Suspended" Value="3" />\r\n    <opc:EnumeratedValue Name="Shutdown" Value="4" />\r\n    <opc:EnumeratedValue Name="Test" Value="5" />\r\n    <opc:EnumeratedValue Name="CommunicationFault" Value="6" />\r\n    <opc:EnumeratedValue Name="Unknown" Value="7" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="RedundantServerDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ServerId" TypeName="opc:String" />\r\n    <opc:Field Name="ServiceLevel" TypeName="opc:Byte" />\r\n    <opc:Field Name="ServerState" TypeName="tns:ServerState" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EndpointUrlListDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NoOfEndpointUrlList" TypeName="opc:Int32" />\r\n    <opc:Field Name="EndpointUrlList" TypeName="opc:String" LengthField="NoOfEndpointUrlList" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="NetworkGroupDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfNetworkPaths" TypeName="opc:Int32" />\r\n    <opc:Field Name="NetworkPaths" TypeName="tns:EndpointUrlListDataType" LengthField="NoOfNetworkPaths" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SamplingIntervalDiagnosticsDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SamplingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="MonitoredItemCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxMonitoredItemCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DisabledMonitoredItemCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ServerDiagnosticsSummaryDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="ServerViewCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CurrentSessionCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CumulatedSessionCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SecurityRejectedSessionCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RejectedSessionCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SessionTimeoutCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SessionAbortCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CurrentSubscriptionCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CumulatedSubscriptionCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="PublishingIntervalCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="SecurityRejectedRequestsCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RejectedRequestsCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ServerStatusDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StartTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="CurrentTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="State" TypeName="tns:ServerState" />\r\n    <opc:Field Name="BuildInfo" TypeName="tns:BuildInfo" />\r\n    <opc:Field Name="SecondsTillShutdown" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ShutdownReason" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SessionDiagnosticsDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="SessionName" TypeName="opc:String" />\r\n    <opc:Field Name="ClientDescription" TypeName="tns:ApplicationDescription" />\r\n    <opc:Field Name="ServerUri" TypeName="opc:String" />\r\n    <opc:Field Name="EndpointUrl" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfLocaleIds" TypeName="opc:Int32" />\r\n    <opc:Field Name="LocaleIds" TypeName="opc:String" LengthField="NoOfLocaleIds" />\r\n    <opc:Field Name="ActualSessionTimeout" TypeName="opc:Double" />\r\n    <opc:Field Name="MaxResponseMessageSize" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ClientConnectionTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="ClientLastContactTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="CurrentSubscriptionsCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CurrentMonitoredItemsCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CurrentPublishRequestsInQueue" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TotalRequestCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="UnauthorizedRequestCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ReadCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="HistoryReadCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="WriteCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="HistoryUpdateCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="CallCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="CreateMonitoredItemsCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="ModifyMonitoredItemsCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="SetMonitoringModeCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="SetTriggeringCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="DeleteMonitoredItemsCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="CreateSubscriptionCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="ModifySubscriptionCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="SetPublishingModeCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="PublishCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="RepublishCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="TransferSubscriptionsCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="DeleteSubscriptionsCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="AddNodesCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="AddReferencesCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="DeleteNodesCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="DeleteReferencesCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="BrowseCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="BrowseNextCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="TranslateBrowsePathsToNodeIdsCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="QueryFirstCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="QueryNextCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="RegisterNodesCount" TypeName="tns:ServiceCounterDataType" />\r\n    <opc:Field Name="UnregisterNodesCount" TypeName="tns:ServiceCounterDataType" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SessionSecurityDiagnosticsDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="ClientUserIdOfSession" TypeName="opc:String" />\r\n    <opc:Field Name="NoOfClientUserIdHistory" TypeName="opc:Int32" />\r\n    <opc:Field Name="ClientUserIdHistory" TypeName="opc:String" LengthField="NoOfClientUserIdHistory" />\r\n    <opc:Field Name="AuthenticationMechanism" TypeName="opc:String" />\r\n    <opc:Field Name="Encoding" TypeName="opc:String" />\r\n    <opc:Field Name="TransportProtocol" TypeName="opc:String" />\r\n    <opc:Field Name="SecurityMode" TypeName="tns:MessageSecurityMode" />\r\n    <opc:Field Name="SecurityPolicyUri" TypeName="opc:String" />\r\n    <opc:Field Name="ClientCertificate" TypeName="opc:ByteString" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ServiceCounterDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="TotalCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="ErrorCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="StatusResult" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="StatusCode" TypeName="ua:StatusCode" />\r\n    <opc:Field Name="DiagnosticInfo" TypeName="ua:DiagnosticInfo" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SubscriptionDiagnosticsDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="SessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="SubscriptionId" TypeName="opc:UInt32" />\r\n    <opc:Field Name="Priority" TypeName="opc:Byte" />\r\n    <opc:Field Name="PublishingInterval" TypeName="opc:Double" />\r\n    <opc:Field Name="MaxKeepAliveCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxLifetimeCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MaxNotificationsPerPublish" TypeName="opc:UInt32" />\r\n    <opc:Field Name="PublishingEnabled" TypeName="opc:Boolean" />\r\n    <opc:Field Name="ModifyCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="EnableCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DisableCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RepublishRequestCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RepublishMessageRequestCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="RepublishMessageCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TransferRequestCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TransferredToAltClientCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="TransferredToSameClientCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="PublishRequestCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DataChangeNotificationsCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="EventNotificationsCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NotificationsCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="LatePublishRequestCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CurrentKeepAliveCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="CurrentLifetimeCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="UnacknowledgedMessageCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DiscardedMessageCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MonitoredItemCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="DisabledMonitoredItemCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="MonitoringQueueOverflowCount" TypeName="opc:UInt32" />\r\n    <opc:Field Name="NextSequenceNumber" TypeName="opc:UInt32" />\r\n    <opc:Field Name="EventQueueOverFlowCount" TypeName="opc:UInt32" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="ModelChangeStructureVerbMask" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="NodeAdded" Value="1" />\r\n    <opc:EnumeratedValue Name="NodeDeleted" Value="2" />\r\n    <opc:EnumeratedValue Name="ReferenceAdded" Value="4" />\r\n    <opc:EnumeratedValue Name="ReferenceDeleted" Value="8" />\r\n    <opc:EnumeratedValue Name="DataTypeChanged" Value="16" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ModelChangeStructureDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Affected" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AffectedType" TypeName="ua:NodeId" />\r\n    <opc:Field Name="Verb" TypeName="opc:Byte" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="SemanticChangeStructureDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Affected" TypeName="ua:NodeId" />\r\n    <opc:Field Name="AffectedType" TypeName="ua:NodeId" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Range" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Low" TypeName="opc:Double" />\r\n    <opc:Field Name="High" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="EUInformation" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="NamespaceUri" TypeName="opc:String" />\r\n    <opc:Field Name="UnitId" TypeName="opc:Int32" />\r\n    <opc:Field Name="DisplayName" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="Description" TypeName="ua:LocalizedText" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="AxisScaleEnumeration" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="Linear" Value="0" />\r\n    <opc:EnumeratedValue Name="Log" Value="1" />\r\n    <opc:EnumeratedValue Name="Ln" Value="2" />\r\n  </opc:EnumeratedType>\r\n\r\n  <opc:StructuredType Name="ComplexNumberType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Real" TypeName="opc:Float" />\r\n    <opc:Field Name="Imaginary" TypeName="opc:Float" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="DoubleComplexNumberType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Real" TypeName="opc:Double" />\r\n    <opc:Field Name="Imaginary" TypeName="opc:Double" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="AxisInformation" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="EngineeringUnits" TypeName="tns:EUInformation" />\r\n    <opc:Field Name="EURange" TypeName="tns:Range" />\r\n    <opc:Field Name="Title" TypeName="ua:LocalizedText" />\r\n    <opc:Field Name="AxisScaleType" TypeName="tns:AxisScaleEnumeration" />\r\n    <opc:Field Name="NoOfAxisSteps" TypeName="opc:Int32" />\r\n    <opc:Field Name="AxisSteps" TypeName="opc:Double" LengthField="NoOfAxisSteps" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="XVType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="X" TypeName="opc:Double" />\r\n    <opc:Field Name="Value" TypeName="opc:Float" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ProgramDiagnosticDataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="CreateSessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="CreateClientName" TypeName="opc:String" />\r\n    <opc:Field Name="InvocationCreationTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="LastTransitionTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="LastMethodCall" TypeName="opc:String" />\r\n    <opc:Field Name="LastMethodSessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="NoOfLastMethodInputArguments" TypeName="opc:Int32" />\r\n    <opc:Field Name="LastMethodInputArguments" TypeName="tns:Argument" LengthField="NoOfLastMethodInputArguments" />\r\n    <opc:Field Name="NoOfLastMethodOutputArguments" TypeName="opc:Int32" />\r\n    <opc:Field Name="LastMethodOutputArguments" TypeName="tns:Argument" LengthField="NoOfLastMethodOutputArguments" />\r\n    <opc:Field Name="LastMethodCallTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="LastMethodReturnStatus" TypeName="tns:StatusResult" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="ProgramDiagnostic2DataType" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="CreateSessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="CreateClientName" TypeName="opc:String" />\r\n    <opc:Field Name="InvocationCreationTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="LastTransitionTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="LastMethodCall" TypeName="opc:String" />\r\n    <opc:Field Name="LastMethodSessionId" TypeName="ua:NodeId" />\r\n    <opc:Field Name="NoOfLastMethodInputArguments" TypeName="opc:Int32" />\r\n    <opc:Field Name="LastMethodInputArguments" TypeName="tns:Argument" LengthField="NoOfLastMethodInputArguments" />\r\n    <opc:Field Name="NoOfLastMethodOutputArguments" TypeName="opc:Int32" />\r\n    <opc:Field Name="LastMethodOutputArguments" TypeName="tns:Argument" LengthField="NoOfLastMethodOutputArguments" />\r\n    <opc:Field Name="NoOfLastMethodInputValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="LastMethodInputValues" TypeName="ua:Variant" LengthField="NoOfLastMethodInputValues" />\r\n    <opc:Field Name="NoOfLastMethodOutputValues" TypeName="opc:Int32" />\r\n    <opc:Field Name="LastMethodOutputValues" TypeName="ua:Variant" LengthField="NoOfLastMethodOutputValues" />\r\n    <opc:Field Name="LastMethodCallTime" TypeName="opc:DateTime" />\r\n    <opc:Field Name="LastMethodReturnStatus" TypeName="tns:StatusResult" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:StructuredType Name="Annotation" BaseType="ua:ExtensionObject">\r\n    <opc:Field Name="Message" TypeName="opc:String" />\r\n    <opc:Field Name="UserName" TypeName="opc:String" />\r\n    <opc:Field Name="AnnotationTime" TypeName="opc:DateTime" />\r\n  </opc:StructuredType>\r\n\r\n  <opc:EnumeratedType Name="ExceptionDeviationFormat" LengthInBits="32">\r\n    <opc:EnumeratedValue Name="AbsoluteValue" Value="0" />\r\n    <opc:EnumeratedValue Name="PercentOfValue" Value="1" />\r\n    <opc:EnumeratedValue Name="PercentOfRange" Value="2" />\r\n    <opc:EnumeratedValue Name="PercentOfEURange" Value="3" />\r\n    <opc:EnumeratedValue Name="Unknown" Value="4" />\r\n  </opc:EnumeratedType>\r\n\r\n</opc:TypeDictionary>', VariantType.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7619, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15037, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14873, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15734, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18824, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18827, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18830, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18833, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18836, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18839, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18842, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18845, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18848, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15738, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23514, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12681, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15741, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14855, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15599, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15602, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15501, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15521, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14849, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14852, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14876, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15766, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15769, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14324, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15772, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15775, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15778, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15781, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15784, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15787, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21156, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15793, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15854, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15857, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15860, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21159, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21162, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21165, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15866, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15869, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15872, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15877, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15880, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15883, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15886, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21002, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15889, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21168, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15895, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15898, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15919, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15922, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15925, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15931, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17469, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21171, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15524, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15940, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15943, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15946, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23502, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16131, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18178, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18181, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18184, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18187, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7650, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7656, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14870, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12767, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12770, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8914, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7665, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12213, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7662, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7668, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7782, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12902, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12905, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7698, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7671, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7674, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7677, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7680, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7683, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7728, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7731, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7734, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7737, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12718, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12721, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7686, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7929, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7932, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7935, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7938, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7941, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7944, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7947, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8004, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8067, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8073, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8076, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8172, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7692, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8208, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11959, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11962, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8211, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8214, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8217, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8220, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8223, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8226, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7659, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8229, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8232, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8235, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8238, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8241, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12183, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12186, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12091, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12094, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8247, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15398, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8244, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(93, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7617, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(72, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7619, 0)
    node.BrowseName = QualifiedName('NamespaceUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('http://opcfoundation.org/UA/', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7619, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(7619, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15037, 0)
    node.BrowseName = QualifiedName('Deprecated', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Deprecated")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.Value = Variant(True, VariantType.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14873, 0)
    node.BrowseName = QualifiedName('KeyValuePair', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("KeyValuePair")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('KeyValuePair', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15734, 0)
    node.BrowseName = QualifiedName('EndpointType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EndpointType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18824, 0)
    node.BrowseName = QualifiedName('RationalNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RationalNumber")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('RationalNumber', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18824, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18827, 0)
    node.BrowseName = QualifiedName('Vector', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Vector")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Vector', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18827, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18830, 0)
    node.BrowseName = QualifiedName('3DVector', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DVector")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ThreeDVector', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18830, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18833, 0)
    node.BrowseName = QualifiedName('CartesianCoordinates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CartesianCoordinates")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('CartesianCoordinates', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18833, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18836, 0)
    node.BrowseName = QualifiedName('3DCartesianCoordinates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DCartesianCoordinates")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ThreeDCartesianCoordinates', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18836, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18839, 0)
    node.BrowseName = QualifiedName('Orientation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Orientation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Orientation', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18839, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18842, 0)
    node.BrowseName = QualifiedName('3DOrientation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DOrientation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ThreeDOrientation', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18842, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18845, 0)
    node.BrowseName = QualifiedName('Frame', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Frame")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Frame', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18845, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18845, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18848, 0)
    node.BrowseName = QualifiedName('3DFrame', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DFrame")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ThreeDFrame', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18848, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18848, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15738, 0)
    node.BrowseName = QualifiedName('IdentityMappingRuleType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IdentityMappingRuleType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('IdentityMappingRuleType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15738, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15738, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23514, 0)
    node.BrowseName = QualifiedName('CurrencyUnitType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrencyUnitType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('CurrencyUnitType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23514, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(23514, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12681, 0)
    node.BrowseName = QualifiedName('TrustListDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TrustListDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('TrustListDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12681, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12681, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15741, 0)
    node.BrowseName = QualifiedName('DataTypeSchemaHeader', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeSchemaHeader")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataTypeSchemaHeader', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15741, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15741, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14855, 0)
    node.BrowseName = QualifiedName('DataTypeDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataTypeDescription', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15599, 0)
    node.BrowseName = QualifiedName('StructureDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StructureDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('StructureDescription', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15599, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15599, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15602, 0)
    node.BrowseName = QualifiedName('EnumDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EnumDescription', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15602, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15602, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15501, 0)
    node.BrowseName = QualifiedName('SimpleTypeDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SimpleTypeDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SimpleTypeDescription', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15501, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15501, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15521, 0)
    node.BrowseName = QualifiedName('UABinaryFileDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UABinaryFileDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UABinaryFileDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15521, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15521, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14849, 0)
    node.BrowseName = QualifiedName('DataSetMetaDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetMetaDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetMetaDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14852, 0)
    node.BrowseName = QualifiedName('FieldMetaData', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FieldMetaData")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('FieldMetaData', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14876, 0)
    node.BrowseName = QualifiedName('ConfigurationVersionDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ConfigurationVersionDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ConfigurationVersionDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15766, 0)
    node.BrowseName = QualifiedName('PublishedDataSetDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedDataSetDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PublishedDataSetDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15766, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15766, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15769, 0)
    node.BrowseName = QualifiedName('PublishedDataSetSourceDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedDataSetSourceDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PublishedDataSetSourceDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15769, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14324, 0)
    node.BrowseName = QualifiedName('PublishedVariableDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedVariableDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PublishedVariableDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14324, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14324, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15772, 0)
    node.BrowseName = QualifiedName('PublishedDataItemsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedDataItemsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PublishedDataItemsDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15772, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15775, 0)
    node.BrowseName = QualifiedName('PublishedEventsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedEventsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PublishedEventsDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15775, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15775, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15778, 0)
    node.BrowseName = QualifiedName('DataSetWriterDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetWriterDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetWriterDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15778, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15781, 0)
    node.BrowseName = QualifiedName('DataSetWriterTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetWriterTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetWriterTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15781, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15784, 0)
    node.BrowseName = QualifiedName('DataSetWriterMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetWriterMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetWriterMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15784, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15787, 0)
    node.BrowseName = QualifiedName('PubSubGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PubSubGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PubSubGroupDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15787, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21156, 0)
    node.BrowseName = QualifiedName('WriterGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriterGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('WriterGroupDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21156, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15793, 0)
    node.BrowseName = QualifiedName('WriterGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriterGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('WriterGroupTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15793, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15793, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15854, 0)
    node.BrowseName = QualifiedName('WriterGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriterGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('WriterGroupMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15857, 0)
    node.BrowseName = QualifiedName('PubSubConnectionDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PubSubConnectionDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PubSubConnectionDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15860, 0)
    node.BrowseName = QualifiedName('ConnectionTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ConnectionTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ConnectionTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21159, 0)
    node.BrowseName = QualifiedName('NetworkAddressDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NetworkAddressDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('NetworkAddressDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21159, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21162, 0)
    node.BrowseName = QualifiedName('NetworkAddressUrlDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NetworkAddressUrlDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('NetworkAddressUrlDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21162, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21165, 0)
    node.BrowseName = QualifiedName('ReaderGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReaderGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ReaderGroupDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21165, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15866, 0)
    node.BrowseName = QualifiedName('ReaderGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReaderGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ReaderGroupTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15869, 0)
    node.BrowseName = QualifiedName('ReaderGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReaderGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ReaderGroupMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15872, 0)
    node.BrowseName = QualifiedName('DataSetReaderDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetReaderDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetReaderDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15877, 0)
    node.BrowseName = QualifiedName('DataSetReaderTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetReaderTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetReaderTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15877, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15877, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15880, 0)
    node.BrowseName = QualifiedName('DataSetReaderMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetReaderMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataSetReaderMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15880, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15880, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15883, 0)
    node.BrowseName = QualifiedName('SubscribedDataSetDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscribedDataSetDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SubscribedDataSetDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15883, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15883, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15886, 0)
    node.BrowseName = QualifiedName('TargetVariablesDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TargetVariablesDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('TargetVariablesDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15886, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15886, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21002, 0)
    node.BrowseName = QualifiedName('FieldTargetDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FieldTargetDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('FieldTargetDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21002, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21002, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15889, 0)
    node.BrowseName = QualifiedName('SubscribedDataSetMirrorDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscribedDataSetMirrorDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SubscribedDataSetMirrorDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15889, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15889, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21168, 0)
    node.BrowseName = QualifiedName('PubSubConfigurationDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PubSubConfigurationDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('PubSubConfigurationDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21168, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15895, 0)
    node.BrowseName = QualifiedName('UadpWriterGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UadpWriterGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UadpWriterGroupMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15895, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15895, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15898, 0)
    node.BrowseName = QualifiedName('UadpDataSetWriterMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UadpDataSetWriterMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UadpDataSetWriterMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15919, 0)
    node.BrowseName = QualifiedName('UadpDataSetReaderMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UadpDataSetReaderMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UadpDataSetReaderMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15919, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15919, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15922, 0)
    node.BrowseName = QualifiedName('JsonWriterGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("JsonWriterGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('JsonWriterGroupMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15922, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15922, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15925, 0)
    node.BrowseName = QualifiedName('JsonDataSetWriterMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("JsonDataSetWriterMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('JsonDataSetWriterMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15925, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15925, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15931, 0)
    node.BrowseName = QualifiedName('JsonDataSetReaderMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("JsonDataSetReaderMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('JsonDataSetReaderMessageDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15931, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15931, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17469, 0)
    node.BrowseName = QualifiedName('DatagramConnectionTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DatagramConnectionTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DatagramConnectionTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17469, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17469, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21171, 0)
    node.BrowseName = QualifiedName('DatagramWriterGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DatagramWriterGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DatagramWriterGroupTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21171, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15524, 0)
    node.BrowseName = QualifiedName('BrokerConnectionTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerConnectionTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('BrokerConnectionTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15524, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15524, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15940, 0)
    node.BrowseName = QualifiedName('BrokerWriterGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerWriterGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('BrokerWriterGroupTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15940, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15940, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15943, 0)
    node.BrowseName = QualifiedName('BrokerDataSetWriterTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerDataSetWriterTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('BrokerDataSetWriterTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15943, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15943, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15946, 0)
    node.BrowseName = QualifiedName('BrokerDataSetReaderTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerDataSetReaderTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('BrokerDataSetReaderTransportDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15946, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15946, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23502, 0)
    node.BrowseName = QualifiedName('AliasNameDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AliasNameDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AliasNameDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23502, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(23502, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16131, 0)
    node.BrowseName = QualifiedName('RolePermissionType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RolePermissionType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('RolePermissionType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16131, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18178, 0)
    node.BrowseName = QualifiedName('DataTypeDefinition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeDefinition")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DataTypeDefinition', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18181, 0)
    node.BrowseName = QualifiedName('StructureField', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StructureField")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('StructureField', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18181, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18184, 0)
    node.BrowseName = QualifiedName('StructureDefinition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StructureDefinition")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('StructureDefinition', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18184, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18187, 0)
    node.BrowseName = QualifiedName('EnumDefinition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumDefinition")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EnumDefinition', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18187, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7650, 0)
    node.BrowseName = QualifiedName('Argument', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Argument")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Argument', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7650, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7656, 0)
    node.BrowseName = QualifiedName('EnumValueType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumValueType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EnumValueType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7656, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14870, 0)
    node.BrowseName = QualifiedName('EnumField', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumField")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EnumField', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12767, 0)
    node.BrowseName = QualifiedName('OptionSet', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OptionSet")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('OptionSet', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12767, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12767, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12770, 0)
    node.BrowseName = QualifiedName('Union', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Union")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Union', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12770, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8914, 0)
    node.BrowseName = QualifiedName('TimeZoneDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TimeZoneDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('TimeZoneDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8914, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8914, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7665, 0)
    node.BrowseName = QualifiedName('ApplicationDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ApplicationDescription', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7665, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7665, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12213, 0)
    node.BrowseName = QualifiedName('ServerOnNetwork', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerOnNetwork")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ServerOnNetwork', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12213, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12213, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7662, 0)
    node.BrowseName = QualifiedName('UserTokenPolicy', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserTokenPolicy")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UserTokenPolicy', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7662, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7662, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7668, 0)
    node.BrowseName = QualifiedName('EndpointDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EndpointDescription', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7668, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7782, 0)
    node.BrowseName = QualifiedName('RegisteredServer', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RegisteredServer")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('RegisteredServer', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7782, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7782, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12902, 0)
    node.BrowseName = QualifiedName('DiscoveryConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DiscoveryConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DiscoveryConfiguration', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12902, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12902, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12905, 0)
    node.BrowseName = QualifiedName('MdnsDiscoveryConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MdnsDiscoveryConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('MdnsDiscoveryConfiguration', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12905, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12905, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7698, 0)
    node.BrowseName = QualifiedName('SignedSoftwareCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SignedSoftwareCertificate")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SignedSoftwareCertificate', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7698, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7671, 0)
    node.BrowseName = QualifiedName('UserIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UserIdentityToken', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7671, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7671, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7674, 0)
    node.BrowseName = QualifiedName('AnonymousIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AnonymousIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AnonymousIdentityToken', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7674, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7674, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7677, 0)
    node.BrowseName = QualifiedName('UserNameIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserNameIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('UserNameIdentityToken', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7677, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7677, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7680, 0)
    node.BrowseName = QualifiedName('X509IdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("X509IdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('X509IdentityToken', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7680, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7683, 0)
    node.BrowseName = QualifiedName('IssuedIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IssuedIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('IssuedIdentityToken', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7683, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7683, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7728, 0)
    node.BrowseName = QualifiedName('AddNodesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddNodesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AddNodesItem', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7731, 0)
    node.BrowseName = QualifiedName('AddReferencesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddReferencesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AddReferencesItem', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7731, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7731, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7734, 0)
    node.BrowseName = QualifiedName('DeleteNodesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteNodesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DeleteNodesItem', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7734, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7737, 0)
    node.BrowseName = QualifiedName('DeleteReferencesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteReferencesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DeleteReferencesItem', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7737, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7737, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12718, 0)
    node.BrowseName = QualifiedName('RelativePathElement', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RelativePathElement")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('RelativePathElement', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12718, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12718, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12721, 0)
    node.BrowseName = QualifiedName('RelativePath', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RelativePath")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('RelativePath', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12721, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12721, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7686, 0)
    node.BrowseName = QualifiedName('EndpointConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EndpointConfiguration', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7686, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7929, 0)
    node.BrowseName = QualifiedName('ContentFilterElement', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ContentFilterElement")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ContentFilterElement', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7929, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7929, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7932, 0)
    node.BrowseName = QualifiedName('ContentFilter', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ContentFilter")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ContentFilter', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7932, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7932, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7935, 0)
    node.BrowseName = QualifiedName('FilterOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FilterOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('FilterOperand', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7935, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7935, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7938, 0)
    node.BrowseName = QualifiedName('ElementOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ElementOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ElementOperand', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7938, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7938, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7941, 0)
    node.BrowseName = QualifiedName('LiteralOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LiteralOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('LiteralOperand', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7941, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7941, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7944, 0)
    node.BrowseName = QualifiedName('AttributeOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AttributeOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AttributeOperand', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7944, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7944, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7947, 0)
    node.BrowseName = QualifiedName('SimpleAttributeOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SimpleAttributeOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SimpleAttributeOperand', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7947, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7947, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8004, 0)
    node.BrowseName = QualifiedName('HistoryEvent', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryEvent")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('HistoryEvent', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8004, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8067, 0)
    node.BrowseName = QualifiedName('MonitoringFilter', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MonitoringFilter")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('MonitoringFilter', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8067, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8067, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8073, 0)
    node.BrowseName = QualifiedName('EventFilter', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventFilter")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EventFilter', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8073, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8073, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8076, 0)
    node.BrowseName = QualifiedName('AggregateConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AggregateConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AggregateConfiguration', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8076, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8172, 0)
    node.BrowseName = QualifiedName('HistoryEventFieldList', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryEventFieldList")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('HistoryEventFieldList', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7692, 0)
    node.BrowseName = QualifiedName('BuildInfo', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BuildInfo")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('BuildInfo', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7692, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8208, 0)
    node.BrowseName = QualifiedName('RedundantServerDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundantServerDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('RedundantServerDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8208, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11959, 0)
    node.BrowseName = QualifiedName('EndpointUrlListDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrlListDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EndpointUrlListDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11959, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11959, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11962, 0)
    node.BrowseName = QualifiedName('NetworkGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NetworkGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('NetworkGroupDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11962, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11962, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8211, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SamplingIntervalDiagnosticsDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8211, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8211, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8214, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummaryDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummaryDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ServerDiagnosticsSummaryDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8214, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8214, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8217, 0)
    node.BrowseName = QualifiedName('ServerStatusDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerStatusDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ServerStatusDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8217, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8220, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SessionDiagnosticsDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8220, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8223, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SessionSecurityDiagnosticsDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8223, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8226, 0)
    node.BrowseName = QualifiedName('ServiceCounterDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServiceCounterDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ServiceCounterDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8226, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(7659, 0)
    node.BrowseName = QualifiedName('StatusResult', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StatusResult")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('StatusResult', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(7659, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(7659, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8229, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SubscriptionDiagnosticsDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8229, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8232, 0)
    node.BrowseName = QualifiedName('ModelChangeStructureDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModelChangeStructureDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ModelChangeStructureDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8232, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8235, 0)
    node.BrowseName = QualifiedName('SemanticChangeStructureDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SemanticChangeStructureDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('SemanticChangeStructureDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8235, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8238, 0)
    node.BrowseName = QualifiedName('Range', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Range")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Range', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8238, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8241, 0)
    node.BrowseName = QualifiedName('EUInformation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EUInformation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('EUInformation', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8241, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12183, 0)
    node.BrowseName = QualifiedName('ComplexNumberType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ComplexNumberType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ComplexNumberType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12186, 0)
    node.BrowseName = QualifiedName('DoubleComplexNumberType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DoubleComplexNumberType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('DoubleComplexNumberType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12091, 0)
    node.BrowseName = QualifiedName('AxisInformation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AxisInformation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('AxisInformation', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12091, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12094, 0)
    node.BrowseName = QualifiedName('XVType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("XVType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('XVType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12094, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8247, 0)
    node.BrowseName = QualifiedName('ProgramDiagnosticDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ProgramDiagnosticDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ProgramDiagnosticDataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8247, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15398, 0)
    node.BrowseName = QualifiedName('ProgramDiagnostic2DataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ProgramDiagnostic2DataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('ProgramDiagnostic2DataType', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15398, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15398, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8244, 0)
    node.BrowseName = QualifiedName('Annotation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(7617, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Annotation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('Annotation', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8244, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(7617, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14802, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(14533, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(14802, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14533, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(14802, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14829, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14802, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15949, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15528, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15949, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15528, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(15949, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16024, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15949, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18851, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18806, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18806, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18860, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18851, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18852, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18807, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18807, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18863, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18853, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18808, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18808, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18866, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18853, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18854, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18809, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18809, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18869, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18855, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18810, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18810, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19049, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18856, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18811, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18811, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19052, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18856, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18857, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18812, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18812, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19055, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18858, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18813, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18813, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19058, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18859, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18814, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(18859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18814, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(18859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19061, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18859, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15728, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15634, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15634, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(15728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15730, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15728, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23520, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(23498, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(23520, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23498, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(23520, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23522, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23520, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(339, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(338, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(339, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(338, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(339, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8327, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(339, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(854, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(853, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(853, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8843, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(854, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11949, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11943, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(11949, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11943, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(11949, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11951, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11949, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11950, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11944, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(11950, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11944, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(11950, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11954, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11950, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(857, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(856, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(856, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8846, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(857, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(860, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(859, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(859, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8849, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(863, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(862, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(862, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8852, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(866, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(865, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(865, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8855, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(869, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(868, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(868, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8858, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(872, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(871, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(871, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8861, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(872, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(300, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(299, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(299, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8294, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(875, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(874, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(875, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(874, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(875, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8864, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(875, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(878, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(877, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(878, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(877, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(878, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8867, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(878, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(898, 0)
    node.BrowseName = QualifiedName('Default XML', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(897, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default XML")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(897, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(39, 0)
    ref.SourceNodeId = NumericNodeId(898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8870, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(898, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8252, 0)
    node.BrowseName = QualifiedName('Opc.Ua', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(92, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(72, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Opc.Ua")
    attrs.DataType = NodeId(ObjectIds.ByteString)
    attrs.Value = Variant(b'<xs:schema\r\n  xmlns:xs="http://www.w3.org/2001/XMLSchema"\r\n  xmlns:ua="http://opcfoundation.org/UA/2008/02/Types.xsd"\r\n  xmlns:tns="http://opcfoundation.org/UA/2008/02/Types.xsd"\r\n  targetNamespace="http://opcfoundation.org/UA/2008/02/Types.xsd"\r\n  elementFormDefault="qualified"\r\n>\r\n  <xs:element name="Boolean" nillable="true" type="xs:boolean" />\r\n\r\n  <xs:complexType name="ListOfBoolean">\r\n    <xs:sequence>\r\n      <xs:element name="Boolean" type="xs:boolean" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBoolean" type="tns:ListOfBoolean" nillable="true"></xs:element>\r\n\r\n  <xs:element name="SByte" nillable="true" type="xs:byte" />\r\n\r\n  <xs:complexType name="ListOfSByte">\r\n    <xs:sequence>\r\n      <xs:element name="SByte" type="xs:byte" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSByte" type="tns:ListOfSByte" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Byte" nillable="true" type="xs:unsignedByte" />\r\n\r\n  <xs:complexType name="ListOfByte">\r\n    <xs:sequence>\r\n      <xs:element name="Byte" type="xs:unsignedByte" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfByte" type="tns:ListOfByte" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Int16" nillable="true" type="xs:short" />\r\n\r\n  <xs:complexType name="ListOfInt16">\r\n    <xs:sequence>\r\n      <xs:element name="Int16" type="xs:short" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfInt16" type="tns:ListOfInt16" nillable="true"></xs:element>\r\n\r\n  <xs:element name="UInt16" nillable="true" type="xs:unsignedShort" />\r\n\r\n  <xs:complexType name="ListOfUInt16">\r\n    <xs:sequence>\r\n      <xs:element name="UInt16" type="xs:unsignedShort" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUInt16" type="tns:ListOfUInt16" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Int32" nillable="true" type="xs:int" />\r\n\r\n  <xs:complexType name="ListOfInt32">\r\n    <xs:sequence>\r\n      <xs:element name="Int32" type="xs:int" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfInt32" type="tns:ListOfInt32" nillable="true"></xs:element>\r\n\r\n  <xs:element name="UInt32" nillable="true" type="xs:unsignedInt" />\r\n\r\n  <xs:complexType name="ListOfUInt32">\r\n    <xs:sequence>\r\n      <xs:element name="UInt32" type="xs:unsignedInt" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUInt32" type="tns:ListOfUInt32" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Int64" nillable="true" type="xs:long" />\r\n\r\n  <xs:complexType name="ListOfInt64">\r\n    <xs:sequence>\r\n      <xs:element name="Int64" type="xs:long" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfInt64" type="tns:ListOfInt64" nillable="true"></xs:element>\r\n\r\n  <xs:element name="UInt64" nillable="true" type="xs:unsignedLong" />\r\n\r\n  <xs:complexType name="ListOfUInt64">\r\n    <xs:sequence>\r\n      <xs:element name="UInt64" type="xs:unsignedLong" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUInt64" type="tns:ListOfUInt64" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Float" nillable="true" type="xs:float" />\r\n\r\n  <xs:complexType name="ListOfFloat">\r\n    <xs:sequence>\r\n      <xs:element name="Float" type="xs:float" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfFloat" type="tns:ListOfFloat" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Double" nillable="true" type="xs:double" />\r\n\r\n  <xs:complexType name="ListOfDouble">\r\n    <xs:sequence>\r\n      <xs:element name="Double" type="xs:double" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDouble" type="tns:ListOfDouble" nillable="true"></xs:element>\r\n\r\n  <xs:element name="String" nillable="true" type="xs:string" />\r\n\r\n  <xs:complexType name="ListOfString">\r\n    <xs:sequence>\r\n      <xs:element name="String" type="xs:string" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfString" type="tns:ListOfString" nillable="true"></xs:element>\r\n\r\n  <xs:element name="DateTime" nillable="true" type="xs:dateTime" />\r\n\r\n  <xs:complexType name="ListOfDateTime">\r\n    <xs:sequence>\r\n      <xs:element name="DateTime" type="xs:dateTime" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDateTime" type="tns:ListOfDateTime" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Guid">\r\n    <xs:annotation>\r\n      <xs:appinfo>\r\n        <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>\r\n      </xs:appinfo>\r\n    </xs:annotation>\r\n    <xs:sequence>\r\n      <xs:element name="String" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Guid" type="tns:Guid" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ListOfGuid">\r\n    <xs:sequence>\r\n      <xs:element name="Guid" type="tns:Guid" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfGuid" type="tns:ListOfGuid" nillable="true"></xs:element>\r\n\r\n  <xs:element name="ByteString" nillable="true" type="xs:base64Binary" />\r\n\r\n  <xs:complexType name="ListOfByteString">\r\n    <xs:sequence>\r\n      <xs:element name="ByteString" type="xs:base64Binary" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfByteString" type="tns:ListOfByteString" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ListOfXmlElement">\r\n    <xs:sequence>\r\n      <xs:element name="XmlElement" minOccurs="0" maxOccurs="unbounded" nillable="true">\r\n        <xs:complexType>\r\n          <xs:sequence>\r\n            <xs:any minOccurs="0" processContents="lax"/>\r\n          </xs:sequence>\r\n        </xs:complexType>\r\n      </xs:element>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfXmlElement" type="tns:ListOfXmlElement" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="NodeId">\r\n    <xs:sequence>\r\n      <xs:element name="Identifier" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NodeId" type="tns:NodeId" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ListOfNodeId">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="tns:NodeId" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNodeId" type="tns:ListOfNodeId" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ExpandedNodeId">\r\n    <xs:sequence>\r\n      <xs:element name="Identifier" type="xs:string" minOccurs="0" maxOccurs="1" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ExpandedNodeId" type="tns:ExpandedNodeId" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ListOfExpandedNodeId">\r\n    <xs:sequence>\r\n      <xs:element name="ExpandedNodeId" type="tns:ExpandedNodeId" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfExpandedNodeId" type="tns:ListOfExpandedNodeId" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="StatusCode">\r\n    <xs:annotation>\r\n      <xs:appinfo>\r\n        <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>\r\n      </xs:appinfo>\r\n    </xs:annotation>\r\n    <xs:sequence>\r\n      <xs:element name="Code" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="StatusCode" type="tns:StatusCode" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ListOfStatusCode">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="tns:StatusCode" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfStatusCode" type="tns:ListOfStatusCode" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DiagnosticInfo">\r\n    <xs:sequence>\r\n      <xs:element name="SymbolicId" type="xs:int" minOccurs="0" />\r\n      <xs:element name="NamespaceUri" type="xs:int" minOccurs="0" />\r\n      <xs:element name="Locale" type="xs:int" minOccurs="0" />\r\n      <xs:element name="LocalizedText" type="xs:int" minOccurs="0" />\r\n      <xs:element name="AdditionalInfo" type="xs:string" minOccurs="0" />\r\n      <xs:element name="InnerStatusCode" type="tns:StatusCode" minOccurs="0" />\r\n      <xs:element name="InnerDiagnosticInfo" type="tns:DiagnosticInfo" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DiagnosticInfo" type="tns:DiagnosticInfo" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ListOfDiagnosticInfo">\r\n    <xs:sequence>\r\n      <xs:element name="DiagnosticInfo" type="tns:DiagnosticInfo" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDiagnosticInfo" type="tns:ListOfDiagnosticInfo" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="LocalizedText">\r\n    <xs:sequence>\r\n      <xs:element name="Locale" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Text" type="xs:string" minOccurs="0"  nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="LocalizedText" type="tns:LocalizedText" nillable="true" />\r\n\r\n  <xs:complexType name="ListOfLocalizedText">\r\n    <xs:sequence>\r\n      <xs:element name="LocalizedText" type="tns:LocalizedText" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfLocalizedText" type="tns:ListOfLocalizedText" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="QualifiedName">\r\n    <xs:sequence>\r\n      <xs:element name="NamespaceIndex" type="xs:unsignedShort" minOccurs="0" />\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QualifiedName" type="tns:QualifiedName" nillable="true" />\r\n\r\n  <xs:complexType name="ListOfQualifiedName">\r\n    <xs:sequence>\r\n      <xs:element name="QualifiedName" type="tns:QualifiedName" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfQualifiedName" type="tns:ListOfQualifiedName" nillable="true"></xs:element>\r\n\r\n  <!--\r\n    Some environments require a WSDL/XSD which explicitly defines all possible types.\r\n    The UA WSDL/XSD can be modified to support these environments by replacing the\r\n    definitions of the ExtensionObjectBody and VariantValue complex types with the\r\n    definitions in the comments shown here. Developers would then define subtypes\r\n    of the ExtensionObjectBody type which explicitly declare a choice between all of the\r\n    complex types used by the system. The ExampleExtensionObjectBody subtype is provides\r\n    a template based on a few common UA-defined complex types.\r\n    -->\r\n\r\n  <!--\r\n    <xs:complexType name="ExtensionObjectBody" />\r\n\r\n    <xs:complexType name="ExampleExtensionObjectBody">\r\n      <xs:complexContent>\r\n        <xs:extension base="tns:ExtensionObjectBody">\r\n          <xs:choice>\r\n            <xs:element name="Argument" type="tns:Argument" minOccurs="0" nillable="true" />\r\n            <xs:element name="UserIdentityToken" type="tns:UserIdentityToken" minOccurs="0" nillable="true" />\r\n            <xs:element name="UserNameIdentityToken" type="tns:UserNameIdentityToken" minOccurs="0" nillable="true" />\r\n          </xs:choice>\r\n        </xs:extension>\r\n      </xs:complexContent>\r\n    </xs:complexType>\r\n\r\n    <xs:complexType name="ExtensionObject">\r\n      <xs:sequence>\r\n        <xs:element name="TypeId" type="tns:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n        <xs:element name="Body" minOccurs="0" type="tns:ExtensionObjectBody" nillable="true" />\r\n      </xs:sequence>\r\n    </xs:complexType>\r\n    <xs:element name="ExtensionObject" type="tns:ExtensionObject" nillable="true" />\r\n    -->\r\n\r\n  <xs:complexType name="ExtensionObject">\r\n    <xs:sequence>\r\n      <xs:element name="TypeId" type="tns:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Body" minOccurs="0" nillable="true">\r\n        <xs:complexType>\r\n          <xs:sequence>\r\n            <xs:any minOccurs="0" processContents="lax"/>\r\n          </xs:sequence>\r\n        </xs:complexType>\r\n      </xs:element>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ExtensionObject" type="tns:ExtensionObject" nillable="true" />\r\n\r\n  <xs:complexType name="ListOfExtensionObject">\r\n    <xs:sequence>\r\n      <xs:element name="ExtensionObject" type="tns:ExtensionObject" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfExtensionObject" type="tns:ListOfExtensionObject" nillable="true"></xs:element>\r\n\r\n  <!--\r\n    Some WSDL/XML compilers have issues with the xs:choice construct. For that reason\r\n    the default declaration of a Variant uses xs:any construct. The schema acutually\r\n    defined by the specification is provided by the Matrix and VariantValue complex types\r\n    shown in comments below. Application developers can replace the VariantValue declaration\r\n    with the specific declaration if they have a development environment that can handle\r\n    the xs:choice construct in a reasonable way.\r\n    -->\r\n\r\n  <!--\r\n    <xs:complexType name="Matrix">\r\n      <xs:sequence>\r\n        <xs:element name="Dimensions" type="tns:ListOfUInt32" minOccurs="0" nillable="true" />\r\n        <xs:element name="Value" minOccurs="0" nillable="true">\r\n          <xs:complexType mixed="false">\r\n            <xs:choice maxOccurs="unbounded">\r\n              <xs:element name="Boolean" type="xs:boolean" minOccurs="0" />\r\n              <xs:element name="SByte" type="xs:byte" minOccurs="0" />\r\n              <xs:element name="Byte" type="xs:unsignedByte" minOccurs="0" />\r\n              <xs:element name="Int16" type="xs:short" minOccurs="0" />\r\n              <xs:element name="UInt16" type="xs:unsignedShort" minOccurs="0" />\r\n              <xs:element name="Int32" type="xs:int" minOccurs="0" />\r\n              <xs:element name="UInt32" type="xs:unsignedInt" minOccurs="0" />\r\n              <xs:element name="Int64" type="xs:long" minOccurs="0" />\r\n              <xs:element name="UInt64" type="xs:unsignedLong" minOccurs="0" />\r\n              <xs:element name="Float" type="xs:float" minOccurs="0" />\r\n              <xs:element name="Double" type="xs:double" minOccurs="0" />\r\n              <xs:element name="String" type="xs:string" minOccurs="0" />\r\n              <xs:element name="DateTime" type="xs:dateTime" minOccurs="0" />\r\n              <xs:element name="Guid" type="tns:Guid" minOccurs="0" />\r\n              <xs:element name="ByteString" type="xs:base64Binary" minOccurs="0" />\r\n              <xs:element name="XmlElement" minOccurs="0" nillable="true">\r\n                <xs:complexType>\r\n                  <xs:sequence>\r\n                    <xs:any minOccurs="0" processContents="lax" />\r\n                  </xs:sequence>\r\n                </xs:complexType>\r\n              </xs:element>\r\n              <xs:element name="StatusCode" type="tns:StatusCode" minOccurs="0" />\r\n              <xs:element name="NodeId" type="tns:NodeId" minOccurs="0" />\r\n              <xs:element name="ExpandedNodeId" type="tns:ExpandedNodeId" minOccurs="0" />\r\n              <xs:element name="QualifiedName" type="tns:QualifiedName" minOccurs="0" />\r\n              <xs:element name="LocalizedText" type="tns:LocalizedText" minOccurs="0" />\r\n              <xs:element name="ExtensionObject" type="tns:ExtensionObject" minOccurs="0" />\r\n              <xs:element name="Variant" type="tns:Variant" minOccurs="0" />\r\n            </xs:choice>\r\n          </xs:complexType>\r\n        </xs:element>\r\n      </xs:sequence>\r\n    </xs:complexType>\r\n    <xs:element name="Matrix" type="tns:Matrix" nillable="true" />\r\n\r\n    <xs:complexType name="VariantValue">\r\n      <xs:choice>\r\n        <xs:element name="Boolean" type="xs:boolean" minOccurs="0" />\r\n        <xs:element name="SByte" type="xs:byte" minOccurs="0" />\r\n        <xs:element name="Byte" type="xs:unsignedByte" minOccurs="0" />\r\n        <xs:element name="Int16" type="xs:short" minOccurs="0" />\r\n        <xs:element name="UInt16" type="xs:unsignedShort" minOccurs="0" />\r\n        <xs:element name="Int32" type="xs:int" minOccurs="0" />\r\n        <xs:element name="UInt32" type="xs:unsignedInt" minOccurs="0" />\r\n        <xs:element name="Int64" type="xs:long" minOccurs="0" />\r\n        <xs:element name="UInt64" type="xs:unsignedLong" minOccurs="0" />\r\n        <xs:element name="Float" type="xs:float" minOccurs="0" />\r\n        <xs:element name="Double" type="xs:double" minOccurs="0" />\r\n        <xs:element name="String" type="xs:string" minOccurs="0" />\r\n        <xs:element name="DateTime" type="xs:dateTime" minOccurs="0" />\r\n        <xs:element name="Guid" type="tns:Guid" minOccurs="0" />\r\n        <xs:element name="ByteString" type="xs:base64Binary" minOccurs="0" />\r\n        <xs:element name="XmlElement" minOccurs="0" nillable="true">\r\n          <xs:complexType>\r\n            <xs:sequence>\r\n              <xs:any minOccurs="0" processContents="lax" />\r\n            </xs:sequence>\r\n          </xs:complexType>\r\n        </xs:element>\r\n        <xs:element name="StatusCode" type="tns:StatusCode" minOccurs="0" />\r\n        <xs:element name="NodeId" type="tns:NodeId" minOccurs="0" />\r\n        <xs:element name="ExpandedNodeId" type="tns:ExpandedNodeId" minOccurs="0" />\r\n        <xs:element name="QualifiedName" type="tns:QualifiedName" minOccurs="0" />\r\n        <xs:element name="LocalizedText" type="tns:LocalizedText" minOccurs="0" />\r\n        <xs:element name="ExtensionObject" type="tns:ExtensionObject" minOccurs="0" />\r\n        <xs:element name="ListOfBoolean" type="tns:ListOfBoolean" minOccurs="0" />\r\n        <xs:element name="ListOfSByte" type="tns:ListOfSByte" minOccurs="0" />\r\n        <xs:element name="ListOfByte" type="tns:ListOfByte" minOccurs="0" />\r\n        <xs:element name="ListOfInt16" type="tns:ListOfInt16" minOccurs="0" />\r\n        <xs:element name="ListOfUInt16" type="tns:ListOfUInt16" minOccurs="0" />\r\n        <xs:element name="ListOfInt32" type="tns:ListOfInt32" minOccurs="0" />\r\n        <xs:element name="ListOfUInt32" type="tns:ListOfUInt32" minOccurs="0" />\r\n        <xs:element name="ListOfInt64" type="tns:ListOfInt64" minOccurs="0" />\r\n        <xs:element name="ListOfUInt64" type="tns:ListOfUInt64" minOccurs="0" />\r\n        <xs:element name="ListOfFloat" type="tns:ListOfFloat" minOccurs="0" />\r\n        <xs:element name="ListOfDouble" type="tns:ListOfDouble" minOccurs="0" />\r\n        <xs:element name="ListOfString" type="tns:ListOfString" minOccurs="0" />\r\n        <xs:element name="ListOfDateTime" type="tns:ListOfDateTime" minOccurs="0" />\r\n        <xs:element name="ListOfGuid" type="tns:ListOfGuid" minOccurs="0" />\r\n        <xs:element name="ListOfByteString" type="tns:ListOfByteString" minOccurs="0" />\r\n        <xs:element name="ListOfXmlElement" type="tns:ListOfXmlElement" minOccurs="0" />\r\n        <xs:element name="ListOfStatusCode" type="tns:ListOfStatusCode" minOccurs="0" />\r\n        <xs:element name="ListOfNodeId" type="tns:ListOfNodeId" minOccurs="0" />\r\n        <xs:element name="ListOfExpandedNodeId" type="tns:ListOfExpandedNodeId" minOccurs="0" />\r\n        <xs:element name="ListOfQualifiedName" type="tns:ListOfQualifiedName" minOccurs="0" />\r\n        <xs:element name="ListOfLocalizedText" type="tns:ListOfLocalizedText" minOccurs="0" />\r\n        <xs:element name="ListOfExtensionObject" type="tns:ListOfExtensionObject" minOccurs="0" />\r\n        <xs:element name="ListOfVariant" type="tns:ListOfVariant" minOccurs="0" />\r\n        <xs:element name="Matrix" type="tns:Matrix" minOccurs="0" />\r\n      </xs:choice>\r\n    </xs:complexType>\r\n\r\n    <xs:complexType name="Variant">\r\n      <xs:sequence>\r\n        <xs:element name="Value" type="tns:VariantValue" minOccurs="0" nillable="true" />\r\n      </xs:sequence>\r\n    </xs:complexType>\r\n    <xs:element name="Variant" type="tns:Variant" nillable="true" />\r\n    -->\r\n\r\n  <xs:complexType name="Variant">\r\n    <xs:annotation>\r\n      <xs:appinfo>\r\n        <IsValueType xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsValueType>\r\n      </xs:appinfo>\r\n    </xs:annotation>\r\n    <xs:sequence>\r\n      <xs:element name="Value" minOccurs="0" nillable="true">\r\n        <xs:complexType>\r\n          <xs:sequence>\r\n            <xs:any minOccurs="0" processContents="lax" />\r\n          </xs:sequence>\r\n        </xs:complexType>\r\n      </xs:element>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Variant" type="tns:Variant" nillable="true" />\r\n\r\n  <xs:complexType name="ListOfVariant">\r\n    <xs:sequence>\r\n      <xs:element name="Variant" type="tns:Variant" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfVariant" type="tns:ListOfVariant" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataValue">\r\n    <xs:sequence>\r\n      <xs:element name="Value" type="tns:Variant" minOccurs="0" />\r\n      <xs:element name="StatusCode" type="tns:StatusCode" minOccurs="0" />\r\n      <xs:element name="SourceTimestamp" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="SourcePicoseconds" type="xs:unsignedShort" minOccurs="0" />\r\n      <xs:element name="ServerTimestamp" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="ServerPicoseconds" type="xs:unsignedShort" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataValue" type="tns:DataValue" nillable="true"/>\r\n\r\n  <xs:complexType name="ListOfDataValue">\r\n    <xs:sequence>\r\n      <xs:element name="DataValue" type="tns:DataValue" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataValue" type="tns:ListOfDataValue" nillable="true"></xs:element>\r\n\r\n  <xs:element name="InvokeServiceRequest" type="xs:base64Binary" nillable="true" />\r\n  <xs:element name="InvokeServiceResponse" type="xs:base64Binary" nillable="true" />\r\n\r\n  <xs:element name="ImageBMP" type="xs:base64Binary" />\r\n\r\n  <xs:element name="ImageGIF" type="xs:base64Binary" />\r\n\r\n  <xs:element name="ImageJPG" type="xs:base64Binary" />\r\n\r\n  <xs:element name="ImagePNG" type="xs:base64Binary" />\r\n\r\n  <xs:element name="AudioDataType" type="xs:base64Binary" />\r\n\r\n  <xs:element name="BitFieldMaskDataType" type="xs:unsignedLong" />\r\n\r\n  <xs:complexType name="KeyValuePair">\r\n    <xs:sequence>\r\n      <xs:element name="Key" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n      <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="KeyValuePair" type="tns:KeyValuePair" />\r\n\r\n  <xs:complexType name="ListOfKeyValuePair">\r\n    <xs:sequence>\r\n      <xs:element name="KeyValuePair" type="tns:KeyValuePair" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfKeyValuePair" type="tns:ListOfKeyValuePair" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EndpointType">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityMode" type="tns:MessageSecurityMode" minOccurs="0" />\r\n      <xs:element name="SecurityPolicyUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransportProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EndpointType" type="tns:EndpointType" />\r\n\r\n  <xs:complexType name="ListOfEndpointType">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointType" type="tns:EndpointType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEndpointType" type="tns:ListOfEndpointType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="RationalNumber">\r\n    <xs:sequence>\r\n      <xs:element name="Numerator" type="xs:int" minOccurs="0" />\r\n      <xs:element name="Denominator" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RationalNumber" type="tns:RationalNumber" />\r\n\r\n  <xs:complexType name="ListOfRationalNumber">\r\n    <xs:sequence>\r\n      <xs:element name="RationalNumber" type="tns:RationalNumber" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfRationalNumber" type="tns:ListOfRationalNumber" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Vector">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Vector" type="tns:Vector" />\r\n\r\n  <xs:complexType name="ListOfVector">\r\n    <xs:sequence>\r\n      <xs:element name="Vector" type="tns:Vector" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfVector" type="tns:ListOfVector" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ThreeDVector">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:Vector">\r\n        <xs:sequence>\r\n          <xs:element name="X" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Y" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Z" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ThreeDVector" type="tns:ThreeDVector" />\r\n\r\n  <xs:complexType name="ListOfThreeDVector">\r\n    <xs:sequence>\r\n      <xs:element name="ThreeDVector" type="tns:ThreeDVector" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfThreeDVector" type="tns:ListOfThreeDVector" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="CartesianCoordinates">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CartesianCoordinates" type="tns:CartesianCoordinates" />\r\n\r\n  <xs:complexType name="ListOfCartesianCoordinates">\r\n    <xs:sequence>\r\n      <xs:element name="CartesianCoordinates" type="tns:CartesianCoordinates" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfCartesianCoordinates" type="tns:ListOfCartesianCoordinates" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ThreeDCartesianCoordinates">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:CartesianCoordinates">\r\n        <xs:sequence>\r\n          <xs:element name="X" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Y" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Z" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ThreeDCartesianCoordinates" type="tns:ThreeDCartesianCoordinates" />\r\n\r\n  <xs:complexType name="ListOfThreeDCartesianCoordinates">\r\n    <xs:sequence>\r\n      <xs:element name="ThreeDCartesianCoordinates" type="tns:ThreeDCartesianCoordinates" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfThreeDCartesianCoordinates" type="tns:ListOfThreeDCartesianCoordinates" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Orientation">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Orientation" type="tns:Orientation" />\r\n\r\n  <xs:complexType name="ListOfOrientation">\r\n    <xs:sequence>\r\n      <xs:element name="Orientation" type="tns:Orientation" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfOrientation" type="tns:ListOfOrientation" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ThreeDOrientation">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:Orientation">\r\n        <xs:sequence>\r\n          <xs:element name="A" type="xs:double" minOccurs="0" />\r\n          <xs:element name="B" type="xs:double" minOccurs="0" />\r\n          <xs:element name="C" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ThreeDOrientation" type="tns:ThreeDOrientation" />\r\n\r\n  <xs:complexType name="ListOfThreeDOrientation">\r\n    <xs:sequence>\r\n      <xs:element name="ThreeDOrientation" type="tns:ThreeDOrientation" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfThreeDOrientation" type="tns:ListOfThreeDOrientation" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Frame">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Frame" type="tns:Frame" />\r\n\r\n  <xs:complexType name="ListOfFrame">\r\n    <xs:sequence>\r\n      <xs:element name="Frame" type="tns:Frame" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfFrame" type="tns:ListOfFrame" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ThreeDFrame">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:Frame">\r\n        <xs:sequence>\r\n          <xs:element name="CartesianCoordinates" type="tns:ThreeDCartesianCoordinates" minOccurs="0" nillable="true" />\r\n          <xs:element name="Orientation" type="tns:ThreeDOrientation" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ThreeDFrame" type="tns:ThreeDFrame" />\r\n\r\n  <xs:complexType name="ListOfThreeDFrame">\r\n    <xs:sequence>\r\n      <xs:element name="ThreeDFrame" type="tns:ThreeDFrame" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfThreeDFrame" type="tns:ListOfThreeDFrame" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="OpenFileMode">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Read_1" />\r\n      <xs:enumeration value="Write_2" />\r\n      <xs:enumeration value="EraseExisting_4" />\r\n      <xs:enumeration value="Append_8" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="OpenFileMode" type="tns:OpenFileMode" />\r\n\r\n  <xs:complexType name="ListOfOpenFileMode">\r\n    <xs:sequence>\r\n      <xs:element name="OpenFileMode" type="tns:OpenFileMode" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfOpenFileMode" type="tns:ListOfOpenFileMode" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="IdentityCriteriaType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="UserName_1" />\r\n      <xs:enumeration value="Thumbprint_2" />\r\n      <xs:enumeration value="Role_3" />\r\n      <xs:enumeration value="GroupId_4" />\r\n      <xs:enumeration value="Anonymous_5" />\r\n      <xs:enumeration value="AuthenticatedUser_6" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="IdentityCriteriaType" type="tns:IdentityCriteriaType" />\r\n\r\n  <xs:complexType name="ListOfIdentityCriteriaType">\r\n    <xs:sequence>\r\n      <xs:element name="IdentityCriteriaType" type="tns:IdentityCriteriaType" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfIdentityCriteriaType" type="tns:ListOfIdentityCriteriaType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="IdentityMappingRuleType">\r\n    <xs:sequence>\r\n      <xs:element name="CriteriaType" type="tns:IdentityCriteriaType" minOccurs="0" />\r\n      <xs:element name="Criteria" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="IdentityMappingRuleType" type="tns:IdentityMappingRuleType" />\r\n\r\n  <xs:complexType name="ListOfIdentityMappingRuleType">\r\n    <xs:sequence>\r\n      <xs:element name="IdentityMappingRuleType" type="tns:IdentityMappingRuleType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfIdentityMappingRuleType" type="tns:ListOfIdentityMappingRuleType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="CurrencyUnitType">\r\n    <xs:sequence>\r\n      <xs:element name="NumericCode" type="xs:short" minOccurs="0" />\r\n      <xs:element name="Exponent" type="xs:byte" minOccurs="0" />\r\n      <xs:element name="AlphabeticCode" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Currency" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CurrencyUnitType" type="tns:CurrencyUnitType" />\r\n\r\n  <xs:complexType name="ListOfCurrencyUnitType">\r\n    <xs:sequence>\r\n      <xs:element name="CurrencyUnitType" type="tns:CurrencyUnitType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfCurrencyUnitType" type="tns:ListOfCurrencyUnitType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="TrustListMasks">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="None_0" />\r\n      <xs:enumeration value="TrustedCertificates_1" />\r\n      <xs:enumeration value="TrustedCrls_2" />\r\n      <xs:enumeration value="IssuerCertificates_4" />\r\n      <xs:enumeration value="IssuerCrls_8" />\r\n      <xs:enumeration value="All_15" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="TrustListMasks" type="tns:TrustListMasks" />\r\n\r\n  <xs:complexType name="TrustListDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SpecifiedLists" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TrustedCertificates" type="ua:ListOfByteString" minOccurs="0" nillable="true" />\r\n      <xs:element name="TrustedCrls" type="ua:ListOfByteString" minOccurs="0" nillable="true" />\r\n      <xs:element name="IssuerCertificates" type="ua:ListOfByteString" minOccurs="0" nillable="true" />\r\n      <xs:element name="IssuerCrls" type="ua:ListOfByteString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TrustListDataType" type="tns:TrustListDataType" />\r\n\r\n  <xs:complexType name="ListOfTrustListDataType">\r\n    <xs:sequence>\r\n      <xs:element name="TrustListDataType" type="tns:TrustListDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfTrustListDataType" type="tns:ListOfTrustListDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DecimalDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Scale" type="xs:short" minOccurs="0" />\r\n      <xs:element name="Value" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DecimalDataType" type="tns:DecimalDataType" />\r\n\r\n  <xs:complexType name="DataTypeSchemaHeader">\r\n    <xs:sequence>\r\n      <xs:element name="Namespaces" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="StructureDataTypes" type="tns:ListOfStructureDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="EnumDataTypes" type="tns:ListOfEnumDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="SimpleDataTypes" type="tns:ListOfSimpleTypeDescription" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataTypeSchemaHeader" type="tns:DataTypeSchemaHeader" />\r\n\r\n  <xs:complexType name="ListOfDataTypeSchemaHeader">\r\n    <xs:sequence>\r\n      <xs:element name="DataTypeSchemaHeader" type="tns:DataTypeSchemaHeader" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataTypeSchemaHeader" type="tns:ListOfDataTypeSchemaHeader" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataTypeDescription">\r\n    <xs:sequence>\r\n      <xs:element name="DataTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Name" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataTypeDescription" type="tns:DataTypeDescription" />\r\n\r\n  <xs:complexType name="ListOfDataTypeDescription">\r\n    <xs:sequence>\r\n      <xs:element name="DataTypeDescription" type="tns:DataTypeDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataTypeDescription" type="tns:ListOfDataTypeDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="StructureDescription">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeDescription">\r\n        <xs:sequence>\r\n          <xs:element name="StructureDefinition" type="tns:StructureDefinition" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="StructureDescription" type="tns:StructureDescription" />\r\n\r\n  <xs:complexType name="ListOfStructureDescription">\r\n    <xs:sequence>\r\n      <xs:element name="StructureDescription" type="tns:StructureDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfStructureDescription" type="tns:ListOfStructureDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EnumDescription">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeDescription">\r\n        <xs:sequence>\r\n          <xs:element name="EnumDefinition" type="tns:EnumDefinition" minOccurs="0" nillable="true" />\r\n          <xs:element name="BuiltInType" type="xs:unsignedByte" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="EnumDescription" type="tns:EnumDescription" />\r\n\r\n  <xs:complexType name="ListOfEnumDescription">\r\n    <xs:sequence>\r\n      <xs:element name="EnumDescription" type="tns:EnumDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEnumDescription" type="tns:ListOfEnumDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SimpleTypeDescription">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeDescription">\r\n        <xs:sequence>\r\n          <xs:element name="BaseDataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="BuiltInType" type="xs:unsignedByte" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="SimpleTypeDescription" type="tns:SimpleTypeDescription" />\r\n\r\n  <xs:complexType name="ListOfSimpleTypeDescription">\r\n    <xs:sequence>\r\n      <xs:element name="SimpleTypeDescription" type="tns:SimpleTypeDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSimpleTypeDescription" type="tns:ListOfSimpleTypeDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="UABinaryFileDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeSchemaHeader">\r\n        <xs:sequence>\r\n          <xs:element name="SchemaLocation" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="FileHeader" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n          <xs:element name="Body" type="ua:Variant" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UABinaryFileDataType" type="tns:UABinaryFileDataType" />\r\n\r\n  <xs:complexType name="ListOfUABinaryFileDataType">\r\n    <xs:sequence>\r\n      <xs:element name="UABinaryFileDataType" type="tns:UABinaryFileDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUABinaryFileDataType" type="tns:ListOfUABinaryFileDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="PubSubState">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Disabled_0" />\r\n      <xs:enumeration value="Paused_1" />\r\n      <xs:enumeration value="Operational_2" />\r\n      <xs:enumeration value="Error_3" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="PubSubState" type="tns:PubSubState" />\r\n\r\n  <xs:complexType name="ListOfPubSubState">\r\n    <xs:sequence>\r\n      <xs:element name="PubSubState" type="tns:PubSubState" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPubSubState" type="tns:ListOfPubSubState" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetMetaDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeSchemaHeader">\r\n        <xs:sequence>\r\n          <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n          <xs:element name="Fields" type="tns:ListOfFieldMetaData" minOccurs="0" nillable="true" />\r\n          <xs:element name="DataSetClassId" type="ua:Guid" minOccurs="0" />\r\n          <xs:element name="ConfigurationVersion" type="tns:ConfigurationVersionDataType" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetMetaDataType" type="tns:DataSetMetaDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetMetaDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetMetaDataType" type="tns:DataSetMetaDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetMetaDataType" type="tns:ListOfDataSetMetaDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="FieldMetaData">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="FieldFlags" type="tns:DataSetFieldFlags" minOccurs="0" />\r\n      <xs:element name="BuiltInType" type="xs:unsignedByte" minOccurs="0" />\r\n      <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n      <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="MaxStringLength" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DataSetFieldId" type="ua:Guid" minOccurs="0" />\r\n      <xs:element name="Properties" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FieldMetaData" type="tns:FieldMetaData" />\r\n\r\n  <xs:complexType name="ListOfFieldMetaData">\r\n    <xs:sequence>\r\n      <xs:element name="FieldMetaData" type="tns:FieldMetaData" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfFieldMetaData" type="tns:ListOfFieldMetaData" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="DataSetFieldFlags">\r\n    <xs:restriction base="xs:unsignedShort">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="DataSetFieldFlags" type="tns:DataSetFieldFlags" />\r\n\r\n  <xs:complexType name="ConfigurationVersionDataType">\r\n    <xs:sequence>\r\n      <xs:element name="MajorVersion" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MinorVersion" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ConfigurationVersionDataType" type="tns:ConfigurationVersionDataType" />\r\n\r\n  <xs:complexType name="ListOfConfigurationVersionDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ConfigurationVersionDataType" type="tns:ConfigurationVersionDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfConfigurationVersionDataType" type="tns:ListOfConfigurationVersionDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PublishedDataSetDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataSetFolder" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataSetMetaData" type="tns:DataSetMetaDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="ExtensionFields" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataSetSource" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PublishedDataSetDataType" type="tns:PublishedDataSetDataType" />\r\n\r\n  <xs:complexType name="ListOfPublishedDataSetDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedDataSetDataType" type="tns:PublishedDataSetDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPublishedDataSetDataType" type="tns:ListOfPublishedDataSetDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PublishedDataSetSourceDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PublishedDataSetSourceDataType" type="tns:PublishedDataSetSourceDataType" />\r\n\r\n  <xs:complexType name="ListOfPublishedDataSetSourceDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedDataSetSourceDataType" type="tns:PublishedDataSetSourceDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPublishedDataSetSourceDataType" type="tns:ListOfPublishedDataSetSourceDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PublishedVariableDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedVariable" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SamplingIntervalHint" type="xs:double" minOccurs="0" />\r\n      <xs:element name="DeadbandType" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DeadbandValue" type="xs:double" minOccurs="0" />\r\n      <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubstituteValue" type="ua:Variant" minOccurs="0" />\r\n      <xs:element name="MetaDataProperties" type="ua:ListOfQualifiedName" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PublishedVariableDataType" type="tns:PublishedVariableDataType" />\r\n\r\n  <xs:complexType name="ListOfPublishedVariableDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedVariableDataType" type="tns:PublishedVariableDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPublishedVariableDataType" type="tns:ListOfPublishedVariableDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PublishedDataItemsDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:PublishedDataSetSourceDataType">\r\n        <xs:sequence>\r\n          <xs:element name="PublishedData" type="tns:ListOfPublishedVariableDataType" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="PublishedDataItemsDataType" type="tns:PublishedDataItemsDataType" />\r\n\r\n  <xs:complexType name="ListOfPublishedDataItemsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedDataItemsDataType" type="tns:PublishedDataItemsDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPublishedDataItemsDataType" type="tns:ListOfPublishedDataItemsDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PublishedEventsDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:PublishedDataSetSourceDataType">\r\n        <xs:sequence>\r\n          <xs:element name="EventNotifier" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="SelectedFields" type="tns:ListOfSimpleAttributeOperand" minOccurs="0" nillable="true" />\r\n          <xs:element name="Filter" type="tns:ContentFilter" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="PublishedEventsDataType" type="tns:PublishedEventsDataType" />\r\n\r\n  <xs:complexType name="ListOfPublishedEventsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedEventsDataType" type="tns:PublishedEventsDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPublishedEventsDataType" type="tns:ListOfPublishedEventsDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="DataSetFieldContentMask">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="DataSetFieldContentMask" type="tns:DataSetFieldContentMask" />\r\n\r\n  <xs:complexType name="ListOfDataSetFieldContentMask">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetFieldContentMask" type="tns:DataSetFieldContentMask" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetFieldContentMask" type="tns:ListOfDataSetFieldContentMask" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetWriterDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Enabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="DataSetWriterId" type="xs:unsignedShort" minOccurs="0" />\r\n      <xs:element name="DataSetFieldContentMask" type="tns:DataSetFieldContentMask" minOccurs="0" />\r\n      <xs:element name="KeyFrameCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DataSetName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataSetWriterProperties" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransportSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="MessageSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetWriterDataType" type="tns:DataSetWriterDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetWriterDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetWriterDataType" type="tns:DataSetWriterDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetWriterDataType" type="tns:ListOfDataSetWriterDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetWriterTransportDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetWriterTransportDataType" type="tns:DataSetWriterTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetWriterTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetWriterTransportDataType" type="tns:DataSetWriterTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetWriterTransportDataType" type="tns:ListOfDataSetWriterTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetWriterMessageDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetWriterMessageDataType" type="tns:DataSetWriterMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetWriterMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetWriterMessageDataType" type="tns:DataSetWriterMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetWriterMessageDataType" type="tns:ListOfDataSetWriterMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PubSubGroupDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Enabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="SecurityMode" type="tns:MessageSecurityMode" minOccurs="0" />\r\n      <xs:element name="SecurityGroupId" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityKeyServices" type="tns:ListOfEndpointDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="MaxNetworkMessageSize" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="GroupProperties" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PubSubGroupDataType" type="tns:PubSubGroupDataType" />\r\n\r\n  <xs:complexType name="ListOfPubSubGroupDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PubSubGroupDataType" type="tns:PubSubGroupDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPubSubGroupDataType" type="tns:ListOfPubSubGroupDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="WriterGroupDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:PubSubGroupDataType">\r\n        <xs:sequence>\r\n          <xs:element name="WriterGroupId" type="xs:unsignedShort" minOccurs="0" />\r\n          <xs:element name="PublishingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="KeepAliveTime" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Priority" type="xs:unsignedByte" minOccurs="0" />\r\n          <xs:element name="LocaleIds" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n          <xs:element name="HeaderLayoutUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="TransportSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n          <xs:element name="MessageSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n          <xs:element name="DataSetWriters" type="tns:ListOfDataSetWriterDataType" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="WriterGroupDataType" type="tns:WriterGroupDataType" />\r\n\r\n  <xs:complexType name="ListOfWriterGroupDataType">\r\n    <xs:sequence>\r\n      <xs:element name="WriterGroupDataType" type="tns:WriterGroupDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfWriterGroupDataType" type="tns:ListOfWriterGroupDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="WriterGroupTransportDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="WriterGroupTransportDataType" type="tns:WriterGroupTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfWriterGroupTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="WriterGroupTransportDataType" type="tns:WriterGroupTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfWriterGroupTransportDataType" type="tns:ListOfWriterGroupTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="WriterGroupMessageDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="WriterGroupMessageDataType" type="tns:WriterGroupMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfWriterGroupMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="WriterGroupMessageDataType" type="tns:WriterGroupMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfWriterGroupMessageDataType" type="tns:ListOfWriterGroupMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PubSubConnectionDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Enabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="PublisherId" type="ua:Variant" minOccurs="0" />\r\n      <xs:element name="TransportProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Address" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="ConnectionProperties" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransportSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="WriterGroups" type="tns:ListOfWriterGroupDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReaderGroups" type="tns:ListOfReaderGroupDataType" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PubSubConnectionDataType" type="tns:PubSubConnectionDataType" />\r\n\r\n  <xs:complexType name="ListOfPubSubConnectionDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PubSubConnectionDataType" type="tns:PubSubConnectionDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPubSubConnectionDataType" type="tns:ListOfPubSubConnectionDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ConnectionTransportDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ConnectionTransportDataType" type="tns:ConnectionTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfConnectionTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ConnectionTransportDataType" type="tns:ConnectionTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfConnectionTransportDataType" type="tns:ListOfConnectionTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="NetworkAddressDataType">\r\n    <xs:sequence>\r\n      <xs:element name="NetworkInterface" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NetworkAddressDataType" type="tns:NetworkAddressDataType" />\r\n\r\n  <xs:complexType name="ListOfNetworkAddressDataType">\r\n    <xs:sequence>\r\n      <xs:element name="NetworkAddressDataType" type="tns:NetworkAddressDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNetworkAddressDataType" type="tns:ListOfNetworkAddressDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="NetworkAddressUrlDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NetworkAddressDataType">\r\n        <xs:sequence>\r\n          <xs:element name="Url" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="NetworkAddressUrlDataType" type="tns:NetworkAddressUrlDataType" />\r\n\r\n  <xs:complexType name="ListOfNetworkAddressUrlDataType">\r\n    <xs:sequence>\r\n      <xs:element name="NetworkAddressUrlDataType" type="tns:NetworkAddressUrlDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNetworkAddressUrlDataType" type="tns:ListOfNetworkAddressUrlDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ReaderGroupDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:PubSubGroupDataType">\r\n        <xs:sequence>\r\n          <xs:element name="TransportSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n          <xs:element name="MessageSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n          <xs:element name="DataSetReaders" type="tns:ListOfDataSetReaderDataType" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReaderGroupDataType" type="tns:ReaderGroupDataType" />\r\n\r\n  <xs:complexType name="ListOfReaderGroupDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ReaderGroupDataType" type="tns:ReaderGroupDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfReaderGroupDataType" type="tns:ListOfReaderGroupDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ReaderGroupTransportDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReaderGroupTransportDataType" type="tns:ReaderGroupTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfReaderGroupTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ReaderGroupTransportDataType" type="tns:ReaderGroupTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfReaderGroupTransportDataType" type="tns:ListOfReaderGroupTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ReaderGroupMessageDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReaderGroupMessageDataType" type="tns:ReaderGroupMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfReaderGroupMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ReaderGroupMessageDataType" type="tns:ReaderGroupMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfReaderGroupMessageDataType" type="tns:ListOfReaderGroupMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetReaderDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Enabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="PublisherId" type="ua:Variant" minOccurs="0" />\r\n      <xs:element name="WriterGroupId" type="xs:unsignedShort" minOccurs="0" />\r\n      <xs:element name="DataSetWriterId" type="xs:unsignedShort" minOccurs="0" />\r\n      <xs:element name="DataSetMetaData" type="tns:DataSetMetaDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataSetFieldContentMask" type="tns:DataSetFieldContentMask" minOccurs="0" />\r\n      <xs:element name="MessageReceiveTimeout" type="xs:double" minOccurs="0" />\r\n      <xs:element name="KeyFrameCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="HeaderLayoutUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityMode" type="tns:MessageSecurityMode" minOccurs="0" />\r\n      <xs:element name="SecurityGroupId" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityKeyServices" type="tns:ListOfEndpointDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataSetReaderProperties" type="tns:ListOfKeyValuePair" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransportSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="MessageSettings" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscribedDataSet" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetReaderDataType" type="tns:DataSetReaderDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetReaderDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetReaderDataType" type="tns:DataSetReaderDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetReaderDataType" type="tns:ListOfDataSetReaderDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetReaderTransportDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetReaderTransportDataType" type="tns:DataSetReaderTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetReaderTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetReaderTransportDataType" type="tns:DataSetReaderTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetReaderTransportDataType" type="tns:ListOfDataSetReaderTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataSetReaderMessageDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataSetReaderMessageDataType" type="tns:DataSetReaderMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfDataSetReaderMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetReaderMessageDataType" type="tns:DataSetReaderMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetReaderMessageDataType" type="tns:ListOfDataSetReaderMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SubscribedDataSetDataType">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SubscribedDataSetDataType" type="tns:SubscribedDataSetDataType" />\r\n\r\n  <xs:complexType name="ListOfSubscribedDataSetDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SubscribedDataSetDataType" type="tns:SubscribedDataSetDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSubscribedDataSetDataType" type="tns:ListOfSubscribedDataSetDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="TargetVariablesDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:SubscribedDataSetDataType">\r\n        <xs:sequence>\r\n          <xs:element name="TargetVariables" type="tns:ListOfFieldTargetDataType" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="TargetVariablesDataType" type="tns:TargetVariablesDataType" />\r\n\r\n  <xs:complexType name="ListOfTargetVariablesDataType">\r\n    <xs:sequence>\r\n      <xs:element name="TargetVariablesDataType" type="tns:TargetVariablesDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfTargetVariablesDataType" type="tns:ListOfTargetVariablesDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="FieldTargetDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetFieldId" type="ua:Guid" minOccurs="0" />\r\n      <xs:element name="ReceiverIndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="TargetNodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="WriteIndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="OverrideValueHandling" type="tns:OverrideValueHandling" minOccurs="0" />\r\n      <xs:element name="OverrideValue" type="ua:Variant" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FieldTargetDataType" type="tns:FieldTargetDataType" />\r\n\r\n  <xs:complexType name="ListOfFieldTargetDataType">\r\n    <xs:sequence>\r\n      <xs:element name="FieldTargetDataType" type="tns:FieldTargetDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfFieldTargetDataType" type="tns:ListOfFieldTargetDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="OverrideValueHandling">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Disabled_0" />\r\n      <xs:enumeration value="LastUsableValue_1" />\r\n      <xs:enumeration value="OverrideValue_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="OverrideValueHandling" type="tns:OverrideValueHandling" />\r\n\r\n  <xs:complexType name="ListOfOverrideValueHandling">\r\n    <xs:sequence>\r\n      <xs:element name="OverrideValueHandling" type="tns:OverrideValueHandling" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfOverrideValueHandling" type="tns:ListOfOverrideValueHandling" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SubscribedDataSetMirrorDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:SubscribedDataSetDataType">\r\n        <xs:sequence>\r\n          <xs:element name="ParentNodeName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="RolePermissions" type="tns:ListOfRolePermissionType" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="SubscribedDataSetMirrorDataType" type="tns:SubscribedDataSetMirrorDataType" />\r\n\r\n  <xs:complexType name="ListOfSubscribedDataSetMirrorDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SubscribedDataSetMirrorDataType" type="tns:SubscribedDataSetMirrorDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSubscribedDataSetMirrorDataType" type="tns:ListOfSubscribedDataSetMirrorDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PubSubConfigurationDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PublishedDataSets" type="tns:ListOfPublishedDataSetDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="Connections" type="tns:ListOfPubSubConnectionDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="Enabled" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PubSubConfigurationDataType" type="tns:PubSubConfigurationDataType" />\r\n\r\n  <xs:complexType name="ListOfPubSubConfigurationDataType">\r\n    <xs:sequence>\r\n      <xs:element name="PubSubConfigurationDataType" type="tns:PubSubConfigurationDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPubSubConfigurationDataType" type="tns:ListOfPubSubConfigurationDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="DataSetOrderingType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Undefined_0" />\r\n      <xs:enumeration value="AscendingWriterId_1" />\r\n      <xs:enumeration value="AscendingWriterIdSingle_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="DataSetOrderingType" type="tns:DataSetOrderingType" />\r\n\r\n  <xs:complexType name="ListOfDataSetOrderingType">\r\n    <xs:sequence>\r\n      <xs:element name="DataSetOrderingType" type="tns:DataSetOrderingType" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataSetOrderingType" type="tns:ListOfDataSetOrderingType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="UadpNetworkMessageContentMask">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="UadpNetworkMessageContentMask" type="tns:UadpNetworkMessageContentMask" />\r\n\r\n  <xs:complexType name="ListOfUadpNetworkMessageContentMask">\r\n    <xs:sequence>\r\n      <xs:element name="UadpNetworkMessageContentMask" type="tns:UadpNetworkMessageContentMask" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUadpNetworkMessageContentMask" type="tns:ListOfUadpNetworkMessageContentMask" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="UadpWriterGroupMessageDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:WriterGroupMessageDataType">\r\n        <xs:sequence>\r\n          <xs:element name="GroupVersion" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="DataSetOrdering" type="tns:DataSetOrderingType" minOccurs="0" />\r\n          <xs:element name="NetworkMessageContentMask" type="tns:UadpNetworkMessageContentMask" minOccurs="0" />\r\n          <xs:element name="SamplingOffset" type="xs:double" minOccurs="0" />\r\n          <xs:element name="PublishingOffset" type="ua:ListOfDouble" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UadpWriterGroupMessageDataType" type="tns:UadpWriterGroupMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfUadpWriterGroupMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="UadpWriterGroupMessageDataType" type="tns:UadpWriterGroupMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUadpWriterGroupMessageDataType" type="tns:ListOfUadpWriterGroupMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="UadpDataSetMessageContentMask">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="UadpDataSetMessageContentMask" type="tns:UadpDataSetMessageContentMask" />\r\n\r\n  <xs:complexType name="ListOfUadpDataSetMessageContentMask">\r\n    <xs:sequence>\r\n      <xs:element name="UadpDataSetMessageContentMask" type="tns:UadpDataSetMessageContentMask" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUadpDataSetMessageContentMask" type="tns:ListOfUadpDataSetMessageContentMask" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="UadpDataSetWriterMessageDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataSetWriterMessageDataType">\r\n        <xs:sequence>\r\n          <xs:element name="DataSetMessageContentMask" type="tns:UadpDataSetMessageContentMask" minOccurs="0" />\r\n          <xs:element name="ConfiguredSize" type="xs:unsignedShort" minOccurs="0" />\r\n          <xs:element name="NetworkMessageNumber" type="xs:unsignedShort" minOccurs="0" />\r\n          <xs:element name="DataSetOffset" type="xs:unsignedShort" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UadpDataSetWriterMessageDataType" type="tns:UadpDataSetWriterMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfUadpDataSetWriterMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="UadpDataSetWriterMessageDataType" type="tns:UadpDataSetWriterMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUadpDataSetWriterMessageDataType" type="tns:ListOfUadpDataSetWriterMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="UadpDataSetReaderMessageDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataSetReaderMessageDataType">\r\n        <xs:sequence>\r\n          <xs:element name="GroupVersion" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="NetworkMessageNumber" type="xs:unsignedShort" minOccurs="0" />\r\n          <xs:element name="DataSetOffset" type="xs:unsignedShort" minOccurs="0" />\r\n          <xs:element name="DataSetClassId" type="ua:Guid" minOccurs="0" />\r\n          <xs:element name="NetworkMessageContentMask" type="tns:UadpNetworkMessageContentMask" minOccurs="0" />\r\n          <xs:element name="DataSetMessageContentMask" type="tns:UadpDataSetMessageContentMask" minOccurs="0" />\r\n          <xs:element name="PublishingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="ReceiveOffset" type="xs:double" minOccurs="0" />\r\n          <xs:element name="ProcessingOffset" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UadpDataSetReaderMessageDataType" type="tns:UadpDataSetReaderMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfUadpDataSetReaderMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="UadpDataSetReaderMessageDataType" type="tns:UadpDataSetReaderMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUadpDataSetReaderMessageDataType" type="tns:ListOfUadpDataSetReaderMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="JsonNetworkMessageContentMask">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="JsonNetworkMessageContentMask" type="tns:JsonNetworkMessageContentMask" />\r\n\r\n  <xs:complexType name="ListOfJsonNetworkMessageContentMask">\r\n    <xs:sequence>\r\n      <xs:element name="JsonNetworkMessageContentMask" type="tns:JsonNetworkMessageContentMask" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfJsonNetworkMessageContentMask" type="tns:ListOfJsonNetworkMessageContentMask" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="JsonWriterGroupMessageDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:WriterGroupMessageDataType">\r\n        <xs:sequence>\r\n          <xs:element name="NetworkMessageContentMask" type="tns:JsonNetworkMessageContentMask" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="JsonWriterGroupMessageDataType" type="tns:JsonWriterGroupMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfJsonWriterGroupMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="JsonWriterGroupMessageDataType" type="tns:JsonWriterGroupMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfJsonWriterGroupMessageDataType" type="tns:ListOfJsonWriterGroupMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="JsonDataSetMessageContentMask">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="JsonDataSetMessageContentMask" type="tns:JsonDataSetMessageContentMask" />\r\n\r\n  <xs:complexType name="ListOfJsonDataSetMessageContentMask">\r\n    <xs:sequence>\r\n      <xs:element name="JsonDataSetMessageContentMask" type="tns:JsonDataSetMessageContentMask" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfJsonDataSetMessageContentMask" type="tns:ListOfJsonDataSetMessageContentMask" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="JsonDataSetWriterMessageDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataSetWriterMessageDataType">\r\n        <xs:sequence>\r\n          <xs:element name="DataSetMessageContentMask" type="tns:JsonDataSetMessageContentMask" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="JsonDataSetWriterMessageDataType" type="tns:JsonDataSetWriterMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfJsonDataSetWriterMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="JsonDataSetWriterMessageDataType" type="tns:JsonDataSetWriterMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfJsonDataSetWriterMessageDataType" type="tns:ListOfJsonDataSetWriterMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="JsonDataSetReaderMessageDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataSetReaderMessageDataType">\r\n        <xs:sequence>\r\n          <xs:element name="NetworkMessageContentMask" type="tns:JsonNetworkMessageContentMask" minOccurs="0" />\r\n          <xs:element name="DataSetMessageContentMask" type="tns:JsonDataSetMessageContentMask" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="JsonDataSetReaderMessageDataType" type="tns:JsonDataSetReaderMessageDataType" />\r\n\r\n  <xs:complexType name="ListOfJsonDataSetReaderMessageDataType">\r\n    <xs:sequence>\r\n      <xs:element name="JsonDataSetReaderMessageDataType" type="tns:JsonDataSetReaderMessageDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfJsonDataSetReaderMessageDataType" type="tns:ListOfJsonDataSetReaderMessageDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DatagramConnectionTransportDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:ConnectionTransportDataType">\r\n        <xs:sequence>\r\n          <xs:element name="DiscoveryAddress" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DatagramConnectionTransportDataType" type="tns:DatagramConnectionTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfDatagramConnectionTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DatagramConnectionTransportDataType" type="tns:DatagramConnectionTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDatagramConnectionTransportDataType" type="tns:ListOfDatagramConnectionTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DatagramWriterGroupTransportDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:WriterGroupTransportDataType">\r\n        <xs:sequence>\r\n          <xs:element name="MessageRepeatCount" type="xs:unsignedByte" minOccurs="0" />\r\n          <xs:element name="MessageRepeatDelay" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DatagramWriterGroupTransportDataType" type="tns:DatagramWriterGroupTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfDatagramWriterGroupTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="DatagramWriterGroupTransportDataType" type="tns:DatagramWriterGroupTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDatagramWriterGroupTransportDataType" type="tns:ListOfDatagramWriterGroupTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrokerConnectionTransportDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:ConnectionTransportDataType">\r\n        <xs:sequence>\r\n          <xs:element name="ResourceUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="AuthenticationProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="BrokerConnectionTransportDataType" type="tns:BrokerConnectionTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfBrokerConnectionTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="BrokerConnectionTransportDataType" type="tns:BrokerConnectionTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrokerConnectionTransportDataType" type="tns:ListOfBrokerConnectionTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="BrokerTransportQualityOfService">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="NotSpecified_0" />\r\n      <xs:enumeration value="BestEffort_1" />\r\n      <xs:enumeration value="AtLeastOnce_2" />\r\n      <xs:enumeration value="AtMostOnce_3" />\r\n      <xs:enumeration value="ExactlyOnce_4" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="BrokerTransportQualityOfService" type="tns:BrokerTransportQualityOfService" />\r\n\r\n  <xs:complexType name="ListOfBrokerTransportQualityOfService">\r\n    <xs:sequence>\r\n      <xs:element name="BrokerTransportQualityOfService" type="tns:BrokerTransportQualityOfService" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrokerTransportQualityOfService" type="tns:ListOfBrokerTransportQualityOfService" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrokerWriterGroupTransportDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:WriterGroupTransportDataType">\r\n        <xs:sequence>\r\n          <xs:element name="QueueName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="ResourceUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="AuthenticationProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="RequestedDeliveryGuarantee" type="tns:BrokerTransportQualityOfService" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="BrokerWriterGroupTransportDataType" type="tns:BrokerWriterGroupTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfBrokerWriterGroupTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="BrokerWriterGroupTransportDataType" type="tns:BrokerWriterGroupTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrokerWriterGroupTransportDataType" type="tns:ListOfBrokerWriterGroupTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrokerDataSetWriterTransportDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataSetWriterTransportDataType">\r\n        <xs:sequence>\r\n          <xs:element name="QueueName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="ResourceUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="AuthenticationProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="RequestedDeliveryGuarantee" type="tns:BrokerTransportQualityOfService" minOccurs="0" />\r\n          <xs:element name="MetaDataQueueName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="MetaDataUpdateTime" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="BrokerDataSetWriterTransportDataType" type="tns:BrokerDataSetWriterTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfBrokerDataSetWriterTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="BrokerDataSetWriterTransportDataType" type="tns:BrokerDataSetWriterTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrokerDataSetWriterTransportDataType" type="tns:ListOfBrokerDataSetWriterTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrokerDataSetReaderTransportDataType">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataSetReaderTransportDataType">\r\n        <xs:sequence>\r\n          <xs:element name="QueueName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="ResourceUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="AuthenticationProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="RequestedDeliveryGuarantee" type="tns:BrokerTransportQualityOfService" minOccurs="0" />\r\n          <xs:element name="MetaDataQueueName" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="BrokerDataSetReaderTransportDataType" type="tns:BrokerDataSetReaderTransportDataType" />\r\n\r\n  <xs:complexType name="ListOfBrokerDataSetReaderTransportDataType">\r\n    <xs:sequence>\r\n      <xs:element name="BrokerDataSetReaderTransportDataType" type="tns:BrokerDataSetReaderTransportDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrokerDataSetReaderTransportDataType" type="tns:ListOfBrokerDataSetReaderTransportDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="DiagnosticsLevel">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Basic_0" />\r\n      <xs:enumeration value="Advanced_1" />\r\n      <xs:enumeration value="Info_2" />\r\n      <xs:enumeration value="Log_3" />\r\n      <xs:enumeration value="Debug_4" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="DiagnosticsLevel" type="tns:DiagnosticsLevel" />\r\n\r\n  <xs:complexType name="ListOfDiagnosticsLevel">\r\n    <xs:sequence>\r\n      <xs:element name="DiagnosticsLevel" type="tns:DiagnosticsLevel" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDiagnosticsLevel" type="tns:ListOfDiagnosticsLevel" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="PubSubDiagnosticsCounterClassification">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Information_0" />\r\n      <xs:enumeration value="Error_1" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="PubSubDiagnosticsCounterClassification" type="tns:PubSubDiagnosticsCounterClassification" />\r\n\r\n  <xs:complexType name="ListOfPubSubDiagnosticsCounterClassification">\r\n    <xs:sequence>\r\n      <xs:element name="PubSubDiagnosticsCounterClassification" type="tns:PubSubDiagnosticsCounterClassification" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfPubSubDiagnosticsCounterClassification" type="tns:ListOfPubSubDiagnosticsCounterClassification" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="AliasNameDataType">\r\n    <xs:sequence>\r\n      <xs:element name="AliasName" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferencedNodes" type="ua:ListOfExpandedNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AliasNameDataType" type="tns:AliasNameDataType" />\r\n\r\n  <xs:complexType name="ListOfAliasNameDataType">\r\n    <xs:sequence>\r\n      <xs:element name="AliasNameDataType" type="tns:AliasNameDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfAliasNameDataType" type="tns:ListOfAliasNameDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="IdType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Numeric_0" />\r\n      <xs:enumeration value="String_1" />\r\n      <xs:enumeration value="Guid_2" />\r\n      <xs:enumeration value="Opaque_3" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="IdType" type="tns:IdType" />\r\n\r\n  <xs:complexType name="ListOfIdType">\r\n    <xs:sequence>\r\n      <xs:element name="IdType" type="tns:IdType" minOccurs="0" maxOccurs="unbounded" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfIdType" type="tns:ListOfIdType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="NodeClass">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Unspecified_0" />\r\n      <xs:enumeration value="Object_1" />\r\n      <xs:enumeration value="Variable_2" />\r\n      <xs:enumeration value="Method_4" />\r\n      <xs:enumeration value="ObjectType_8" />\r\n      <xs:enumeration value="VariableType_16" />\r\n      <xs:enumeration value="ReferenceType_32" />\r\n      <xs:enumeration value="DataType_64" />\r\n      <xs:enumeration value="View_128" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="NodeClass" type="tns:NodeClass" />\r\n\r\n  <xs:simpleType  name="PermissionType">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="PermissionType" type="tns:PermissionType" />\r\n\r\n  <xs:simpleType  name="AccessLevelType">\r\n    <xs:restriction base="xs:unsignedByte">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="AccessLevelType" type="tns:AccessLevelType" />\r\n\r\n  <xs:simpleType  name="AccessLevelExType">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="AccessLevelExType" type="tns:AccessLevelExType" />\r\n\r\n  <xs:simpleType  name="EventNotifierType">\r\n    <xs:restriction base="xs:unsignedByte">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="EventNotifierType" type="tns:EventNotifierType" />\r\n\r\n  <xs:complexType name="RolePermissionType">\r\n    <xs:sequence>\r\n      <xs:element name="RoleId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Permissions" type="tns:PermissionType" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RolePermissionType" type="tns:RolePermissionType" />\r\n\r\n  <xs:complexType name="ListOfRolePermissionType">\r\n    <xs:sequence>\r\n      <xs:element name="RolePermissionType" type="tns:RolePermissionType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfRolePermissionType" type="tns:ListOfRolePermissionType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DataTypeDefinition">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DataTypeDefinition" type="tns:DataTypeDefinition" />\r\n\r\n  <xs:complexType name="ListOfDataTypeDefinition">\r\n    <xs:sequence>\r\n      <xs:element name="DataTypeDefinition" type="tns:DataTypeDefinition" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDataTypeDefinition" type="tns:ListOfDataTypeDefinition" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="StructureType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Structure_0" />\r\n      <xs:enumeration value="StructureWithOptionalFields_1" />\r\n      <xs:enumeration value="Union_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="StructureType" type="tns:StructureType" />\r\n\r\n  <xs:complexType name="StructureField">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n      <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="MaxStringLength" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="IsOptional" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="StructureField" type="tns:StructureField" />\r\n\r\n  <xs:complexType name="ListOfStructureField">\r\n    <xs:sequence>\r\n      <xs:element name="StructureField" type="tns:StructureField" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfStructureField" type="tns:ListOfStructureField" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="StructureDefinition">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeDefinition">\r\n        <xs:sequence>\r\n          <xs:element name="DefaultEncodingId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="BaseDataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="StructureType" type="tns:StructureType" minOccurs="0" />\r\n          <xs:element name="Fields" type="tns:ListOfStructureField" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="StructureDefinition" type="tns:StructureDefinition" />\r\n\r\n  <xs:complexType name="ListOfStructureDefinition">\r\n    <xs:sequence>\r\n      <xs:element name="StructureDefinition" type="tns:StructureDefinition" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfStructureDefinition" type="tns:ListOfStructureDefinition" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EnumDefinition">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DataTypeDefinition">\r\n        <xs:sequence>\r\n          <xs:element name="Fields" type="tns:ListOfEnumField" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="EnumDefinition" type="tns:EnumDefinition" />\r\n\r\n  <xs:complexType name="ListOfEnumDefinition">\r\n    <xs:sequence>\r\n      <xs:element name="EnumDefinition" type="tns:EnumDefinition" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEnumDefinition" type="tns:ListOfEnumDefinition" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Node">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodeClass" type="tns:NodeClass" minOccurs="0" />\r\n      <xs:element name="BrowseName" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n      <xs:element name="DisplayName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="WriteMask" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="UserWriteMask" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RolePermissions" type="tns:ListOfRolePermissionType" minOccurs="0" nillable="true" />\r\n      <xs:element name="UserRolePermissions" type="tns:ListOfRolePermissionType" minOccurs="0" nillable="true" />\r\n      <xs:element name="AccessRestrictions" type="xs:unsignedShort" minOccurs="0" />\r\n      <xs:element name="References" type="tns:ListOfReferenceNode" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Node" type="tns:Node" />\r\n\r\n  <xs:complexType name="ListOfNode">\r\n    <xs:sequence>\r\n      <xs:element name="Node" type="tns:Node" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNode" type="tns:ListOfNode" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="InstanceNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:Node">\r\n        <xs:sequence>\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="InstanceNode" type="tns:InstanceNode" />\r\n\r\n  <xs:complexType name="TypeNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:Node">\r\n        <xs:sequence>\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="TypeNode" type="tns:TypeNode" />\r\n\r\n  <xs:complexType name="ObjectNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:InstanceNode">\r\n        <xs:sequence>\r\n          <xs:element name="EventNotifier" type="xs:unsignedByte" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ObjectNode" type="tns:ObjectNode" />\r\n\r\n  <xs:complexType name="ObjectTypeNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:TypeNode">\r\n        <xs:sequence>\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ObjectTypeNode" type="tns:ObjectTypeNode" />\r\n\r\n  <xs:complexType name="VariableNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:InstanceNode">\r\n        <xs:sequence>\r\n          <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n          <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n          <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n          <xs:element name="AccessLevel" type="xs:unsignedByte" minOccurs="0" />\r\n          <xs:element name="UserAccessLevel" type="xs:unsignedByte" minOccurs="0" />\r\n          <xs:element name="MinimumSamplingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Historizing" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="AccessLevelEx" type="xs:unsignedInt" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="VariableNode" type="tns:VariableNode" />\r\n\r\n  <xs:complexType name="VariableTypeNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:TypeNode">\r\n        <xs:sequence>\r\n          <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n          <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n          <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="VariableTypeNode" type="tns:VariableTypeNode" />\r\n\r\n  <xs:complexType name="ReferenceTypeNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:TypeNode">\r\n        <xs:sequence>\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="Symmetric" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="InverseName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReferenceTypeNode" type="tns:ReferenceTypeNode" />\r\n\r\n  <xs:complexType name="MethodNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:InstanceNode">\r\n        <xs:sequence>\r\n          <xs:element name="Executable" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="UserExecutable" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="MethodNode" type="tns:MethodNode" />\r\n\r\n  <xs:complexType name="ViewNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:InstanceNode">\r\n        <xs:sequence>\r\n          <xs:element name="ContainsNoLoops" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="EventNotifier" type="xs:unsignedByte" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ViewNode" type="tns:ViewNode" />\r\n\r\n  <xs:complexType name="DataTypeNode">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:TypeNode">\r\n        <xs:sequence>\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="DataTypeDefinition" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DataTypeNode" type="tns:DataTypeNode" />\r\n\r\n  <xs:complexType name="ReferenceNode">\r\n    <xs:sequence>\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsInverse" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="TargetId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReferenceNode" type="tns:ReferenceNode" />\r\n\r\n  <xs:complexType name="ListOfReferenceNode">\r\n    <xs:sequence>\r\n      <xs:element name="ReferenceNode" type="tns:ReferenceNode" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfReferenceNode" type="tns:ListOfReferenceNode" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Argument">\r\n    <xs:sequence>\r\n      <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n      <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Argument" type="tns:Argument" />\r\n\r\n  <xs:complexType name="ListOfArgument">\r\n    <xs:sequence>\r\n      <xs:element name="Argument" type="tns:Argument" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfArgument" type="tns:ListOfArgument" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EnumValueType">\r\n    <xs:sequence>\r\n      <xs:element name="Value" type="xs:long" minOccurs="0" />\r\n      <xs:element name="DisplayName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EnumValueType" type="tns:EnumValueType" />\r\n\r\n  <xs:complexType name="ListOfEnumValueType">\r\n    <xs:sequence>\r\n      <xs:element name="EnumValueType" type="tns:EnumValueType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEnumValueType" type="tns:ListOfEnumValueType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EnumField">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:EnumValueType">\r\n        <xs:sequence>\r\n          <xs:element name="Name" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="EnumField" type="tns:EnumField" />\r\n\r\n  <xs:complexType name="ListOfEnumField">\r\n    <xs:sequence>\r\n      <xs:element name="EnumField" type="tns:EnumField" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEnumField" type="tns:ListOfEnumField" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="OptionSet">\r\n    <xs:sequence>\r\n      <xs:element name="Value" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="ValidBits" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="OptionSet" type="tns:OptionSet" />\r\n\r\n  <xs:complexType name="ListOfOptionSet">\r\n    <xs:sequence>\r\n      <xs:element name="OptionSet" type="tns:OptionSet" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfOptionSet" type="tns:ListOfOptionSet" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Union">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Union" type="tns:Union" />\r\n\r\n  <xs:complexType name="ListOfUnion">\r\n    <xs:sequence>\r\n      <xs:element name="Union" type="tns:Union" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUnion" type="tns:ListOfUnion" nillable="true"></xs:element>\r\n\r\n  <xs:element name="NormalizedString" type="xs:string" />\r\n\r\n  <xs:element name="DecimalString" type="xs:string" />\r\n\r\n  <xs:element name="DurationString" type="xs:string" />\r\n\r\n  <xs:element name="TimeString" type="xs:string" />\r\n\r\n  <xs:element name="DateString" type="xs:string" />\r\n\r\n  <xs:element name="Duration" type="xs:double" />\r\n\r\n  <xs:element name="UtcTime" type="xs:dateTime" />\r\n\r\n  <xs:element name="LocaleId" type="xs:string" />\r\n\r\n  <xs:complexType name="TimeZoneDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Offset" type="xs:short" minOccurs="0" />\r\n      <xs:element name="DaylightSavingInOffset" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TimeZoneDataType" type="tns:TimeZoneDataType" />\r\n\r\n  <xs:complexType name="ListOfTimeZoneDataType">\r\n    <xs:sequence>\r\n      <xs:element name="TimeZoneDataType" type="tns:TimeZoneDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfTimeZoneDataType" type="tns:ListOfTimeZoneDataType" nillable="true"></xs:element>\r\n\r\n  <xs:element name="Index" type="xs:unsignedInt" />\r\n\r\n  <xs:element name="IntegerId" type="xs:unsignedInt" />\r\n\r\n  <xs:simpleType  name="ApplicationType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Server_0" />\r\n      <xs:enumeration value="Client_1" />\r\n      <xs:enumeration value="ClientAndServer_2" />\r\n      <xs:enumeration value="DiscoveryServer_3" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="ApplicationType" type="tns:ApplicationType" />\r\n\r\n  <xs:complexType name="ApplicationDescription">\r\n    <xs:sequence>\r\n      <xs:element name="ApplicationUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ProductUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ApplicationName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="ApplicationType" type="tns:ApplicationType" minOccurs="0" />\r\n      <xs:element name="GatewayServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiscoveryProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiscoveryUrls" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ApplicationDescription" type="tns:ApplicationDescription" />\r\n\r\n  <xs:complexType name="ListOfApplicationDescription">\r\n    <xs:sequence>\r\n      <xs:element name="ApplicationDescription" type="tns:ApplicationDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfApplicationDescription" type="tns:ListOfApplicationDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="RequestHeader">\r\n    <xs:sequence>\r\n      <xs:element name="AuthenticationToken" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Timestamp" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="RequestHandle" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ReturnDiagnostics" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="AuditEntryId" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="TimeoutHint" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="AdditionalHeader" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RequestHeader" type="tns:RequestHeader" />\r\n\r\n  <xs:complexType name="ResponseHeader">\r\n    <xs:sequence>\r\n      <xs:element name="Timestamp" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="RequestHandle" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ServiceResult" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="ServiceDiagnostics" type="ua:DiagnosticInfo" minOccurs="0" nillable="true" />\r\n      <xs:element name="StringTable" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="AdditionalHeader" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ResponseHeader" type="tns:ResponseHeader" />\r\n\r\n  <xs:element name="VersionTime" type="xs:unsignedInt" />\r\n\r\n  <xs:complexType name="ServiceFault">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ServiceFault" type="tns:ServiceFault" />\r\n\r\n  <xs:complexType name="SessionlessInvokeRequestType">\r\n    <xs:sequence>\r\n      <xs:element name="UrisVersion" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="NamespaceUris" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerUris" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="LocaleIds" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServiceId" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SessionlessInvokeRequestType" type="tns:SessionlessInvokeRequestType" />\r\n\r\n  <xs:complexType name="SessionlessInvokeResponseType">\r\n    <xs:sequence>\r\n      <xs:element name="NamespaceUris" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerUris" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServiceId" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SessionlessInvokeResponseType" type="tns:SessionlessInvokeResponseType" />\r\n\r\n  <xs:complexType name="FindServersRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="EndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="LocaleIds" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerUris" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FindServersRequest" type="tns:FindServersRequest" />\r\n\r\n  <xs:complexType name="FindServersResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Servers" type="tns:ListOfApplicationDescription" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FindServersResponse" type="tns:FindServersResponse" />\r\n\r\n  <xs:complexType name="ServerOnNetwork">\r\n    <xs:sequence>\r\n      <xs:element name="RecordId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ServerName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiscoveryUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerCapabilities" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ServerOnNetwork" type="tns:ServerOnNetwork" />\r\n\r\n  <xs:complexType name="ListOfServerOnNetwork">\r\n    <xs:sequence>\r\n      <xs:element name="ServerOnNetwork" type="tns:ServerOnNetwork" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfServerOnNetwork" type="tns:ListOfServerOnNetwork" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="FindServersOnNetworkRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="StartingRecordId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxRecordsToReturn" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ServerCapabilityFilter" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FindServersOnNetworkRequest" type="tns:FindServersOnNetworkRequest" />\r\n\r\n  <xs:complexType name="FindServersOnNetworkResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastCounterResetTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="Servers" type="tns:ListOfServerOnNetwork" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FindServersOnNetworkResponse" type="tns:FindServersOnNetworkResponse" />\r\n\r\n  <xs:element name="ApplicationInstanceCertificate" type="xs:base64Binary" />\r\n\r\n  <xs:simpleType  name="MessageSecurityMode">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Invalid_0" />\r\n      <xs:enumeration value="None_1" />\r\n      <xs:enumeration value="Sign_2" />\r\n      <xs:enumeration value="SignAndEncrypt_3" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="MessageSecurityMode" type="tns:MessageSecurityMode" />\r\n\r\n  <xs:simpleType  name="UserTokenType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Anonymous_0" />\r\n      <xs:enumeration value="UserName_1" />\r\n      <xs:enumeration value="Certificate_2" />\r\n      <xs:enumeration value="IssuedToken_3" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="UserTokenType" type="tns:UserTokenType" />\r\n\r\n  <xs:complexType name="UserTokenPolicy">\r\n    <xs:sequence>\r\n      <xs:element name="PolicyId" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="TokenType" type="tns:UserTokenType" minOccurs="0" />\r\n      <xs:element name="IssuedTokenType" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="IssuerEndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityPolicyUri" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="UserTokenPolicy" type="tns:UserTokenPolicy" />\r\n\r\n  <xs:complexType name="ListOfUserTokenPolicy">\r\n    <xs:sequence>\r\n      <xs:element name="UserTokenPolicy" type="tns:UserTokenPolicy" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfUserTokenPolicy" type="tns:ListOfUserTokenPolicy" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EndpointDescription">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Server" type="tns:ApplicationDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerCertificate" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityMode" type="tns:MessageSecurityMode" minOccurs="0" />\r\n      <xs:element name="SecurityPolicyUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="UserIdentityTokens" type="tns:ListOfUserTokenPolicy" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransportProfileUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityLevel" type="xs:unsignedByte" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EndpointDescription" type="tns:EndpointDescription" />\r\n\r\n  <xs:complexType name="ListOfEndpointDescription">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointDescription" type="tns:EndpointDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEndpointDescription" type="tns:ListOfEndpointDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="GetEndpointsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="EndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="LocaleIds" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ProfileUris" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="GetEndpointsRequest" type="tns:GetEndpointsRequest" />\r\n\r\n  <xs:complexType name="GetEndpointsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Endpoints" type="tns:ListOfEndpointDescription" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="GetEndpointsResponse" type="tns:GetEndpointsResponse" />\r\n\r\n  <xs:complexType name="RegisteredServer">\r\n    <xs:sequence>\r\n      <xs:element name="ServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ProductUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerNames" type="ua:ListOfLocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerType" type="tns:ApplicationType" minOccurs="0" />\r\n      <xs:element name="GatewayServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiscoveryUrls" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="SemaphoreFilePath" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsOnline" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisteredServer" type="tns:RegisteredServer" />\r\n\r\n  <xs:complexType name="ListOfRegisteredServer">\r\n    <xs:sequence>\r\n      <xs:element name="RegisteredServer" type="tns:RegisteredServer" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfRegisteredServer" type="tns:ListOfRegisteredServer" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="RegisterServerRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Server" type="tns:RegisteredServer" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisterServerRequest" type="tns:RegisterServerRequest" />\r\n\r\n  <xs:complexType name="RegisterServerResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisterServerResponse" type="tns:RegisterServerResponse" />\r\n\r\n  <xs:complexType name="DiscoveryConfiguration">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DiscoveryConfiguration" type="tns:DiscoveryConfiguration" />\r\n\r\n  <xs:complexType name="MdnsDiscoveryConfiguration">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:DiscoveryConfiguration">\r\n        <xs:sequence>\r\n          <xs:element name="MdnsServerName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="ServerCapabilities" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="MdnsDiscoveryConfiguration" type="tns:MdnsDiscoveryConfiguration" />\r\n\r\n  <xs:complexType name="RegisterServer2Request">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Server" type="tns:RegisteredServer" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiscoveryConfiguration" type="ua:ListOfExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisterServer2Request" type="tns:RegisterServer2Request" />\r\n\r\n  <xs:complexType name="RegisterServer2Response">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ConfigurationResults" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisterServer2Response" type="tns:RegisterServer2Response" />\r\n\r\n  <xs:simpleType  name="SecurityTokenRequestType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Issue_0" />\r\n      <xs:enumeration value="Renew_1" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="SecurityTokenRequestType" type="tns:SecurityTokenRequestType" />\r\n\r\n  <xs:complexType name="ChannelSecurityToken">\r\n    <xs:sequence>\r\n      <xs:element name="ChannelId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TokenId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CreatedAt" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="RevisedLifetime" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ChannelSecurityToken" type="tns:ChannelSecurityToken" />\r\n\r\n  <xs:complexType name="OpenSecureChannelRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientProtocolVersion" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RequestType" type="tns:SecurityTokenRequestType" minOccurs="0" />\r\n      <xs:element name="SecurityMode" type="tns:MessageSecurityMode" minOccurs="0" />\r\n      <xs:element name="ClientNonce" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="RequestedLifetime" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="OpenSecureChannelRequest" type="tns:OpenSecureChannelRequest" />\r\n\r\n  <xs:complexType name="OpenSecureChannelResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerProtocolVersion" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SecurityToken" type="tns:ChannelSecurityToken" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerNonce" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="OpenSecureChannelResponse" type="tns:OpenSecureChannelResponse" />\r\n\r\n  <xs:complexType name="CloseSecureChannelRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CloseSecureChannelRequest" type="tns:CloseSecureChannelRequest" />\r\n\r\n  <xs:complexType name="CloseSecureChannelResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CloseSecureChannelResponse" type="tns:CloseSecureChannelResponse" />\r\n\r\n  <xs:complexType name="SignedSoftwareCertificate">\r\n    <xs:sequence>\r\n      <xs:element name="CertificateData" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="Signature" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SignedSoftwareCertificate" type="tns:SignedSoftwareCertificate" />\r\n\r\n  <xs:complexType name="ListOfSignedSoftwareCertificate">\r\n    <xs:sequence>\r\n      <xs:element name="SignedSoftwareCertificate" type="tns:SignedSoftwareCertificate" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSignedSoftwareCertificate" type="tns:ListOfSignedSoftwareCertificate" nillable="true"></xs:element>\r\n\r\n  <xs:element name="SessionAuthenticationToken" type="ua:NodeId" />\r\n\r\n  <xs:complexType name="SignatureData">\r\n    <xs:sequence>\r\n      <xs:element name="Algorithm" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Signature" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SignatureData" type="tns:SignatureData" />\r\n\r\n  <xs:complexType name="CreateSessionRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientDescription" type="tns:ApplicationDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="EndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SessionName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientNonce" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientCertificate" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="RequestedSessionTimeout" type="xs:double" minOccurs="0" />\r\n      <xs:element name="MaxResponseMessageSize" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CreateSessionRequest" type="tns:CreateSessionRequest" />\r\n\r\n  <xs:complexType name="CreateSessionResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AuthenticationToken" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="RevisedSessionTimeout" type="xs:double" minOccurs="0" />\r\n      <xs:element name="ServerNonce" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerCertificate" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerEndpoints" type="tns:ListOfEndpointDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerSoftwareCertificates" type="tns:ListOfSignedSoftwareCertificate" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerSignature" type="tns:SignatureData" minOccurs="0" nillable="true" />\r\n      <xs:element name="MaxRequestMessageSize" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CreateSessionResponse" type="tns:CreateSessionResponse" />\r\n\r\n  <xs:complexType name="UserIdentityToken">\r\n    <xs:sequence>\r\n      <xs:element name="PolicyId" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="UserIdentityToken" type="tns:UserIdentityToken" />\r\n\r\n  <xs:complexType name="AnonymousIdentityToken">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:UserIdentityToken">\r\n        <xs:sequence>\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="AnonymousIdentityToken" type="tns:AnonymousIdentityToken" />\r\n\r\n  <xs:complexType name="UserNameIdentityToken">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:UserIdentityToken">\r\n        <xs:sequence>\r\n          <xs:element name="UserName" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="Password" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n          <xs:element name="EncryptionAlgorithm" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UserNameIdentityToken" type="tns:UserNameIdentityToken" />\r\n\r\n  <xs:complexType name="X509IdentityToken">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:UserIdentityToken">\r\n        <xs:sequence>\r\n          <xs:element name="CertificateData" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="X509IdentityToken" type="tns:X509IdentityToken" />\r\n\r\n  <xs:complexType name="IssuedIdentityToken">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:UserIdentityToken">\r\n        <xs:sequence>\r\n          <xs:element name="TokenData" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n          <xs:element name="EncryptionAlgorithm" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="IssuedIdentityToken" type="tns:IssuedIdentityToken" />\r\n\r\n  <xs:element name="RsaEncryptedSecret" type="ua:Variant" />\r\n\r\n  <xs:complexType name="ActivateSessionRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientSignature" type="tns:SignatureData" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientSoftwareCertificates" type="tns:ListOfSignedSoftwareCertificate" minOccurs="0" nillable="true" />\r\n      <xs:element name="LocaleIds" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="UserIdentityToken" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="UserTokenSignature" type="tns:SignatureData" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ActivateSessionRequest" type="tns:ActivateSessionRequest" />\r\n\r\n  <xs:complexType name="ActivateSessionResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerNonce" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ActivateSessionResponse" type="tns:ActivateSessionResponse" />\r\n\r\n  <xs:complexType name="CloseSessionRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteSubscriptions" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CloseSessionRequest" type="tns:CloseSessionRequest" />\r\n\r\n  <xs:complexType name="CloseSessionResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CloseSessionResponse" type="tns:CloseSessionResponse" />\r\n\r\n  <xs:complexType name="CancelRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="RequestHandle" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CancelRequest" type="tns:CancelRequest" />\r\n\r\n  <xs:complexType name="CancelResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="CancelCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CancelResponse" type="tns:CancelResponse" />\r\n\r\n  <xs:simpleType  name="NodeAttributesMask">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="None_0" />\r\n      <xs:enumeration value="AccessLevel_1" />\r\n      <xs:enumeration value="ArrayDimensions_2" />\r\n      <xs:enumeration value="BrowseName_4" />\r\n      <xs:enumeration value="ContainsNoLoops_8" />\r\n      <xs:enumeration value="DataType_16" />\r\n      <xs:enumeration value="Description_32" />\r\n      <xs:enumeration value="DisplayName_64" />\r\n      <xs:enumeration value="EventNotifier_128" />\r\n      <xs:enumeration value="Executable_256" />\r\n      <xs:enumeration value="Historizing_512" />\r\n      <xs:enumeration value="InverseName_1024" />\r\n      <xs:enumeration value="IsAbstract_2048" />\r\n      <xs:enumeration value="MinimumSamplingInterval_4096" />\r\n      <xs:enumeration value="NodeClass_8192" />\r\n      <xs:enumeration value="NodeId_16384" />\r\n      <xs:enumeration value="Symmetric_32768" />\r\n      <xs:enumeration value="UserAccessLevel_65536" />\r\n      <xs:enumeration value="UserExecutable_131072" />\r\n      <xs:enumeration value="UserWriteMask_262144" />\r\n      <xs:enumeration value="ValueRank_524288" />\r\n      <xs:enumeration value="WriteMask_1048576" />\r\n      <xs:enumeration value="Value_2097152" />\r\n      <xs:enumeration value="DataTypeDefinition_4194304" />\r\n      <xs:enumeration value="RolePermissions_8388608" />\r\n      <xs:enumeration value="AccessRestrictions_16777216" />\r\n      <xs:enumeration value="All_33554431" />\r\n      <xs:enumeration value="BaseNode_26501220" />\r\n      <xs:enumeration value="Object_26501348" />\r\n      <xs:enumeration value="ObjectType_26503268" />\r\n      <xs:enumeration value="Variable_26571383" />\r\n      <xs:enumeration value="VariableType_28600438" />\r\n      <xs:enumeration value="Method_26632548" />\r\n      <xs:enumeration value="ReferenceType_26537060" />\r\n      <xs:enumeration value="View_26501356" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="NodeAttributesMask" type="tns:NodeAttributesMask" />\r\n\r\n  <xs:complexType name="NodeAttributes">\r\n    <xs:sequence>\r\n      <xs:element name="SpecifiedAttributes" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DisplayName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="WriteMask" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="UserWriteMask" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NodeAttributes" type="tns:NodeAttributes" />\r\n\r\n  <xs:complexType name="ObjectAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="EventNotifier" type="xs:unsignedByte" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ObjectAttributes" type="tns:ObjectAttributes" />\r\n\r\n  <xs:complexType name="VariableAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n          <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n          <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n          <xs:element name="AccessLevel" type="xs:unsignedByte" minOccurs="0" />\r\n          <xs:element name="UserAccessLevel" type="xs:unsignedByte" minOccurs="0" />\r\n          <xs:element name="MinimumSamplingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="Historizing" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="VariableAttributes" type="tns:VariableAttributes" />\r\n\r\n  <xs:complexType name="MethodAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="Executable" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="UserExecutable" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="MethodAttributes" type="tns:MethodAttributes" />\r\n\r\n  <xs:complexType name="ObjectTypeAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ObjectTypeAttributes" type="tns:ObjectTypeAttributes" />\r\n\r\n  <xs:complexType name="VariableTypeAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n          <xs:element name="DataType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="ValueRank" type="xs:int" minOccurs="0" />\r\n          <xs:element name="ArrayDimensions" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="VariableTypeAttributes" type="tns:VariableTypeAttributes" />\r\n\r\n  <xs:complexType name="ReferenceTypeAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="Symmetric" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="InverseName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReferenceTypeAttributes" type="tns:ReferenceTypeAttributes" />\r\n\r\n  <xs:complexType name="DataTypeAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="IsAbstract" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DataTypeAttributes" type="tns:DataTypeAttributes" />\r\n\r\n  <xs:complexType name="ViewAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="ContainsNoLoops" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="EventNotifier" type="xs:unsignedByte" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ViewAttributes" type="tns:ViewAttributes" />\r\n\r\n  <xs:complexType name="GenericAttributeValue">\r\n    <xs:sequence>\r\n      <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="GenericAttributeValue" type="tns:GenericAttributeValue" />\r\n\r\n  <xs:complexType name="ListOfGenericAttributeValue">\r\n    <xs:sequence>\r\n      <xs:element name="GenericAttributeValue" type="tns:GenericAttributeValue" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfGenericAttributeValue" type="tns:ListOfGenericAttributeValue" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="GenericAttributes">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NodeAttributes">\r\n        <xs:sequence>\r\n          <xs:element name="AttributeValues" type="tns:ListOfGenericAttributeValue" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="GenericAttributes" type="tns:GenericAttributes" />\r\n\r\n  <xs:complexType name="AddNodesItem">\r\n    <xs:sequence>\r\n      <xs:element name="ParentNodeId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="RequestedNewNodeId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="BrowseName" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodeClass" type="tns:NodeClass" minOccurs="0" />\r\n      <xs:element name="NodeAttributes" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="TypeDefinition" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddNodesItem" type="tns:AddNodesItem" />\r\n\r\n  <xs:complexType name="ListOfAddNodesItem">\r\n    <xs:sequence>\r\n      <xs:element name="AddNodesItem" type="tns:AddNodesItem" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfAddNodesItem" type="tns:ListOfAddNodesItem" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="AddNodesResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="AddedNodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddNodesResult" type="tns:AddNodesResult" />\r\n\r\n  <xs:complexType name="ListOfAddNodesResult">\r\n    <xs:sequence>\r\n      <xs:element name="AddNodesResult" type="tns:AddNodesResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfAddNodesResult" type="tns:ListOfAddNodesResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="AddNodesRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodesToAdd" type="tns:ListOfAddNodesItem" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddNodesRequest" type="tns:AddNodesRequest" />\r\n\r\n  <xs:complexType name="AddNodesResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfAddNodesResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddNodesResponse" type="tns:AddNodesResponse" />\r\n\r\n  <xs:complexType name="AddReferencesItem">\r\n    <xs:sequence>\r\n      <xs:element name="SourceNodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsForward" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="TargetServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="TargetNodeId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="TargetNodeClass" type="tns:NodeClass" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddReferencesItem" type="tns:AddReferencesItem" />\r\n\r\n  <xs:complexType name="ListOfAddReferencesItem">\r\n    <xs:sequence>\r\n      <xs:element name="AddReferencesItem" type="tns:AddReferencesItem" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfAddReferencesItem" type="tns:ListOfAddReferencesItem" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="AddReferencesRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferencesToAdd" type="tns:ListOfAddReferencesItem" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddReferencesRequest" type="tns:AddReferencesRequest" />\r\n\r\n  <xs:complexType name="AddReferencesResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AddReferencesResponse" type="tns:AddReferencesResponse" />\r\n\r\n  <xs:complexType name="DeleteNodesItem">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteTargetReferences" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteNodesItem" type="tns:DeleteNodesItem" />\r\n\r\n  <xs:complexType name="ListOfDeleteNodesItem">\r\n    <xs:sequence>\r\n      <xs:element name="DeleteNodesItem" type="tns:DeleteNodesItem" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDeleteNodesItem" type="tns:ListOfDeleteNodesItem" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DeleteNodesRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodesToDelete" type="tns:ListOfDeleteNodesItem" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteNodesRequest" type="tns:DeleteNodesRequest" />\r\n\r\n  <xs:complexType name="DeleteNodesResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteNodesResponse" type="tns:DeleteNodesResponse" />\r\n\r\n  <xs:complexType name="DeleteReferencesItem">\r\n    <xs:sequence>\r\n      <xs:element name="SourceNodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsForward" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="TargetNodeId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteBidirectional" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteReferencesItem" type="tns:DeleteReferencesItem" />\r\n\r\n  <xs:complexType name="ListOfDeleteReferencesItem">\r\n    <xs:sequence>\r\n      <xs:element name="DeleteReferencesItem" type="tns:DeleteReferencesItem" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfDeleteReferencesItem" type="tns:ListOfDeleteReferencesItem" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="DeleteReferencesRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferencesToDelete" type="tns:ListOfDeleteReferencesItem" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteReferencesRequest" type="tns:DeleteReferencesRequest" />\r\n\r\n  <xs:complexType name="DeleteReferencesResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteReferencesResponse" type="tns:DeleteReferencesResponse" />\r\n\r\n  <xs:simpleType  name="AttributeWriteMask">\r\n    <xs:restriction base="xs:unsignedInt">\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="AttributeWriteMask" type="tns:AttributeWriteMask" />\r\n\r\n  <xs:simpleType  name="BrowseDirection">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Forward_0" />\r\n      <xs:enumeration value="Inverse_1" />\r\n      <xs:enumeration value="Both_2" />\r\n      <xs:enumeration value="Invalid_3" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="BrowseDirection" type="tns:BrowseDirection" />\r\n\r\n  <xs:complexType name="ViewDescription">\r\n    <xs:sequence>\r\n      <xs:element name="ViewId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Timestamp" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="ViewVersion" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ViewDescription" type="tns:ViewDescription" />\r\n\r\n  <xs:complexType name="BrowseDescription">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="BrowseDirection" type="tns:BrowseDirection" minOccurs="0" />\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IncludeSubtypes" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="NodeClassMask" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ResultMask" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowseDescription" type="tns:BrowseDescription" />\r\n\r\n  <xs:complexType name="ListOfBrowseDescription">\r\n    <xs:sequence>\r\n      <xs:element name="BrowseDescription" type="tns:BrowseDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrowseDescription" type="tns:ListOfBrowseDescription" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="BrowseResultMask">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="None_0" />\r\n      <xs:enumeration value="ReferenceTypeId_1" />\r\n      <xs:enumeration value="IsForward_2" />\r\n      <xs:enumeration value="NodeClass_4" />\r\n      <xs:enumeration value="BrowseName_8" />\r\n      <xs:enumeration value="DisplayName_16" />\r\n      <xs:enumeration value="TypeDefinition_32" />\r\n      <xs:enumeration value="All_63" />\r\n      <xs:enumeration value="ReferenceTypeInfo_3" />\r\n      <xs:enumeration value="TargetInfo_60" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="BrowseResultMask" type="tns:BrowseResultMask" />\r\n\r\n  <xs:complexType name="ReferenceDescription">\r\n    <xs:sequence>\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsForward" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="NodeId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="BrowseName" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n      <xs:element name="DisplayName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodeClass" type="tns:NodeClass" minOccurs="0" />\r\n      <xs:element name="TypeDefinition" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReferenceDescription" type="tns:ReferenceDescription" />\r\n\r\n  <xs:complexType name="ListOfReferenceDescription">\r\n    <xs:sequence>\r\n      <xs:element name="ReferenceDescription" type="tns:ReferenceDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfReferenceDescription" type="tns:ListOfReferenceDescription" nillable="true"></xs:element>\r\n\r\n  <xs:element name="ContinuationPoint" type="xs:base64Binary" />\r\n\r\n  <xs:complexType name="BrowseResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="ContinuationPoint" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="References" type="tns:ListOfReferenceDescription" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowseResult" type="tns:BrowseResult" />\r\n\r\n  <xs:complexType name="ListOfBrowseResult">\r\n    <xs:sequence>\r\n      <xs:element name="BrowseResult" type="tns:BrowseResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrowseResult" type="tns:ListOfBrowseResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrowseRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="View" type="tns:ViewDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="RequestedMaxReferencesPerNode" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="NodesToBrowse" type="tns:ListOfBrowseDescription" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowseRequest" type="tns:BrowseRequest" />\r\n\r\n  <xs:complexType name="BrowseResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfBrowseResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowseResponse" type="tns:BrowseResponse" />\r\n\r\n  <xs:complexType name="BrowseNextRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReleaseContinuationPoints" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="ContinuationPoints" type="ua:ListOfByteString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowseNextRequest" type="tns:BrowseNextRequest" />\r\n\r\n  <xs:complexType name="BrowseNextResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfBrowseResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowseNextResponse" type="tns:BrowseNextResponse" />\r\n\r\n  <xs:complexType name="RelativePathElement">\r\n    <xs:sequence>\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsInverse" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="IncludeSubtypes" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="TargetName" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RelativePathElement" type="tns:RelativePathElement" />\r\n\r\n  <xs:complexType name="ListOfRelativePathElement">\r\n    <xs:sequence>\r\n      <xs:element name="RelativePathElement" type="tns:RelativePathElement" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfRelativePathElement" type="tns:ListOfRelativePathElement" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="RelativePath">\r\n    <xs:sequence>\r\n      <xs:element name="Elements" type="tns:ListOfRelativePathElement" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RelativePath" type="tns:RelativePath" />\r\n\r\n  <xs:complexType name="BrowsePath">\r\n    <xs:sequence>\r\n      <xs:element name="StartingNode" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="RelativePath" type="tns:RelativePath" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowsePath" type="tns:BrowsePath" />\r\n\r\n  <xs:complexType name="ListOfBrowsePath">\r\n    <xs:sequence>\r\n      <xs:element name="BrowsePath" type="tns:BrowsePath" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrowsePath" type="tns:ListOfBrowsePath" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrowsePathTarget">\r\n    <xs:sequence>\r\n      <xs:element name="TargetId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="RemainingPathIndex" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowsePathTarget" type="tns:BrowsePathTarget" />\r\n\r\n  <xs:complexType name="ListOfBrowsePathTarget">\r\n    <xs:sequence>\r\n      <xs:element name="BrowsePathTarget" type="tns:BrowsePathTarget" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrowsePathTarget" type="tns:ListOfBrowsePathTarget" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="BrowsePathResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="Targets" type="tns:ListOfBrowsePathTarget" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BrowsePathResult" type="tns:BrowsePathResult" />\r\n\r\n  <xs:complexType name="ListOfBrowsePathResult">\r\n    <xs:sequence>\r\n      <xs:element name="BrowsePathResult" type="tns:BrowsePathResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfBrowsePathResult" type="tns:ListOfBrowsePathResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="TranslateBrowsePathsToNodeIdsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="BrowsePaths" type="tns:ListOfBrowsePath" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TranslateBrowsePathsToNodeIdsRequest" type="tns:TranslateBrowsePathsToNodeIdsRequest" />\r\n\r\n  <xs:complexType name="TranslateBrowsePathsToNodeIdsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfBrowsePathResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TranslateBrowsePathsToNodeIdsResponse" type="tns:TranslateBrowsePathsToNodeIdsResponse" />\r\n\r\n  <xs:complexType name="RegisterNodesRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodesToRegister" type="ua:ListOfNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisterNodesRequest" type="tns:RegisterNodesRequest" />\r\n\r\n  <xs:complexType name="RegisterNodesResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="RegisteredNodeIds" type="ua:ListOfNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RegisterNodesResponse" type="tns:RegisterNodesResponse" />\r\n\r\n  <xs:complexType name="UnregisterNodesRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodesToUnregister" type="ua:ListOfNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="UnregisterNodesRequest" type="tns:UnregisterNodesRequest" />\r\n\r\n  <xs:complexType name="UnregisterNodesResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="UnregisterNodesResponse" type="tns:UnregisterNodesResponse" />\r\n\r\n  <xs:element name="Counter" type="xs:unsignedInt" />\r\n\r\n  <xs:element name="NumericRange" type="xs:string" />\r\n\r\n  <xs:element name="Time" type="xs:string" />\r\n\r\n  <xs:element name="Date" type="xs:dateTime" />\r\n\r\n  <xs:complexType name="EndpointConfiguration">\r\n    <xs:sequence>\r\n      <xs:element name="OperationTimeout" type="xs:int" minOccurs="0" />\r\n      <xs:element name="UseBinaryEncoding" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="MaxStringLength" type="xs:int" minOccurs="0" />\r\n      <xs:element name="MaxByteStringLength" type="xs:int" minOccurs="0" />\r\n      <xs:element name="MaxArrayLength" type="xs:int" minOccurs="0" />\r\n      <xs:element name="MaxMessageSize" type="xs:int" minOccurs="0" />\r\n      <xs:element name="MaxBufferSize" type="xs:int" minOccurs="0" />\r\n      <xs:element name="ChannelLifetime" type="xs:int" minOccurs="0" />\r\n      <xs:element name="SecurityTokenLifetime" type="xs:int" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EndpointConfiguration" type="tns:EndpointConfiguration" />\r\n\r\n  <xs:complexType name="ListOfEndpointConfiguration">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointConfiguration" type="tns:EndpointConfiguration" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEndpointConfiguration" type="tns:ListOfEndpointConfiguration" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="QueryDataDescription">\r\n    <xs:sequence>\r\n      <xs:element name="RelativePath" type="tns:RelativePath" minOccurs="0" nillable="true" />\r\n      <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QueryDataDescription" type="tns:QueryDataDescription" />\r\n\r\n  <xs:complexType name="ListOfQueryDataDescription">\r\n    <xs:sequence>\r\n      <xs:element name="QueryDataDescription" type="tns:QueryDataDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfQueryDataDescription" type="tns:ListOfQueryDataDescription" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="NodeTypeDescription">\r\n    <xs:sequence>\r\n      <xs:element name="TypeDefinitionNode" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IncludeSubTypes" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="DataToReturn" type="tns:ListOfQueryDataDescription" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NodeTypeDescription" type="tns:NodeTypeDescription" />\r\n\r\n  <xs:complexType name="ListOfNodeTypeDescription">\r\n    <xs:sequence>\r\n      <xs:element name="NodeTypeDescription" type="tns:NodeTypeDescription" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNodeTypeDescription" type="tns:ListOfNodeTypeDescription" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="FilterOperator">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Equals_0" />\r\n      <xs:enumeration value="IsNull_1" />\r\n      <xs:enumeration value="GreaterThan_2" />\r\n      <xs:enumeration value="LessThan_3" />\r\n      <xs:enumeration value="GreaterThanOrEqual_4" />\r\n      <xs:enumeration value="LessThanOrEqual_5" />\r\n      <xs:enumeration value="Like_6" />\r\n      <xs:enumeration value="Not_7" />\r\n      <xs:enumeration value="Between_8" />\r\n      <xs:enumeration value="InList_9" />\r\n      <xs:enumeration value="And_10" />\r\n      <xs:enumeration value="Or_11" />\r\n      <xs:enumeration value="Cast_12" />\r\n      <xs:enumeration value="InView_13" />\r\n      <xs:enumeration value="OfType_14" />\r\n      <xs:enumeration value="RelatedTo_15" />\r\n      <xs:enumeration value="BitwiseAnd_16" />\r\n      <xs:enumeration value="BitwiseOr_17" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="FilterOperator" type="tns:FilterOperator" />\r\n\r\n  <xs:complexType name="QueryDataSet">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="TypeDefinitionNode" type="ua:ExpandedNodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Values" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QueryDataSet" type="tns:QueryDataSet" />\r\n\r\n  <xs:complexType name="ListOfQueryDataSet">\r\n    <xs:sequence>\r\n      <xs:element name="QueryDataSet" type="tns:QueryDataSet" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfQueryDataSet" type="tns:ListOfQueryDataSet" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="NodeReference">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReferenceTypeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IsForward" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="ReferencedNodeIds" type="ua:ListOfNodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NodeReference" type="tns:NodeReference" />\r\n\r\n  <xs:complexType name="ListOfNodeReference">\r\n    <xs:sequence>\r\n      <xs:element name="NodeReference" type="tns:NodeReference" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNodeReference" type="tns:ListOfNodeReference" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ContentFilterElement">\r\n    <xs:sequence>\r\n      <xs:element name="FilterOperator" type="tns:FilterOperator" minOccurs="0" />\r\n      <xs:element name="FilterOperands" type="ua:ListOfExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ContentFilterElement" type="tns:ContentFilterElement" />\r\n\r\n  <xs:complexType name="ListOfContentFilterElement">\r\n    <xs:sequence>\r\n      <xs:element name="ContentFilterElement" type="tns:ContentFilterElement" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfContentFilterElement" type="tns:ListOfContentFilterElement" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ContentFilter">\r\n    <xs:sequence>\r\n      <xs:element name="Elements" type="tns:ListOfContentFilterElement" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ContentFilter" type="tns:ContentFilter" />\r\n\r\n  <xs:complexType name="ListOfContentFilter">\r\n    <xs:sequence>\r\n      <xs:element name="ContentFilter" type="tns:ContentFilter" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfContentFilter" type="tns:ListOfContentFilter" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="FilterOperand">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="FilterOperand" type="tns:FilterOperand" />\r\n\r\n  <xs:complexType name="ElementOperand">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:FilterOperand">\r\n        <xs:sequence>\r\n          <xs:element name="Index" type="xs:unsignedInt" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ElementOperand" type="tns:ElementOperand" />\r\n\r\n  <xs:complexType name="LiteralOperand">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:FilterOperand">\r\n        <xs:sequence>\r\n          <xs:element name="Value" type="ua:Variant" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="LiteralOperand" type="tns:LiteralOperand" />\r\n\r\n  <xs:complexType name="AttributeOperand">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:FilterOperand">\r\n        <xs:sequence>\r\n          <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="Alias" type="xs:string" minOccurs="0" nillable="true" />\r\n          <xs:element name="BrowsePath" type="tns:RelativePath" minOccurs="0" nillable="true" />\r\n          <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="AttributeOperand" type="tns:AttributeOperand" />\r\n\r\n  <xs:complexType name="SimpleAttributeOperand">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:FilterOperand">\r\n        <xs:sequence>\r\n          <xs:element name="TypeDefinitionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="BrowsePath" type="ua:ListOfQualifiedName" minOccurs="0" nillable="true" />\r\n          <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="SimpleAttributeOperand" type="tns:SimpleAttributeOperand" />\r\n\r\n  <xs:complexType name="ListOfSimpleAttributeOperand">\r\n    <xs:sequence>\r\n      <xs:element name="SimpleAttributeOperand" type="tns:SimpleAttributeOperand" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSimpleAttributeOperand" type="tns:ListOfSimpleAttributeOperand" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ContentFilterElementResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="OperandStatusCodes" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="OperandDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ContentFilterElementResult" type="tns:ContentFilterElementResult" />\r\n\r\n  <xs:complexType name="ListOfContentFilterElementResult">\r\n    <xs:sequence>\r\n      <xs:element name="ContentFilterElementResult" type="tns:ContentFilterElementResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfContentFilterElementResult" type="tns:ListOfContentFilterElementResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ContentFilterResult">\r\n    <xs:sequence>\r\n      <xs:element name="ElementResults" type="tns:ListOfContentFilterElementResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="ElementDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ContentFilterResult" type="tns:ContentFilterResult" />\r\n\r\n  <xs:complexType name="ParsingResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="DataStatusCodes" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ParsingResult" type="tns:ParsingResult" />\r\n\r\n  <xs:complexType name="ListOfParsingResult">\r\n    <xs:sequence>\r\n      <xs:element name="ParsingResult" type="tns:ParsingResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfParsingResult" type="tns:ListOfParsingResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="QueryFirstRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="View" type="tns:ViewDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodeTypes" type="tns:ListOfNodeTypeDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="Filter" type="tns:ContentFilter" minOccurs="0" nillable="true" />\r\n      <xs:element name="MaxDataSetsToReturn" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxReferencesToReturn" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QueryFirstRequest" type="tns:QueryFirstRequest" />\r\n\r\n  <xs:complexType name="QueryFirstResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="QueryDataSets" type="tns:ListOfQueryDataSet" minOccurs="0" nillable="true" />\r\n      <xs:element name="ContinuationPoint" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="ParsingResults" type="tns:ListOfParsingResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n      <xs:element name="FilterResult" type="tns:ContentFilterResult" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QueryFirstResponse" type="tns:QueryFirstResponse" />\r\n\r\n  <xs:complexType name="QueryNextRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="ReleaseContinuationPoint" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="ContinuationPoint" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QueryNextRequest" type="tns:QueryNextRequest" />\r\n\r\n  <xs:complexType name="QueryNextResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="QueryDataSets" type="tns:ListOfQueryDataSet" minOccurs="0" nillable="true" />\r\n      <xs:element name="RevisedContinuationPoint" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="QueryNextResponse" type="tns:QueryNextResponse" />\r\n\r\n  <xs:simpleType  name="TimestampsToReturn">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Source_0" />\r\n      <xs:enumeration value="Server_1" />\r\n      <xs:enumeration value="Both_2" />\r\n      <xs:enumeration value="Neither_3" />\r\n      <xs:enumeration value="Invalid_4" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="TimestampsToReturn" type="tns:TimestampsToReturn" />\r\n\r\n  <xs:complexType name="ReadValueId">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataEncoding" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReadValueId" type="tns:ReadValueId" />\r\n\r\n  <xs:complexType name="ListOfReadValueId">\r\n    <xs:sequence>\r\n      <xs:element name="ReadValueId" type="tns:ReadValueId" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfReadValueId" type="tns:ListOfReadValueId" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ReadRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="MaxAge" type="xs:double" minOccurs="0" />\r\n      <xs:element name="TimestampsToReturn" type="tns:TimestampsToReturn" minOccurs="0" />\r\n      <xs:element name="NodesToRead" type="tns:ListOfReadValueId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReadRequest" type="tns:ReadRequest" />\r\n\r\n  <xs:complexType name="ReadResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfDataValue" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ReadResponse" type="tns:ReadResponse" />\r\n\r\n  <xs:complexType name="HistoryReadValueId">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="DataEncoding" type="ua:QualifiedName" minOccurs="0" nillable="true" />\r\n      <xs:element name="ContinuationPoint" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryReadValueId" type="tns:HistoryReadValueId" />\r\n\r\n  <xs:complexType name="ListOfHistoryReadValueId">\r\n    <xs:sequence>\r\n      <xs:element name="HistoryReadValueId" type="tns:HistoryReadValueId" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfHistoryReadValueId" type="tns:ListOfHistoryReadValueId" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="HistoryReadResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="ContinuationPoint" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n      <xs:element name="HistoryData" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryReadResult" type="tns:HistoryReadResult" />\r\n\r\n  <xs:complexType name="ListOfHistoryReadResult">\r\n    <xs:sequence>\r\n      <xs:element name="HistoryReadResult" type="tns:HistoryReadResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfHistoryReadResult" type="tns:ListOfHistoryReadResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="HistoryReadDetails">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryReadDetails" type="tns:HistoryReadDetails" />\r\n\r\n  <xs:complexType name="ReadEventDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryReadDetails">\r\n        <xs:sequence>\r\n          <xs:element name="NumValuesPerNode" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="StartTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="EndTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="Filter" type="tns:EventFilter" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReadEventDetails" type="tns:ReadEventDetails" />\r\n\r\n  <xs:complexType name="ReadRawModifiedDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryReadDetails">\r\n        <xs:sequence>\r\n          <xs:element name="IsReadModified" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="StartTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="EndTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="NumValuesPerNode" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="ReturnBounds" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReadRawModifiedDetails" type="tns:ReadRawModifiedDetails" />\r\n\r\n  <xs:complexType name="ReadProcessedDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryReadDetails">\r\n        <xs:sequence>\r\n          <xs:element name="StartTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="EndTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="ProcessingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="AggregateType" type="ua:ListOfNodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="AggregateConfiguration" type="tns:AggregateConfiguration" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReadProcessedDetails" type="tns:ReadProcessedDetails" />\r\n\r\n  <xs:complexType name="ReadAtTimeDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryReadDetails">\r\n        <xs:sequence>\r\n          <xs:element name="ReqTimes" type="ua:ListOfDateTime" minOccurs="0" nillable="true" />\r\n          <xs:element name="UseSimpleBounds" type="xs:boolean" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReadAtTimeDetails" type="tns:ReadAtTimeDetails" />\r\n\r\n  <xs:complexType name="ReadAnnotationDataDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryReadDetails">\r\n        <xs:sequence>\r\n          <xs:element name="ReqTimes" type="ua:ListOfDateTime" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="ReadAnnotationDataDetails" type="tns:ReadAnnotationDataDetails" />\r\n\r\n  <xs:complexType name="HistoryData">\r\n    <xs:sequence>\r\n      <xs:element name="DataValues" type="ua:ListOfDataValue" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryData" type="tns:HistoryData" />\r\n\r\n  <xs:complexType name="ModificationInfo">\r\n    <xs:sequence>\r\n      <xs:element name="ModificationTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="UpdateType" type="tns:HistoryUpdateType" minOccurs="0" />\r\n      <xs:element name="UserName" type="xs:string" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ModificationInfo" type="tns:ModificationInfo" />\r\n\r\n  <xs:complexType name="ListOfModificationInfo">\r\n    <xs:sequence>\r\n      <xs:element name="ModificationInfo" type="tns:ModificationInfo" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfModificationInfo" type="tns:ListOfModificationInfo" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="HistoryModifiedData">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryData">\r\n        <xs:sequence>\r\n          <xs:element name="ModificationInfos" type="tns:ListOfModificationInfo" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryModifiedData" type="tns:HistoryModifiedData" />\r\n\r\n  <xs:complexType name="HistoryEvent">\r\n    <xs:sequence>\r\n      <xs:element name="Events" type="tns:ListOfHistoryEventFieldList" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryEvent" type="tns:HistoryEvent" />\r\n\r\n  <xs:complexType name="HistoryReadRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="HistoryReadDetails" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="TimestampsToReturn" type="tns:TimestampsToReturn" minOccurs="0" />\r\n      <xs:element name="ReleaseContinuationPoints" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="NodesToRead" type="tns:ListOfHistoryReadValueId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryReadRequest" type="tns:HistoryReadRequest" />\r\n\r\n  <xs:complexType name="HistoryReadResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfHistoryReadResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryReadResponse" type="tns:HistoryReadResponse" />\r\n\r\n  <xs:complexType name="WriteValue">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AttributeId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="IndexRange" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Value" type="ua:DataValue" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="WriteValue" type="tns:WriteValue" />\r\n\r\n  <xs:complexType name="ListOfWriteValue">\r\n    <xs:sequence>\r\n      <xs:element name="WriteValue" type="tns:WriteValue" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfWriteValue" type="tns:ListOfWriteValue" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="WriteRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="NodesToWrite" type="tns:ListOfWriteValue" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="WriteRequest" type="tns:WriteRequest" />\r\n\r\n  <xs:complexType name="WriteResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="WriteResponse" type="tns:WriteResponse" />\r\n\r\n  <xs:complexType name="HistoryUpdateDetails">\r\n    <xs:sequence>\r\n      <xs:element name="NodeId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryUpdateDetails" type="tns:HistoryUpdateDetails" />\r\n\r\n  <xs:simpleType  name="HistoryUpdateType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Insert_1" />\r\n      <xs:enumeration value="Replace_2" />\r\n      <xs:enumeration value="Update_3" />\r\n      <xs:enumeration value="Delete_4" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="HistoryUpdateType" type="tns:HistoryUpdateType" />\r\n\r\n  <xs:simpleType  name="PerformUpdateType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Insert_1" />\r\n      <xs:enumeration value="Replace_2" />\r\n      <xs:enumeration value="Update_3" />\r\n      <xs:enumeration value="Remove_4" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="PerformUpdateType" type="tns:PerformUpdateType" />\r\n\r\n  <xs:complexType name="UpdateDataDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryUpdateDetails">\r\n        <xs:sequence>\r\n          <xs:element name="PerformInsertReplace" type="tns:PerformUpdateType" minOccurs="0" />\r\n          <xs:element name="UpdateValues" type="ua:ListOfDataValue" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UpdateDataDetails" type="tns:UpdateDataDetails" />\r\n\r\n  <xs:complexType name="UpdateStructureDataDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryUpdateDetails">\r\n        <xs:sequence>\r\n          <xs:element name="PerformInsertReplace" type="tns:PerformUpdateType" minOccurs="0" />\r\n          <xs:element name="UpdateValues" type="ua:ListOfDataValue" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UpdateStructureDataDetails" type="tns:UpdateStructureDataDetails" />\r\n\r\n  <xs:complexType name="UpdateEventDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryUpdateDetails">\r\n        <xs:sequence>\r\n          <xs:element name="PerformInsertReplace" type="tns:PerformUpdateType" minOccurs="0" />\r\n          <xs:element name="Filter" type="tns:EventFilter" minOccurs="0" nillable="true" />\r\n          <xs:element name="EventData" type="tns:ListOfHistoryEventFieldList" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="UpdateEventDetails" type="tns:UpdateEventDetails" />\r\n\r\n  <xs:complexType name="DeleteRawModifiedDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryUpdateDetails">\r\n        <xs:sequence>\r\n          <xs:element name="IsDeleteModified" type="xs:boolean" minOccurs="0" />\r\n          <xs:element name="StartTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="EndTime" type="xs:dateTime" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteRawModifiedDetails" type="tns:DeleteRawModifiedDetails" />\r\n\r\n  <xs:complexType name="DeleteAtTimeDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryUpdateDetails">\r\n        <xs:sequence>\r\n          <xs:element name="ReqTimes" type="ua:ListOfDateTime" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteAtTimeDetails" type="tns:DeleteAtTimeDetails" />\r\n\r\n  <xs:complexType name="DeleteEventDetails">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:HistoryUpdateDetails">\r\n        <xs:sequence>\r\n          <xs:element name="EventIds" type="ua:ListOfByteString" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteEventDetails" type="tns:DeleteEventDetails" />\r\n\r\n  <xs:complexType name="HistoryUpdateResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="OperationResults" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryUpdateResult" type="tns:HistoryUpdateResult" />\r\n\r\n  <xs:complexType name="ListOfHistoryUpdateResult">\r\n    <xs:sequence>\r\n      <xs:element name="HistoryUpdateResult" type="tns:HistoryUpdateResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfHistoryUpdateResult" type="tns:ListOfHistoryUpdateResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="HistoryUpdateRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="HistoryUpdateDetails" type="ua:ListOfExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryUpdateRequest" type="tns:HistoryUpdateRequest" />\r\n\r\n  <xs:complexType name="HistoryUpdateResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfHistoryUpdateResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryUpdateResponse" type="tns:HistoryUpdateResponse" />\r\n\r\n  <xs:complexType name="CallMethodRequest">\r\n    <xs:sequence>\r\n      <xs:element name="ObjectId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="MethodId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="InputArguments" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CallMethodRequest" type="tns:CallMethodRequest" />\r\n\r\n  <xs:complexType name="ListOfCallMethodRequest">\r\n    <xs:sequence>\r\n      <xs:element name="CallMethodRequest" type="tns:CallMethodRequest" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfCallMethodRequest" type="tns:ListOfCallMethodRequest" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="CallMethodResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="InputArgumentResults" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="InputArgumentDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n      <xs:element name="OutputArguments" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CallMethodResult" type="tns:CallMethodResult" />\r\n\r\n  <xs:complexType name="ListOfCallMethodResult">\r\n    <xs:sequence>\r\n      <xs:element name="CallMethodResult" type="tns:CallMethodResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfCallMethodResult" type="tns:ListOfCallMethodResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="CallRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="MethodsToCall" type="tns:ListOfCallMethodRequest" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CallRequest" type="tns:CallRequest" />\r\n\r\n  <xs:complexType name="CallResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfCallMethodResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CallResponse" type="tns:CallResponse" />\r\n\r\n  <xs:simpleType  name="MonitoringMode">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Disabled_0" />\r\n      <xs:enumeration value="Sampling_1" />\r\n      <xs:enumeration value="Reporting_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="MonitoringMode" type="tns:MonitoringMode" />\r\n\r\n  <xs:simpleType  name="DataChangeTrigger">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Status_0" />\r\n      <xs:enumeration value="StatusValue_1" />\r\n      <xs:enumeration value="StatusValueTimestamp_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="DataChangeTrigger" type="tns:DataChangeTrigger" />\r\n\r\n  <xs:simpleType  name="DeadbandType">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="None_0" />\r\n      <xs:enumeration value="Absolute_1" />\r\n      <xs:enumeration value="Percent_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="DeadbandType" type="tns:DeadbandType" />\r\n\r\n  <xs:complexType name="MonitoringFilter">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoringFilter" type="tns:MonitoringFilter" />\r\n\r\n  <xs:complexType name="DataChangeFilter">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:MonitoringFilter">\r\n        <xs:sequence>\r\n          <xs:element name="Trigger" type="tns:DataChangeTrigger" minOccurs="0" />\r\n          <xs:element name="DeadbandType" type="xs:unsignedInt" minOccurs="0" />\r\n          <xs:element name="DeadbandValue" type="xs:double" minOccurs="0" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DataChangeFilter" type="tns:DataChangeFilter" />\r\n\r\n  <xs:complexType name="EventFilter">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:MonitoringFilter">\r\n        <xs:sequence>\r\n          <xs:element name="SelectClauses" type="tns:ListOfSimpleAttributeOperand" minOccurs="0" nillable="true" />\r\n          <xs:element name="WhereClause" type="tns:ContentFilter" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="EventFilter" type="tns:EventFilter" />\r\n\r\n  <xs:complexType name="AggregateConfiguration">\r\n    <xs:sequence>\r\n      <xs:element name="UseServerCapabilitiesDefaults" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="TreatUncertainAsBad" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="PercentDataBad" type="xs:unsignedByte" minOccurs="0" />\r\n      <xs:element name="PercentDataGood" type="xs:unsignedByte" minOccurs="0" />\r\n      <xs:element name="UseSlopedExtrapolation" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AggregateConfiguration" type="tns:AggregateConfiguration" />\r\n\r\n  <xs:complexType name="AggregateFilter">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:MonitoringFilter">\r\n        <xs:sequence>\r\n          <xs:element name="StartTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="AggregateType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n          <xs:element name="ProcessingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="AggregateConfiguration" type="tns:AggregateConfiguration" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="AggregateFilter" type="tns:AggregateFilter" />\r\n\r\n  <xs:complexType name="MonitoringFilterResult">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoringFilterResult" type="tns:MonitoringFilterResult" />\r\n\r\n  <xs:complexType name="EventFilterResult">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:MonitoringFilterResult">\r\n        <xs:sequence>\r\n          <xs:element name="SelectClauseResults" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n          <xs:element name="SelectClauseDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n          <xs:element name="WhereClauseResult" type="tns:ContentFilterResult" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="EventFilterResult" type="tns:EventFilterResult" />\r\n\r\n  <xs:complexType name="AggregateFilterResult">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:MonitoringFilterResult">\r\n        <xs:sequence>\r\n          <xs:element name="RevisedStartTime" type="xs:dateTime" minOccurs="0" />\r\n          <xs:element name="RevisedProcessingInterval" type="xs:double" minOccurs="0" />\r\n          <xs:element name="RevisedAggregateConfiguration" type="tns:AggregateConfiguration" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="AggregateFilterResult" type="tns:AggregateFilterResult" />\r\n\r\n  <xs:complexType name="MonitoringParameters">\r\n    <xs:sequence>\r\n      <xs:element name="ClientHandle" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SamplingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="Filter" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n      <xs:element name="QueueSize" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DiscardOldest" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoringParameters" type="tns:MonitoringParameters" />\r\n\r\n  <xs:complexType name="MonitoredItemCreateRequest">\r\n    <xs:sequence>\r\n      <xs:element name="ItemToMonitor" type="tns:ReadValueId" minOccurs="0" nillable="true" />\r\n      <xs:element name="MonitoringMode" type="tns:MonitoringMode" minOccurs="0" />\r\n      <xs:element name="RequestedParameters" type="tns:MonitoringParameters" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoredItemCreateRequest" type="tns:MonitoredItemCreateRequest" />\r\n\r\n  <xs:complexType name="ListOfMonitoredItemCreateRequest">\r\n    <xs:sequence>\r\n      <xs:element name="MonitoredItemCreateRequest" type="tns:MonitoredItemCreateRequest" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfMonitoredItemCreateRequest" type="tns:ListOfMonitoredItemCreateRequest" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="MonitoredItemCreateResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="MonitoredItemId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RevisedSamplingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="RevisedQueueSize" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="FilterResult" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoredItemCreateResult" type="tns:MonitoredItemCreateResult" />\r\n\r\n  <xs:complexType name="ListOfMonitoredItemCreateResult">\r\n    <xs:sequence>\r\n      <xs:element name="MonitoredItemCreateResult" type="tns:MonitoredItemCreateResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfMonitoredItemCreateResult" type="tns:ListOfMonitoredItemCreateResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="CreateMonitoredItemsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TimestampsToReturn" type="tns:TimestampsToReturn" minOccurs="0" />\r\n      <xs:element name="ItemsToCreate" type="tns:ListOfMonitoredItemCreateRequest" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CreateMonitoredItemsRequest" type="tns:CreateMonitoredItemsRequest" />\r\n\r\n  <xs:complexType name="CreateMonitoredItemsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfMonitoredItemCreateResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CreateMonitoredItemsResponse" type="tns:CreateMonitoredItemsResponse" />\r\n\r\n  <xs:complexType name="MonitoredItemModifyRequest">\r\n    <xs:sequence>\r\n      <xs:element name="MonitoredItemId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RequestedParameters" type="tns:MonitoringParameters" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoredItemModifyRequest" type="tns:MonitoredItemModifyRequest" />\r\n\r\n  <xs:complexType name="ListOfMonitoredItemModifyRequest">\r\n    <xs:sequence>\r\n      <xs:element name="MonitoredItemModifyRequest" type="tns:MonitoredItemModifyRequest" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfMonitoredItemModifyRequest" type="tns:ListOfMonitoredItemModifyRequest" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="MonitoredItemModifyResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="RevisedSamplingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="RevisedQueueSize" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="FilterResult" type="ua:ExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoredItemModifyResult" type="tns:MonitoredItemModifyResult" />\r\n\r\n  <xs:complexType name="ListOfMonitoredItemModifyResult">\r\n    <xs:sequence>\r\n      <xs:element name="MonitoredItemModifyResult" type="tns:MonitoredItemModifyResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfMonitoredItemModifyResult" type="tns:ListOfMonitoredItemModifyResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ModifyMonitoredItemsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TimestampsToReturn" type="tns:TimestampsToReturn" minOccurs="0" />\r\n      <xs:element name="ItemsToModify" type="tns:ListOfMonitoredItemModifyRequest" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ModifyMonitoredItemsRequest" type="tns:ModifyMonitoredItemsRequest" />\r\n\r\n  <xs:complexType name="ModifyMonitoredItemsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfMonitoredItemModifyResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ModifyMonitoredItemsResponse" type="tns:ModifyMonitoredItemsResponse" />\r\n\r\n  <xs:complexType name="SetMonitoringModeRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MonitoringMode" type="tns:MonitoringMode" minOccurs="0" />\r\n      <xs:element name="MonitoredItemIds" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SetMonitoringModeRequest" type="tns:SetMonitoringModeRequest" />\r\n\r\n  <xs:complexType name="SetMonitoringModeResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SetMonitoringModeResponse" type="tns:SetMonitoringModeResponse" />\r\n\r\n  <xs:complexType name="SetTriggeringRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TriggeringItemId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="LinksToAdd" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="LinksToRemove" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SetTriggeringRequest" type="tns:SetTriggeringRequest" />\r\n\r\n  <xs:complexType name="SetTriggeringResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="AddResults" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="AddDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n      <xs:element name="RemoveResults" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="RemoveDiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SetTriggeringResponse" type="tns:SetTriggeringResponse" />\r\n\r\n  <xs:complexType name="DeleteMonitoredItemsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MonitoredItemIds" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteMonitoredItemsRequest" type="tns:DeleteMonitoredItemsRequest" />\r\n\r\n  <xs:complexType name="DeleteMonitoredItemsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteMonitoredItemsResponse" type="tns:DeleteMonitoredItemsResponse" />\r\n\r\n  <xs:complexType name="CreateSubscriptionRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="RequestedPublishingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="RequestedLifetimeCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RequestedMaxKeepAliveCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxNotificationsPerPublish" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="PublishingEnabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="Priority" type="xs:unsignedByte" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CreateSubscriptionRequest" type="tns:CreateSubscriptionRequest" />\r\n\r\n  <xs:complexType name="CreateSubscriptionResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RevisedPublishingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="RevisedLifetimeCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RevisedMaxKeepAliveCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="CreateSubscriptionResponse" type="tns:CreateSubscriptionResponse" />\r\n\r\n  <xs:complexType name="ModifySubscriptionRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RequestedPublishingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="RequestedLifetimeCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RequestedMaxKeepAliveCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxNotificationsPerPublish" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="Priority" type="xs:unsignedByte" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ModifySubscriptionRequest" type="tns:ModifySubscriptionRequest" />\r\n\r\n  <xs:complexType name="ModifySubscriptionResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="RevisedPublishingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="RevisedLifetimeCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RevisedMaxKeepAliveCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ModifySubscriptionResponse" type="tns:ModifySubscriptionResponse" />\r\n\r\n  <xs:complexType name="SetPublishingModeRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="PublishingEnabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="SubscriptionIds" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SetPublishingModeRequest" type="tns:SetPublishingModeRequest" />\r\n\r\n  <xs:complexType name="SetPublishingModeResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SetPublishingModeResponse" type="tns:SetPublishingModeResponse" />\r\n\r\n  <xs:complexType name="NotificationMessage">\r\n    <xs:sequence>\r\n      <xs:element name="SequenceNumber" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="PublishTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="NotificationData" type="ua:ListOfExtensionObject" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NotificationMessage" type="tns:NotificationMessage" />\r\n\r\n  <xs:complexType name="NotificationData">\r\n    <xs:sequence>\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NotificationData" type="tns:NotificationData" />\r\n\r\n  <xs:complexType name="DataChangeNotification">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NotificationData">\r\n        <xs:sequence>\r\n          <xs:element name="MonitoredItems" type="tns:ListOfMonitoredItemNotification" minOccurs="0" nillable="true" />\r\n          <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="DataChangeNotification" type="tns:DataChangeNotification" />\r\n\r\n  <xs:complexType name="MonitoredItemNotification">\r\n    <xs:sequence>\r\n      <xs:element name="ClientHandle" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="Value" type="ua:DataValue" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="MonitoredItemNotification" type="tns:MonitoredItemNotification" />\r\n\r\n  <xs:complexType name="ListOfMonitoredItemNotification">\r\n    <xs:sequence>\r\n      <xs:element name="MonitoredItemNotification" type="tns:MonitoredItemNotification" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfMonitoredItemNotification" type="tns:ListOfMonitoredItemNotification" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EventNotificationList">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NotificationData">\r\n        <xs:sequence>\r\n          <xs:element name="Events" type="tns:ListOfEventFieldList" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="EventNotificationList" type="tns:EventNotificationList" />\r\n\r\n  <xs:complexType name="EventFieldList">\r\n    <xs:sequence>\r\n      <xs:element name="ClientHandle" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="EventFields" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EventFieldList" type="tns:EventFieldList" />\r\n\r\n  <xs:complexType name="ListOfEventFieldList">\r\n    <xs:sequence>\r\n      <xs:element name="EventFieldList" type="tns:EventFieldList" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEventFieldList" type="tns:ListOfEventFieldList" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="HistoryEventFieldList">\r\n    <xs:sequence>\r\n      <xs:element name="EventFields" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="HistoryEventFieldList" type="tns:HistoryEventFieldList" />\r\n\r\n  <xs:complexType name="ListOfHistoryEventFieldList">\r\n    <xs:sequence>\r\n      <xs:element name="HistoryEventFieldList" type="tns:HistoryEventFieldList" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfHistoryEventFieldList" type="tns:ListOfHistoryEventFieldList" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="StatusChangeNotification">\r\n    <xs:complexContent mixed="false">\r\n      <xs:extension base="tns:NotificationData">\r\n        <xs:sequence>\r\n          <xs:element name="Status" type="ua:StatusCode" minOccurs="0" />\r\n          <xs:element name="DiagnosticInfo" type="ua:DiagnosticInfo" minOccurs="0" nillable="true" />\r\n        </xs:sequence>\r\n      </xs:extension>\r\n    </xs:complexContent>\r\n  </xs:complexType>\r\n  <xs:element name="StatusChangeNotification" type="tns:StatusChangeNotification" />\r\n\r\n  <xs:complexType name="SubscriptionAcknowledgement">\r\n    <xs:sequence>\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SequenceNumber" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SubscriptionAcknowledgement" type="tns:SubscriptionAcknowledgement" />\r\n\r\n  <xs:complexType name="ListOfSubscriptionAcknowledgement">\r\n    <xs:sequence>\r\n      <xs:element name="SubscriptionAcknowledgement" type="tns:SubscriptionAcknowledgement" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSubscriptionAcknowledgement" type="tns:ListOfSubscriptionAcknowledgement" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="PublishRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionAcknowledgements" type="tns:ListOfSubscriptionAcknowledgement" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PublishRequest" type="tns:PublishRequest" />\r\n\r\n  <xs:complexType name="PublishResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="AvailableSequenceNumbers" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="MoreNotifications" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="NotificationMessage" type="tns:NotificationMessage" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="PublishResponse" type="tns:PublishResponse" />\r\n\r\n  <xs:complexType name="RepublishRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RetransmitSequenceNumber" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RepublishRequest" type="tns:RepublishRequest" />\r\n\r\n  <xs:complexType name="RepublishResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="NotificationMessage" type="tns:NotificationMessage" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RepublishResponse" type="tns:RepublishResponse" />\r\n\r\n  <xs:complexType name="TransferResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="AvailableSequenceNumbers" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TransferResult" type="tns:TransferResult" />\r\n\r\n  <xs:complexType name="ListOfTransferResult">\r\n    <xs:sequence>\r\n      <xs:element name="TransferResult" type="tns:TransferResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfTransferResult" type="tns:ListOfTransferResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="TransferSubscriptionsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionIds" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n      <xs:element name="SendInitialValues" type="xs:boolean" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TransferSubscriptionsRequest" type="tns:TransferSubscriptionsRequest" />\r\n\r\n  <xs:complexType name="TransferSubscriptionsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="tns:ListOfTransferResult" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="TransferSubscriptionsResponse" type="tns:TransferSubscriptionsResponse" />\r\n\r\n  <xs:complexType name="DeleteSubscriptionsRequest">\r\n    <xs:sequence>\r\n      <xs:element name="RequestHeader" type="tns:RequestHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionIds" type="ua:ListOfUInt32" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteSubscriptionsRequest" type="tns:DeleteSubscriptionsRequest" />\r\n\r\n  <xs:complexType name="DeleteSubscriptionsResponse">\r\n    <xs:sequence>\r\n      <xs:element name="ResponseHeader" type="tns:ResponseHeader" minOccurs="0" nillable="true" />\r\n      <xs:element name="Results" type="ua:ListOfStatusCode" minOccurs="0" nillable="true" />\r\n      <xs:element name="DiagnosticInfos" type="ua:ListOfDiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DeleteSubscriptionsResponse" type="tns:DeleteSubscriptionsResponse" />\r\n\r\n  <xs:complexType name="BuildInfo">\r\n    <xs:sequence>\r\n      <xs:element name="ProductUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ManufacturerName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ProductName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SoftwareVersion" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="BuildNumber" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="BuildDate" type="xs:dateTime" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="BuildInfo" type="tns:BuildInfo" />\r\n\r\n  <xs:simpleType  name="RedundancySupport">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="None_0" />\r\n      <xs:enumeration value="Cold_1" />\r\n      <xs:enumeration value="Warm_2" />\r\n      <xs:enumeration value="Hot_3" />\r\n      <xs:enumeration value="Transparent_4" />\r\n      <xs:enumeration value="HotAndMirrored_5" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="RedundancySupport" type="tns:RedundancySupport" />\r\n\r\n  <xs:simpleType  name="ServerState">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Running_0" />\r\n      <xs:enumeration value="Failed_1" />\r\n      <xs:enumeration value="NoConfiguration_2" />\r\n      <xs:enumeration value="Suspended_3" />\r\n      <xs:enumeration value="Shutdown_4" />\r\n      <xs:enumeration value="Test_5" />\r\n      <xs:enumeration value="CommunicationFault_6" />\r\n      <xs:enumeration value="Unknown_7" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="ServerState" type="tns:ServerState" />\r\n\r\n  <xs:complexType name="RedundantServerDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ServerId" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServiceLevel" type="xs:unsignedByte" minOccurs="0" />\r\n      <xs:element name="ServerState" type="tns:ServerState" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="RedundantServerDataType" type="tns:RedundantServerDataType" />\r\n\r\n  <xs:complexType name="ListOfRedundantServerDataType">\r\n    <xs:sequence>\r\n      <xs:element name="RedundantServerDataType" type="tns:RedundantServerDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfRedundantServerDataType" type="tns:ListOfRedundantServerDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="EndpointUrlListDataType">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointUrlList" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EndpointUrlListDataType" type="tns:EndpointUrlListDataType" />\r\n\r\n  <xs:complexType name="ListOfEndpointUrlListDataType">\r\n    <xs:sequence>\r\n      <xs:element name="EndpointUrlListDataType" type="tns:EndpointUrlListDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfEndpointUrlListDataType" type="tns:ListOfEndpointUrlListDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="NetworkGroupDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="NetworkPaths" type="tns:ListOfEndpointUrlListDataType" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="NetworkGroupDataType" type="tns:NetworkGroupDataType" />\r\n\r\n  <xs:complexType name="ListOfNetworkGroupDataType">\r\n    <xs:sequence>\r\n      <xs:element name="NetworkGroupDataType" type="tns:NetworkGroupDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfNetworkGroupDataType" type="tns:ListOfNetworkGroupDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SamplingIntervalDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SamplingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="MonitoredItemCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxMonitoredItemCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DisabledMonitoredItemCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SamplingIntervalDiagnosticsDataType" type="tns:SamplingIntervalDiagnosticsDataType" />\r\n\r\n  <xs:complexType name="ListOfSamplingIntervalDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SamplingIntervalDiagnosticsDataType" type="tns:SamplingIntervalDiagnosticsDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSamplingIntervalDiagnosticsDataType" type="tns:ListOfSamplingIntervalDiagnosticsDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ServerDiagnosticsSummaryDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ServerViewCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CurrentSessionCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CumulatedSessionCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SecurityRejectedSessionCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RejectedSessionCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SessionTimeoutCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SessionAbortCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CurrentSubscriptionCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CumulatedSubscriptionCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="PublishingIntervalCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="SecurityRejectedRequestsCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RejectedRequestsCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ServerDiagnosticsSummaryDataType" type="tns:ServerDiagnosticsSummaryDataType" />\r\n\r\n  <xs:complexType name="ServerStatusDataType">\r\n    <xs:sequence>\r\n      <xs:element name="StartTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="CurrentTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="State" type="tns:ServerState" minOccurs="0" />\r\n      <xs:element name="BuildInfo" type="tns:BuildInfo" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecondsTillShutdown" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ShutdownReason" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ServerStatusDataType" type="tns:ServerStatusDataType" />\r\n\r\n  <xs:complexType name="SessionDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="SessionName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientDescription" type="tns:ApplicationDescription" minOccurs="0" nillable="true" />\r\n      <xs:element name="ServerUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="EndpointUrl" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="LocaleIds" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="ActualSessionTimeout" type="xs:double" minOccurs="0" />\r\n      <xs:element name="MaxResponseMessageSize" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ClientConnectionTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="ClientLastContactTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="CurrentSubscriptionsCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CurrentMonitoredItemsCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CurrentPublishRequestsInQueue" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TotalRequestCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="UnauthorizedRequestCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ReadCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="HistoryReadCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="WriteCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="HistoryUpdateCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="CallCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="CreateMonitoredItemsCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="ModifyMonitoredItemsCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="SetMonitoringModeCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="SetTriggeringCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteMonitoredItemsCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="CreateSubscriptionCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="ModifySubscriptionCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="SetPublishingModeCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="PublishCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="RepublishCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransferSubscriptionsCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteSubscriptionsCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="AddNodesCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="AddReferencesCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteNodesCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="DeleteReferencesCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="BrowseCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="BrowseNextCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="TranslateBrowsePathsToNodeIdsCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="QueryFirstCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="QueryNextCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="RegisterNodesCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n      <xs:element name="UnregisterNodesCount" type="tns:ServiceCounterDataType" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SessionDiagnosticsDataType" type="tns:SessionDiagnosticsDataType" />\r\n\r\n  <xs:complexType name="ListOfSessionDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SessionDiagnosticsDataType" type="tns:SessionDiagnosticsDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSessionDiagnosticsDataType" type="tns:ListOfSessionDiagnosticsDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SessionSecurityDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientUserIdOfSession" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientUserIdHistory" type="ua:ListOfString" minOccurs="0" nillable="true" />\r\n      <xs:element name="AuthenticationMechanism" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="Encoding" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="TransportProtocol" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="SecurityMode" type="tns:MessageSecurityMode" minOccurs="0" />\r\n      <xs:element name="SecurityPolicyUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="ClientCertificate" type="xs:base64Binary" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SessionSecurityDiagnosticsDataType" type="tns:SessionSecurityDiagnosticsDataType" />\r\n\r\n  <xs:complexType name="ListOfSessionSecurityDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SessionSecurityDiagnosticsDataType" type="tns:SessionSecurityDiagnosticsDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSessionSecurityDiagnosticsDataType" type="tns:ListOfSessionSecurityDiagnosticsDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="ServiceCounterDataType">\r\n    <xs:sequence>\r\n      <xs:element name="TotalCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="ErrorCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ServiceCounterDataType" type="tns:ServiceCounterDataType" />\r\n\r\n  <xs:complexType name="StatusResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusCode" type="ua:StatusCode" minOccurs="0" />\r\n      <xs:element name="DiagnosticInfo" type="ua:DiagnosticInfo" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="StatusResult" type="tns:StatusResult" />\r\n\r\n  <xs:complexType name="ListOfStatusResult">\r\n    <xs:sequence>\r\n      <xs:element name="StatusResult" type="tns:StatusResult" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfStatusResult" type="tns:ListOfStatusResult" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SubscriptionDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="SubscriptionId" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="Priority" type="xs:unsignedByte" minOccurs="0" />\r\n      <xs:element name="PublishingInterval" type="xs:double" minOccurs="0" />\r\n      <xs:element name="MaxKeepAliveCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxLifetimeCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MaxNotificationsPerPublish" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="PublishingEnabled" type="xs:boolean" minOccurs="0" />\r\n      <xs:element name="ModifyCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="EnableCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DisableCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RepublishRequestCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RepublishMessageRequestCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="RepublishMessageCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TransferRequestCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TransferredToAltClientCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="TransferredToSameClientCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="PublishRequestCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DataChangeNotificationsCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="EventNotificationsCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="NotificationsCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="LatePublishRequestCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CurrentKeepAliveCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="CurrentLifetimeCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="UnacknowledgedMessageCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DiscardedMessageCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MonitoredItemCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="DisabledMonitoredItemCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="MonitoringQueueOverflowCount" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="NextSequenceNumber" type="xs:unsignedInt" minOccurs="0" />\r\n      <xs:element name="EventQueueOverFlowCount" type="xs:unsignedInt" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SubscriptionDiagnosticsDataType" type="tns:SubscriptionDiagnosticsDataType" />\r\n\r\n  <xs:complexType name="ListOfSubscriptionDiagnosticsDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SubscriptionDiagnosticsDataType" type="tns:SubscriptionDiagnosticsDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSubscriptionDiagnosticsDataType" type="tns:ListOfSubscriptionDiagnosticsDataType" nillable="true"></xs:element>\r\n\r\n  <xs:simpleType  name="ModelChangeStructureVerbMask">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="NodeAdded_1" />\r\n      <xs:enumeration value="NodeDeleted_2" />\r\n      <xs:enumeration value="ReferenceAdded_4" />\r\n      <xs:enumeration value="ReferenceDeleted_8" />\r\n      <xs:enumeration value="DataTypeChanged_16" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="ModelChangeStructureVerbMask" type="tns:ModelChangeStructureVerbMask" />\r\n\r\n  <xs:complexType name="ModelChangeStructureDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Affected" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AffectedType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="Verb" type="xs:unsignedByte" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ModelChangeStructureDataType" type="tns:ModelChangeStructureDataType" />\r\n\r\n  <xs:complexType name="ListOfModelChangeStructureDataType">\r\n    <xs:sequence>\r\n      <xs:element name="ModelChangeStructureDataType" type="tns:ModelChangeStructureDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfModelChangeStructureDataType" type="tns:ListOfModelChangeStructureDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="SemanticChangeStructureDataType">\r\n    <xs:sequence>\r\n      <xs:element name="Affected" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="AffectedType" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="SemanticChangeStructureDataType" type="tns:SemanticChangeStructureDataType" />\r\n\r\n  <xs:complexType name="ListOfSemanticChangeStructureDataType">\r\n    <xs:sequence>\r\n      <xs:element name="SemanticChangeStructureDataType" type="tns:SemanticChangeStructureDataType" minOccurs="0" maxOccurs="unbounded" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ListOfSemanticChangeStructureDataType" type="tns:ListOfSemanticChangeStructureDataType" nillable="true"></xs:element>\r\n\r\n  <xs:complexType name="Range">\r\n    <xs:sequence>\r\n      <xs:element name="Low" type="xs:double" minOccurs="0" />\r\n      <xs:element name="High" type="xs:double" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Range" type="tns:Range" />\r\n\r\n  <xs:complexType name="EUInformation">\r\n    <xs:sequence>\r\n      <xs:element name="NamespaceUri" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="UnitId" type="xs:int" minOccurs="0" />\r\n      <xs:element name="DisplayName" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="Description" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="EUInformation" type="tns:EUInformation" />\r\n\r\n  <xs:simpleType  name="AxisScaleEnumeration">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="Linear_0" />\r\n      <xs:enumeration value="Log_1" />\r\n      <xs:enumeration value="Ln_2" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="AxisScaleEnumeration" type="tns:AxisScaleEnumeration" />\r\n\r\n  <xs:complexType name="ComplexNumberType">\r\n    <xs:sequence>\r\n      <xs:element name="Real" type="xs:float" minOccurs="0" />\r\n      <xs:element name="Imaginary" type="xs:float" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ComplexNumberType" type="tns:ComplexNumberType" />\r\n\r\n  <xs:complexType name="DoubleComplexNumberType">\r\n    <xs:sequence>\r\n      <xs:element name="Real" type="xs:double" minOccurs="0" />\r\n      <xs:element name="Imaginary" type="xs:double" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="DoubleComplexNumberType" type="tns:DoubleComplexNumberType" />\r\n\r\n  <xs:complexType name="AxisInformation">\r\n    <xs:sequence>\r\n      <xs:element name="EngineeringUnits" type="tns:EUInformation" minOccurs="0" nillable="true" />\r\n      <xs:element name="EURange" type="tns:Range" minOccurs="0" nillable="true" />\r\n      <xs:element name="Title" type="ua:LocalizedText" minOccurs="0" nillable="true" />\r\n      <xs:element name="AxisScaleType" type="tns:AxisScaleEnumeration" minOccurs="0" />\r\n      <xs:element name="AxisSteps" type="ua:ListOfDouble" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="AxisInformation" type="tns:AxisInformation" />\r\n\r\n  <xs:complexType name="XVType">\r\n    <xs:sequence>\r\n      <xs:element name="X" type="xs:double" minOccurs="0" />\r\n      <xs:element name="Value" type="xs:float" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="XVType" type="tns:XVType" />\r\n\r\n  <xs:complexType name="ProgramDiagnosticDataType">\r\n    <xs:sequence>\r\n      <xs:element name="CreateSessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="CreateClientName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="InvocationCreationTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="LastTransitionTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="LastMethodCall" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodSessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodInputArguments" type="tns:ListOfArgument" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodOutputArguments" type="tns:ListOfArgument" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodCallTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="LastMethodReturnStatus" type="tns:StatusResult" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ProgramDiagnosticDataType" type="tns:ProgramDiagnosticDataType" />\r\n\r\n  <xs:complexType name="ProgramDiagnostic2DataType">\r\n    <xs:sequence>\r\n      <xs:element name="CreateSessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="CreateClientName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="InvocationCreationTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="LastTransitionTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="LastMethodCall" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodSessionId" type="ua:NodeId" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodInputArguments" type="tns:ListOfArgument" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodOutputArguments" type="tns:ListOfArgument" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodInputValues" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodOutputValues" type="ua:ListOfVariant" minOccurs="0" nillable="true" />\r\n      <xs:element name="LastMethodCallTime" type="xs:dateTime" minOccurs="0" />\r\n      <xs:element name="LastMethodReturnStatus" type="tns:StatusResult" minOccurs="0" nillable="true" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="ProgramDiagnostic2DataType" type="tns:ProgramDiagnostic2DataType" />\r\n\r\n  <xs:complexType name="Annotation">\r\n    <xs:sequence>\r\n      <xs:element name="Message" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="UserName" type="xs:string" minOccurs="0" nillable="true" />\r\n      <xs:element name="AnnotationTime" type="xs:dateTime" minOccurs="0" />\r\n    </xs:sequence>\r\n  </xs:complexType>\r\n  <xs:element name="Annotation" type="tns:Annotation" />\r\n\r\n  <xs:simpleType  name="ExceptionDeviationFormat">\r\n    <xs:restriction base="xs:string">\r\n      <xs:enumeration value="AbsoluteValue_0" />\r\n      <xs:enumeration value="PercentOfValue_1" />\r\n      <xs:enumeration value="PercentOfRange_2" />\r\n      <xs:enumeration value="PercentOfEURange_3" />\r\n      <xs:enumeration value="Unknown_4" />\r\n    </xs:restriction>\r\n  </xs:simpleType>\r\n  <xs:element name="ExceptionDeviationFormat" type="tns:ExceptionDeviationFormat" />\r\n\r\n</xs:schema>', VariantType.ByteString)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8254, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15039, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14829, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16024, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18860, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18863, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18866, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18869, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19049, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19052, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19055, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19058, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(19061, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15730, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23522, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12677, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16027, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14811, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15591, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15594, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15585, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15588, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14805, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14808, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14832, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16030, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16033, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14320, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16037, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16040, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16047, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16050, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16053, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16056, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21180, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16062, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16065, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16068, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16071, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21183, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21186, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21189, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16077, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16080, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16083, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16086, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16089, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16092, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16095, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14835, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16098, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21192, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16104, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16107, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16110, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16113, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16116, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16119, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(17473, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(21195, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15640, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16125, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16144, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16147, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23508, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(16127, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18166, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18169, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18172, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18175, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8285, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8291, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14826, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12759, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12762, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8918, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8300, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12201, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8297, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8303, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8417, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12894, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12897, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8333, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8306, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8309, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8312, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8315, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8318, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8363, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8366, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8369, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8372, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12712, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12715, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8321, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8564, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8567, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8570, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8573, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8576, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8579, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8582, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8639, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8702, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8708, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8711, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8807, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8327, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8843, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11951, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11954, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8846, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8849, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8852, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8855, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8858, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8861, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8294, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8864, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8867, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8870, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8873, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8876, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12175, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12178, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12083, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(12086, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8882, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15402, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8879, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(92, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8252, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(72, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8254, 0)
    node.BrowseName = QualifiedName('NamespaceUri', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NamespaceUri")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant('http://opcfoundation.org/UA/2008/02/Types.xsd', VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8254, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(8254, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15039, 0)
    node.BrowseName = QualifiedName('Deprecated', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Deprecated")
    attrs.DataType = NodeId(ObjectIds.Boolean)
    attrs.Value = Variant(True, VariantType.Boolean)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15039, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(46, 0)
    ref.SourceNodeId = NumericNodeId(15039, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14829, 0)
    node.BrowseName = QualifiedName('KeyValuePair', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("KeyValuePair")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='KeyValuePair']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14829, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16024, 0)
    node.BrowseName = QualifiedName('EndpointType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EndpointType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16024, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16024, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18860, 0)
    node.BrowseName = QualifiedName('RationalNumber', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RationalNumber")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='RationalNumber']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18860, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18863, 0)
    node.BrowseName = QualifiedName('Vector', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Vector")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Vector']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18863, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18866, 0)
    node.BrowseName = QualifiedName('3DVector', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DVector")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ThreeDVector']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18866, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18869, 0)
    node.BrowseName = QualifiedName('CartesianCoordinates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CartesianCoordinates")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='CartesianCoordinates']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18869, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19049, 0)
    node.BrowseName = QualifiedName('3DCartesianCoordinates', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DCartesianCoordinates")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ThreeDCartesianCoordinates']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19049, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19049, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19052, 0)
    node.BrowseName = QualifiedName('Orientation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Orientation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Orientation']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19052, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19055, 0)
    node.BrowseName = QualifiedName('3DOrientation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DOrientation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ThreeDOrientation']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19055, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19058, 0)
    node.BrowseName = QualifiedName('Frame', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Frame")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Frame']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19058, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19061, 0)
    node.BrowseName = QualifiedName('3DFrame', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("3DFrame")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ThreeDFrame']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19061, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(19061, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15730, 0)
    node.BrowseName = QualifiedName('IdentityMappingRuleType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IdentityMappingRuleType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='IdentityMappingRuleType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15730, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15730, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23522, 0)
    node.BrowseName = QualifiedName('CurrencyUnitType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("CurrencyUnitType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='CurrencyUnitType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23522, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(23522, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12677, 0)
    node.BrowseName = QualifiedName('TrustListDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TrustListDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='TrustListDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12677, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12677, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16027, 0)
    node.BrowseName = QualifiedName('DataTypeSchemaHeader', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeSchemaHeader")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataTypeSchemaHeader']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16027, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16027, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14811, 0)
    node.BrowseName = QualifiedName('DataTypeDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataTypeDescription']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14811, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14811, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15591, 0)
    node.BrowseName = QualifiedName('StructureDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StructureDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='StructureDescription']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15591, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15594, 0)
    node.BrowseName = QualifiedName('EnumDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EnumDescription']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15594, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15585, 0)
    node.BrowseName = QualifiedName('SimpleTypeDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SimpleTypeDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SimpleTypeDescription']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15585, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15585, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15588, 0)
    node.BrowseName = QualifiedName('UABinaryFileDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UABinaryFileDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UABinaryFileDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15588, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15588, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14805, 0)
    node.BrowseName = QualifiedName('DataSetMetaDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetMetaDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetMetaDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14805, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14805, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14808, 0)
    node.BrowseName = QualifiedName('FieldMetaData', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FieldMetaData")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='FieldMetaData']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14808, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14808, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14832, 0)
    node.BrowseName = QualifiedName('ConfigurationVersionDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ConfigurationVersionDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ConfigurationVersionDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14832, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16030, 0)
    node.BrowseName = QualifiedName('PublishedDataSetDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedDataSetDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PublishedDataSetDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16030, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16033, 0)
    node.BrowseName = QualifiedName('PublishedDataSetSourceDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedDataSetSourceDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PublishedDataSetSourceDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16033, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16033, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14320, 0)
    node.BrowseName = QualifiedName('PublishedVariableDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedVariableDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PublishedVariableDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14320, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14320, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16037, 0)
    node.BrowseName = QualifiedName('PublishedDataItemsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedDataItemsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PublishedDataItemsDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16037, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16040, 0)
    node.BrowseName = QualifiedName('PublishedEventsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PublishedEventsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PublishedEventsDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16040, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16040, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16047, 0)
    node.BrowseName = QualifiedName('DataSetWriterDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetWriterDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetWriterDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16047, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16047, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16050, 0)
    node.BrowseName = QualifiedName('DataSetWriterTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetWriterTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetWriterTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16050, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16053, 0)
    node.BrowseName = QualifiedName('DataSetWriterMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetWriterMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetWriterMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16053, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16056, 0)
    node.BrowseName = QualifiedName('PubSubGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PubSubGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PubSubGroupDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16056, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21180, 0)
    node.BrowseName = QualifiedName('WriterGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriterGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='WriterGroupDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21180, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16062, 0)
    node.BrowseName = QualifiedName('WriterGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriterGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='WriterGroupTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16062, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16062, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16065, 0)
    node.BrowseName = QualifiedName('WriterGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("WriterGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='WriterGroupMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16068, 0)
    node.BrowseName = QualifiedName('PubSubConnectionDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PubSubConnectionDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PubSubConnectionDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16068, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16068, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16071, 0)
    node.BrowseName = QualifiedName('ConnectionTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ConnectionTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ConnectionTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21183, 0)
    node.BrowseName = QualifiedName('NetworkAddressDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NetworkAddressDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='NetworkAddressDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21183, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21186, 0)
    node.BrowseName = QualifiedName('NetworkAddressUrlDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NetworkAddressUrlDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='NetworkAddressUrlDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21186, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21189, 0)
    node.BrowseName = QualifiedName('ReaderGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReaderGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ReaderGroupDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21189, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21189, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16077, 0)
    node.BrowseName = QualifiedName('ReaderGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReaderGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ReaderGroupTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16077, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16080, 0)
    node.BrowseName = QualifiedName('ReaderGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ReaderGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ReaderGroupMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16080, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16083, 0)
    node.BrowseName = QualifiedName('DataSetReaderDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetReaderDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetReaderDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16086, 0)
    node.BrowseName = QualifiedName('DataSetReaderTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetReaderTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetReaderTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16089, 0)
    node.BrowseName = QualifiedName('DataSetReaderMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataSetReaderMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataSetReaderMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16089, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16089, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16092, 0)
    node.BrowseName = QualifiedName('SubscribedDataSetDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscribedDataSetDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SubscribedDataSetDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16092, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16095, 0)
    node.BrowseName = QualifiedName('TargetVariablesDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TargetVariablesDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='TargetVariablesDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16095, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14835, 0)
    node.BrowseName = QualifiedName('FieldTargetDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FieldTargetDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='FieldTargetDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14835, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16098, 0)
    node.BrowseName = QualifiedName('SubscribedDataSetMirrorDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscribedDataSetMirrorDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SubscribedDataSetMirrorDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16098, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21192, 0)
    node.BrowseName = QualifiedName('PubSubConfigurationDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("PubSubConfigurationDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='PubSubConfigurationDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21192, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21192, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16104, 0)
    node.BrowseName = QualifiedName('UadpWriterGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UadpWriterGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UadpWriterGroupMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16104, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16107, 0)
    node.BrowseName = QualifiedName('UadpDataSetWriterMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UadpDataSetWriterMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UadpDataSetWriterMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16107, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16110, 0)
    node.BrowseName = QualifiedName('UadpDataSetReaderMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UadpDataSetReaderMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UadpDataSetReaderMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16110, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16113, 0)
    node.BrowseName = QualifiedName('JsonWriterGroupMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("JsonWriterGroupMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='JsonWriterGroupMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16113, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16116, 0)
    node.BrowseName = QualifiedName('JsonDataSetWriterMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("JsonDataSetWriterMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='JsonDataSetWriterMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16116, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16119, 0)
    node.BrowseName = QualifiedName('JsonDataSetReaderMessageDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("JsonDataSetReaderMessageDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='JsonDataSetReaderMessageDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16119, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(17473, 0)
    node.BrowseName = QualifiedName('DatagramConnectionTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DatagramConnectionTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DatagramConnectionTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(17473, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(17473, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(21195, 0)
    node.BrowseName = QualifiedName('DatagramWriterGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DatagramWriterGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DatagramWriterGroupTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(21195, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(21195, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15640, 0)
    node.BrowseName = QualifiedName('BrokerConnectionTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerConnectionTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='BrokerConnectionTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15640, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15640, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16125, 0)
    node.BrowseName = QualifiedName('BrokerWriterGroupTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerWriterGroupTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='BrokerWriterGroupTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16125, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16144, 0)
    node.BrowseName = QualifiedName('BrokerDataSetWriterTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerDataSetWriterTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='BrokerDataSetWriterTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16144, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16144, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16147, 0)
    node.BrowseName = QualifiedName('BrokerDataSetReaderTransportDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BrokerDataSetReaderTransportDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='BrokerDataSetReaderTransportDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16147, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16147, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23508, 0)
    node.BrowseName = QualifiedName('AliasNameDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AliasNameDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AliasNameDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23508, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(23508, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16127, 0)
    node.BrowseName = QualifiedName('RolePermissionType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RolePermissionType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='RolePermissionType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(16127, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18166, 0)
    node.BrowseName = QualifiedName('DataTypeDefinition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DataTypeDefinition")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DataTypeDefinition']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18166, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18169, 0)
    node.BrowseName = QualifiedName('StructureField', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StructureField")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='StructureField']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18169, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18169, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18172, 0)
    node.BrowseName = QualifiedName('StructureDefinition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StructureDefinition")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='StructureDefinition']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18172, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(18175, 0)
    node.BrowseName = QualifiedName('EnumDefinition', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumDefinition")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EnumDefinition']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(18175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(18175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8285, 0)
    node.BrowseName = QualifiedName('Argument', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Argument")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Argument']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8285, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8285, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8291, 0)
    node.BrowseName = QualifiedName('EnumValueType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumValueType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EnumValueType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8291, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8291, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(14826, 0)
    node.BrowseName = QualifiedName('EnumField', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EnumField")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EnumField']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(14826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(14826, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12759, 0)
    node.BrowseName = QualifiedName('OptionSet', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("OptionSet")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='OptionSet']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12759, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12759, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12762, 0)
    node.BrowseName = QualifiedName('Union', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Union")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Union']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12762, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8918, 0)
    node.BrowseName = QualifiedName('TimeZoneDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("TimeZoneDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='TimeZoneDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8918, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8918, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8300, 0)
    node.BrowseName = QualifiedName('ApplicationDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ApplicationDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ApplicationDescription']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8300, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12201, 0)
    node.BrowseName = QualifiedName('ServerOnNetwork', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerOnNetwork")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ServerOnNetwork']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12201, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8297, 0)
    node.BrowseName = QualifiedName('UserTokenPolicy', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserTokenPolicy")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UserTokenPolicy']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8297, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8297, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8303, 0)
    node.BrowseName = QualifiedName('EndpointDescription', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointDescription")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EndpointDescription']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8303, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8303, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8417, 0)
    node.BrowseName = QualifiedName('RegisteredServer', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RegisteredServer")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='RegisteredServer']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8417, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8417, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12894, 0)
    node.BrowseName = QualifiedName('DiscoveryConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DiscoveryConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DiscoveryConfiguration']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12894, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12894, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12897, 0)
    node.BrowseName = QualifiedName('MdnsDiscoveryConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MdnsDiscoveryConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='MdnsDiscoveryConfiguration']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12897, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12897, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8333, 0)
    node.BrowseName = QualifiedName('SignedSoftwareCertificate', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SignedSoftwareCertificate")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SignedSoftwareCertificate']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8333, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8333, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8306, 0)
    node.BrowseName = QualifiedName('UserIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UserIdentityToken']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8306, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8306, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8309, 0)
    node.BrowseName = QualifiedName('AnonymousIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AnonymousIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AnonymousIdentityToken']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8309, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8312, 0)
    node.BrowseName = QualifiedName('UserNameIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("UserNameIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='UserNameIdentityToken']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8312, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8315, 0)
    node.BrowseName = QualifiedName('X509IdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("X509IdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='X509IdentityToken']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8315, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8315, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8318, 0)
    node.BrowseName = QualifiedName('IssuedIdentityToken', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("IssuedIdentityToken")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='IssuedIdentityToken']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8318, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8318, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8363, 0)
    node.BrowseName = QualifiedName('AddNodesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddNodesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AddNodesItem']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8366, 0)
    node.BrowseName = QualifiedName('AddReferencesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AddReferencesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AddReferencesItem']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8369, 0)
    node.BrowseName = QualifiedName('DeleteNodesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteNodesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DeleteNodesItem']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8372, 0)
    node.BrowseName = QualifiedName('DeleteReferencesItem', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DeleteReferencesItem")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DeleteReferencesItem']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12712, 0)
    node.BrowseName = QualifiedName('RelativePathElement', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RelativePathElement")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='RelativePathElement']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12712, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12715, 0)
    node.BrowseName = QualifiedName('RelativePath', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RelativePath")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='RelativePath']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12715, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8321, 0)
    node.BrowseName = QualifiedName('EndpointConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EndpointConfiguration']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8321, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8321, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8564, 0)
    node.BrowseName = QualifiedName('ContentFilterElement', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ContentFilterElement")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ContentFilterElement']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8564, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8567, 0)
    node.BrowseName = QualifiedName('ContentFilter', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ContentFilter")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ContentFilter']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8567, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8567, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8570, 0)
    node.BrowseName = QualifiedName('FilterOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("FilterOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='FilterOperand']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8570, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8570, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8573, 0)
    node.BrowseName = QualifiedName('ElementOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ElementOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ElementOperand']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8573, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8573, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8576, 0)
    node.BrowseName = QualifiedName('LiteralOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("LiteralOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='LiteralOperand']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8576, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8576, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8579, 0)
    node.BrowseName = QualifiedName('AttributeOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AttributeOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AttributeOperand']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8579, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8579, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8582, 0)
    node.BrowseName = QualifiedName('SimpleAttributeOperand', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SimpleAttributeOperand")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SimpleAttributeOperand']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8582, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8582, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8639, 0)
    node.BrowseName = QualifiedName('HistoryEvent', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryEvent")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='HistoryEvent']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8639, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8639, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8702, 0)
    node.BrowseName = QualifiedName('MonitoringFilter', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("MonitoringFilter")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='MonitoringFilter']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8702, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8708, 0)
    node.BrowseName = QualifiedName('EventFilter', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EventFilter")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EventFilter']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8708, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8711, 0)
    node.BrowseName = QualifiedName('AggregateConfiguration', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AggregateConfiguration")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AggregateConfiguration']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8711, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8711, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8807, 0)
    node.BrowseName = QualifiedName('HistoryEventFieldList', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("HistoryEventFieldList")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='HistoryEventFieldList']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8807, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8807, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8327, 0)
    node.BrowseName = QualifiedName('BuildInfo', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("BuildInfo")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='BuildInfo']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8327, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8327, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8843, 0)
    node.BrowseName = QualifiedName('RedundantServerDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("RedundantServerDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='RedundantServerDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8843, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11951, 0)
    node.BrowseName = QualifiedName('EndpointUrlListDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EndpointUrlListDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EndpointUrlListDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11951, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11951, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(11954, 0)
    node.BrowseName = QualifiedName('NetworkGroupDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("NetworkGroupDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='NetworkGroupDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(11954, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(11954, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8846, 0)
    node.BrowseName = QualifiedName('SamplingIntervalDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SamplingIntervalDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SamplingIntervalDiagnosticsDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8846, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8849, 0)
    node.BrowseName = QualifiedName('ServerDiagnosticsSummaryDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerDiagnosticsSummaryDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ServerDiagnosticsSummaryDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8849, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8852, 0)
    node.BrowseName = QualifiedName('ServerStatusDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServerStatusDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ServerStatusDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8852, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8855, 0)
    node.BrowseName = QualifiedName('SessionDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SessionDiagnosticsDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8855, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8858, 0)
    node.BrowseName = QualifiedName('SessionSecurityDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SessionSecurityDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SessionSecurityDiagnosticsDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8858, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8861, 0)
    node.BrowseName = QualifiedName('ServiceCounterDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ServiceCounterDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ServiceCounterDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8861, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8294, 0)
    node.BrowseName = QualifiedName('StatusResult', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("StatusResult")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='StatusResult']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8294, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8294, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8864, 0)
    node.BrowseName = QualifiedName('SubscriptionDiagnosticsDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SubscriptionDiagnosticsDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SubscriptionDiagnosticsDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8864, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8867, 0)
    node.BrowseName = QualifiedName('ModelChangeStructureDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ModelChangeStructureDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ModelChangeStructureDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8867, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8870, 0)
    node.BrowseName = QualifiedName('SemanticChangeStructureDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("SemanticChangeStructureDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='SemanticChangeStructureDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8870, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8873, 0)
    node.BrowseName = QualifiedName('Range', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Range")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Range']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8873, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8876, 0)
    node.BrowseName = QualifiedName('EUInformation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("EUInformation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='EUInformation']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8876, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12175, 0)
    node.BrowseName = QualifiedName('ComplexNumberType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ComplexNumberType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ComplexNumberType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12175, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12178, 0)
    node.BrowseName = QualifiedName('DoubleComplexNumberType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("DoubleComplexNumberType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='DoubleComplexNumberType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12178, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12083, 0)
    node.BrowseName = QualifiedName('AxisInformation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("AxisInformation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='AxisInformation']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12083, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(12086, 0)
    node.BrowseName = QualifiedName('XVType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("XVType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='XVType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(12086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(12086, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8882, 0)
    node.BrowseName = QualifiedName('ProgramDiagnosticDataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ProgramDiagnosticDataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ProgramDiagnosticDataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8882, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8882, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15402, 0)
    node.BrowseName = QualifiedName('ProgramDiagnostic2DataType', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("ProgramDiagnostic2DataType")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='ProgramDiagnostic2DataType']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15402, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(15402, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(8879, 0)
    node.BrowseName = QualifiedName('Annotation', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(8252, 0)
    node.ReferenceTypeId = NumericNodeId(47, 0)
    node.TypeDefinition = NumericNodeId(69, 0)
    attrs = VariableAttributes()
    attrs.DisplayName = LocalizedText("Annotation")
    attrs.DataType = NodeId(ObjectIds.String)
    attrs.Value = Variant("//xs:element[@name='Annotation']", VariantType.String)
    attrs.ValueRank = -1
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(8879, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(69, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(47, 0)
    ref.SourceNodeId = NumericNodeId(8879, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(8252, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15041, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(14533, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(14533, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15041, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(16150, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15528, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(16150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15528, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(16150, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19064, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18806, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19064, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18806, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19064, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19065, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18807, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18807, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19065, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19066, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18808, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19066, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18808, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19066, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19067, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18809, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19067, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18809, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19067, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19068, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18810, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19068, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18810, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19068, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19069, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18811, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19069, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18811, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19069, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19070, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18812, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19070, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18812, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19070, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19071, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18813, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18813, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19071, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(19072, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(18814, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(19072, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(18814, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(19072, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15042, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(15634, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(15634, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15042, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23528, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(23498, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(23528, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23498, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23528, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15361, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(338, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15361, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(338, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15361, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15362, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(853, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15362, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(853, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15362, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15363, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11943, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11943, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15363, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15364, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(11944, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15364, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(11944, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15364, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15365, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(856, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15365, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(856, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15365, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15366, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(859, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(859, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15366, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15367, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(862, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15367, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(862, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15367, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15368, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(865, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15368, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(865, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15368, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15369, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(868, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(868, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15369, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15370, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(871, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15370, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(871, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15370, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15371, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(299, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15371, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(299, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15371, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15372, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(874, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(874, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15372, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15373, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(877, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15373, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(877, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15373, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)

    node = AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(15374, 0)
    node.BrowseName = QualifiedName('Default JSON', 0)
    node.NodeClass = NodeClass.Object
    node.ParentNodeId = NumericNodeId(897, 0)
    node.ReferenceTypeId = NumericNodeId(38, 0)
    node.TypeDefinition = NumericNodeId(76, 0)
    attrs = ObjectAttributes()
    attrs.DisplayName = LocalizedText("Default JSON")
    attrs.EventNotifier = 0
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = AddReferencesItem()
    ref.IsForward = False
    ref.ReferenceTypeId = NumericNodeId(38, 0)
    ref.SourceNodeId = NumericNodeId(15374, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(897, 0)
    refs.append(ref)
    ref = AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(15374, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(76, 0)
    refs.append(ref)
    server.add_references(refs)
