/* WARNING: This is a generated file.
 * Any manual changes will be overwritten.

 */
#include "TestModel.h"
UA_INLINE void TestModel(UA_Server *server) {
UA_Server_addNamespace(server, "http://krohnegroup.com/TestModel/Types.xsd");

do {
// Node: opcua_node_referenceType_t(i=40), HasTypeDefinition
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_40 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_40->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasTypeDefinition");
opcua_node_referencetype_t_i_40->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasTypeDefinition");
opcua_node_referencetype_t_i_40->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for references from a instance node its type defintion node.");
opcua_node_referencetype_t_i_40->nodeId.identifier.numeric = 40;
opcua_node_referencetype_t_i_40->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "TypeDefinitionOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_40);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=45), HasSubtype
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_45 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_45->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasSubtype");
opcua_node_referencetype_t_i_45->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasSubtype");
opcua_node_referencetype_t_i_45->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for non-looping hierarchical references that are used to define sub types.");
opcua_node_referencetype_t_i_45->nodeId.identifier.numeric = 45;
opcua_node_referencetype_t_i_45->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasSupertype");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_45);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=46), HasProperty
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_46 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_46->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasProperty");
opcua_node_referencetype_t_i_46->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasProperty");
opcua_node_referencetype_t_i_46->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for non-looping hierarchical reference from a node to its property.");
opcua_node_referencetype_t_i_46->nodeId.identifier.numeric = 46;
opcua_node_referencetype_t_i_46->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "PropertyOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_46);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=37), HasModellingRule
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_37 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_37->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasModellingRule");
opcua_node_referencetype_t_i_37->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasModellingRule");
opcua_node_referencetype_t_i_37->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for references from instance declarations to modelling rule nodes.");
opcua_node_referencetype_t_i_37->nodeId.identifier.numeric = 37;
opcua_node_referencetype_t_i_37->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "ModellingRuleOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_37);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=35), Organizes
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_35 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_35->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Organizes");
opcua_node_referencetype_t_i_35->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Organizes");
opcua_node_referencetype_t_i_35->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for hierarchical references that are used to organize nodes.");
opcua_node_referencetype_t_i_35->nodeId.identifier.numeric = 35;
opcua_node_referencetype_t_i_35->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "OrganizedBy");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_35);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=47), HasComponent
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_47 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_47->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasComponent");
opcua_node_referencetype_t_i_47->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasComponent");
opcua_node_referencetype_t_i_47->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for non-looping hierarchical reference from a node to its component.");
opcua_node_referencetype_t_i_47->nodeId.identifier.numeric = 47;
opcua_node_referencetype_t_i_47->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "ComponentOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_47);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=3065), AlwaysGeneratesEvent
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_3065 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_3065->browseName = UA_QUALIFIEDNAME_ALLOC(0, "AlwaysGeneratesEvent");
opcua_node_referencetype_t_i_3065->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "AlwaysGeneratesEvent");
opcua_node_referencetype_t_i_3065->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for references from a node to an event type that is always raised by node.");
opcua_node_referencetype_t_i_3065->nodeId.identifier.numeric = 3065;
opcua_node_referencetype_t_i_3065->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "AlwaysGeneratesEvent");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_3065);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=9004), HasTrueSubState
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_9004 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_9004->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasTrueSubState");
opcua_node_referencetype_t_i_9004->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasTrueSubState");
opcua_node_referencetype_t_i_9004->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_referencetype_t_i_9004->nodeId.identifier.numeric = 9004;
opcua_node_referencetype_t_i_9004->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "IsTrueSubStateOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_9004);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=51), FromState
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_51 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_51->browseName = UA_QUALIFIEDNAME_ALLOC(0, "FromState");
opcua_node_referencetype_t_i_51->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "FromState");
opcua_node_referencetype_t_i_51->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for a reference to the state before a transition.");
opcua_node_referencetype_t_i_51->nodeId.identifier.numeric = 51;
opcua_node_referencetype_t_i_51->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "ToTransition");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_51);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=52), ToState
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_52 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_52->browseName = UA_QUALIFIEDNAME_ALLOC(0, "ToState");
opcua_node_referencetype_t_i_52->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "ToState");
opcua_node_referencetype_t_i_52->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for a reference to the state after a transition.");
opcua_node_referencetype_t_i_52->nodeId.identifier.numeric = 52;
opcua_node_referencetype_t_i_52->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "FromTransition");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_52);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=54), HasEffect
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_54 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_54->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasEffect");
opcua_node_referencetype_t_i_54->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasEffect");
opcua_node_referencetype_t_i_54->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for a reference to an event that may be raised when a transition occurs.");
opcua_node_referencetype_t_i_54->nodeId.identifier.numeric = 54;
opcua_node_referencetype_t_i_54->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "MayBeEffectedBy");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_54);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=53), HasCause
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_53 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_53->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasCause");
opcua_node_referencetype_t_i_53->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasCause");
opcua_node_referencetype_t_i_53->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for a reference to a method that can cause a transition to occur.");
opcua_node_referencetype_t_i_53->nodeId.identifier.numeric = 53;
opcua_node_referencetype_t_i_53->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "MayBeCausedBy");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_53);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=38), HasEncoding
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_38 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_38->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasEncoding");
opcua_node_referencetype_t_i_38->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasEncoding");
opcua_node_referencetype_t_i_38->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for references from data type nodes to to data type encoding nodes.");
opcua_node_referencetype_t_i_38->nodeId.identifier.numeric = 38;
opcua_node_referencetype_t_i_38->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "EncodingOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_38);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_referenceType_t(i=39), HasDescription
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_39 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_39->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HasDescription");
opcua_node_referencetype_t_i_39->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HasDescription");
opcua_node_referencetype_t_i_39->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The type for references from data type encoding nodes to data type description nodes.");
opcua_node_referencetype_t_i_39->nodeId.identifier.numeric = 39;
opcua_node_referencetype_t_i_39->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "DescriptionOf");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_39);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_object_t(i=3062), Default Binary
UA_ObjectNode *opcua_node_object_t_i_3062 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_3062->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Default Binary");
opcua_node_object_t_i_3062->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Default Binary");
opcua_node_object_t_i_3062->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The default binary encoding for a data type.");
opcua_node_object_t_i_3062->nodeId.identifier.numeric = 3062;
opcua_node_object_t_i_3062->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_3062);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_object_t(i=3063), Default XML
UA_ObjectNode *opcua_node_object_t_i_3063 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_3063->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Default XML");
opcua_node_object_t_i_3063->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Default XML");
opcua_node_object_t_i_3063->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The default XML encoding for a data type.");
opcua_node_object_t_i_3063->nodeId.identifier.numeric = 3063;
opcua_node_object_t_i_3063->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_3063);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_dataType_t(i=24), BaseDataType
UA_DataTypeNode *opcua_node_datatype_t_i_24 = UA_NodeStore_newDataTypeNode();
opcua_node_datatype_t_i_24->browseName = UA_QUALIFIEDNAME_ALLOC(0, "BaseDataType");
opcua_node_datatype_t_i_24->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "BaseDataType");
opcua_node_datatype_t_i_24->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Describes a value that can have any valid DataType.");
opcua_node_datatype_t_i_24->nodeId.identifier.numeric = 24;
opcua_node_datatype_t_i_24->isAbstract = true;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_datatype_t_i_24);
UA_RCU_UNLOCK();
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=26), Number
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Number");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that can have any numeric DataType.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 26);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Number");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=26/Number using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=27), Integer
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Integer");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that can have any integer DataType.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 27);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 26);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Integer");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=27/Integer using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=28), UInteger
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UInteger");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that can have any unsigned integer DataType.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 28);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 27);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UInteger");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=29), Enumeration
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Enumeration");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an enumerated DataType.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Enumeration");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=1), Boolean
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Boolean");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is either TRUE or FALSE.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 1);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Boolean");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=27/Integer using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=2), SByte
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SByte");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between -128 and 127.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 27);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SByte");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=28/UInteger using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=3), Byte
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Byte");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between 0 and 255.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 28);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Byte");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=27/Integer using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=4), Int16
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Int16");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between −32,768 and 32,767.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 4);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 27);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Int16");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=28/UInteger using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=5), UInt16
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UInt16");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between 0 and 65535.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 5);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 28);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UInt16");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=27/Integer using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=6), Int32
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Int32");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between −2,147,483,648  and 2,147,483,647.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 6);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 27);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Int32");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=28/UInteger using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=7), UInt32
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UInt32");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between 0 and 4,294,967,295.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 28);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UInt32");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=27/Integer using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=8), Int64
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Int64");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between −9,223,372,036,854,775,808 and 9,223,372,036,854,775,807.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 27);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Int64");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=28/UInteger using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=9), UInt64
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UInt64");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an integer between 0 and 18,446,744,073,709,551,615.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 28);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UInt64");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=26/Number using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=10), Float
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Float");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an IEEE 754-1985 single precision floating point number.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 26);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Float");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=26/Number using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11), Double
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Double");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an IEEE 754-1985 double precision floating point number.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 26);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Double");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=12), String
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "String");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a sequence of printable Unicode characters.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "String");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=13), DateTime
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DateTime");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a Gregorian calender date and time.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 13);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DateTime");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=14), Guid
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Guid");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a 128-bit globally unique identifier.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 14);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Guid");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=15), ByteString
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ByteString");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a sequence of bytes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 15);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ByteString");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=16), XmlElement
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XmlElement");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an XML element.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 16);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XmlElement");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=17), NodeId
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NodeId");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an identifier for a node within a Server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 17);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NodeId");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=18), ExpandedNodeId
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExpandedNodeId");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an absolute identifier for a node.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 18);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExpandedNodeId");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=19), StatusCode
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StatusCode");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a code representing the outcome of an operation by a Server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 19);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StatusCode");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=20), QualifiedName
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QualifiedName");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a name qualified by a namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 20);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QualifiedName");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=21), LocalizedText
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocalizedText");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is human readable Unicode text with a locale identifier.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 21);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocalizedText");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=22), Structure
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Structure");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is any type of structure that can be described with a data encoding.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Structure");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=23), DataValue
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataValue");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a structure containing a value, a status code and timestamps.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 23);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataValue");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=24/BaseDataType using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=25), DiagnosticInfo
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DiagnosticInfo");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is a structure containing diagnostics associated with a StatusCode.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 25);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 24);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DiagnosticInfo");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=15/ByteString using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=30), Image
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Image");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that is an image encoded as a string of bytes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 30);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 15);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Image");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Node: opcua_node_referenceType_t(i=31), References
UA_ReferenceTypeNode *opcua_node_referencetype_t_i_31 = UA_NodeStore_newReferenceTypeNode();
opcua_node_referencetype_t_i_31->browseName = UA_QUALIFIEDNAME_ALLOC(0, "References");
opcua_node_referencetype_t_i_31->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "References");
opcua_node_referencetype_t_i_31->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The abstract base type for all references.");
opcua_node_referencetype_t_i_31->nodeId.identifier.numeric = 31;
opcua_node_referencetype_t_i_31->isAbstract = true;
opcua_node_referencetype_t_i_31->symmetric  = true;
opcua_node_referencetype_t_i_31->inverseName  = UA_LOCALIZEDTEXT_ALLOC("en_US", "References");
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_referencetype_t_i_31);
UA_RCU_UNLOCK();
} while(0);

do {
// Referencing node found and declared as parent: i=31/References using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=32), NonHierarchicalReferences
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonHierarchicalReferences");
attr.description = UA_LOCALIZEDTEXT("", "The abstract base type for all non-hierarchical references.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 32);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 31);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonHierarchicalReferences");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 37), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 38), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 39), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 40), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 3065), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 51), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 52), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 53), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 54), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 32), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 9004), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 37), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 38), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 39), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 40), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3065), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 51), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 52), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 53), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 54), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9004), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 32), false);
} while(0);

do {
// Referencing node found and declared as parent: i=31/References using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=33), HierarchicalReferences
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HierarchicalReferences");
attr.description = UA_LOCALIZEDTEXT("", "The abstract base type for all hierarchical references.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 33);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 31);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HierarchicalReferences");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 33), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 35), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 35), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 33), false);
} while(0);

do {
// Referencing node found and declared as parent: i=33/HierarchicalReferences using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=34), HasChild
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasChild");
attr.description = UA_LOCALIZEDTEXT("", "The abstract base type for all non-looping hierarchical references.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 34);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 33);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasChild");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 34), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 45), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 45), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 34), false);
} while(0);

do {
// Referencing node found and declared as parent: i=33/HierarchicalReferences using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=36), HasEventSource
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasEventSource");
attr.description = UA_LOCALIZEDTEXT("", "The type for non-looping hierarchical references that are used to organize event sources.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 36);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 33);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasEventSource");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=32/NonHierarchicalReferences using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=41), GeneratesEvent
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GeneratesEvent");
attr.description = UA_LOCALIZEDTEXT("", "The type for references from a node to an event type that is raised by node.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 41);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 32);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GeneratesEvent");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=34/HasChild using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=44), Aggregates
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Aggregates");
attr.description = UA_LOCALIZEDTEXT("", "The type for non-looping hierarchical references that are used to aggregate nodes into complex types.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 44);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 34);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Aggregates");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 44), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 46), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 44), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 47), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 46), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 44), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 47), UA_NODEID_NUMERIC(0, 45), UA_EXPANDEDNODEID_NUMERIC(0, 44), false);
} while(0);

do {
// Referencing node found and declared as parent: i=36/HasEventSource using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=48), HasNotifier
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasNotifier");
attr.description = UA_LOCALIZEDTEXT("", "The type for non-looping hierarchical references that are used to indicate how events propagate from node to node.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 48);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 36);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasNotifier");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=47/HasComponent using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=49), HasOrderedComponent
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasOrderedComponent");
attr.description = UA_LOCALIZEDTEXT("", "The type for non-looping hierarchical reference from a node to its component when the order of references matters.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 49);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 47);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasOrderedComponent");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=32/NonHierarchicalReferences using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=117), HasSubStateMachine
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasSubStateMachine");
attr.description = UA_LOCALIZEDTEXT("", "The type for a reference to a substate for a state.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 117);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 32);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasSubStateMachine");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=44/Aggregates using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=56), HasHistoricalConfiguration
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasHistoricalConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "The type for a reference to the historical configuration for a data variable.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 56);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 44);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasHistoricalConfiguration");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Node: opcua_node_objectType_t(i=58), BaseObjectType
UA_ObjectTypeNode *opcua_node_objecttype_t_i_58 = UA_NodeStore_newObjectTypeNode();
opcua_node_objecttype_t_i_58->browseName = UA_QUALIFIEDNAME_ALLOC(0, "BaseObjectType");
opcua_node_objecttype_t_i_58->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "BaseObjectType");
opcua_node_objecttype_t_i_58->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The base type for all object nodes.");
opcua_node_objecttype_t_i_58->nodeId.identifier.numeric = 58;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_objecttype_t_i_58);
UA_RCU_UNLOCK();
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3062), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3063), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=61), FolderType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FolderType");
attr.description = UA_LOCALIZEDTEXT("", "The type for objects that organize other nodes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 61);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FolderType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
UA_Variant *opcua_node_variabletype_t_i_62_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variabletype_t_i_62_variant);
// Node: opcua_node_variableType_t(i=62), BaseVariableType
UA_VariableTypeNode *opcua_node_variabletype_t_i_62 = UA_NodeStore_newVariableTypeNode();
opcua_node_variabletype_t_i_62->browseName = UA_QUALIFIEDNAME_ALLOC(0, "BaseVariableType");
opcua_node_variabletype_t_i_62->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "BaseVariableType");
opcua_node_variabletype_t_i_62->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The abstract base type for all variable nodes.");
opcua_node_variabletype_t_i_62->nodeId.identifier.numeric = 62;
opcua_node_variabletype_t_i_62->isAbstract = true;
opcua_node_variabletype_t_i_62->value.variant.value = *opcua_node_variabletype_t_i_62_variant;
opcua_node_variabletype_t_i_62->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variabletype_t_i_62);
UA_RCU_UNLOCK();
} while(0);

do {
// Referencing node found and declared as parent: i=62/BaseVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=63), BaseDataVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BaseDataVariableType");
attr.description = UA_LOCALIZEDTEXT("", "The type for variable that represents a process value.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 62);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BaseDataVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=62/BaseVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=68), PropertyType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PropertyType");
attr.description = UA_LOCALIZEDTEXT("", "The type for variable that represents a property of another node.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 68);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 62);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PropertyType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=69), DataTypeDescriptionType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypeDescriptionType");
attr.description = UA_LOCALIZEDTEXT("", "The type for variable that represents the description of a data type encoding.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 69);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypeDescriptionType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=69/DataTypeDescriptionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=104), DataTypeVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypeVersion");
attr.description = UA_LOCALIZEDTEXT("", "The version number for the data type description.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 104);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 69);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypeVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 104), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=69/DataTypeDescriptionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=105), DictionaryFragment
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DictionaryFragment");
attr.description = UA_LOCALIZEDTEXT("", "A fragment of a data type dictionary that defines the data type.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 105);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 69);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DictionaryFragment");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 105), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=72), DataTypeDictionaryType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypeDictionaryType");
attr.description = UA_LOCALIZEDTEXT("", "The type for variable that represents the collection of data type decriptions.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 72);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypeDictionaryType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=72/DataTypeDictionaryType using i=46/HasProperty
// Node: opcua_node_variable_t(i=106), DataTypeVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypeVersion");
attr.description = UA_LOCALIZEDTEXT("", "The version number for the data type dictionary.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 106);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 72);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypeVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 106), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=72/DataTypeDictionaryType using i=46/HasProperty
// Node: opcua_node_variable_t(i=107), NamespaceUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceUri");
attr.description = UA_LOCALIZEDTEXT("", "A URI that uniquely identifies the dictionary.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 107);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 72);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 107), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=75), DataTypeSystemType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypeSystemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 75);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypeSystemType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=76), DataTypeEncodingType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypeEncodingType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 76);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypeEncodingType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=120), NamingRuleType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRuleType");
attr.description = UA_LOCALIZEDTEXT("", "Describes a value that specifies the significance of the BrowseName for an instance declaration.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 120);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRuleType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=120/NamingRuleType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12169), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_12169_EnumValueType_0_0_struct;
opcua_node_variable_t_i_12169_EnumValueType_0_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_12169_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Mandatory");
opcua_node_variable_t_i_12169_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("", "The BrowseName must appear in all instances of the type.");
UA_ExtensionObject *opcua_node_variable_t_i_12169_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_12169_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_12169_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_12169_EnumValueType_0_0_newBody, opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_12169_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_12169_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_12169_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_12169_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_12169_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_12169_EnumValueType_1_0_struct;
opcua_node_variable_t_i_12169_EnumValueType_1_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_12169_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Optional");
opcua_node_variable_t_i_12169_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("", "The BrowseName may appear in an instance of the type.");
UA_ExtensionObject *opcua_node_variable_t_i_12169_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_12169_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_12169_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_12169_EnumValueType_1_0_newBody, opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_12169_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_12169_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_12169_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_12169_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_12169_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_12169_EnumValueType_2_0_struct;
opcua_node_variable_t_i_12169_EnumValueType_2_0_struct.Value = (UA_Int64) 3;
opcua_node_variable_t_i_12169_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Constraint");
opcua_node_variable_t_i_12169_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("", "The modelling rule defines a constraint and the BrowseName is not used in an instance of the type.");
UA_ExtensionObject *opcua_node_variable_t_i_12169_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_12169_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_12169_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_12169_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_12169_EnumValueType_2_0_newBody, opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_12169_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_12169_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_12169_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_12169_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_12169_EnumValueType_2_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_12169_variant_DataContents[3];
opcua_node_variable_t_i_12169_variant_DataContents[0] = *opcua_node_variable_t_i_12169_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_12169_EnumValueType_0_0);
opcua_node_variable_t_i_12169_variant_DataContents[1] = *opcua_node_variable_t_i_12169_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_12169_EnumValueType_1_0);
opcua_node_variable_t_i_12169_variant_DataContents[2] = *opcua_node_variable_t_i_12169_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_12169_EnumValueType_2_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_12169_variant_DataContents, (UA_Int32) 3, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12169);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 120);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12169), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=77), ModellingRuleType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModellingRuleType");
attr.description = UA_LOCALIZEDTEXT("", "The type for an object that describes how an instance declaration is used when a type is instantiated.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 77);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModellingRuleType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=77/ModellingRuleType using i=46/HasProperty
// Node: opcua_node_variable_t(i=111), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_111_variant_DataContents = (UA_Int32) 1;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_111_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_111_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 111);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 77);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 111), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=83), ExposesItsArray
UA_ObjectNode *opcua_node_object_t_i_83 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_83->browseName = UA_QUALIFIEDNAME_ALLOC(0, "ExposesItsArray");
opcua_node_object_t_i_83->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "ExposesItsArray");
opcua_node_object_t_i_83->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Specifies that an instance appears for each element of the containing array variable.");
opcua_node_object_t_i_83->nodeId.identifier.numeric = 83;
opcua_node_object_t_i_83->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_83);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 83), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 77), true);
} while(0);

do {
// Referencing node found and declared as parent: i=83/ExposesItsArray using i=46/HasProperty
// Node: opcua_node_variable_t(i=114), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_114_variant_DataContents = (UA_Int32) 3;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_114_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_114_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 114);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 83);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 114), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11510), MandatoryPlaceholder
UA_ObjectNode *opcua_node_object_t_i_11510 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11510->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MandatoryPlaceholder");
opcua_node_object_t_i_11510->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MandatoryPlaceholder");
opcua_node_object_t_i_11510->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Specifies that one or more instances with the attributes and references of the instance declaration must appear when a type is instantiated.");
opcua_node_object_t_i_11510->nodeId.identifier.numeric = 11510;
opcua_node_object_t_i_11510->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11510);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11510), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 77), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11510/MandatoryPlaceholder using i=46/HasProperty
// Node: opcua_node_variable_t(i=11511), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_11511_variant_DataContents = (UA_Int32) 1;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_11511_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_11511_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11511);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11510);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11511), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=84), Root
UA_ObjectNode *opcua_node_object_t_i_84 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_84->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Root");
opcua_node_object_t_i_84->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Root");
opcua_node_object_t_i_84->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The root of the server address space.");
opcua_node_object_t_i_84->nodeId.identifier.numeric = 84;
opcua_node_object_t_i_84->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_84);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 84), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=84/Root using i=35/Organizes
// Node: opcua_node_object_t(i=85), Objects
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Objects");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for objects in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 85);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 84);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Objects");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 85), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=84/Root using i=35/Organizes
// Node: opcua_node_object_t(i=86), Types
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Types");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for types in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 86);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 84);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Types");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 86), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=84/Root using i=35/Organizes
// Node: opcua_node_object_t(i=87), Views
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Views");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for views in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 87);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 84);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Views");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 87), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=86/Types using i=35/Organizes
// Node: opcua_node_object_t(i=88), ObjectTypes
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ObjectTypes");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for object types in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 88);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 86);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ObjectTypes");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 88), UA_NODEID_NUMERIC(0, 35), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 88), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=86/Types using i=35/Organizes
// Node: opcua_node_object_t(i=89), VariableTypes
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "VariableTypes");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for variable types in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 89);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 86);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "VariableTypes");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 89), UA_NODEID_NUMERIC(0, 35), UA_EXPANDEDNODEID_NUMERIC(0, 62), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 89), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=86/Types using i=35/Organizes
// Node: opcua_node_object_t(i=90), DataTypes
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataTypes");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for data types in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 90);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 86);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataTypes");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 90), UA_NODEID_NUMERIC(0, 35), UA_EXPANDEDNODEID_NUMERIC(0, 24), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 90), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=86/Types using i=35/Organizes
// Node: opcua_node_object_t(i=91), ReferenceTypes
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReferenceTypes");
attr.description = UA_LOCALIZEDTEXT("", "The browse entry point when looking for reference types in the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 91);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 86);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReferenceTypes");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 91), UA_NODEID_NUMERIC(0, 35), UA_EXPANDEDNODEID_NUMERIC(0, 31), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 91), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=90/DataTypes using i=35/Organizes
// Node: opcua_node_object_t(i=92), XML Schema
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XML Schema");
attr.description = UA_LOCALIZEDTEXT("", "A type system which uses XML schema to describe the encoding of data types.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 92);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 90);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XML Schema");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 92), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 75), true);
} while(0);

do {
// Referencing node found and declared as parent: i=90/DataTypes using i=35/Organizes
// Node: opcua_node_object_t(i=93), OPC Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OPC Binary");
attr.description = UA_LOCALIZEDTEXT("", "A type system which uses OPC binary schema to describe the encoding of data types.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 93);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 90);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OPC Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 93), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 75), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3068_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3068_variant);
// Node: opcua_node_variable_t(i=3068), NodeVersion
UA_VariableNode *opcua_node_variable_t_i_3068 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3068->browseName = UA_QUALIFIEDNAME_ALLOC(0, "NodeVersion");
opcua_node_variable_t_i_3068->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "NodeVersion");
opcua_node_variable_t_i_3068->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The version number of the node (used to indicate changes to references of the owning node).");
opcua_node_variable_t_i_3068->nodeId.identifier.numeric = 3068;
opcua_node_variable_t_i_3068->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3068->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3068->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3068->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_3068->value.variant.value = *opcua_node_variable_t_i_3068_variant;
opcua_node_variable_t_i_3068->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3068);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3068), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_12170_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_12170_variant);
// Node: opcua_node_variable_t(i=12170), ViewVersion
UA_VariableNode *opcua_node_variable_t_i_12170 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_12170->browseName = UA_QUALIFIEDNAME_ALLOC(0, "ViewVersion");
opcua_node_variable_t_i_12170->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "ViewVersion");
opcua_node_variable_t_i_12170->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The version number of the view.");
opcua_node_variable_t_i_12170->nodeId.identifier.numeric = 12170;
opcua_node_variable_t_i_12170->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_12170->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_12170->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_12170->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_12170->value.variant.value = *opcua_node_variable_t_i_12170_variant;
opcua_node_variable_t_i_12170->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_12170);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12170), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3067_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3067_variant);
// Node: opcua_node_variable_t(i=3067), Icon
UA_VariableNode *opcua_node_variable_t_i_3067 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3067->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Icon");
opcua_node_variable_t_i_3067->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Icon");
opcua_node_variable_t_i_3067->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "A small image representing the object.");
opcua_node_variable_t_i_3067->nodeId.identifier.numeric = 3067;
opcua_node_variable_t_i_3067->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3067->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3067->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3067->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_3067->value.variant.value = *opcua_node_variable_t_i_3067_variant;
opcua_node_variable_t_i_3067->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3067);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3067), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3069_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3069_variant);
// Node: opcua_node_variable_t(i=3069), LocalTime
UA_VariableNode *opcua_node_variable_t_i_3069 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3069->browseName = UA_QUALIFIEDNAME_ALLOC(0, "LocalTime");
opcua_node_variable_t_i_3069->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "LocalTime");
opcua_node_variable_t_i_3069->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The local time where the owning variable value was collected.");
opcua_node_variable_t_i_3069->nodeId.identifier.numeric = 3069;
opcua_node_variable_t_i_3069->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3069->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3069->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3069->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_3069->value.variant.value = *opcua_node_variable_t_i_3069_variant;
opcua_node_variable_t_i_3069->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3069);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3069), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3070_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3070_variant);
// Node: opcua_node_variable_t(i=3070), AllowNulls
UA_VariableNode *opcua_node_variable_t_i_3070 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3070->browseName = UA_QUALIFIEDNAME_ALLOC(0, "AllowNulls");
opcua_node_variable_t_i_3070->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "AllowNulls");
opcua_node_variable_t_i_3070->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Whether the value of the owning variable is allowed to be null.");
opcua_node_variable_t_i_3070->nodeId.identifier.numeric = 3070;
opcua_node_variable_t_i_3070->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3070->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3070->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3070->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_3070->value.variant.value = *opcua_node_variable_t_i_3070_variant;
opcua_node_variable_t_i_3070->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3070);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3070), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11433_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11433_variant);
// Node: opcua_node_variable_t(i=11433), ValueAsText
UA_VariableNode *opcua_node_variable_t_i_11433 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11433->browseName = UA_QUALIFIEDNAME_ALLOC(0, "ValueAsText");
opcua_node_variable_t_i_11433->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "ValueAsText");
opcua_node_variable_t_i_11433->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The string representation of the current value for a variable with an enumerated data type.");
opcua_node_variable_t_i_11433->nodeId.identifier.numeric = 11433;
opcua_node_variable_t_i_11433->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11433->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11433->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11433->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_11433->value.variant.value = *opcua_node_variable_t_i_11433_variant;
opcua_node_variable_t_i_11433->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11433);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11433), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11498_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11498_variant);
// Node: opcua_node_variable_t(i=11498), MaxStringLength
UA_VariableNode *opcua_node_variable_t_i_11498 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11498->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MaxStringLength");
opcua_node_variable_t_i_11498->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MaxStringLength");
opcua_node_variable_t_i_11498->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The maximum length for a string that can be stored in the owning variable.");
opcua_node_variable_t_i_11498->nodeId.identifier.numeric = 11498;
opcua_node_variable_t_i_11498->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11498->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11498->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11498->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_11498->value.variant.value = *opcua_node_variable_t_i_11498_variant;
opcua_node_variable_t_i_11498->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11498);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11498), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11512_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11512_variant);
// Node: opcua_node_variable_t(i=11512), MaxArrayLength
UA_VariableNode *opcua_node_variable_t_i_11512 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11512->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MaxArrayLength");
opcua_node_variable_t_i_11512->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MaxArrayLength");
opcua_node_variable_t_i_11512->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The maximum length for an array that can be stored in the owning variable.");
opcua_node_variable_t_i_11512->nodeId.identifier.numeric = 11512;
opcua_node_variable_t_i_11512->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11512->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11512->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11512->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_11512->value.variant.value = *opcua_node_variable_t_i_11512_variant;
opcua_node_variable_t_i_11512->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11512);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11512), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11513_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11513_variant);
// Node: opcua_node_variable_t(i=11513), EngineeringUnits
UA_VariableNode *opcua_node_variable_t_i_11513 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11513->browseName = UA_QUALIFIEDNAME_ALLOC(0, "EngineeringUnits");
opcua_node_variable_t_i_11513->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "EngineeringUnits");
opcua_node_variable_t_i_11513->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The engineering units for the value of the owning variable.");
opcua_node_variable_t_i_11513->nodeId.identifier.numeric = 11513;
opcua_node_variable_t_i_11513->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11513->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11513->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11513->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_11513->value.variant.value = *opcua_node_variable_t_i_11513_variant;
opcua_node_variable_t_i_11513->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11513);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11513), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11432_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11432_variant);
// Node: opcua_node_variable_t(i=11432), EnumStrings
UA_VariableNode *opcua_node_variable_t_i_11432 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11432->browseName = UA_QUALIFIEDNAME_ALLOC(0, "EnumStrings");
opcua_node_variable_t_i_11432->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "EnumStrings");
opcua_node_variable_t_i_11432->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The human readable strings associated with the values of an enumerated value (when values are sequential).");
opcua_node_variable_t_i_11432->nodeId.identifier.numeric = 11432;
opcua_node_variable_t_i_11432->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11432->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11432->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11432->valueRank = (UA_Int32) 1;
opcua_node_variable_t_i_11432->value.variant.value = *opcua_node_variable_t_i_11432_variant;
opcua_node_variable_t_i_11432->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11432);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11432), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3071_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3071_variant);
// Node: opcua_node_variable_t(i=3071), EnumValues
UA_VariableNode *opcua_node_variable_t_i_3071 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3071->browseName = UA_QUALIFIEDNAME_ALLOC(0, "EnumValues");
opcua_node_variable_t_i_3071->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "EnumValues");
opcua_node_variable_t_i_3071->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The human readable strings associated with the values of an enumerated value (when values have no sequence).");
opcua_node_variable_t_i_3071->nodeId.identifier.numeric = 3071;
opcua_node_variable_t_i_3071->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3071->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3071->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3071->valueRank = (UA_Int32) 1;
opcua_node_variable_t_i_3071->value.variant.value = *opcua_node_variable_t_i_3071_variant;
opcua_node_variable_t_i_3071->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3071);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3071), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3072_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3072_variant);
// Node: opcua_node_variable_t(i=3072), InputArguments
UA_VariableNode *opcua_node_variable_t_i_3072 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3072->browseName = UA_QUALIFIEDNAME_ALLOC(0, "InputArguments");
opcua_node_variable_t_i_3072->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "InputArguments");
opcua_node_variable_t_i_3072->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The input arguments for a method.");
opcua_node_variable_t_i_3072->nodeId.identifier.numeric = 3072;
opcua_node_variable_t_i_3072->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3072->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3072->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3072->valueRank = (UA_Int32) 1;
opcua_node_variable_t_i_3072->value.variant.value = *opcua_node_variable_t_i_3072_variant;
opcua_node_variable_t_i_3072->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3072);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3072), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_3073_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_3073_variant);
// Node: opcua_node_variable_t(i=3073), OutputArguments
UA_VariableNode *opcua_node_variable_t_i_3073 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_3073->browseName = UA_QUALIFIEDNAME_ALLOC(0, "OutputArguments");
opcua_node_variable_t_i_3073->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "OutputArguments");
opcua_node_variable_t_i_3073->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "The output arguments for a method.");
opcua_node_variable_t_i_3073->nodeId.identifier.numeric = 3073;
opcua_node_variable_t_i_3073->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_3073->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3073->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_3073->valueRank = (UA_Int32) 1;
opcua_node_variable_t_i_3073->value.variant.value = *opcua_node_variable_t_i_3073_variant;
opcua_node_variable_t_i_3073->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_3073);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3073), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=30/Image using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=2000), ImageBMP
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ImageBMP");
attr.description = UA_LOCALIZEDTEXT("", "An image encoded in BMP format.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2000);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 30);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ImageBMP");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=30/Image using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=2001), ImageGIF
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ImageGIF");
attr.description = UA_LOCALIZEDTEXT("", "An image encoded in GIF format.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2001);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 30);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ImageGIF");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=30/Image using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=2002), ImageJPG
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ImageJPG");
attr.description = UA_LOCALIZEDTEXT("", "An image encoded in JPEG format.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2002);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 30);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ImageJPG");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=30/Image using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=2003), ImagePNG
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ImagePNG");
attr.description = UA_LOCALIZEDTEXT("", "An image encoded in PNG format.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2003);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 30);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ImagePNG");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2004), ServerType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerType");
attr.description = UA_LOCALIZEDTEXT("", "Specifies the current status and capabilities of the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_method_t(i=11489), GetMonitoredItems
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("SubscriptionId");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<2; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("ServerHandles");
outputArguments[0].valueRank = 1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
outputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[1].name = UA_STRING("ClientHandles");
outputArguments[1].valueRank = 1;
outputArguments[1].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GetMonitoredItems");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11489);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GetMonitoredItems");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  2, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11489), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11490), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11489), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11491), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11490), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11489), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11491), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11489), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2005), ServerArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerArray");
attr.description = UA_LOCALIZEDTEXT("", "The list of server URIs used by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2005);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2005), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2006), NamespaceArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceArray");
attr.description = UA_LOCALIZEDTEXT("", "The list of namespace URIs used by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2006);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2006), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2007), ServerStatus
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerStatus");
attr.description = UA_LOCALIZEDTEXT("", "The current status of the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerStatus");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2007/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=3074), StartTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StartTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3074);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StartTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3074), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2007/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=3075), CurrentTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3075);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3075), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2007/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=3076), State
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "State");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3076);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "State");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3076), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2007/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=3077), BuildInfo
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfo");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfo");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3077/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3078), ProductUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3078);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3078), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3077/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3079), ManufacturerName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ManufacturerName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3079);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ManufacturerName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3079), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3077/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3080), ProductName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3080);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3080), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3077/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3081), SoftwareVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareVersion");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3081);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3081), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3077/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3082), BuildNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3082);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3082), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3077/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3083), BuildDate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildDate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3083);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildDate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3083), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2007/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=3084), SecondsTillShutdown
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecondsTillShutdown");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3084);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecondsTillShutdown");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3084), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2007/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=3085), ShutdownReason
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ShutdownReason");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3085);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ShutdownReason");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3085), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2008), ServiceLevel
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServiceLevel");
attr.description = UA_LOCALIZEDTEXT("", "A value indicating the level of service the server can provide. 255 indicates the best.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2008);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServiceLevel");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2008), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2742), Auditing
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Auditing");
attr.description = UA_LOCALIZEDTEXT("", "A flag indicating whether the server is currently generating audit events.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2742);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Auditing");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2742), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_object_t(i=2009), ServerCapabilities
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerCapabilities");
attr.description = UA_LOCALIZEDTEXT("", "Describes capabilities supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerCapabilities");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3086), ServerProfileArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerProfileArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of profiles supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3086);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerProfileArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3086), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3087), LocaleIdArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleIdArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of locales supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3087);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleIdArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3087), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3088), MinSupportedSampleRate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MinSupportedSampleRate");
attr.description = UA_LOCALIZEDTEXT("", "The minimum sampling interval supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3088);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MinSupportedSampleRate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3088), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3089), MaxBrowseContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxBrowseContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for Browse operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3089);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxBrowseContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3089), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3090), MaxQueryContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxQueryContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for Query operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3090);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxQueryContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3090), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3091), MaxHistoryContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxHistoryContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for ReadHistory operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3091);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxHistoryContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3091), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3092), SoftwareCertificates
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareCertificates");
attr.description = UA_LOCALIZEDTEXT("", "The software certificates owned by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3092);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareCertificates");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3092), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=3093), ModellingRules
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModellingRules");
attr.description = UA_LOCALIZEDTEXT("", "A folder for the modelling rules supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3093);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModellingRules");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3093), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2009/ServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=3094), AggregateFunctions
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctions");
attr.description = UA_LOCALIZEDTEXT("", "A folder for the real time aggregates supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3094);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2009);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctions");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3094), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_object_t(i=2010), ServerDiagnostics
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "Reports diagnostics about the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2010);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnostics");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2010/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3095), ServerDiagnosticsSummary
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummary");
attr.description = UA_LOCALIZEDTEXT("", "A summary of server level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2010);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummary");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3096), ServerViewCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerViewCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3096);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerViewCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3096), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3097), CurrentSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3097);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3097), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3098), CumulatedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3098);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3098), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3099), SecurityRejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3099);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3099), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3100), RejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3100);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3100), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3101), SessionTimeoutCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionTimeoutCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3101);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionTimeoutCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3101), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3102), SessionAbortCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionAbortCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3102);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionAbortCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3102), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3104), PublishingIntervalCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishingIntervalCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3104);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishingIntervalCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3104), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3105), CurrentSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3105);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3105), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3106), CumulatedSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3106);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3106), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3107), SecurityRejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3107);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3107), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3095/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3108), RejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3108);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3108), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2010/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3110), SubscriptionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active subscription.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3110);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2010);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2010/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_object_t(i=3111), SessionsDiagnosticsSummary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionsDiagnosticsSummary");
attr.description = UA_LOCALIZEDTEXT("", "A summary of session level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3111);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2010);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionsDiagnosticsSummary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3111/SessionsDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3112), SessionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3112);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3111);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3111/SessionsDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3113), SessionSecurityDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of security related diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3113);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3111);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2010/ServerDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3114), EnabledFlag
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledFlag");
attr.description = UA_LOCALIZEDTEXT("", "If TRUE the diagnostics collection is enabled.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3114);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2010);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledFlag");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3114), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_object_t(i=2011), VendorServerInfo
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "VendorServerInfo");
attr.description = UA_LOCALIZEDTEXT("", "Server information provided by the vendor.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2011);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "VendorServerInfo");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_object_t(i=2012), ServerRedundancy
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerRedundancy");
attr.description = UA_LOCALIZEDTEXT("", "Describes the redundancy capabilities of the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2012);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerRedundancy");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2012/ServerRedundancy using i=46/HasProperty
// Node: opcua_node_variable_t(i=3115), RedundancySupport
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundancySupport");
attr.description = UA_LOCALIZEDTEXT("", "Indicates what style of redundancy is supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3115);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2012);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundancySupport");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3115), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2004/ServerType using i=47/HasComponent
// Node: opcua_node_object_t(i=11527), Namespaces
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Namespaces");
attr.description = UA_LOCALIZEDTEXT("", "Describes the namespaces supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11527);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Namespaces");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2013), ServerCapabilitiesType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerCapabilitiesType");
attr.description = UA_LOCALIZEDTEXT("", "Describes the capabilities supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerCapabilitiesType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2009), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2013), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2014), ServerProfileArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerProfileArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of profiles supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2014);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerProfileArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2014), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2016), LocaleIdArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleIdArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of locales supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2016);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleIdArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2016), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2017), MinSupportedSampleRate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MinSupportedSampleRate");
attr.description = UA_LOCALIZEDTEXT("", "The minimum sampling interval supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2017);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MinSupportedSampleRate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2017), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2732), MaxBrowseContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxBrowseContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for Browse operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2732);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxBrowseContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2732), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2733), MaxQueryContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxQueryContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for Query operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2733);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxQueryContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2733), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2734), MaxHistoryContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxHistoryContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for ReadHistory operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2734);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxHistoryContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2734), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3049), SoftwareCertificates
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareCertificates");
attr.description = UA_LOCALIZEDTEXT("", "The software certificates owned by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3049);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareCertificates");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3049), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11549), MaxArrayLength
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxArrayLength");
attr.description = UA_LOCALIZEDTEXT("", "The maximum length for an array value supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11549);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxArrayLength");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11549), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11550), MaxStringLength
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxStringLength");
attr.description = UA_LOCALIZEDTEXT("", "The maximum length for a string value supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11550);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxStringLength");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11550), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=47/HasComponent
// Node: opcua_node_object_t(i=11551), OperationLimits
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OperationLimits");
attr.description = UA_LOCALIZEDTEXT("", "Defines the limits supported by the server for different operations.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11551);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OperationLimits");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=47/HasComponent
// Node: opcua_node_object_t(i=2019), ModellingRules
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModellingRules");
attr.description = UA_LOCALIZEDTEXT("", "A folder for the modelling rules supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2019);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModellingRules");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2019), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=47/HasComponent
// Node: opcua_node_object_t(i=2754), AggregateFunctions
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctions");
attr.description = UA_LOCALIZEDTEXT("", "A folder for the real time aggregates supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2754);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctions");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2754), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2013/ServerCapabilitiesType using i=47/HasComponent
// Node: opcua_node_variable_t(i=11562), <VendorCapability>
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "<VendorCapability>");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11562);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2013);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "<VendorCapability>");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2020), ServerDiagnosticsType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsType");
attr.description = UA_LOCALIZEDTEXT("", "The diagnostics information for a server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2020);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2010), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2020), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2020/ServerDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2021), ServerDiagnosticsSummary
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummary");
attr.description = UA_LOCALIZEDTEXT("", "A summary of server level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummary");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3116), ServerViewCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerViewCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3116);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerViewCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3116), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3117), CurrentSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3117);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3117), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3118), CumulatedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3118);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3118), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3119), SecurityRejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3119);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3119), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3120), RejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3120);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3120), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3121), SessionTimeoutCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionTimeoutCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3121);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionTimeoutCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3121), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3122), SessionAbortCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionAbortCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3122);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionAbortCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3122), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3124), PublishingIntervalCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishingIntervalCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3124);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishingIntervalCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3124), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3125), CurrentSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3125);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3125), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3126), CumulatedSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3126);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3126), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3127), SecurityRejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3127);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3127), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2021/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3128), RejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3128);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3128), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2020/ServerDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2022), SamplingIntervalDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each sampling interval supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2022);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2020/ServerDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2023), SubscriptionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active subscription.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2023);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2020/ServerDiagnosticsType using i=47/HasComponent
// Node: opcua_node_object_t(i=2744), SessionsDiagnosticsSummary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionsDiagnosticsSummary");
attr.description = UA_LOCALIZEDTEXT("", "A summary of session level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2744);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionsDiagnosticsSummary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2744/SessionsDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3129), SessionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3129);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2744);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2744/SessionsDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3130), SessionSecurityDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of security related diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3130);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2744);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2020/ServerDiagnosticsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2025), EnabledFlag
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledFlag");
attr.description = UA_LOCALIZEDTEXT("", "If TRUE the diagnostics collection is enabled.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2025);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledFlag");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2025), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2026), SessionsDiagnosticsSummaryType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionsDiagnosticsSummaryType");
attr.description = UA_LOCALIZEDTEXT("", "Provides a summary of session level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2026);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionsDiagnosticsSummaryType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3111), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2026), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2744), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2026), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2026/SessionsDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2027), SessionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2027);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2026);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2026/SessionsDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2028), SessionSecurityDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of security related diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2028);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2026);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2026/SessionsDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_object_t(i=12097), <SessionPlaceholder>
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "<SessionPlaceholder>");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12097);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2026);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "<SessionPlaceholder>");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12097/<SessionPlaceholder> using i=47/HasComponent
// Node: opcua_node_variable_t(i=12098), SessionDiagnostics
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "Diagnostics information for an active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12097);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnostics");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12099), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12099);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12099), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12100), SessionName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12100);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12100), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12101), ClientDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12101);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12101), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12102), ServerUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12102);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12102), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12103), EndpointUrl
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrl");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12103);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrl");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12103), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12104), LocaleIds
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleIds");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12104);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleIds");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12104), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12105), ActualSessionTimeout
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActualSessionTimeout");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12105);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActualSessionTimeout");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12105), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12106), MaxResponseMessageSize
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxResponseMessageSize");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12106);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxResponseMessageSize");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12106), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12107), ClientConnectionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientConnectionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12107);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientConnectionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12107), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12108), ClientLastContactTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientLastContactTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12108);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientLastContactTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12108), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12109), CurrentSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12109);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12109), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12110), CurrentMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12110);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12110), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12111), CurrentPublishRequestsInQueue
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentPublishRequestsInQueue");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12111);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentPublishRequestsInQueue");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12111), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12112), TotalRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TotalRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12112);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TotalRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12112), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12113), UnauthorizedRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnauthorizedRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12113);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnauthorizedRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12113), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12114), ReadCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReadCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12114);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReadCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12114), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12115), HistoryReadCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryReadCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12115);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryReadCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12115), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12116), WriteCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "WriteCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12116);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "WriteCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12116), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12117), HistoryUpdateCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryUpdateCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12117);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryUpdateCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12117), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12118), CallCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CallCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12118);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CallCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12118), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12119), CreateMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12119);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12119), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12120), ModifyMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifyMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12120);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifyMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12120), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12121), SetMonitoringModeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetMonitoringModeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12121);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetMonitoringModeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12121), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12122), SetTriggeringCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetTriggeringCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12122);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetTriggeringCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12122), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12123), DeleteMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12123);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12123), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12124), CreateSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12124);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12124), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12125), ModifySubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifySubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12125);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifySubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12125), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12126), SetPublishingModeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetPublishingModeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12126);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetPublishingModeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12126), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12127), PublishCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12127);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12127), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12128), RepublishCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RepublishCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12128);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RepublishCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12128), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12129), TransferSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransferSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12129);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransferSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12129), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12130), DeleteSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12130);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12130), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12131), AddNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12131);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12131), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12132), AddReferencesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddReferencesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12132);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddReferencesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12132), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12133), DeleteNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12133);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12133), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12134), DeleteReferencesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteReferencesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12134);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteReferencesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12134), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12135), BrowseCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BrowseCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12135);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BrowseCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12135), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12136), BrowseNextCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BrowseNextCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12136);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BrowseNextCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12136), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12137), TranslateBrowsePathsToNodeIdsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TranslateBrowsePathsToNodeIdsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12137);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TranslateBrowsePathsToNodeIdsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12137), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12138), QueryFirstCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QueryFirstCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12138);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QueryFirstCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12138), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12139), QueryNextCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QueryNextCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12139);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QueryNextCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12139), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12140), RegisterNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RegisterNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12140);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RegisterNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12140), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12098/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12141), UnregisterNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnregisterNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12141);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12098);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnregisterNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12141), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12097/<SessionPlaceholder> using i=47/HasComponent
// Node: opcua_node_variable_t(i=12142), SessionSecurityDiagnostics
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "Security related diagnostics information for an active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12097);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnostics");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12143), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12143);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12143), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12144), ClientUserIdOfSession
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserIdOfSession");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12144);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserIdOfSession");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12144), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12145), ClientUserIdHistory
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserIdHistory");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12145);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserIdHistory");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12145), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12146), AuthenticationMechanism
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuthenticationMechanism");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12146);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuthenticationMechanism");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12146), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12147), Encoding
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Encoding");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12147);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Encoding");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12147), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12148), TransportProtocol
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransportProtocol");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12148);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransportProtocol");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12148), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12149), SecurityMode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityMode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12149);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityMode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12149), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12150), SecurityPolicyUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityPolicyUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12150);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityPolicyUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12150), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12142/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=12151), ClientCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12151);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12151), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12097/<SessionPlaceholder> using i=47/HasComponent
// Node: opcua_node_variable_t(i=12152), SubscriptionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each subscription owned by the session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12152);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12097);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2029), SessionDiagnosticsObjectType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsObjectType");
attr.description = UA_LOCALIZEDTEXT("", "A container for session level diagnostics information.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2029);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsObjectType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12097), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2029), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2029/SessionDiagnosticsObjectType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2030), SessionDiagnostics
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "Diagnostics information for an active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2029);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnostics");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3131), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3131);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3131), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3132), SessionName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3132);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3132), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3133), ClientDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3133);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3133), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3134), ServerUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3134);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3134), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3135), EndpointUrl
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrl");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3135);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrl");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3135), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3136), LocaleIds
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleIds");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3136);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleIds");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3136), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3137), ActualSessionTimeout
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActualSessionTimeout");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3137);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActualSessionTimeout");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3137), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3138), MaxResponseMessageSize
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxResponseMessageSize");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3138);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxResponseMessageSize");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3138), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3139), ClientConnectionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientConnectionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3139);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientConnectionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3139), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3140), ClientLastContactTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientLastContactTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3140);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientLastContactTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3140), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3141), CurrentSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3141);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3141), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3142), CurrentMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3142);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3142), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3143), CurrentPublishRequestsInQueue
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentPublishRequestsInQueue");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3143);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentPublishRequestsInQueue");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3143), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=8898), TotalRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TotalRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8898);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TotalRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8898), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=11891), UnauthorizedRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnauthorizedRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11891);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnauthorizedRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11891), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3151), ReadCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReadCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3151);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReadCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3151), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3152), HistoryReadCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryReadCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3152);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryReadCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3152), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3153), WriteCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "WriteCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3153);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "WriteCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3153), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3154), HistoryUpdateCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryUpdateCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3154);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryUpdateCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3154), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3155), CallCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CallCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3155);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CallCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3155), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3156), CreateMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3156);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3156), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3157), ModifyMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifyMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3157);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifyMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3157), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3158), SetMonitoringModeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetMonitoringModeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3158);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetMonitoringModeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3158), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3159), SetTriggeringCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetTriggeringCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3159);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetTriggeringCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3159), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3160), DeleteMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3160);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3160), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3161), CreateSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3161);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3161), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3162), ModifySubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifySubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3162);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifySubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3162), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3163), SetPublishingModeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetPublishingModeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3163);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetPublishingModeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3163), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3164), PublishCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3164);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3164), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3165), RepublishCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RepublishCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3165);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RepublishCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3165), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3166), TransferSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransferSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3166);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransferSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3166), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3167), DeleteSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3167);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3167), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3168), AddNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3168);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3168), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3169), AddReferencesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddReferencesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3169);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddReferencesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3169), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3170), DeleteNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3170);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3170), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3171), DeleteReferencesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteReferencesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3171);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteReferencesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3171), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3172), BrowseCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BrowseCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3172);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BrowseCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3172), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3173), BrowseNextCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BrowseNextCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3173);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BrowseNextCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3173), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3174), TranslateBrowsePathsToNodeIdsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TranslateBrowsePathsToNodeIdsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3174);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TranslateBrowsePathsToNodeIdsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3174), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3175), QueryFirstCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QueryFirstCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3175);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QueryFirstCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3175), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3176), QueryNextCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QueryNextCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3176);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QueryNextCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3176), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3177), RegisterNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RegisterNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3177);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RegisterNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3177), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2030/SessionDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3178), UnregisterNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnregisterNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3178);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2030);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnregisterNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3178), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2029/SessionDiagnosticsObjectType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2031), SessionSecurityDiagnostics
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "Security related diagnostics information for an active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2029);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnostics");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3179), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3179);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3179), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3180), ClientUserIdOfSession
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserIdOfSession");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3180);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserIdOfSession");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3180), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3181), ClientUserIdHistory
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserIdHistory");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3181);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserIdHistory");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3181), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3182), AuthenticationMechanism
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuthenticationMechanism");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3182);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuthenticationMechanism");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3182), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3183), Encoding
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Encoding");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3183);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Encoding");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3183), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3184), TransportProtocol
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransportProtocol");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3184);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransportProtocol");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3184), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3185), SecurityMode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityMode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3185);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityMode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3185), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3186), SecurityPolicyUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityPolicyUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3186);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityPolicyUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3186), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2031/SessionSecurityDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=3187), ClientCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3187);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2031);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3187), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2029/SessionDiagnosticsObjectType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2032), SubscriptionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each subscription owned by the session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2032);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2029);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2033), VendorServerInfoType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "VendorServerInfoType");
attr.description = UA_LOCALIZEDTEXT("", "A base type for vendor specific server information.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2033);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "VendorServerInfoType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2011), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2033), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2034), ServerRedundancyType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerRedundancyType");
attr.description = UA_LOCALIZEDTEXT("", "A base type for an object that describe how a server supports redundancy.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2034);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerRedundancyType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2012), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2034), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2034/ServerRedundancyType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2035), RedundancySupport
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundancySupport");
attr.description = UA_LOCALIZEDTEXT("", "Indicates what style of redundancy is supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2035);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2034);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundancySupport");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2035), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2034/ServerRedundancyType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2036), TransparentRedundancyType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransparentRedundancyType");
attr.description = UA_LOCALIZEDTEXT("", "Identifies the capabilties of server that supports transparent redundancy.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2036);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2034);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransparentRedundancyType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2036/TransparentRedundancyType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2037), CurrentServerId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentServerId");
attr.description = UA_LOCALIZEDTEXT("", "The ID of the server that is currently in use.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2037);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2036);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentServerId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2037), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2036/TransparentRedundancyType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2038), RedundantServerArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundantServerArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of servers in the same redundant set.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2038);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2036);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundantServerArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2038), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2034/ServerRedundancyType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2039), NonTransparentRedundancyType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonTransparentRedundancyType");
attr.description = UA_LOCALIZEDTEXT("", "Identifies the capabilties of server that supports non-transparent redundancy.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2039);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2034);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonTransparentRedundancyType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2039/NonTransparentRedundancyType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2040), ServerUriArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerUriArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of servers in the same redundant set.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2040);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2039);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerUriArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2040), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2039/NonTransparentRedundancyType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11945), NonTransparentNetworkRedundancyType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonTransparentNetworkRedundancyType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11945);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2039);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonTransparentNetworkRedundancyType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11945/NonTransparentNetworkRedundancyType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11948), ServerNetworkGroups
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerNetworkGroups");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11948);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11945);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerNetworkGroups");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11948), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11564), OperationLimitsType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OperationLimitsType");
attr.description = UA_LOCALIZEDTEXT("", "Identifies the operation limits imposed by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OperationLimitsType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11551), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11564), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11565), MaxNodesPerRead
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerRead");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Read request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11565);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerRead");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11565), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12161), MaxNodesPerHistoryReadData
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryReadData");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single data HistoryRead request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12161);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryReadData");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12161), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12162), MaxNodesPerHistoryReadEvents
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryReadEvents");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single event HistoryRead request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12162);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryReadEvents");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12162), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11567), MaxNodesPerWrite
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerWrite");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Write request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11567);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerWrite");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11567), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12163), MaxNodesPerHistoryUpdateData
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryUpdateData");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single data HistoryUpdate request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12163);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryUpdateData");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12163), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12164), MaxNodesPerHistoryUpdateEvents
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryUpdateEvents");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single event HistoryUpdate request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12164);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryUpdateEvents");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12164), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11569), MaxNodesPerMethodCall
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerMethodCall");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Call request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11569);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerMethodCall");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11569), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11570), MaxNodesPerBrowse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerBrowse");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Browse request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11570);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerBrowse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11570), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11571), MaxNodesPerRegisterNodes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerRegisterNodes");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single RegisterNodes request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11571);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerRegisterNodes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11571), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11572), MaxNodesPerTranslateBrowsePathsToNodeIds
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerTranslateBrowsePathsToNodeIds");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single TranslateBrowsePathsToNodeIds request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11572);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerTranslateBrowsePathsToNodeIds");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11572), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11573), MaxNodesPerNodeManagement
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerNodeManagement");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single AddNodes, AddReferences, DeleteNodes or DeleteReferences request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11573);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerNodeManagement");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11573), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11564/OperationLimitsType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11574), MaxMonitoredItemsPerCall
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxMonitoredItemsPerCall");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single MonitoredItem related request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11574);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11564);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxMonitoredItemsPerCall");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11574), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11575), FileType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FileType");
attr.description = UA_LOCALIZEDTEXT("", "An object that represents a file that can be accessed via the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FileType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11580), Open
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("Mode");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 3);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("FileHandle");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Open");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11580);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Open");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11580), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11581), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11580), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11582), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11581), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11580), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11582), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11580), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11583), Close
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Close");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11583);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Close");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11583), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11584), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11584), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11583), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11585), Read
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Length");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 6);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("Data");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 15);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Read");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11585);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Read");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11585), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11586), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11585), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11587), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11586), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11585), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11587), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11585), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11588), Write
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Data");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 15);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Write");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11588);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Write");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11588), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11589), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11589), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11588), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11590), GetPosition
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("Position");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 9);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GetPosition");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11590);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GetPosition");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11590), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11591), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11590), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11592), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11591), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11590), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11592), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11590), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11593), SetPosition
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Position");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 9);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetPosition");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11593);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetPosition");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11593), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11594), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11594), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11593), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11576), Size
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Size");
attr.description = UA_LOCALIZEDTEXT("", "The size of the file in bytes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11576);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Size");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11576), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11577), Writeable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Writeable");
attr.description = UA_LOCALIZEDTEXT("", "Whether the file is writeable.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11577);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Writeable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11577), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11578), UserWriteable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserWriteable");
attr.description = UA_LOCALIZEDTEXT("", "Whether the file is writeable by the current user.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11578);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserWriteable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11578), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11579), OpenCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OpenCount");
attr.description = UA_LOCALIZEDTEXT("", "The current number of open file handles.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11579);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OpenCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11579), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11575/FileType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11595), AddressSpaceFileType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddressSpaceFileType");
attr.description = UA_LOCALIZEDTEXT("", "A file used to store a namespace exported from the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11595);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11575);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddressSpaceFileType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11595/AddressSpaceFileType using i=47/HasComponent
// Node: opcua_node_method_t(i=11615), ExportNamespace
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExportNamespace");
attr.description = UA_LOCALIZEDTEXT("", "Updates the file by exporting the server namespace.");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11615);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11595);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExportNamespace");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11616), NamespaceMetadataType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceMetadataType");
attr.description = UA_LOCALIZEDTEXT("", "Provides the metadata for a namespace used by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceMetadataType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11617), NamespaceUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceUri");
attr.description = UA_LOCALIZEDTEXT("", "The URI of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11617);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11617), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11618), NamespaceVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceVersion");
attr.description = UA_LOCALIZEDTEXT("", "The human readable string representing version of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11618);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11618), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11619), NamespacePublicationDate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespacePublicationDate");
attr.description = UA_LOCALIZEDTEXT("", "The publication date for the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11619);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespacePublicationDate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11619), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11620), IsNamespaceSubset
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IsNamespaceSubset");
attr.description = UA_LOCALIZEDTEXT("", "If TRUE then the server only supports a subset of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11620);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IsNamespaceSubset");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11620), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11621), StaticNodeIdIdentifierTypes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StaticNodeIdIdentifierTypes");
attr.description = UA_LOCALIZEDTEXT("", "A list of IdTypes for nodes which are the same in every server that exposes them.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11621);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StaticNodeIdIdentifierTypes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11621), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11622), StaticNumericNodeIdRange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StaticNumericNodeIdRange");
attr.description = UA_LOCALIZEDTEXT("", "A list of ranges for numeric node ids which are the same in every server that exposes them.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11622);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StaticNumericNodeIdRange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11622), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11623), StaticStringNodeIdPattern
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StaticStringNodeIdPattern");
attr.description = UA_LOCALIZEDTEXT("", "A regular expression which matches string node ids are the same in every server that exposes them.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11623);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StaticStringNodeIdPattern");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11623), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11616/NamespaceMetadataType using i=47/HasComponent
// Node: opcua_node_object_t(i=11624), NamespaceFile
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceFile");
attr.description = UA_LOCALIZEDTEXT("", "A file containing the nodes of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11616);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceFile");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11624), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11595), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11629), Open
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("Mode");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 3);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("FileHandle");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Open");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11629);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Open");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11629), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11630), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11629), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11631), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11630), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11629), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11631), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11629), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11632), Close
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Close");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11632);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Close");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11632), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11633), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11633), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11632), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11634), Read
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Length");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 6);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("Data");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 15);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Read");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11634);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Read");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11634), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11635), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11634), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11636), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11635), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11634), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11636), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11634), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11637), Write
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Data");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 15);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Write");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11637);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Write");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11637), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11638), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11638), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11637), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11639), GetPosition
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("Position");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 9);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GetPosition");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11639);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GetPosition");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11639), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11640), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11639), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11641), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11640), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11639), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11641), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11639), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11642), SetPosition
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Position");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 9);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetPosition");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11642);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetPosition");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11642), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11643), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11643), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11642), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11625), Size
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Size");
attr.description = UA_LOCALIZEDTEXT("", "The size of the file in bytes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11625);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Size");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11625), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11626), Writeable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Writeable");
attr.description = UA_LOCALIZEDTEXT("", "Whether the file is writeable.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11626);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Writeable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11626), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11627), UserWriteable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserWriteable");
attr.description = UA_LOCALIZEDTEXT("", "Whether the file is writeable by the current user.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11627);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserWriteable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11627), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11624/NamespaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11628), OpenCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OpenCount");
attr.description = UA_LOCALIZEDTEXT("", "The current number of open file handles.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11628);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11624);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OpenCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11628), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11645), NamespacesType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespacesType");
attr.description = UA_LOCALIZEDTEXT("", "A container for the namespace metadata provided by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11645);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespacesType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11527), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11645), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11645/NamespacesType using i=47/HasComponent
// Node: opcua_node_object_t(i=11646), <NamespaceIdentifier>
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "<NamespaceIdentifier>");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11645);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "<NamespaceIdentifier>");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11646), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11616), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11508), OptionalPlaceholder
UA_ObjectNode *opcua_node_object_t_i_11508 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11508->browseName = UA_QUALIFIEDNAME_ALLOC(0, "OptionalPlaceholder");
opcua_node_object_t_i_11508->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "OptionalPlaceholder");
opcua_node_object_t_i_11508->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Specifies that zero or more instances with the attributes and references of the instance declaration may appear when a type is instantiated.");
opcua_node_object_t_i_11508->nodeId.identifier.numeric = 11508;
opcua_node_object_t_i_11508->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11508);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11508), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 77), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11562), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 11508), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12097), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 11508), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11646), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 11508), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11508/OptionalPlaceholder using i=46/HasProperty
// Node: opcua_node_variable_t(i=11509), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_11509_variant_DataContents = (UA_Int32) 2;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_11509_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_11509_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11509);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11508);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11509), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11647), NamespaceUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceUri");
attr.description = UA_LOCALIZEDTEXT("", "The URI of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11647);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11647), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11648), NamespaceVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceVersion");
attr.description = UA_LOCALIZEDTEXT("", "The human readable string representing version of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11648);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11648), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11649), NamespacePublicationDate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespacePublicationDate");
attr.description = UA_LOCALIZEDTEXT("", "The publication date for the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11649);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespacePublicationDate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11649), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11650), IsNamespaceSubset
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IsNamespaceSubset");
attr.description = UA_LOCALIZEDTEXT("", "If TRUE then the server only supports a subset of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11650);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IsNamespaceSubset");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11650), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11651), StaticNodeIdIdentifierTypes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StaticNodeIdIdentifierTypes");
attr.description = UA_LOCALIZEDTEXT("", "A list of IdTypes for nodes which are the same in every server that exposes them.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11651);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StaticNodeIdIdentifierTypes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11651), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11652), StaticNumericNodeIdRange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StaticNumericNodeIdRange");
attr.description = UA_LOCALIZEDTEXT("", "A list of ranges for numeric node ids which are the same in every server that exposes them.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11652);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StaticNumericNodeIdRange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11652), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11646/<NamespaceIdentifier> using i=46/HasProperty
// Node: opcua_node_variable_t(i=11653), StaticStringNodeIdPattern
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StaticStringNodeIdPattern");
attr.description = UA_LOCALIZEDTEXT("", "A regular expression which matches string node ids are the same in every server that exposes them.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11653);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11646);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StaticStringNodeIdPattern");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11653), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11645/NamespacesType using i=47/HasComponent
// Node: opcua_node_object_t(i=11675), AddressSpaceFile
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddressSpaceFile");
attr.description = UA_LOCALIZEDTEXT("", "A file containing the nodes of the namespace.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11645);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddressSpaceFile");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11675), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11595), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11680), Open
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("Mode");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 3);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("FileHandle");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Open");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11680);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Open");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11680), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11681), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11680), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11682), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11681), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11680), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11682), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11680), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11683), Close
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Close");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11683);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Close");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11683), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11684), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11684), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11683), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11685), Read
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Length");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 6);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("Data");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 15);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Read");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11685);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Read");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11685), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11686), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11685), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11687), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11686), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11685), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11687), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11685), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11688), Write
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Data");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 15);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Write");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11688);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Write");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11688), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11689), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11689), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11688), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11690), GetPosition
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<1; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("Position");
outputArguments[0].valueRank = -1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 9);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GetPosition");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11690);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GetPosition");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  1, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11690), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11691), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11690), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11692), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11691), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11690), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11692), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11690), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=47/HasComponent
// Node: opcua_node_method_t(i=11693), SetPosition
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("FileHandle");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
inputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[1].name = UA_STRING("Position");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 9);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetPosition");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11693);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetPosition");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11693), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11694), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11694), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11693), false);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11676), Size
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Size");
attr.description = UA_LOCALIZEDTEXT("", "The size of the file in bytes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11676);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Size");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11676), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11677), Writeable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Writeable");
attr.description = UA_LOCALIZEDTEXT("", "Whether the file is writeable.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11677);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Writeable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11677), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11678), UserWriteable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserWriteable");
attr.description = UA_LOCALIZEDTEXT("", "Whether the file is writeable by the current user.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11678);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserWriteable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11678), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11675/AddressSpaceFile using i=46/HasProperty
// Node: opcua_node_variable_t(i=11679), OpenCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OpenCount");
attr.description = UA_LOCALIZEDTEXT("", "The current number of open file handles.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11679);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11675);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OpenCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11679), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2340), AggregateFunctionType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctionType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2340);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctionType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2137), ServerVendorCapabilityType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerVendorCapabilityType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2137);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerVendorCapabilityType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11562), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2137), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2138), ServerStatusType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerStatusType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerStatusType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2007), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2138), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2138/ServerStatusType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2139), StartTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StartTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2139);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StartTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2139), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2138/ServerStatusType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2140), CurrentTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2140);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2140), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2138/ServerStatusType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2141), State
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "State");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2141);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "State");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2141), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2138/ServerStatusType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2142), BuildInfo
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfo");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfo");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2142/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3698), ProductUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3698);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3698), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2142/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3699), ManufacturerName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ManufacturerName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3699);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ManufacturerName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3699), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2142/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3700), ProductName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3700);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3700), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2142/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3701), SoftwareVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareVersion");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3701);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3701), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2142/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3702), BuildNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3702);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3702), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2142/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=3703), BuildDate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildDate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3703);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2142);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildDate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3703), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2138/ServerStatusType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2752), SecondsTillShutdown
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecondsTillShutdown");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2752);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecondsTillShutdown");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2752), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2138/ServerStatusType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2753), ShutdownReason
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ShutdownReason");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2753);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2138);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ShutdownReason");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2753), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=3051), BuildInfoType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfoType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfoType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3077), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 3051), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2142), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 3051), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3051/BuildInfoType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3052), ProductUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3052);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3052), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3051/BuildInfoType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3053), ManufacturerName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ManufacturerName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3053);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ManufacturerName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3053), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3051/BuildInfoType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3054), ProductName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3054);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3054), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3051/BuildInfoType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3055), SoftwareVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareVersion");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3055);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3055), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3051/BuildInfoType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3056), BuildNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3056);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3056), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3051/BuildInfoType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3057), BuildDate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildDate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3057);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3051);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildDate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3057), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2150), ServerDiagnosticsSummaryType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummaryType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummaryType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3095), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2150), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2021), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2150), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2151), ServerViewCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerViewCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2151);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerViewCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2151), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2152), CurrentSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2152);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2152), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2153), CumulatedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2153);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2153), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2154), SecurityRejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2154);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2154), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2155), RejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2155);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2155), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2156), SessionTimeoutCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionTimeoutCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2156);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionTimeoutCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2156), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2157), SessionAbortCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionAbortCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2157);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionAbortCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2157), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2159), PublishingIntervalCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishingIntervalCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2159);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishingIntervalCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2159), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2160), CurrentSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2160);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2160), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2161), CumulatedSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2161);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2161), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2162), SecurityRejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2162);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2162), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2150/ServerDiagnosticsSummaryType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2163), RejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2163);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2150);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2163), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2164), SamplingIntervalDiagnosticsArrayType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsArrayType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2164);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsArrayType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2022), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2164), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2165), SamplingIntervalDiagnosticsType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2165);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2165/SamplingIntervalDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2166), SamplingInterval
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingInterval");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2166);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2165);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingInterval");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2166), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2165/SamplingIntervalDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=11697), SampledMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SampledMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11697);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2165);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SampledMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11697), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2165/SamplingIntervalDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=11698), MaxSampledMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxSampledMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11698);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2165);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxSampledMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11698), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2165/SamplingIntervalDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=11699), DisabledMonitoredItemsSamplingCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DisabledMonitoredItemsSamplingCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11699);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2165);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DisabledMonitoredItemsSamplingCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11699), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2171), SubscriptionDiagnosticsArrayType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsArrayType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2171);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsArrayType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3110), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2171), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2023), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2171), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12152), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2171), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2032), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2171), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2172), SubscriptionDiagnosticsType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2173), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2173);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2173), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2174), SubscriptionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2174);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2174), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2175), Priority
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Priority");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2175);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Priority");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2175), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2176), PublishingInterval
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishingInterval");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2176);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishingInterval");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2176), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2177), MaxKeepAliveCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxKeepAliveCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2177);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxKeepAliveCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2177), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8888), MaxLifetimeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxLifetimeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8888);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxLifetimeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8888), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2179), MaxNotificationsPerPublish
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNotificationsPerPublish");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2179);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNotificationsPerPublish");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2179), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2180), PublishingEnabled
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishingEnabled");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2180);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishingEnabled");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2180), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2181), ModifyCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifyCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2181);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifyCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2181), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2182), EnableCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnableCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2182);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnableCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2182), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2183), DisableCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DisableCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2183);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DisableCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2183), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2184), RepublishRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RepublishRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2184);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RepublishRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2184), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2185), RepublishMessageRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RepublishMessageRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2185);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RepublishMessageRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2185), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2186), RepublishMessageCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RepublishMessageCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2186);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RepublishMessageCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2186), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2187), TransferRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransferRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2187);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransferRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2187), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2188), TransferredToAltClientCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransferredToAltClientCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2188);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransferredToAltClientCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2188), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2189), TransferredToSameClientCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransferredToSameClientCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2189);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransferredToSameClientCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2189), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2190), PublishRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2190);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2190), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2191), DataChangeNotificationsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataChangeNotificationsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2191);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataChangeNotificationsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2191), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2998), EventNotificationsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventNotificationsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2998);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventNotificationsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2998), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2193), NotificationsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NotificationsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2193);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NotificationsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2193), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8889), LatePublishRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LatePublishRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8889);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LatePublishRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8889), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8890), CurrentKeepAliveCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentKeepAliveCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8890);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentKeepAliveCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8890), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8891), CurrentLifetimeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentLifetimeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8891);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentLifetimeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8891), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8892), UnacknowledgedMessageCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnacknowledgedMessageCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8892);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnacknowledgedMessageCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8892), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8893), DiscardedMessageCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DiscardedMessageCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8893);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DiscardedMessageCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8893), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8894), MonitoredItemCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MonitoredItemCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8894);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MonitoredItemCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8894), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8895), DisabledMonitoredItemCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DisabledMonitoredItemCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8895);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DisabledMonitoredItemCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8895), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8896), MonitoringQueueOverflowCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MonitoringQueueOverflowCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8896);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MonitoringQueueOverflowCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8896), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8897), NextSequenceNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NextSequenceNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8897);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NextSequenceNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8897), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2172/SubscriptionDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8902), EventQueueOverFlowCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventQueueOverFlowCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8902);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventQueueOverFlowCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8902), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2196), SessionDiagnosticsArrayType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsArrayType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2196);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsArrayType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3112), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2196), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3129), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2196), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2027), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2196), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2197), SessionDiagnosticsVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12098), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2197), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2030), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2197), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2198), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2198);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2198), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2199), SessionName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2199);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2199), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2200), ClientDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2200);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2200), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2201), ServerUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2201);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2201), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2202), EndpointUrl
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrl");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2202);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrl");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2202), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2203), LocaleIds
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleIds");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2203);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleIds");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2203), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2204), ActualSessionTimeout
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActualSessionTimeout");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2204);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActualSessionTimeout");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2204), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3050), MaxResponseMessageSize
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxResponseMessageSize");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3050);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxResponseMessageSize");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3050), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2205), ClientConnectionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientConnectionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2205);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientConnectionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2205), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2206), ClientLastContactTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientLastContactTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2206);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientLastContactTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2206), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2207), CurrentSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2207);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2207), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2208), CurrentMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2208);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2208), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2209), CurrentPublishRequestsInQueue
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentPublishRequestsInQueue");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2209);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentPublishRequestsInQueue");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2209), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=8900), TotalRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TotalRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8900);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TotalRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8900), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=11892), UnauthorizedRequestCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnauthorizedRequestCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11892);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnauthorizedRequestCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11892), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2217), ReadCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReadCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2217);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReadCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2217), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2218), HistoryReadCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryReadCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2218);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryReadCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2218), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2219), WriteCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "WriteCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2219);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "WriteCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2219), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2220), HistoryUpdateCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryUpdateCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2220);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryUpdateCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2220), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2221), CallCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CallCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2221);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CallCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2221), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2222), CreateMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2222);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2222), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2223), ModifyMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifyMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2223);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifyMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2223), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2224), SetMonitoringModeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetMonitoringModeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2224);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetMonitoringModeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2224), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2225), SetTriggeringCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetTriggeringCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2225);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetTriggeringCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2225), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2226), DeleteMonitoredItemsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteMonitoredItemsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2226);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteMonitoredItemsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2226), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2227), CreateSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2227);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2227), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2228), ModifySubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModifySubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2228);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModifySubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2228), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2229), SetPublishingModeCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetPublishingModeCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2229);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetPublishingModeCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2229), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2230), PublishCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2230);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2230), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2231), RepublishCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RepublishCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2231);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RepublishCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2231), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2232), TransferSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransferSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2232);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransferSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2232), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2233), DeleteSubscriptionsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteSubscriptionsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2233);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteSubscriptionsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2233), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2234), AddNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2234);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2234), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2235), AddReferencesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddReferencesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2235);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddReferencesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2235), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2236), DeleteNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2236);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2236), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2237), DeleteReferencesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteReferencesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2237);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteReferencesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2237), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2238), BrowseCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BrowseCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2238);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BrowseCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2238), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2239), BrowseNextCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BrowseNextCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2239);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BrowseNextCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2239), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2240), TranslateBrowsePathsToNodeIdsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TranslateBrowsePathsToNodeIdsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2240);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TranslateBrowsePathsToNodeIdsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2240), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2241), QueryFirstCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QueryFirstCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2241);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QueryFirstCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2241), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2242), QueryNextCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "QueryNextCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2242);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "QueryNextCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2242), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2730), RegisterNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RegisterNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2730);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RegisterNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2730), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2197/SessionDiagnosticsVariableType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2731), UnregisterNodesCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnregisterNodesCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2731);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2197);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnregisterNodesCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2731), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2243), SessionSecurityDiagnosticsArrayType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsArrayType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2243);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsArrayType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3113), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2243), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3130), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2243), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2028), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2243), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2244), SessionSecurityDiagnosticsType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12142), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2244), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2031), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2244), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2245), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2245);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2245), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2246), ClientUserIdOfSession
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserIdOfSession");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2246);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserIdOfSession");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2246), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2247), ClientUserIdHistory
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserIdHistory");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2247);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserIdHistory");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2247), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2248), AuthenticationMechanism
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuthenticationMechanism");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2248);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuthenticationMechanism");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2248), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2249), Encoding
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Encoding");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2249);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Encoding");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2249), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2250), TransportProtocol
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransportProtocol");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2250);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransportProtocol");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2250), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2251), SecurityMode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityMode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2251);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityMode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2251), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2252), SecurityPolicyUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityPolicyUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2252);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityPolicyUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2252), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2244/SessionSecurityDiagnosticsType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3058), ClientCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3058);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2244);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3058), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=11487), OptionSetType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OptionSetType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11487);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OptionSetType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11487/OptionSetType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11488), OptionSetValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OptionSetValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11488);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11487);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OptionSetValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11488), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11487/OptionSetType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11701), BitMask
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BitMask");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11701);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11487);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BitMask");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11701), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=86/Types using i=35/Organizes
// Node: opcua_node_object_t(i=3048), EventTypes
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventTypes");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3048);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 86);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventTypes");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3048), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2041), BaseEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BaseEventType");
attr.description = UA_LOCALIZEDTEXT("", "The base type for all events.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BaseEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3048), UA_NODEID_NUMERIC(0, 35), UA_EXPANDEDNODEID_NUMERIC(0, 2041), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2042), EventId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventId");
attr.description = UA_LOCALIZEDTEXT("", "A globally unique identifier for the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2042);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2042), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2043), EventType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventType");
attr.description = UA_LOCALIZEDTEXT("", "The identifier for the event type.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2043);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2043), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2044), SourceNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SourceNode");
attr.description = UA_LOCALIZEDTEXT("", "The source of the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2044);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SourceNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2044), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2045), SourceName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SourceName");
attr.description = UA_LOCALIZEDTEXT("", "A description of the source of the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2045);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SourceName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2045), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2046), Time
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Time");
attr.description = UA_LOCALIZEDTEXT("", "When the event occurred.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2046);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Time");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2046), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2047), ReceiveTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReceiveTime");
attr.description = UA_LOCALIZEDTEXT("", "When the server received the event from the underlying system.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2047);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReceiveTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2047), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3190), LocalTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocalTime");
attr.description = UA_LOCALIZEDTEXT("", "Information about the local time where the event originated.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3190);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocalTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3190), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2050), Message
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Message");
attr.description = UA_LOCALIZEDTEXT("", "A localized description of the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2050);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Message");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2050), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2051), Severity
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Severity");
attr.description = UA_LOCALIZEDTEXT("", "Indicates how urgent an event is.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2051);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Severity");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2051), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2052), AuditEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditEventType");
attr.description = UA_LOCALIZEDTEXT("", "A base type for events used to track client initiated changes to the server state.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2053), ActionTimeStamp
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActionTimeStamp");
attr.description = UA_LOCALIZEDTEXT("", "When the action triggering the event occurred.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2053);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActionTimeStamp");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2053), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2054), Status
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Status");
attr.description = UA_LOCALIZEDTEXT("", "If TRUE the action was performed. If FALSE the action failed and the server state did not change.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2054);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Status");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2054), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2055), ServerId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerId");
attr.description = UA_LOCALIZEDTEXT("", "The unique identifier for the server generating the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2055);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2055), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2056), ClientAuditEntryId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientAuditEntryId");
attr.description = UA_LOCALIZEDTEXT("", "The log entry id provided in the request that initiated the action.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2056);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientAuditEntryId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2056), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2057), ClientUserId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserId");
attr.description = UA_LOCALIZEDTEXT("", "The user identity associated with the session that initiated the action.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2057);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2057), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2058), AuditSecurityEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditSecurityEventType");
attr.description = UA_LOCALIZEDTEXT("", "A base type for events used to track security related changes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2058);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditSecurityEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2058/AuditSecurityEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2059), AuditChannelEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditChannelEventType");
attr.description = UA_LOCALIZEDTEXT("", "A base type for events used to track related changes to a secure channel.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2059);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2058);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditChannelEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2059/AuditChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2745), SecureChannelId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecureChannelId");
attr.description = UA_LOCALIZEDTEXT("", "The identifier for the secure channel that was changed.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2745);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2059);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecureChannelId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2745), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2059/AuditChannelEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2060), AuditOpenSecureChannelEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditOpenSecureChannelEventType");
attr.description = UA_LOCALIZEDTEXT("", "An event that is raised when a secure channel is opened.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2059);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditOpenSecureChannelEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2060/AuditOpenSecureChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2061), ClientCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificate");
attr.description = UA_LOCALIZEDTEXT("", "The certificate provided by the client.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2061);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2061), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2060/AuditOpenSecureChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2746), ClientCertificateThumbprint
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificateThumbprint");
attr.description = UA_LOCALIZEDTEXT("", "The thumbprint for certificate provided by the client.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2746);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificateThumbprint");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2746), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2060/AuditOpenSecureChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2062), RequestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RequestType");
attr.description = UA_LOCALIZEDTEXT("", "The type of request (NEW or RENEW).");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2062);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RequestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2062), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2060/AuditOpenSecureChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2063), SecurityPolicyUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityPolicyUri");
attr.description = UA_LOCALIZEDTEXT("", "The security policy used by the channel.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2063);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityPolicyUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2063), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2060/AuditOpenSecureChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2065), SecurityMode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityMode");
attr.description = UA_LOCALIZEDTEXT("", "The security mode used by the channel.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2065);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityMode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2065), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2060/AuditOpenSecureChannelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2066), RequestedLifetime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RequestedLifetime");
attr.description = UA_LOCALIZEDTEXT("", "The lifetime of the channel requested by the client.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2066);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2060);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RequestedLifetime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2066), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2069), AuditSessionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditSessionEventType");
attr.description = UA_LOCALIZEDTEXT("", "A base type for events used to track related changes to a session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2069);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditSessionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2069/AuditSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2070), SessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionId");
attr.description = UA_LOCALIZEDTEXT("", "The unique identifier for the session,.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2070);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2069);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2070), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2069/AuditSessionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2071), AuditCreateSessionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCreateSessionEventType");
attr.description = UA_LOCALIZEDTEXT("", "An event that is raised when a session is created.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2071);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2069);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCreateSessionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2071/AuditCreateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2072), SecureChannelId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecureChannelId");
attr.description = UA_LOCALIZEDTEXT("", "The secure channel associated with the session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2072);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2071);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecureChannelId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2072), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2071/AuditCreateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2073), ClientCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificate");
attr.description = UA_LOCALIZEDTEXT("", "The certificate provided by the client.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2073);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2071);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2073), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2071/AuditCreateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2747), ClientCertificateThumbprint
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientCertificateThumbprint");
attr.description = UA_LOCALIZEDTEXT("", "The thumbprint of the certificate provided by the client.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2747);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2071);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientCertificateThumbprint");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2747), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2071/AuditCreateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2074), RevisedSessionTimeout
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RevisedSessionTimeout");
attr.description = UA_LOCALIZEDTEXT("", "The timeout for the session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2074);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2071);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RevisedSessionTimeout");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2074), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2071/AuditCreateSessionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2748), AuditUrlMismatchEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditUrlMismatchEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2748);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2071);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditUrlMismatchEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2748/AuditUrlMismatchEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2749), EndpointUrl
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrl");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2749);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2748);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrl");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2749), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2069/AuditSessionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2075), AuditActivateSessionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditActivateSessionEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2075);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2069);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditActivateSessionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2075/AuditActivateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2076), ClientSoftwareCertificates
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientSoftwareCertificates");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2076);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2075);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientSoftwareCertificates");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2076), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2075/AuditActivateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2077), UserIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2077);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2075);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2077), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2075/AuditActivateSessionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11485), SecureChannelId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecureChannelId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11485);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2075);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecureChannelId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11485), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2069/AuditSessionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2078), AuditCancelEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCancelEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2078);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2069);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCancelEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2078/AuditCancelEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2079), RequestHandle
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RequestHandle");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2079);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2078);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RequestHandle");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2079), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2058/AuditSecurityEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2080), AuditCertificateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2058);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2081), Certificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Certificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2081);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Certificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2081), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2082), AuditCertificateDataMismatchEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateDataMismatchEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2082);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateDataMismatchEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2082/AuditCertificateDataMismatchEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2083), InvalidHostname
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InvalidHostname");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2083);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2082);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InvalidHostname");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2083), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2082/AuditCertificateDataMismatchEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2084), InvalidUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InvalidUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2084);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2082);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InvalidUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2084), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2085), AuditCertificateExpiredEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateExpiredEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2085);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateExpiredEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2086), AuditCertificateInvalidEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateInvalidEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2086);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateInvalidEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2087), AuditCertificateUntrustedEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateUntrustedEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2087);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateUntrustedEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2088), AuditCertificateRevokedEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateRevokedEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2088);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateRevokedEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2080/AuditCertificateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2089), AuditCertificateMismatchEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditCertificateMismatchEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2089);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditCertificateMismatchEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2090), AuditNodeManagementEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditNodeManagementEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2090);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditNodeManagementEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2090/AuditNodeManagementEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2091), AuditAddNodesEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditAddNodesEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2091);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2090);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditAddNodesEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2091/AuditAddNodesEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2092), NodesToAdd
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NodesToAdd");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2092);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2091);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NodesToAdd");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2092), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2090/AuditNodeManagementEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2093), AuditDeleteNodesEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditDeleteNodesEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2093);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2090);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditDeleteNodesEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2093/AuditDeleteNodesEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2094), NodesToDelete
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NodesToDelete");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2094);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2093);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NodesToDelete");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2094), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2090/AuditNodeManagementEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2095), AuditAddReferencesEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditAddReferencesEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2095);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2090);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditAddReferencesEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2095/AuditAddReferencesEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2096), ReferencesToAdd
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReferencesToAdd");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2096);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2095);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReferencesToAdd");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2096), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2090/AuditNodeManagementEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2097), AuditDeleteReferencesEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditDeleteReferencesEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2097);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2090);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditDeleteReferencesEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2097/AuditDeleteReferencesEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2098), ReferencesToDelete
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReferencesToDelete");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2098);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2097);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReferencesToDelete");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2098), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2099), AuditUpdateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditUpdateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2099);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditUpdateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2099/AuditUpdateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2100), AuditWriteUpdateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditWriteUpdateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2100);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2099);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditWriteUpdateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2100/AuditWriteUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2750), AttributeId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AttributeId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2750);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2100);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AttributeId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2750), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2100/AuditWriteUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2101), IndexRange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IndexRange");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2101);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2100);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IndexRange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2101), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2100/AuditWriteUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2102), OldValue
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldValue");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2102);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2100);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldValue");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2102), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2100/AuditWriteUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2103), NewValue
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NewValue");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2103);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2100);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NewValue");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2103), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2099/AuditUpdateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2104), AuditHistoryUpdateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryUpdateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2104);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2099);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryUpdateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2104/AuditHistoryUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2751), ParameterDataTypeId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ParameterDataTypeId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2751);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2104);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ParameterDataTypeId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2751), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2052/AuditEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2127), AuditUpdateMethodEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditUpdateMethodEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2127);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2052);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditUpdateMethodEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2127/AuditUpdateMethodEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2128), MethodId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MethodId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2128);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2127);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MethodId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2128), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2127/AuditUpdateMethodEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2129), InputArguments
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InputArguments");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2129);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2127);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InputArguments");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2129), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2130), SystemEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SystemEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2130);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SystemEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2130/SystemEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2131), DeviceFailureEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeviceFailureEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2131);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2130);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeviceFailureEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2130/SystemEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11446), SystemStatusChangeEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SystemStatusChangeEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11446);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2130);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SystemStatusChangeEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11446/SystemStatusChangeEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11696), SystemState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SystemState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11696);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11446);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SystemState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11696), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2132), BaseModelChangeEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BaseModelChangeEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2132);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BaseModelChangeEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2132/BaseModelChangeEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2133), GeneralModelChangeEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GeneralModelChangeEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2133);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2132);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GeneralModelChangeEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2133/GeneralModelChangeEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2134), Changes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Changes");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2134);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2133);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Changes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2134), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2132/BaseModelChangeEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2738), SemanticChangeEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SemanticChangeEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2738);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2132);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SemanticChangeEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2738/SemanticChangeEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2739), Changes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Changes");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2739);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2738);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Changes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2739), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3035), EventQueueOverflowEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventQueueOverflowEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3035);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventQueueOverflowEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11436), ProgressEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgressEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11436);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgressEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=85/Objects using i=35/Organizes
// Node: opcua_node_object_t(i=2253), Server
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Server");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 85);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Server");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2253), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2004), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_method_t(i=11492), GetMonitoredItems
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
inputArguments[0].name = UA_STRING("SubscriptionId");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);

outputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int outputArgumentCnt;
for (outputArgumentCnt=0; outputArgumentCnt<2; outputArgumentCnt++) UA_Argument_init(&outputArguments[outputArgumentCnt]); 
outputArguments[0].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[0].name = UA_STRING("ServerHandles");
outputArguments[0].valueRank = 1;
outputArguments[0].dataType = UA_NODEID_NUMERIC(0, 7);
outputArguments[1].description = UA_LOCALIZEDTEXT("en_US","");
outputArguments[1].name = UA_STRING("ClientHandles");
outputArguments[1].valueRank = 1;
outputArguments[1].dataType = UA_NODEID_NUMERIC(0, 7);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "GetMonitoredItems");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11492);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "GetMonitoredItems");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  2, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11492), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11493), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11492), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11494), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11493), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11492), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11494), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 11492), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=46/HasProperty
// Node: opcua_node_variable_t(i=2254), ServerArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerArray");
attr.description = UA_LOCALIZEDTEXT("", "The list of server URIs used by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2254);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2254), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=46/HasProperty
// Node: opcua_node_variable_t(i=2255), NamespaceArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceArray");
attr.description = UA_LOCALIZEDTEXT("", "The list of namespace URIs used by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2255);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2255), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_variable_t(i=2256), ServerStatus
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerStatus");
attr.description = UA_LOCALIZEDTEXT("", "The current status of the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerStatus");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2256), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2138), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2256/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=2257), StartTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StartTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2257);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StartTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2257), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2256/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=2258), CurrentTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2258);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2258), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2256/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=2259), State
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "State");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2259);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "State");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2259), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2256/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=2260), BuildInfo
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfo");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfo");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2260), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 3051), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2260/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=2262), ProductUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductUri");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2262);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2262), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2260/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=2263), ManufacturerName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ManufacturerName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2263);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ManufacturerName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2263), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2260/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=2261), ProductName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProductName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2261);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProductName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2261), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2260/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=2264), SoftwareVersion
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareVersion");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2264);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareVersion");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2264), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2260/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=2265), BuildNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2265);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2265), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2260/BuildInfo using i=47/HasComponent
// Node: opcua_node_variable_t(i=2266), BuildDate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildDate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2266);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2260);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildDate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2266), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2256/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=2992), SecondsTillShutdown
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecondsTillShutdown");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2992);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecondsTillShutdown");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2992), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2256/ServerStatus using i=47/HasComponent
// Node: opcua_node_variable_t(i=2993), ShutdownReason
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ShutdownReason");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2993);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ShutdownReason");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2993), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=46/HasProperty
// Node: opcua_node_variable_t(i=2267), ServiceLevel
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServiceLevel");
attr.description = UA_LOCALIZEDTEXT("", "A value indicating the level of service the server can provide. 255 indicates the best.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2267);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServiceLevel");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2267), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=46/HasProperty
// Node: opcua_node_variable_t(i=2994), Auditing
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Auditing");
attr.description = UA_LOCALIZEDTEXT("", "A flag indicating whether the server is currently generating audit events.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2994);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Auditing");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2994), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_object_t(i=2268), ServerCapabilities
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerCapabilities");
attr.description = UA_LOCALIZEDTEXT("", "Describes capabilities supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerCapabilities");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2268), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2013), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=2269), ServerProfileArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerProfileArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of profiles supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2269);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerProfileArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2269), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=2271), LocaleIdArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleIdArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of locales supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2271);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleIdArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2271), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=2272), MinSupportedSampleRate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MinSupportedSampleRate");
attr.description = UA_LOCALIZEDTEXT("", "The minimum sampling interval supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2272);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MinSupportedSampleRate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2272), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=2735), MaxBrowseContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxBrowseContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for Browse operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2735);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxBrowseContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2735), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=2736), MaxQueryContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxQueryContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for Query operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2736);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxQueryContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2736), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=2737), MaxHistoryContinuationPoints
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxHistoryContinuationPoints");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of continuation points for ReadHistory operations per session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2737);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxHistoryContinuationPoints");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2737), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=3704), SoftwareCertificates
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareCertificates");
attr.description = UA_LOCALIZEDTEXT("", "The software certificates owned by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3704);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareCertificates");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3704), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11702), MaxArrayLength
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxArrayLength");
attr.description = UA_LOCALIZEDTEXT("", "The maximum length for an array value supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11702);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxArrayLength");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11702), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11703), MaxStringLength
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxStringLength");
attr.description = UA_LOCALIZEDTEXT("", "The maximum length for a string value supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11703);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxStringLength");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11703), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=11704), OperationLimits
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OperationLimits");
attr.description = UA_LOCALIZEDTEXT("", "Defines the limits supported by the server for different operations.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OperationLimits");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11704), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11564), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11705), MaxNodesPerRead
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerRead");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Read request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11705);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerRead");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11705), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=12165), MaxNodesPerHistoryReadData
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryReadData");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single data HistoryRead request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12165);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryReadData");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12165), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=12166), MaxNodesPerHistoryReadEvents
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryReadEvents");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single event HistoryRead request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12166);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryReadEvents");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12166), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11707), MaxNodesPerWrite
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerWrite");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Write request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11707);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerWrite");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11707), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=12167), MaxNodesPerHistoryUpdateData
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryUpdateData");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single data HistoryUpdate request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12167);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryUpdateData");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12167), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=12168), MaxNodesPerHistoryUpdateEvents
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerHistoryUpdateEvents");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single event HistoryUpdate request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12168);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerHistoryUpdateEvents");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12168), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11709), MaxNodesPerMethodCall
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerMethodCall");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Call request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11709);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerMethodCall");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11709), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11710), MaxNodesPerBrowse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerBrowse");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single Browse request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11710);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerBrowse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11710), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11711), MaxNodesPerRegisterNodes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerRegisterNodes");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single RegisterNodes request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11711);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerRegisterNodes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11711), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11712), MaxNodesPerTranslateBrowsePathsToNodeIds
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerTranslateBrowsePathsToNodeIds");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single TranslateBrowsePathsToNodeIds request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11712);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerTranslateBrowsePathsToNodeIds");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11712), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11713), MaxNodesPerNodeManagement
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxNodesPerNodeManagement");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single AddNodes, AddReferences, DeleteNodes or DeleteReferences request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11713);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxNodesPerNodeManagement");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11713), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11704/OperationLimits using i=46/HasProperty
// Node: opcua_node_variable_t(i=11714), MaxMonitoredItemsPerCall
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxMonitoredItemsPerCall");
attr.description = UA_LOCALIZEDTEXT("", "The maximum number of operations in a single MonitoredItem related request.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11714);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11704);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxMonitoredItemsPerCall");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11714), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=2996), ModellingRules
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModellingRules");
attr.description = UA_LOCALIZEDTEXT("", "A folder for the modelling rules supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2996);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModellingRules");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2996), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=2997), AggregateFunctions
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctions");
attr.description = UA_LOCALIZEDTEXT("", "A folder for the real time aggregates supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2997);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctions");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2997), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_object_t(i=2274), ServerDiagnostics
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "Reports diagnostics about the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2274);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnostics");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2274), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2020), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2274/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=2275), ServerDiagnosticsSummary
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummary");
attr.description = UA_LOCALIZEDTEXT("", "A summary of server level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2274);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummary");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2275), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2150), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2276), ServerViewCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerViewCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2276);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerViewCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2276), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2277), CurrentSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2277);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2277), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2278), CumulatedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2278);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2278), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2279), SecurityRejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2279);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2279), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3705), RejectedSessionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedSessionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3705);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedSessionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3705), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2281), SessionTimeoutCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionTimeoutCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2281);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionTimeoutCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2281), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2282), SessionAbortCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionAbortCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2282);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionAbortCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2282), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2284), PublishingIntervalCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PublishingIntervalCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2284);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PublishingIntervalCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2284), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2285), CurrentSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2285);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2285), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2286), CumulatedSubscriptionCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CumulatedSubscriptionCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2286);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CumulatedSubscriptionCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2286), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2287), SecurityRejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityRejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2287);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityRejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2287), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2275/ServerDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=2288), RejectedRequestsCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RejectedRequestsCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2288);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2275);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RejectedRequestsCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2288), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2274/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=2289), SamplingIntervalDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each sampling interval supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2289);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2274);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2289), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2164), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2274/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_variable_t(i=2290), SubscriptionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active subscription.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2290);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2274);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2290), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2171), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2274/ServerDiagnostics using i=47/HasComponent
// Node: opcua_node_object_t(i=3706), SessionsDiagnosticsSummary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionsDiagnosticsSummary");
attr.description = UA_LOCALIZEDTEXT("", "A summary of session level diagnostics.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3706);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2274);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionsDiagnosticsSummary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3706), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2026), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3706/SessionsDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3707), SessionDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3707);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3706);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3707), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2196), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3706/SessionsDiagnosticsSummary using i=47/HasComponent
// Node: opcua_node_variable_t(i=3708), SessionSecurityDiagnosticsArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsArray");
attr.description = UA_LOCALIZEDTEXT("", "A list of security related diagnostics for each active session.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3708);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3706);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3708), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2243), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2274/ServerDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=2294), EnabledFlag
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledFlag");
attr.description = UA_LOCALIZEDTEXT("", "If TRUE the diagnostics collection is enabled.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2294);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2274);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledFlag");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2294), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_object_t(i=2295), VendorServerInfo
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "VendorServerInfo");
attr.description = UA_LOCALIZEDTEXT("", "Server information provided by the vendor.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2295);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "VendorServerInfo");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2295), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2033), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_object_t(i=2296), ServerRedundancy
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerRedundancy");
attr.description = UA_LOCALIZEDTEXT("", "Describes the redundancy capabilities of the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2296);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerRedundancy");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2296), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2034), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2296/ServerRedundancy using i=46/HasProperty
// Node: opcua_node_variable_t(i=3709), RedundancySupport
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundancySupport");
attr.description = UA_LOCALIZEDTEXT("", "Indicates what style of redundancy is supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3709);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2296);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundancySupport");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3709), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2296/ServerRedundancy using i=46/HasProperty
// Node: opcua_node_variable_t(i=11312), CurrentServerId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentServerId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11312);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2296);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentServerId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11312), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2296/ServerRedundancy using i=46/HasProperty
// Node: opcua_node_variable_t(i=11313), RedundantServerArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundantServerArray");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11313);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2296);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundantServerArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11313), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2296/ServerRedundancy using i=46/HasProperty
// Node: opcua_node_variable_t(i=11314), ServerUriArray
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerUriArray");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11314);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2296);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerUriArray");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11314), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2253/Server using i=47/HasComponent
// Node: opcua_node_object_t(i=11715), Namespaces
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Namespaces");
attr.description = UA_LOCALIZEDTEXT("", "Describes the namespaces supported by the server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11715);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2253);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Namespaces");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11715), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11645), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2268/ServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=11192), HistoryServerCapabilities
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryServerCapabilities");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2268);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryServerCapabilities");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11193), AccessHistoryDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AccessHistoryDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11193);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AccessHistoryDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11193), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11242), AccessHistoryEventsCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AccessHistoryEventsCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11242);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AccessHistoryEventsCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11242), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11273), MaxReturnDataValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxReturnDataValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11273);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxReturnDataValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11273), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11274), MaxReturnEventValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxReturnEventValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11274);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxReturnEventValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11274), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11196), InsertDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InsertDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11196);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InsertDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11196), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11197), ReplaceDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReplaceDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11197);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReplaceDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11197), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11198), UpdateDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdateDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11198);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdateDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11198), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11199), DeleteRawCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteRawCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11199);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteRawCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11199), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11200), DeleteAtTimeCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteAtTimeCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11200);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteAtTimeCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11200), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11281), InsertEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InsertEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11281);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InsertEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11281), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11282), ReplaceEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReplaceEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11282);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReplaceEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11282), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11283), UpdateEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdateEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11283);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdateEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11283), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11502), DeleteEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11502);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11502), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=46/HasProperty
// Node: opcua_node_variable_t(i=11275), InsertAnnotationCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InsertAnnotationCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11275);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InsertAnnotationCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11275), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11192/HistoryServerCapabilities using i=47/HasComponent
// Node: opcua_node_object_t(i=11201), AggregateFunctions
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctions");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11201);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11192);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctions");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11201), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9/UInt64 using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11737), BitFieldMaskDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BitFieldMaskDataType");
attr.description = UA_LOCALIZEDTEXT("", "A mask of 32 bits that can be updated individually by using the top 32 bits as a mask.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11737);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BitFieldMaskDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2299), StateMachineType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateMachineType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2299);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateMachineType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2299/StateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2769), CurrentState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2769);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2299);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2769/CurrentState using i=46/HasProperty
// Node: opcua_node_variable_t(i=3720), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3720);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2769);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3720), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2299/StateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2770), LastTransition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2770);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2299);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2770/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3724), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3724);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2770);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3724), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2755), StateVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2769), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2755), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2755/StateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2756), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2756);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2756), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2755/StateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2757), Name
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Name");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2757);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Name");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2757), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2755/StateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2758), Number
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Number");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2758);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Number");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2758), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2755/StateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2759), EffectiveDisplayName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveDisplayName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2759);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveDisplayName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2759), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2762), TransitionVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2770), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2762), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2762/TransitionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2763), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2763);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2763), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2762/TransitionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2764), Name
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Name");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2764);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Name");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2764), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2762/TransitionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2765), Number
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Number");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2765);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Number");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2765), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2762/TransitionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2766), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2766);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2766), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2762/TransitionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11456), EffectiveTransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveTransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11456);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveTransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11456), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2299/StateMachineType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2771), FiniteStateMachineType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FiniteStateMachineType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2771);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2299);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FiniteStateMachineType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2771/FiniteStateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2772), CurrentState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2772);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2771);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2772/CurrentState using i=46/HasProperty
// Node: opcua_node_variable_t(i=3728), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3728);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2772);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3728), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2771/FiniteStateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2773), LastTransition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2773);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2771);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2773/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3732), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3732);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2773);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3732), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2755/StateVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2760), FiniteStateVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FiniteStateVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2760);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FiniteStateVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2772), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2760), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2760/FiniteStateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2761), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2761);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2760);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2761), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2762/TransitionVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2767), FiniteTransitionVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FiniteTransitionVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2767);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2762);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FiniteTransitionVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2773), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2767), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2767/FiniteTransitionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2768), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2768);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2767);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2768), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2307), StateType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2307);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2307/StateType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2308), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2308);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2307);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2308), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2307/StateType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2309), InitialStateType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InitialStateType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2309);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2307);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InitialStateType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2310), TransitionType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2310);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2310/TransitionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2312), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2312);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2310);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2312), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2311), TransitionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2311);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2311/TransitionEventType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2774), Transition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Transition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2774);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2311);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Transition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2774), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2762), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2774/Transition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3754), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3754);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2774);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3754), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2311/TransitionEventType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2775), FromState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FromState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2775);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2311);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FromState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2775), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2755), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2775/FromState using i=46/HasProperty
// Node: opcua_node_variable_t(i=3746), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3746);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2775);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3746), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2311/TransitionEventType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2776), ToState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ToState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2776);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2311);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ToState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2776), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2755), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2776/ToState using i=46/HasProperty
// Node: opcua_node_variable_t(i=3750), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3750);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2776);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3750), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2127/AuditUpdateMethodEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2315), AuditUpdateStateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditUpdateStateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2315);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2127);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditUpdateStateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2315/AuditUpdateStateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2777), OldStateId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldStateId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2777);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2315);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldStateId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2777), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2315/AuditUpdateStateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2778), NewStateId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NewStateId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2778);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2315);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NewStateId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2778), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11939), OpenFileMode
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OpenFileMode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11939);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OpenFileMode");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11939/OpenFileMode using i=46/HasProperty
// Node: opcua_node_variable_t(i=11940), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11940_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11940_EnumValueType_0_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11940_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Read");
opcua_node_variable_t_i_11940_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11940_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11940_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11940_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11940_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11940_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11940_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11940_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11940_EnumValueType_1_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_11940_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Write");
opcua_node_variable_t_i_11940_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11940_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11940_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11940_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11940_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11940_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11940_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11940_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11940_EnumValueType_2_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11940_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "EraseExisiting");
opcua_node_variable_t_i_11940_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11940_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11940_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11940_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11940_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11940_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11940_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_2_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11940_EnumValueType_3_0_struct;
opcua_node_variable_t_i_11940_EnumValueType_3_0_struct.Value = (UA_Int64) 8;
opcua_node_variable_t_i_11940_EnumValueType_3_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Append");
opcua_node_variable_t_i_11940_EnumValueType_3_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11940_EnumValueType_3_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11940_EnumValueType_3_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_3_0_struct.Value, &opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_3_0_struct.DisplayName, &opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11940_EnumValueType_3_0_struct.Description, &opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset);
opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body.length = opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_3_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset );
memcpy(opcua_node_variable_t_i_11940_EnumValueType_3_0_newBody, opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body.data, opcua_node_variable_t_i_11940_EnumValueType_3_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11940_EnumValueType_3_0_oldBody = opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body.data;
opcua_node_variable_t_i_11940_EnumValueType_3_0->content.encoded.body.data = opcua_node_variable_t_i_11940_EnumValueType_3_0_newBody;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_3_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11940_variant_DataContents[4];
opcua_node_variable_t_i_11940_variant_DataContents[0] = *opcua_node_variable_t_i_11940_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_0_0);
opcua_node_variable_t_i_11940_variant_DataContents[1] = *opcua_node_variable_t_i_11940_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_1_0);
opcua_node_variable_t_i_11940_variant_DataContents[2] = *opcua_node_variable_t_i_11940_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_2_0);
opcua_node_variable_t_i_11940_variant_DataContents[3] = *opcua_node_variable_t_i_11940_EnumValueType_3_0;
UA_free(opcua_node_variable_t_i_11940_EnumValueType_3_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11940_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11940);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11939);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11940), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2365), DataItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DataItemType");
attr.description = UA_LOCALIZEDTEXT("", "A variable that contains live automation data.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2365);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DataItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2365/DataItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2366), Definition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Definition");
attr.description = UA_LOCALIZEDTEXT("", "A vendor-specific, human readable string that specifies how the value of this DataItem is calculated.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2366);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2365);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Definition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2366), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2365/DataItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2367), ValuePrecision
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ValuePrecision");
attr.description = UA_LOCALIZEDTEXT("", "The maximum precision that the server can maintain for the item based on restrictions in the target environment.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2367);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2365);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ValuePrecision");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2367), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2365/DataItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2368), AnalogItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AnalogItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2368);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2365);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AnalogItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2368/AnalogItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2370), InstrumentRange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InstrumentRange");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2370);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2368);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InstrumentRange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2370), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2368/AnalogItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2369), EURange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EURange");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2369);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2368);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EURange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2369), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2368/AnalogItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2371), EngineeringUnits
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EngineeringUnits");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2371);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2368);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EngineeringUnits");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2371), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2365/DataItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2372), DiscreteItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DiscreteItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2372);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2365);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DiscreteItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2372/DiscreteItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2373), TwoStateDiscreteType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TwoStateDiscreteType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2373);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2372);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TwoStateDiscreteType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2373/TwoStateDiscreteType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2374), FalseState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FalseState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2374);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2373);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FalseState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2374), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2373/TwoStateDiscreteType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2375), TrueState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TrueState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2375);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2373);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TrueState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2375), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2372/DiscreteItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2376), MultiStateDiscreteType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MultiStateDiscreteType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2376);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2372);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MultiStateDiscreteType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2376/MultiStateDiscreteType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2377), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2377);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2376);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2377), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2372/DiscreteItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=11238), MultiStateValueDiscreteType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MultiStateValueDiscreteType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11238);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2372);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MultiStateValueDiscreteType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11238/MultiStateValueDiscreteType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11241), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11241);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11238);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11241), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11238/MultiStateValueDiscreteType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11461), ValueAsText
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ValueAsText");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11461);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11238);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ValueAsText");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11461), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2365/DataItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=12021), ArrayItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ArrayItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2365);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ArrayItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12024), InstrumentRange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InstrumentRange");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12024);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InstrumentRange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12024), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12025), EURange
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EURange");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12025);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EURange");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12025), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12026), EngineeringUnits
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EngineeringUnits");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12026);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EngineeringUnits");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12026), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12027), Title
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Title");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12027);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Title");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12027), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12028), AxisScaleType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AxisScaleType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12028);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AxisScaleType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12028), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=12029), YArrayItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "YArrayItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12029);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "YArrayItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12029/YArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12037), XAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12037);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12029);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12037), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=12038), XYArrayItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XYArrayItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12038);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XYArrayItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12038/XYArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12046), XAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12046);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12038);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12046), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=12047), ImageItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ImageItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12047);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ImageItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12047/ImageItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12055), XAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12055);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12047);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12055), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12047/ImageItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12056), YAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "YAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12056);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12047);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "YAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12056), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=12057), CubeItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CubeItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12057);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CubeItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12057/CubeItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12065), XAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12065);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12057);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12065), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12057/CubeItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12066), YAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "YAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12066);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12057);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "YAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12066), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12057/CubeItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12067), ZAxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ZAxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12067);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12057);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ZAxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12067), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12021/ArrayItemType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=12068), NDimensionArrayItemType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NDimensionArrayItemType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12068);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12021);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NDimensionArrayItemType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12068/NDimensionArrayItemType using i=46/HasProperty
// Node: opcua_node_variable_t(i=12076), AxisDefinition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AxisDefinition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12076);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12068);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AxisDefinition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12076), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2755/StateVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=8995), TwoStateVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TwoStateVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8995);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2755);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TwoStateVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=8995/TwoStateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=8996), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8996);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8995);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8996), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8995/TwoStateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9000), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9000);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8995);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9000), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8995/TwoStateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9001), EffectiveTransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveTransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9001);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8995);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveTransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9001), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8995/TwoStateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11110), TrueState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TrueState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11110);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8995);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TrueState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11110), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8995/TwoStateVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11111), FalseState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FalseState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11111);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8995);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FalseState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11111), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=9002), ConditionVariableType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConditionVariableType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9002);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConditionVariableType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9002/ConditionVariableType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9003), SourceTimestamp
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SourceTimestamp");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9003);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9002);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SourceTimestamp");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9003), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=32/NonHierarchicalReferences using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=9005), HasFalseSubState
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasFalseSubState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9005);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 32);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasFalseSubState");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2041/BaseEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2782), ConditionType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConditionType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2041);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConditionType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=9028), Disable
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Disable");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9028);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Disable");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=9027), Enable
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Enable");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9027);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Enable");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=9029), AddComment
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("","The identifier for the event to comment.");
inputArguments[0].name = UA_STRING("EventId");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 15);
inputArguments[1].description = UA_LOCALIZEDTEXT("","The comment to add to the condition.");
inputArguments[1].name = UA_STRING("Comment");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 21);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddComment");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9029);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddComment");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9029), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9030), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9030), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9029), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=3875), ConditionRefresh
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("","The identifier for the suscription to refresh.");
inputArguments[0].name = UA_STRING("SubscriptionId");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 288);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConditionRefresh");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3875);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConditionRefresh");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3875), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 3876), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3876), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 3875), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11112), ConditionClassId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConditionClassId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11112);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConditionClassId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11112), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11113), ConditionClassName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConditionClassName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11113);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConditionClassName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11113), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9009), ConditionName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConditionName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9009);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConditionName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9009), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9010), BranchId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BranchId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9010);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BranchId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9010), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3874), Retain
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Retain");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3874);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Retain");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3874), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9011), EnabledState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9011);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9011), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9011/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9012), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9012);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9011);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9012), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9011/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9015), EffectiveDisplayName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveDisplayName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9015);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9011);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveDisplayName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9015), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9011/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9016), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9016);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9011);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9016), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9011/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9017), EffectiveTransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveTransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9017);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9011);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveTransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9017), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9020), Quality
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Quality");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9020);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Quality");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9020), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 9002), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9020/Quality using i=46/HasProperty
// Node: opcua_node_variable_t(i=9021), SourceTimestamp
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SourceTimestamp");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9021);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SourceTimestamp");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9021), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9022), LastSeverity
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastSeverity");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9022);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastSeverity");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9022), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 9002), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9022/LastSeverity using i=46/HasProperty
// Node: opcua_node_variable_t(i=9023), SourceTimestamp
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SourceTimestamp");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9023);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9022);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SourceTimestamp");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9023), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9024), Comment
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Comment");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9024);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Comment");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9024), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 9002), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9024/Comment using i=46/HasProperty
// Node: opcua_node_variable_t(i=9025), SourceTimestamp
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SourceTimestamp");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9025);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9024);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SourceTimestamp");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9025), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9026), ClientUserId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ClientUserId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9026);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ClientUserId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9026), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2830), DialogConditionType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DialogConditionType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DialogConditionType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=9069), Respond
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("","The response to the dialog condition.");
inputArguments[0].name = UA_STRING("SelectedResponse");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 6);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Respond");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9069);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Respond");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9069), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9070), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9070), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9069), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9035), EnabledState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9035);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9035), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9035/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9036), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9036);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9035);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9036), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9035/EnabledState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=9055), DialogState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DialogState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9055);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9035);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DialogState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9055), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2830), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9055), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9055/DialogState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9056), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9056);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9055);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9056), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9055/DialogState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9060), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9060);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9055);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9060), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2831), Prompt
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Prompt");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2831);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Prompt");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2831), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9064), ResponseOptionSet
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ResponseOptionSet");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9064);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ResponseOptionSet");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9064), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9065), DefaultResponse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DefaultResponse");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9065);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DefaultResponse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9065), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9066), OkResponse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OkResponse");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9066);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OkResponse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9066), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9067), CancelResponse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CancelResponse");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9067);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CancelResponse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9067), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2830/DialogConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9068), LastResponse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastResponse");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9068);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastResponse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9068), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2782/ConditionType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2881), AcknowledgeableConditionType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AcknowledgeableConditionType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2881);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2782);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AcknowledgeableConditionType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2881/AcknowledgeableConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=9111), Acknowledge
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("","The identifier for the event to comment.");
inputArguments[0].name = UA_STRING("EventId");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 15);
inputArguments[1].description = UA_LOCALIZEDTEXT("","The comment to add to the condition.");
inputArguments[1].name = UA_STRING("Comment");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 21);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Acknowledge");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9111);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2881);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Acknowledge");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9111), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9112), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9112), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9111), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2881/AcknowledgeableConditionType using i=47/HasComponent
// Node: opcua_node_method_t(i=9113), Confirm
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 2);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<2; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("","The identifier for the event to comment.");
inputArguments[0].name = UA_STRING("EventId");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 15);
inputArguments[1].description = UA_LOCALIZEDTEXT("","The comment to add to the condition.");
inputArguments[1].name = UA_STRING("Comment");
inputArguments[1].valueRank = -1;
inputArguments[1].dataType = UA_NODEID_NUMERIC(0, 21);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Confirm");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9113);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2881);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Confirm");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 2, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9113), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9114), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9114), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 9113), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2881/AcknowledgeableConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9073), EnabledState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9073);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2881);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9073), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9073/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9074), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9074);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9073);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9074), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9073/EnabledState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=9093), AckedState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AckedState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9093);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9073);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AckedState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9093), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2881), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9093), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9093/AckedState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9094), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9094);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9093);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9094), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9093/AckedState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9098), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9098);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9093);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9098), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9073/EnabledState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=9102), ConfirmedState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ConfirmedState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9102);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9073);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ConfirmedState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9102), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2881), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9102), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9102/ConfirmedState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9103), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9103);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9102);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9103), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9102/ConfirmedState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9107), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9107);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9102);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9107), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_method_t(i=9211), Unshelve
UA_MethodNode *opcua_node_method_t_i_9211 = UA_NodeStore_newMethodNode();
opcua_node_method_t_i_9211->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Unshelve");
opcua_node_method_t_i_9211->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Unshelve");
opcua_node_method_t_i_9211->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_method_t_i_9211->nodeId.identifier.numeric = 9211;
opcua_node_method_t_i_9211->executable = true;
opcua_node_method_t_i_9211->userExecutable = true;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_method_t_i_9211);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_method_t(i=9212), OneShotShelve
UA_MethodNode *opcua_node_method_t_i_9212 = UA_NodeStore_newMethodNode();
opcua_node_method_t_i_9212->browseName = UA_QUALIFIEDNAME_ALLOC(0, "OneShotShelve");
opcua_node_method_t_i_9212->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "OneShotShelve");
opcua_node_method_t_i_9212->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_method_t_i_9212->nodeId.identifier.numeric = 9212;
opcua_node_method_t_i_9212->executable = true;
opcua_node_method_t_i_9212->userExecutable = true;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_method_t_i_9212);
UA_RCU_UNLOCK();
} while(0);

do {
// Node: opcua_node_method_t(i=9213), TimedShelve
UA_MethodNode *opcua_node_method_t_i_9213 = UA_NodeStore_newMethodNode();
opcua_node_method_t_i_9213->browseName = UA_QUALIFIEDNAME_ALLOC(0, "TimedShelve");
opcua_node_method_t_i_9213->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "TimedShelve");
opcua_node_method_t_i_9213->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_method_t_i_9213->nodeId.identifier.numeric = 9213;
opcua_node_method_t_i_9213->executable = true;
opcua_node_method_t_i_9213->userExecutable = true;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_method_t_i_9213);
UA_RCU_UNLOCK();
} while(0);

do {
// Referencing node found and declared as parent: i=9213/TimedShelve using i=46/HasProperty
// Node: opcua_node_variable_t(i=9214), InputArguments
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InputArguments");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_String Name;
  UA_NodeId DataType;
  UA_Int32 ValueRank;
  UA_Int32 ArrayDimensionsSize;
  UA_UInt32 *ArrayDimensions;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_9214_Argument_0_0_struct;
opcua_node_variable_t_i_9214_Argument_0_0_struct.Name = UA_STRING_ALLOC("ShelvingTime");
opcua_node_variable_t_i_9214_Argument_0_0_struct.DataType = UA_NODEID_NUMERIC(0, 290);
opcua_node_variable_t_i_9214_Argument_0_0_struct.ValueRank = (UA_Int32) -1;
opcua_node_variable_t_i_9214_Argument_0_0_struct.ArrayDimensionsSize = 1;
opcua_node_variable_t_i_9214_Argument_0_0_struct.ArrayDimensions = (UA_UInt32 *) UA_malloc(sizeof(UA_UInt32));
opcua_node_variable_t_i_9214_Argument_0_0_struct.ArrayDimensions[0]  = (UA_UInt32) 0;
opcua_node_variable_t_i_9214_Argument_0_0_struct.Description = UA_LOCALIZEDTEXT("", "If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved.");
UA_ExtensionObject *opcua_node_variable_t_i_9214_Argument_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_9214_Argument_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 296+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_9214_Argument_0_0_encOffset = 0;
UA_String_encodeBinary(&opcua_node_variable_t_i_9214_Argument_0_0_struct.Name, &opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body, &opcua_node_variable_t_i_9214_Argument_0_0_encOffset);
UA_NodeId_encodeBinary(&opcua_node_variable_t_i_9214_Argument_0_0_struct.DataType, &opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body, &opcua_node_variable_t_i_9214_Argument_0_0_encOffset);
UA_Int32_encodeBinary(&opcua_node_variable_t_i_9214_Argument_0_0_struct.ValueRank, &opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body, &opcua_node_variable_t_i_9214_Argument_0_0_encOffset);
UA_UInt32_encodeBinary(&opcua_node_variable_t_i_9214_Argument_0_0_struct.ArrayDimensions[0], &opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body, &opcua_node_variable_t_i_9214_Argument_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_9214_Argument_0_0_struct.Description, &opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body, &opcua_node_variable_t_i_9214_Argument_0_0_encOffset);
opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body.length = opcua_node_variable_t_i_9214_Argument_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_9214_Argument_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_9214_Argument_0_0_encOffset );
memcpy(opcua_node_variable_t_i_9214_Argument_0_0_newBody, opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body.data, opcua_node_variable_t_i_9214_Argument_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_9214_Argument_0_0_oldBody = opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body.data;
opcua_node_variable_t_i_9214_Argument_0_0->content.encoded.body.data = opcua_node_variable_t_i_9214_Argument_0_0_newBody;
UA_free(opcua_node_variable_t_i_9214_Argument_0_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_9214_variant_DataContents[1];
opcua_node_variable_t_i_9214_variant_DataContents[0] = *opcua_node_variable_t_i_9214_Argument_0_0;
UA_free(opcua_node_variable_t_i_9214_Argument_0_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_9214_variant_DataContents, (UA_Int32) 1, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9214);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9213);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InputArguments");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9214), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2771/FiniteStateMachineType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2929), ShelvedStateMachineType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ShelvedStateMachineType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2771);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ShelvedStateMachineType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9115), UnshelveTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnshelveTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9115);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnshelveTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9115), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2935), UnshelvedToTimedShelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnshelvedToTimedShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2935);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnshelvedToTimedShelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2935), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2935/UnshelvedToTimedShelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=11322), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11322);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2935);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11322), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2936), UnshelvedToOneShotShelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnshelvedToOneShotShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2936);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnshelvedToOneShotShelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2936), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2936/UnshelvedToOneShotShelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=11323), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11323);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2936);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11323), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2940), TimedShelvedToUnshelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimedShelvedToUnshelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2940);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimedShelvedToUnshelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2940), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2940/TimedShelvedToUnshelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=11324), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11324);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2940);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11324), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2942), TimedShelvedToOneShotShelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimedShelvedToOneShotShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2942);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimedShelvedToOneShotShelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2942), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2936/UnshelvedToOneShotShelved using i=53/HasCause
// Node: opcua_node_method_t(i=2948), OneShotShelve
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OneShotShelve");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2948);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2936);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OneShotShelve");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2948), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2942), false);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2929), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2948), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2942), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2948), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2942/TimedShelvedToOneShotShelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=11325), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11325);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2942);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11325), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2943), OneShotShelvedToUnshelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OneShotShelvedToUnshelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2943);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OneShotShelvedToUnshelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2943), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2940/TimedShelvedToUnshelved using i=53/HasCause
// Node: opcua_node_method_t(i=2947), Unshelve
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Unshelve");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2947);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2940);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Unshelve");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2947), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2943), false);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2929), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2947), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2943), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2947), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2935/UnshelvedToTimedShelved using i=51/FromState
// Node: opcua_node_object_t(i=2930), Unshelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Unshelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2930);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2935);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 51);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Unshelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2930), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2936), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2930), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2940), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2930), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2943), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2930), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2929), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2930), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2936), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2930), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2940), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2930), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2943), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2930), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2930/Unshelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=6098), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 6098);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2930);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 6098), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2943/OneShotShelvedToUnshelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=11326), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11326);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2943);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11326), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2929/ShelvedStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2945), OneShotShelvedToTimedShelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OneShotShelvedToTimedShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2945);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2929);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OneShotShelvedToTimedShelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2945), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2935/UnshelvedToTimedShelved using i=53/HasCause
// Node: opcua_node_method_t(i=2949), TimedShelve
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;

inputArguments = (UA_Argument *) malloc(sizeof(UA_Argument) * 1);
int inputArgumentCnt;
for (inputArgumentCnt=0; inputArgumentCnt<1; inputArgumentCnt++) UA_Argument_init(&inputArguments[inputArgumentCnt]); 
inputArguments[0].description = UA_LOCALIZEDTEXT("","If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved.");
inputArguments[0].name = UA_STRING("ShelvingTime");
inputArguments[0].valueRank = -1;
inputArguments[0].dataType = UA_NODEID_NUMERIC(0, 290);
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimedShelve");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2949);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2935);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimedShelve");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 1, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2949), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 2991), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2949), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2945), false);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2929), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2949), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2945), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2949), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2991), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(0, 2949), false);
} while(0);

do {
// Referencing node found and declared as parent: i=2881/AcknowledgeableConditionType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2915), AlarmConditionType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AlarmConditionType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2881);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AlarmConditionType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2935), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2915), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2936), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2915), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2940), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2915), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2942), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2915), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2943), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2915), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2945), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2915), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2915/AlarmConditionType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9118), EnabledState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnabledState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9118);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnabledState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9118), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9118/EnabledState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9119), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9119);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9118);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9119), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9118/EnabledState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=9160), ActiveState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActiveState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9160);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9118);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActiveState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9160), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2915), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9160), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9160/ActiveState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9161), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9161);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9160);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9161), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9160/ActiveState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9164), EffectiveDisplayName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveDisplayName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9164);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9160);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveDisplayName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9164), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9160/ActiveState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9165), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9165);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9160);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9165), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9160/ActiveState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9166), EffectiveTransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EffectiveTransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9166);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9160);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EffectiveTransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9166), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2915/AlarmConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11120), InputNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InputNode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11120);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InputNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11120), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9118/EnabledState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=9169), SuppressedState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SuppressedState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9169);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9118);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SuppressedState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9169), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2915), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9169), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9169/SuppressedState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9170), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9170);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9169);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9170), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9169/SuppressedState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9174), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9174);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9169);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9174), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9118/EnabledState using i=9004/HasTrueSubState
// Node: opcua_node_object_t(i=9178), ShelvingState
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ShelvingState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9178);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9118);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ShelvingState");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9178), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9211), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9178), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9212), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9178), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9213), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9178), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2929), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9211), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9178), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9212), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9178), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9213), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9178), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2915), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9178), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9178/ShelvingState using i=47/HasComponent
// Node: opcua_node_variable_t(i=9179), CurrentState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9179);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9178);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9179), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2760), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9179/CurrentState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9180), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9180);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9179);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9180), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9178/ShelvingState using i=47/HasComponent
// Node: opcua_node_variable_t(i=9184), LastTransition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9184);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9178);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9184), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2767), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9184/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=9185), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9185);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9184);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9185), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9184/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=9188), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9188);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9184);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9188), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9178/ShelvingState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9189), UnshelveTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UnshelveTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9189);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9178);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UnshelveTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9189), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2915/AlarmConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9215), SuppressedOrShelved
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SuppressedOrShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9215);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SuppressedOrShelved");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9215), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2915/AlarmConditionType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9216), MaxTimeShelved
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxTimeShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9216);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxTimeShelved");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9216), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2935/UnshelvedToTimedShelved using i=52/ToState
// Node: opcua_node_object_t(i=2932), TimedShelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimedShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2932);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2935);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimedShelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2932), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2940), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2932), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2942), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2932), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2945), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2932), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2929), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2932), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2940), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2932), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2942), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2932), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2945), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2932), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2932/TimedShelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=6100), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 6100);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2932);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 6100), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2936/UnshelvedToOneShotShelved using i=52/ToState
// Node: opcua_node_object_t(i=2933), OneShotShelved
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OneShotShelved");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2933);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2936);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OneShotShelved");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2933), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2942), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2933), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2943), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2933), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2945), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2933), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2929), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2933), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2942), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2933), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2943), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2933), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2945), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2933), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2933/OneShotShelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=6101), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 6101);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2933);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 6101), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2945/OneShotShelvedToTimedShelved using i=46/HasProperty
// Node: opcua_node_variable_t(i=11327), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11327);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2945);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11327), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2915/AlarmConditionType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2955), LimitAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LimitAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LimitAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2955/LimitAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11124), HighHighLimit
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighHighLimit");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11124);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighHighLimit");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11124), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2955/LimitAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11125), HighLimit
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighLimit");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11125);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighLimit");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11125), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2955/LimitAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11126), LowLimit
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowLimit");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11126);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowLimit");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11126), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2955/LimitAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11127), LowLowLimit
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowLowLimit");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11127);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowLowLimit");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11127), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2771/FiniteStateMachineType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=9318), ExclusiveLimitStateMachineType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExclusiveLimitStateMachineType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9318);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2771);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExclusiveLimitStateMachineType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9318/ExclusiveLimitStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=9337), LowLowToLow
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowLowToLow");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9337);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowLowToLow");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9337), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9337/LowLowToLow using i=46/HasProperty
// Node: opcua_node_variable_t(i=11340), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11340);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9337);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11340), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9318/ExclusiveLimitStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=9338), LowToLowLow
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowToLowLow");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9338);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowToLowLow");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9338), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9337/LowLowToLow using i=52/ToState
// Node: opcua_node_object_t(i=9333), Low
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Low");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9333);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9337);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Low");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9333), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 9338), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9333), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9318), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9333), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9338), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 9333), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9333/Low using i=46/HasProperty
// Node: opcua_node_variable_t(i=9334), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9334);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9333);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9334), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9337/LowLowToLow using i=51/FromState
// Node: opcua_node_object_t(i=9335), LowLow
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowLow");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9335);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9337);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 51);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowLow");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9335), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 9338), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9335), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9318), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9335), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9338), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 9335), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9335/LowLow using i=46/HasProperty
// Node: opcua_node_variable_t(i=9336), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9336);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9335);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9336), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9338/LowToLowLow using i=46/HasProperty
// Node: opcua_node_variable_t(i=11341), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11341);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9338);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11341), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9318/ExclusiveLimitStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=9339), HighHighToHigh
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighHighToHigh");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9339);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighHighToHigh");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9339), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9339/HighHighToHigh using i=46/HasProperty
// Node: opcua_node_variable_t(i=11342), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11342);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9339);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11342), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9318/ExclusiveLimitStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=9340), HighToHighHigh
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighToHighHigh");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9340);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighToHighHigh");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9340), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9339/HighHighToHigh using i=51/FromState
// Node: opcua_node_object_t(i=9329), HighHigh
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighHigh");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9329);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9339);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 51);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighHigh");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9329), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 9340), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9329), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9318), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9329), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9340), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 9329), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9329/HighHigh using i=46/HasProperty
// Node: opcua_node_variable_t(i=9330), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9330);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9329);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9330), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9339/HighHighToHigh using i=52/ToState
// Node: opcua_node_object_t(i=9331), High
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "High");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9331);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9339);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "High");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9331), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 9340), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9331), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9318), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9331), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9340), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 9331), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9331/High using i=46/HasProperty
// Node: opcua_node_variable_t(i=9332), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9332);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9331);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9332), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9340/HighToHighHigh using i=46/HasProperty
// Node: opcua_node_variable_t(i=11343), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11343);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9340);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11343), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2955/LimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=9341), ExclusiveLimitAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExclusiveLimitAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9341);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExclusiveLimitAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9341/ExclusiveLimitAlarmType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9398), ActiveState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActiveState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9398);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9341);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActiveState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9398), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9398/ActiveState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9399), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9399);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9398);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9399), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9398/ActiveState using i=9004/HasTrueSubState
// Node: opcua_node_object_t(i=9455), LimitState
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LimitState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9455);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9398);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LimitState");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9455), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 9318), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9341), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 9455), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9455/LimitState using i=47/HasComponent
// Node: opcua_node_variable_t(i=9456), CurrentState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9456);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9455);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9456), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2760), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9456/CurrentState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9457), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9457);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9456);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9457), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9455/LimitState using i=47/HasComponent
// Node: opcua_node_variable_t(i=9461), LastTransition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9461);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9455);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9461), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2767), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9461/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=9462), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9462);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9461);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9462), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9461/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=9465), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9465);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9461);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9465), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2955/LimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=9906), NonExclusiveLimitAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonExclusiveLimitAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9906);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2955);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonExclusiveLimitAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9906/NonExclusiveLimitAlarmType using i=47/HasComponent
// Node: opcua_node_variable_t(i=9963), ActiveState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ActiveState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9963);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9906);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ActiveState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9963), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9963/ActiveState using i=46/HasProperty
// Node: opcua_node_variable_t(i=9964), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9964);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9963);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9964), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9963/ActiveState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=10020), HighHighState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighHighState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10020);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9963);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighHighState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10020), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9906), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 10020), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10020/HighHighState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10021), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10021);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10021), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10020/HighHighState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10025), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10025);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10020);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10025), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9963/ActiveState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=10029), HighState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HighState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10029);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9963);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HighState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10029), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9906), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 10029), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10029/HighState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10030), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10030);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10029);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10030), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10029/HighState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10034), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10034);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10029);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10034), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9963/ActiveState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=10038), LowState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10038);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9963);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10038), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9906), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 10038), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10038/LowState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10039), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10039);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10038);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10039), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10038/LowState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10043), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10043);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10038);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10043), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9963/ActiveState using i=9004/HasTrueSubState
// Node: opcua_node_variable_t(i=10047), LowLowState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LowLowState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10047);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9963);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 9004);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LowLowState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10047), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8995), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9906), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 10047), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10047/LowLowState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10048), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10048);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10047);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10048), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10047/LowLowState using i=46/HasProperty
// Node: opcua_node_variable_t(i=10052), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10052);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10047);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10052), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9906/NonExclusiveLimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=10060), NonExclusiveLevelAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonExclusiveLevelAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10060);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9906);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonExclusiveLevelAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9341/ExclusiveLimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=9482), ExclusiveLevelAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExclusiveLevelAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9482);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9341);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExclusiveLevelAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9906/NonExclusiveLimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=10368), NonExclusiveDeviationAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonExclusiveDeviationAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10368);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9906);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonExclusiveDeviationAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=10368/NonExclusiveDeviationAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=10522), SetpointNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetpointNode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10522);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10368);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetpointNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10522), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9341/ExclusiveLimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=9764), ExclusiveDeviationAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExclusiveDeviationAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9764);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9341);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExclusiveDeviationAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9764/ExclusiveDeviationAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=9905), SetpointNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SetpointNode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9905);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9764);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SetpointNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9905), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=9906/NonExclusiveLimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=10214), NonExclusiveRateOfChangeAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NonExclusiveRateOfChangeAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10214);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9906);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NonExclusiveRateOfChangeAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=9341/ExclusiveLimitAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=9623), ExclusiveRateOfChangeAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExclusiveRateOfChangeAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9623);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 9341);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExclusiveRateOfChangeAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2915/AlarmConditionType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=10523), DiscreteAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DiscreteAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10523);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2915);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DiscreteAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=10523/DiscreteAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=10637), OffNormalAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OffNormalAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10637);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10523);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OffNormalAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=10637/OffNormalAlarmType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11158), NormalState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NormalState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11158);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10637);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NormalState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11158), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=10637/OffNormalAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11753), SystemOffNormalAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SystemOffNormalAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11753);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10637);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SystemOffNormalAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=10637/OffNormalAlarmType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=10751), TripAlarmType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TripAlarmType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 10751);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 10637);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TripAlarmType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11163), BaseConditionClassType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BaseConditionClassType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11163);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BaseConditionClassType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11163/BaseConditionClassType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11164), ProcessConditionClassType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProcessConditionClassType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11164);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11163);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProcessConditionClassType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11163/BaseConditionClassType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11165), MaintenanceConditionClassType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaintenanceConditionClassType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11165);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11163);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaintenanceConditionClassType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11163/BaseConditionClassType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11166), SystemConditionClassType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SystemConditionClassType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11166);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11163);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SystemConditionClassType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2127/AuditUpdateMethodEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2790), AuditConditionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2127);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2790/AuditConditionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2803), AuditConditionEnableEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionEnableEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2803);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionEnableEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9028), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 2803), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9027), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 2803), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2790/AuditConditionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2829), AuditConditionCommentEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionCommentEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2829);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionCommentEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9029), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 2829), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2829/AuditConditionCommentEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=4170), EventId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventId");
attr.description = UA_LOCALIZEDTEXT("", "A globally unique identifier for the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 4170);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2829);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 4170), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2829/AuditConditionCommentEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11851), Comment
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Comment");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11851);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2829);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Comment");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11851), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2790/AuditConditionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=8927), AuditConditionRespondEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionRespondEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8927);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionRespondEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9069), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 8927), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8927/AuditConditionRespondEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11852), SelectedResponse
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SelectedResponse");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11852);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8927);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SelectedResponse");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11852), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2790/AuditConditionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=8944), AuditConditionAcknowledgeEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionAcknowledgeEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8944);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionAcknowledgeEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9111), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 8944), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8944/AuditConditionAcknowledgeEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=8945), EventId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventId");
attr.description = UA_LOCALIZEDTEXT("", "A globally unique identifier for the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8945);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8944);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8945), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8944/AuditConditionAcknowledgeEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11853), Comment
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Comment");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11853);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8944);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Comment");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11853), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2790/AuditConditionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=8961), AuditConditionConfirmEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionConfirmEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8961);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionConfirmEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9113), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 8961), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8961/AuditConditionConfirmEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=8962), EventId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventId");
attr.description = UA_LOCALIZEDTEXT("", "A globally unique identifier for the event.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8962);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8961);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8962), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8961/AuditConditionConfirmEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11854), Comment
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Comment");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11854);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8961);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Comment");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11854), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2790/AuditConditionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11093), AuditConditionShelvingEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditConditionShelvingEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11093);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2790);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditConditionShelvingEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9211), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 11093), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9212), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 11093), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9213), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 11093), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2948), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 11093), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2947), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 11093), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2949), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 11093), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11093/AuditConditionShelvingEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11855), ShelvingTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ShelvingTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11855);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11093);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ShelvingTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11855), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2130/SystemEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2787), RefreshStartEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RefreshStartEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2787);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2130);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RefreshStartEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3875), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 2787), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2130/SystemEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2788), RefreshEndEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RefreshEndEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2788);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2130);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RefreshEndEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3875), UA_NODEID_NUMERIC(0, 3065), UA_EXPANDEDNODEID_NUMERIC(0, 2788), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2130/SystemEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2789), RefreshRequiredEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RefreshRequiredEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2789);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2130);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RefreshRequiredEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=32/NonHierarchicalReferences using i=45/HasSubtype
// Node: opcua_node_referenceType_t(i=9006), HasCondition
UA_ReferenceTypeAttributes attr;
UA_ReferenceTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HasCondition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 9006);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 32);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HasCondition");
UA_Server_addReferenceTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2771/FiniteStateMachineType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2391), ProgramStateMachineType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramStateMachineType");
attr.description = UA_LOCALIZEDTEXT("", "A state machine for a program.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2771);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramStateMachineType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3830), CurrentState
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CurrentState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3830);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CurrentState");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3830), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2760), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3830/CurrentState using i=46/HasProperty
// Node: opcua_node_variable_t(i=3831), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3831);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3831), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3830/CurrentState using i=46/HasProperty
// Node: opcua_node_variable_t(i=3833), Number
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Number");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3833);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3830);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Number");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3833), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3835), LastTransition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3835);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3835), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2767), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3835/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3836), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3836);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3835);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3836), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3835/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3838), Number
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Number");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3838);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3835);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Number");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3838), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3835/LastTransition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3839), TransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3839);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3835);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3839), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2392), Creatable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Creatable");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2392);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Creatable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2392), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2393), Deletable
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Deletable");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2393);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Deletable");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2393), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2394), AutoDelete
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AutoDelete");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2394);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AutoDelete");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2394), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=79), MandatoryShared
UA_ObjectNode *opcua_node_object_t_i_79 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_79->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MandatoryShared");
opcua_node_object_t_i_79->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MandatoryShared");
opcua_node_object_t_i_79->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Specifies that a reference to a shared instance must appear in when a type is instantiated.");
opcua_node_object_t_i_79->nodeId.identifier.numeric = 79;
opcua_node_object_t_i_79->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_79);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 79), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 77), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2394), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 79), true);
} while(0);

do {
// Referencing node found and declared as parent: i=79/MandatoryShared using i=46/HasProperty
// Node: opcua_node_variable_t(i=116), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_116_variant_DataContents = (UA_Int32) 1;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_116_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_116_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 116);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 79);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 116), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2395), RecycleCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RecycleCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2395);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RecycleCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2395), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2396), InstanceCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InstanceCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2396);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InstanceCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2396), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2397), MaxInstanceCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxInstanceCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2397);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxInstanceCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2397), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2398), MaxRecycleCount
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxRecycleCount");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2398);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxRecycleCount");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2398), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_variable_t(i=2399), ProgramDiagnostics
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramDiagnostics");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramDiagnostics");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3840), CreateSessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateSessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3840);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateSessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3840), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3841), CreateClientName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateClientName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3841);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateClientName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3841), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3842), InvocationCreationTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InvocationCreationTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3842);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InvocationCreationTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3842), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3843), LastTransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3843);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3843), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3844), LastMethodCall
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodCall");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3844);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodCall");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3844), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3845), LastMethodSessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodSessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3845);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodSessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3845), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3846), LastMethodInputArguments
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodInputArguments");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3846);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodInputArguments");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3846), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3847), LastMethodOutputArguments
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodOutputArguments");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3847);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodOutputArguments");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3847), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3848), LastMethodCallTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodCallTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3848);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodCallTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3848), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2399/ProgramDiagnostics using i=46/HasProperty
// Node: opcua_node_variable_t(i=3849), LastMethodReturnStatus
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodReturnStatus");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3849);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodReturnStatus");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3849), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=3850), FinalResultData
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FinalResultData");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3850);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FinalResultData");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3850), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2408), HaltedToReady
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HaltedToReady");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2408);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HaltedToReady");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2408), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2408/HaltedToReady using i=53/HasCause
// Node: opcua_node_method_t(i=2430), Reset
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Reset");
attr.description = UA_LOCALIZEDTEXT("", "Causes the Program to transition from the Halted state to the Ready state.");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2430);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2408);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Reset");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2430), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2408/HaltedToReady using i=46/HasProperty
// Node: opcua_node_variable_t(i=2409), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2409_variant_DataContents = (UA_UInt32) 1;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2409_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2409_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2409);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2408);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2409), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2410), ReadyToRunning
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReadyToRunning");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2410);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReadyToRunning");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2410), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2410/ReadyToRunning using i=53/HasCause
// Node: opcua_node_method_t(i=2426), Start
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Start");
attr.description = UA_LOCALIZEDTEXT("", "Causes the Program to transition from the Ready state to the Running state.");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2426);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2410);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Start");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2426), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2410/ReadyToRunning using i=46/HasProperty
// Node: opcua_node_variable_t(i=2411), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2411_variant_DataContents = (UA_UInt32) 2;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2411_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2411_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2411);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2410);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2411), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2412), RunningToHalted
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RunningToHalted");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2412);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RunningToHalted");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2412), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2412/RunningToHalted using i=46/HasProperty
// Node: opcua_node_variable_t(i=2413), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2413_variant_DataContents = (UA_UInt32) 3;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2413_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2413_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2413);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2412);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2413), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2414), RunningToReady
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RunningToReady");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2414);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RunningToReady");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2414), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2414/RunningToReady using i=46/HasProperty
// Node: opcua_node_variable_t(i=2415), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2415_variant_DataContents = (UA_UInt32) 4;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2415_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2415_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2415);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2414);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2415), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2416), RunningToSuspended
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RunningToSuspended");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2416);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RunningToSuspended");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2416), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2416/RunningToSuspended using i=53/HasCause
// Node: opcua_node_method_t(i=2427), Suspend
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Suspend");
attr.description = UA_LOCALIZEDTEXT("", "Causes the Program to transition from the Running state to the Suspended state.");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2427);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2416);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Suspend");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2427), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2416/RunningToSuspended using i=46/HasProperty
// Node: opcua_node_variable_t(i=2417), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2417_variant_DataContents = (UA_UInt32) 5;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2417_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2417_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2417);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2416);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2417), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2418), SuspendedToRunning
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SuspendedToRunning");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2418);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SuspendedToRunning");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2418), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2418/SuspendedToRunning using i=53/HasCause
// Node: opcua_node_method_t(i=2428), Resume
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Resume");
attr.description = UA_LOCALIZEDTEXT("", "Causes the Program to transition from the Suspended state to the Running state.");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2428);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2418);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Resume");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2428), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2410/ReadyToRunning using i=52/ToState
// Node: opcua_node_object_t(i=2402), Running
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Running");
attr.description = UA_LOCALIZEDTEXT("", "The Program is executing making progress towards completion.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2402);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2410);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Running");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2402), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2412), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2402), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2414), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2402), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2416), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2402), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2418), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2402), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2402), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2412), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2402), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2414), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2402), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2416), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2402), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2418), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2402), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2402/Running using i=46/HasProperty
// Node: opcua_node_variable_t(i=2403), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2403_variant_DataContents = (UA_UInt32) 2;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2403_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2403_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2403);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2402);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2403), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2418/SuspendedToRunning using i=46/HasProperty
// Node: opcua_node_variable_t(i=2419), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2419_variant_DataContents = (UA_UInt32) 6;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2419_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2419_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2419);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2418);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2419), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2420), SuspendedToHalted
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SuspendedToHalted");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2420);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SuspendedToHalted");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2420), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2420/SuspendedToHalted using i=46/HasProperty
// Node: opcua_node_variable_t(i=2421), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2421_variant_DataContents = (UA_UInt32) 7;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2421_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2421_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2421);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2420);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2421), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2422), SuspendedToReady
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SuspendedToReady");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2422);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SuspendedToReady");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2422), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2416/RunningToSuspended using i=52/ToState
// Node: opcua_node_object_t(i=2404), Suspended
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Suspended");
attr.description = UA_LOCALIZEDTEXT("", "The Program has been stopped prior to reaching a terminal state but may be resumed.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2404);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2416);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Suspended");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2404), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2418), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2404), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2420), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2404), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2422), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2404), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2404), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2418), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2404), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2420), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2404), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2422), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2404), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2404/Suspended using i=46/HasProperty
// Node: opcua_node_variable_t(i=2405), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2405_variant_DataContents = (UA_UInt32) 3;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2405_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2405_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2405);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2404);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2405), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2422/SuspendedToReady using i=46/HasProperty
// Node: opcua_node_variable_t(i=2423), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2423_variant_DataContents = (UA_UInt32) 8;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2423_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2423_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2423);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2422);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2423), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2391/ProgramStateMachineType using i=47/HasComponent
// Node: opcua_node_object_t(i=2424), ReadyToHalted
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReadyToHalted");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2424);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2391);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReadyToHalted");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2424), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2310), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2412/RunningToHalted using i=53/HasCause
// Node: opcua_node_method_t(i=2429), Halt
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Halt");
attr.description = UA_LOCALIZEDTEXT("", "Causes the Program to transition from the Ready, Running or Suspended state to the Halted state.");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2429);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2412);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 53);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Halt");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2429), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2420), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2429), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2424), false);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2429), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2420), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2429), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2424), UA_NODEID_NUMERIC(0, 53), UA_EXPANDEDNODEID_NUMERIC(0, 2429), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2408/HaltedToReady using i=52/ToState
// Node: opcua_node_object_t(i=2400), Ready
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Ready");
attr.description = UA_LOCALIZEDTEXT("", "The Program is properly initialized and may be started.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2400);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2408);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 52);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Ready");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2400), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2410), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2400), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2414), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2400), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2422), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2400), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2424), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2400), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2400), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2410), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2400), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2414), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2400), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2422), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2400), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2424), UA_NODEID_NUMERIC(0, 51), UA_EXPANDEDNODEID_NUMERIC(0, 2400), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2400/Ready using i=46/HasProperty
// Node: opcua_node_variable_t(i=2401), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2401_variant_DataContents = (UA_UInt32) 1;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2401_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2401_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2401);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2400);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2401), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2408/HaltedToReady using i=51/FromState
// Node: opcua_node_object_t(i=2406), Halted
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Halted");
attr.description = UA_LOCALIZEDTEXT("", "The Program is in a terminal or failed state, and it cannot be started or resumed without being reset.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2406);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2408);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 51);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Halted");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2406), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2412), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2406), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2420), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2406), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2424), false);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2406), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2307), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2391), UA_NODEID_NUMERIC(0, 47), UA_EXPANDEDNODEID_NUMERIC(0, 2406), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2412), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2406), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2420), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2406), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2424), UA_NODEID_NUMERIC(0, 52), UA_EXPANDEDNODEID_NUMERIC(0, 2406), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2406/Halted using i=46/HasProperty
// Node: opcua_node_variable_t(i=2407), StateNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StateNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2407_variant_DataContents = (UA_UInt32) 4;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2407_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2407_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2407);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2406);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StateNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2407), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2424/ReadyToHalted using i=46/HasProperty
// Node: opcua_node_variable_t(i=2425), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_i_2425_variant_DataContents = (UA_UInt32) 9;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_2425_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_i_2425_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2425);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2424);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2425), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2311/TransitionEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2378), ProgramTransitionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramTransitionEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2378);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2311);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramTransitionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2408), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2410), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2412), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2414), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2416), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2418), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2420), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2422), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2424), UA_NODEID_NUMERIC(0, 54), UA_EXPANDEDNODEID_NUMERIC(0, 2378), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2378/ProgramTransitionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2379), IntermediateResult
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IntermediateResult");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2379);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2378);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IntermediateResult");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2379), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2315/AuditUpdateStateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11856), AuditProgramTransitionEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditProgramTransitionEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11856);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2315);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditProgramTransitionEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11856/AuditProgramTransitionEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11875), TransitionNumber
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TransitionNumber");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11875);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11856);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TransitionNumber");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11875), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2315/AuditUpdateStateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3806), ProgramTransitionAuditEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramTransitionAuditEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3806);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2315);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramTransitionAuditEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3806/ProgramTransitionAuditEventType using i=47/HasComponent
// Node: opcua_node_variable_t(i=3825), Transition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Transition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3825);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3806);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Transition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3825), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2767), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3825/Transition using i=46/HasProperty
// Node: opcua_node_variable_t(i=3826), Id
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Id");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3826);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3825);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Id");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3826), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=63/BaseDataVariableType using i=45/HasSubtype
// Node: opcua_node_variableType_t(i=2380), ProgramDiagnosticType
UA_VariableTypeAttributes attr;
UA_VariableTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramDiagnosticType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 63);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramDiagnosticType");
UA_Server_addVariableTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2399), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2380), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2381), CreateSessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateSessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2381);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateSessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2381), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2382), CreateClientName
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CreateClientName");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2382);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CreateClientName");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2382), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2383), InvocationCreationTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InvocationCreationTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2383);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InvocationCreationTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2383), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2384), LastTransitionTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastTransitionTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2384);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastTransitionTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2384), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2385), LastMethodCall
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodCall");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2385);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodCall");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2385), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2386), LastMethodSessionId
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodSessionId");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2386);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodSessionId");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2386), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2387), LastMethodInputArguments
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodInputArguments");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2387);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodInputArguments");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2387), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2388), LastMethodOutputArguments
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodOutputArguments");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2388);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodOutputArguments");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2388), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2389), LastMethodCallTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodCallTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2389);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodCallTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2389), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2380/ProgramDiagnosticType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2390), LastMethodReturnStatus
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LastMethodReturnStatus");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2390);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2380);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LastMethodReturnStatus");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2390), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11214_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11214_variant);
// Node: opcua_node_variable_t(i=11214), Annotations
UA_VariableNode *opcua_node_variable_t_i_11214 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11214->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Annotations");
opcua_node_variable_t_i_11214->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Annotations");
opcua_node_variable_t_i_11214->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_variable_t_i_11214->nodeId.identifier.numeric = 11214;
opcua_node_variable_t_i_11214->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11214->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11214->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11214->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_11214->value.variant.value = *opcua_node_variable_t_i_11214_variant;
opcua_node_variable_t_i_11214->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11214);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11214), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2318), HistoricalDataConfigurationType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoricalDataConfigurationType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoricalDataConfigurationType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=47/HasComponent
// Node: opcua_node_object_t(i=3059), AggregateConfiguration
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3059);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateConfiguration");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3059/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11168), TreatUncertainAsBad
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TreatUncertainAsBad");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11168);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3059);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TreatUncertainAsBad");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11168), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3059/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11169), PercentDataBad
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PercentDataBad");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11169);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3059);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PercentDataBad");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11169), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3059/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11170), PercentDataGood
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PercentDataGood");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11170);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3059);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PercentDataGood");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11170), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3059/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11171), UseSlopedExtrapolation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UseSlopedExtrapolation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11171);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3059);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UseSlopedExtrapolation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11171), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=47/HasComponent
// Node: opcua_node_object_t(i=11876), AggregateFunctions
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctions");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11876);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctions");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11876), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2323), Stepped
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Stepped");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2323);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Stepped");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2323), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2324), Definition
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Definition");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2324);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Definition");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2324), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2325), MaxTimeInterval
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxTimeInterval");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2325);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxTimeInterval");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2325), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2326), MinTimeInterval
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MinTimeInterval");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2326);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MinTimeInterval");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2326), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2327), ExceptionDeviation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExceptionDeviation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2327);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExceptionDeviation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2327), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2328), ExceptionDeviationFormat
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExceptionDeviationFormat");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2328);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExceptionDeviationFormat");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2328), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11499), StartOfArchive
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StartOfArchive");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11499);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StartOfArchive");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11499), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2318/HistoricalDataConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11500), StartOfOnlineArchive
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StartOfOnlineArchive");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11500);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2318);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StartOfOnlineArchive");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11500), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=80), Optional
UA_ObjectNode *opcua_node_object_t_i_80 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_80->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Optional");
opcua_node_object_t_i_80->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Optional");
opcua_node_object_t_i_80->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Specifies that an instance with the attributes and references of the instance declaration may appear when a type is instantiated.");
opcua_node_object_t_i_80->nodeId.identifier.numeric = 80;
opcua_node_object_t_i_80->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_80);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 80), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 77), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 104), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 105), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 106), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 107), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11489), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11527), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11549), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11550), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11551), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2022), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11565), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12161), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12162), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11567), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12163), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12164), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11569), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11570), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11571), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11572), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11573), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11574), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11615), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11624), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11675), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11701), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2770), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2757), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2758), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2759), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2764), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2765), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2766), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11456), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2773), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2366), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2367), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2370), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2371), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12024), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9000), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9001), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11110), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11111), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9015), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9016), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9017), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9060), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9113), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9098), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9102), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9107), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9164), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9165), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9166), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9169), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9174), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9178), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9184), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9188), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9216), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11124), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11125), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11126), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11127), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9461), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9465), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10020), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10025), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10029), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10034), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10038), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10043), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10047), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10052), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2399), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3850), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11876), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2324), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2325), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2326), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2327), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2328), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11499), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11500), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 80), true);
} while(0);

do {
// Referencing node found and declared as parent: i=80/Optional using i=46/HasProperty
// Node: opcua_node_variable_t(i=113), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_113_variant_DataContents = (UA_Int32) 2;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_113_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_113_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 113);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 80);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 113), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11202), HA Configuration
UA_ObjectNode *opcua_node_object_t_i_11202 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11202->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HA Configuration");
opcua_node_object_t_i_11202->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HA Configuration");
opcua_node_object_t_i_11202->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_object_t_i_11202->nodeId.identifier.numeric = 11202;
opcua_node_object_t_i_11202->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11202);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11202), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2318), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11202/HA Configuration using i=47/HasComponent
// Node: opcua_node_object_t(i=11203), AggregateConfiguration
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11203);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11202);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateConfiguration");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11203/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11204), TreatUncertainAsBad
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TreatUncertainAsBad");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11204);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11203);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TreatUncertainAsBad");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11204), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11203/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11205), PercentDataBad
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PercentDataBad");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11205);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11203);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PercentDataBad");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11205), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11203/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11206), PercentDataGood
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PercentDataGood");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11206);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11203);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PercentDataGood");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11206), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11203/AggregateConfiguration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11207), UseSlopedExtrapolation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UseSlopedExtrapolation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11207);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11203);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UseSlopedExtrapolation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11207), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11202/HA Configuration using i=46/HasProperty
// Node: opcua_node_variable_t(i=11208), Stepped
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Stepped");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11208);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11202);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Stepped");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11208), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
UA_Variant *opcua_node_variable_t_i_11215_variant = UA_alloca(sizeof(UA_Variant));
UA_Variant_init(opcua_node_variable_t_i_11215_variant);
// Node: opcua_node_variable_t(i=11215), HistoricalEventFilter
UA_VariableNode *opcua_node_variable_t_i_11215 = UA_NodeStore_newVariableNode();
opcua_node_variable_t_i_11215->browseName = UA_QUALIFIEDNAME_ALLOC(0, "HistoricalEventFilter");
opcua_node_variable_t_i_11215->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "HistoricalEventFilter");
opcua_node_variable_t_i_11215->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_variable_t_i_11215->nodeId.identifier.numeric = 11215;
opcua_node_variable_t_i_11215->minimumSamplingInterval = (UA_Double) 0.0;
opcua_node_variable_t_i_11215->userAccessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11215->accessLevel = (UA_Int32) 0;
opcua_node_variable_t_i_11215->valueRank = (UA_Int32) -2;
opcua_node_variable_t_i_11215->value.variant.value = *opcua_node_variable_t_i_11215_variant;
opcua_node_variable_t_i_11215->valueSource = UA_VALUESOURCE_VARIANT;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_variable_t_i_11215);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11215), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2330), HistoryServerCapabilitiesType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryServerCapabilitiesType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryServerCapabilitiesType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11192), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2330), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2331), AccessHistoryDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AccessHistoryDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2331);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AccessHistoryDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2331), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2332), AccessHistoryEventsCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AccessHistoryEventsCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2332);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AccessHistoryEventsCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2332), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11268), MaxReturnDataValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxReturnDataValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11268);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxReturnDataValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11268), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11269), MaxReturnEventValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MaxReturnEventValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11269);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MaxReturnEventValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11269), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2334), InsertDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InsertDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2334);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InsertDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2334), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2335), ReplaceDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReplaceDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2335);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReplaceDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2335), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2336), UpdateDataCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdateDataCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2336);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdateDataCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2336), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2337), DeleteRawCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteRawCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2337);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteRawCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2337), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=2338), DeleteAtTimeCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteAtTimeCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2338);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteAtTimeCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2338), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11278), InsertEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InsertEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11278);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InsertEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11278), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11279), ReplaceEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReplaceEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11279);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReplaceEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11279), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11280), UpdateEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdateEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11280);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdateEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11280), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11501), DeleteEventCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteEventCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11501);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteEventCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11501), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11270), InsertAnnotationCapability
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "InsertAnnotationCapability");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11270);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "InsertAnnotationCapability");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11270), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2330/HistoryServerCapabilitiesType using i=47/HasComponent
// Node: opcua_node_object_t(i=11172), AggregateFunctions
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateFunctions");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11172);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2330);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateFunctions");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11172), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 61), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2104/AuditHistoryUpdateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=2999), AuditHistoryEventUpdateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryEventUpdateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 2999);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2104);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryEventUpdateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=2999/AuditHistoryEventUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3025), UpdatedNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdatedNode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3025);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2999);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdatedNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3025), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2999/AuditHistoryEventUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3028), PerformInsertReplace
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PerformInsertReplace");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3028);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2999);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PerformInsertReplace");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3028), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2999/AuditHistoryEventUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3003), Filter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Filter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3003);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2999);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Filter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3003), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2999/AuditHistoryEventUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3029), NewValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NewValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3029);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2999);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NewValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3029), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2999/AuditHistoryEventUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3030), OldValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3030);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2999);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3030), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2104/AuditHistoryUpdateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3006), AuditHistoryValueUpdateEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryValueUpdateEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3006);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2104);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryValueUpdateEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3006/AuditHistoryValueUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3026), UpdatedNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdatedNode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3026);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3006);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdatedNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3026), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3006/AuditHistoryValueUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3031), PerformInsertReplace
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PerformInsertReplace");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3031);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3006);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PerformInsertReplace");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3031), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3006/AuditHistoryValueUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3032), NewValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NewValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3032);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3006);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NewValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3032), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3006/AuditHistoryValueUpdateEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3033), OldValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3033);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3006);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3033), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=2104/AuditHistoryUpdateEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3012), AuditHistoryDeleteEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryDeleteEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3012);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 2104);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryDeleteEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3012/AuditHistoryDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3027), UpdatedNode
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpdatedNode");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3027);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3012);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UpdatedNode");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3027), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3012/AuditHistoryDeleteEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3014), AuditHistoryRawModifyDeleteEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryRawModifyDeleteEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3014);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3012);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryRawModifyDeleteEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3014/AuditHistoryRawModifyDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3015), IsDeleteModified
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IsDeleteModified");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3015);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3014);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IsDeleteModified");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3015), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3014/AuditHistoryRawModifyDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3016), StartTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StartTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3016);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3014);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StartTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3016), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3014/AuditHistoryRawModifyDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3017), EndTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3017);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3014);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3017), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3014/AuditHistoryRawModifyDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3034), OldValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3034);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3014);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3034), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3012/AuditHistoryDeleteEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3019), AuditHistoryAtTimeDeleteEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryAtTimeDeleteEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3019);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3012);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryAtTimeDeleteEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3019/AuditHistoryAtTimeDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3020), ReqTimes
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ReqTimes");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3020);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3019);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ReqTimes");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3020), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3019/AuditHistoryAtTimeDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3021), OldValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3021);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3019);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3021), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3012/AuditHistoryDeleteEventType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=3022), AuditHistoryEventDeleteEventType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AuditHistoryEventDeleteEventType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3022);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3012);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AuditHistoryEventDeleteEventType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=3022/AuditHistoryEventDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3023), EventIds
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventIds");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3023);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3022);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventIds");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3023), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=3022/AuditHistoryEventDeleteEventType using i=46/HasProperty
// Node: opcua_node_variable_t(i=3024), OldValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "OldValues");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 3024);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 3022);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "OldValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3024), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=11187), AggregateConfigurationType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateConfigurationType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11187);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateConfigurationType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3059), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11187), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11203), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 11187), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11187/AggregateConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11188), TreatUncertainAsBad
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TreatUncertainAsBad");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11188);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11187);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TreatUncertainAsBad");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11188), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11187/AggregateConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11189), PercentDataBad
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PercentDataBad");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11189);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11187);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PercentDataBad");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11189), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11187/AggregateConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11190), PercentDataGood
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PercentDataGood");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11190);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11187);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PercentDataGood");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11190), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11187/AggregateConfigurationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11191), UseSlopedExtrapolation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UseSlopedExtrapolation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11191);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11187);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UseSlopedExtrapolation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11191), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2341), Interpolative
UA_ObjectNode *opcua_node_object_t_i_2341 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2341->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Interpolative");
opcua_node_object_t_i_2341->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Interpolative");
opcua_node_object_t_i_2341->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "At the beginning of each interval, retrieve the calculated value from the data points on either side of the requested timestamp.");
opcua_node_object_t_i_2341->nodeId.identifier.numeric = 2341;
opcua_node_object_t_i_2341->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2341);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2341), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2342), Average
UA_ObjectNode *opcua_node_object_t_i_2342 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2342->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Average");
opcua_node_object_t_i_2342->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Average");
opcua_node_object_t_i_2342->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the average value of the data over the interval.");
opcua_node_object_t_i_2342->nodeId.identifier.numeric = 2342;
opcua_node_object_t_i_2342->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2342);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2342), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2343), TimeAverage
UA_ObjectNode *opcua_node_object_t_i_2343 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2343->browseName = UA_QUALIFIEDNAME_ALLOC(0, "TimeAverage");
opcua_node_object_t_i_2343->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "TimeAverage");
opcua_node_object_t_i_2343->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the time weighted average data over the interval using Interpolated Bounding Values.");
opcua_node_object_t_i_2343->nodeId.identifier.numeric = 2343;
opcua_node_object_t_i_2343->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2343);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2343), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11285), TimeAverage2
UA_ObjectNode *opcua_node_object_t_i_11285 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11285->browseName = UA_QUALIFIEDNAME_ALLOC(0, "TimeAverage2");
opcua_node_object_t_i_11285->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "TimeAverage2");
opcua_node_object_t_i_11285->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the time weighted average data over the interval using Simple Bounding Values.");
opcua_node_object_t_i_11285->nodeId.identifier.numeric = 11285;
opcua_node_object_t_i_11285->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11285);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11285), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2344), Total
UA_ObjectNode *opcua_node_object_t_i_2344 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2344->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Total");
opcua_node_object_t_i_2344->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Total");
opcua_node_object_t_i_2344->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the total (time integral) of the data over the interval using Interpolated Bounding Values.");
opcua_node_object_t_i_2344->nodeId.identifier.numeric = 2344;
opcua_node_object_t_i_2344->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2344);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2344), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11304), Total2
UA_ObjectNode *opcua_node_object_t_i_11304 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11304->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Total2");
opcua_node_object_t_i_11304->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Total2");
opcua_node_object_t_i_11304->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the total (time integral) of the data over the interval using Simple Bounding Values.");
opcua_node_object_t_i_11304->nodeId.identifier.numeric = 11304;
opcua_node_object_t_i_11304->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11304);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11304), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2346), Minimum
UA_ObjectNode *opcua_node_object_t_i_2346 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2346->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Minimum");
opcua_node_object_t_i_2346->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Minimum");
opcua_node_object_t_i_2346->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the minimum raw value in the interval with the timestamp of the start of the interval.");
opcua_node_object_t_i_2346->nodeId.identifier.numeric = 2346;
opcua_node_object_t_i_2346->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2346);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2346), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2347), Maximum
UA_ObjectNode *opcua_node_object_t_i_2347 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2347->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Maximum");
opcua_node_object_t_i_2347->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Maximum");
opcua_node_object_t_i_2347->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the maximum raw value in the interval with the timestamp of the start of the interval.");
opcua_node_object_t_i_2347->nodeId.identifier.numeric = 2347;
opcua_node_object_t_i_2347->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2347);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2347), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2348), MinimumActualTime
UA_ObjectNode *opcua_node_object_t_i_2348 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2348->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MinimumActualTime");
opcua_node_object_t_i_2348->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MinimumActualTime");
opcua_node_object_t_i_2348->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the minimum value in the interval and the Timestamp of the minimum value.");
opcua_node_object_t_i_2348->nodeId.identifier.numeric = 2348;
opcua_node_object_t_i_2348->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2348);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2348), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2349), MaximumActualTime
UA_ObjectNode *opcua_node_object_t_i_2349 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2349->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MaximumActualTime");
opcua_node_object_t_i_2349->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MaximumActualTime");
opcua_node_object_t_i_2349->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the maximum value in the interval and the Timestamp of the maximum value.");
opcua_node_object_t_i_2349->nodeId.identifier.numeric = 2349;
opcua_node_object_t_i_2349->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2349);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2349), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2350), Range
UA_ObjectNode *opcua_node_object_t_i_2350 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2350->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Range");
opcua_node_object_t_i_2350->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Range");
opcua_node_object_t_i_2350->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the difference between the minimum and maximum Value over the interval.");
opcua_node_object_t_i_2350->nodeId.identifier.numeric = 2350;
opcua_node_object_t_i_2350->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2350);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2350), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11286), Minimum2
UA_ObjectNode *opcua_node_object_t_i_11286 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11286->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Minimum2");
opcua_node_object_t_i_11286->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Minimum2");
opcua_node_object_t_i_11286->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the minimum value in the interval including the Simple Bounding Values.");
opcua_node_object_t_i_11286->nodeId.identifier.numeric = 11286;
opcua_node_object_t_i_11286->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11286);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11286), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11287), Maximum2
UA_ObjectNode *opcua_node_object_t_i_11287 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11287->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Maximum2");
opcua_node_object_t_i_11287->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Maximum2");
opcua_node_object_t_i_11287->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the maximum value in the interval including the Simple Bounding Values.");
opcua_node_object_t_i_11287->nodeId.identifier.numeric = 11287;
opcua_node_object_t_i_11287->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11287);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11287), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11305), MinimumActualTime2
UA_ObjectNode *opcua_node_object_t_i_11305 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11305->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MinimumActualTime2");
opcua_node_object_t_i_11305->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MinimumActualTime2");
opcua_node_object_t_i_11305->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the minimum value with the actual timestamp including the Simple Bounding Values.");
opcua_node_object_t_i_11305->nodeId.identifier.numeric = 11305;
opcua_node_object_t_i_11305->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11305);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11305), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11306), MaximumActualTime2
UA_ObjectNode *opcua_node_object_t_i_11306 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11306->browseName = UA_QUALIFIEDNAME_ALLOC(0, "MaximumActualTime2");
opcua_node_object_t_i_11306->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "MaximumActualTime2");
opcua_node_object_t_i_11306->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the maximum value with the actual timestamp including the Simple Bounding Values.");
opcua_node_object_t_i_11306->nodeId.identifier.numeric = 11306;
opcua_node_object_t_i_11306->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11306);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11306), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11288), Range2
UA_ObjectNode *opcua_node_object_t_i_11288 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11288->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Range2");
opcua_node_object_t_i_11288->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Range2");
opcua_node_object_t_i_11288->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the difference between the Minimum2 and Maximum2 value over the interval.");
opcua_node_object_t_i_11288->nodeId.identifier.numeric = 11288;
opcua_node_object_t_i_11288->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11288);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11288), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2351), AnnotationCount
UA_ObjectNode *opcua_node_object_t_i_2351 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2351->browseName = UA_QUALIFIEDNAME_ALLOC(0, "AnnotationCount");
opcua_node_object_t_i_2351->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "AnnotationCount");
opcua_node_object_t_i_2351->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the number of Annotations in the interval.");
opcua_node_object_t_i_2351->nodeId.identifier.numeric = 2351;
opcua_node_object_t_i_2351->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2351);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2351), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2352), Count
UA_ObjectNode *opcua_node_object_t_i_2352 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2352->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Count");
opcua_node_object_t_i_2352->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Count");
opcua_node_object_t_i_2352->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the number of raw values over the interval.");
opcua_node_object_t_i_2352->nodeId.identifier.numeric = 2352;
opcua_node_object_t_i_2352->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2352);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2352), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11307), DurationInStateZero
UA_ObjectNode *opcua_node_object_t_i_11307 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11307->browseName = UA_QUALIFIEDNAME_ALLOC(0, "DurationInStateZero");
opcua_node_object_t_i_11307->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "DurationInStateZero");
opcua_node_object_t_i_11307->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the time a Boolean or numeric was in a zero state using Simple Bounding Values.");
opcua_node_object_t_i_11307->nodeId.identifier.numeric = 11307;
opcua_node_object_t_i_11307->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11307);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11307), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11308), DurationInStateNonZero
UA_ObjectNode *opcua_node_object_t_i_11308 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11308->browseName = UA_QUALIFIEDNAME_ALLOC(0, "DurationInStateNonZero");
opcua_node_object_t_i_11308->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "DurationInStateNonZero");
opcua_node_object_t_i_11308->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the time a Boolean or numeric was in a non-zero state using Simple Bounding Values.");
opcua_node_object_t_i_11308->nodeId.identifier.numeric = 11308;
opcua_node_object_t_i_11308->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11308);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11308), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2355), NumberOfTransitions
UA_ObjectNode *opcua_node_object_t_i_2355 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2355->browseName = UA_QUALIFIEDNAME_ALLOC(0, "NumberOfTransitions");
opcua_node_object_t_i_2355->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "NumberOfTransitions");
opcua_node_object_t_i_2355->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the number of changes between zero and non-zero that a Boolean or Numeric value experienced in the interval.");
opcua_node_object_t_i_2355->nodeId.identifier.numeric = 2355;
opcua_node_object_t_i_2355->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2355);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2355), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2357), Start
UA_ObjectNode *opcua_node_object_t_i_2357 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2357->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Start");
opcua_node_object_t_i_2357->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Start");
opcua_node_object_t_i_2357->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the value at the beginning of the interval using Interpolated Bounding Values.");
opcua_node_object_t_i_2357->nodeId.identifier.numeric = 2357;
opcua_node_object_t_i_2357->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2357);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2357), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2358), End
UA_ObjectNode *opcua_node_object_t_i_2358 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2358->browseName = UA_QUALIFIEDNAME_ALLOC(0, "End");
opcua_node_object_t_i_2358->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "End");
opcua_node_object_t_i_2358->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the value at the end of the interval using Interpolated Bounding Values.");
opcua_node_object_t_i_2358->nodeId.identifier.numeric = 2358;
opcua_node_object_t_i_2358->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2358);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2358), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2359), Delta
UA_ObjectNode *opcua_node_object_t_i_2359 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2359->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Delta");
opcua_node_object_t_i_2359->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Delta");
opcua_node_object_t_i_2359->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the difference between the Start and End value in the interval.");
opcua_node_object_t_i_2359->nodeId.identifier.numeric = 2359;
opcua_node_object_t_i_2359->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2359);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2359), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11505), StartBound
UA_ObjectNode *opcua_node_object_t_i_11505 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11505->browseName = UA_QUALIFIEDNAME_ALLOC(0, "StartBound");
opcua_node_object_t_i_11505->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "StartBound");
opcua_node_object_t_i_11505->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the value at the beginning of the interval using Simple Bounding Values.");
opcua_node_object_t_i_11505->nodeId.identifier.numeric = 11505;
opcua_node_object_t_i_11505->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11505);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11505), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11506), EndBound
UA_ObjectNode *opcua_node_object_t_i_11506 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11506->browseName = UA_QUALIFIEDNAME_ALLOC(0, "EndBound");
opcua_node_object_t_i_11506->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "EndBound");
opcua_node_object_t_i_11506->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the value at the end of the interval using Simple Bounding Values.");
opcua_node_object_t_i_11506->nodeId.identifier.numeric = 11506;
opcua_node_object_t_i_11506->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11506);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11506), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11507), DeltaBounds
UA_ObjectNode *opcua_node_object_t_i_11507 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11507->browseName = UA_QUALIFIEDNAME_ALLOC(0, "DeltaBounds");
opcua_node_object_t_i_11507->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "DeltaBounds");
opcua_node_object_t_i_11507->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the difference between the StartBound and EndBound value in the interval.");
opcua_node_object_t_i_11507->nodeId.identifier.numeric = 11507;
opcua_node_object_t_i_11507->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11507);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11507), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2360), DurationGood
UA_ObjectNode *opcua_node_object_t_i_2360 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2360->browseName = UA_QUALIFIEDNAME_ALLOC(0, "DurationGood");
opcua_node_object_t_i_2360->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "DurationGood");
opcua_node_object_t_i_2360->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the total duration of time in the interval during which the data is good.");
opcua_node_object_t_i_2360->nodeId.identifier.numeric = 2360;
opcua_node_object_t_i_2360->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2360);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2360), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2361), DurationBad
UA_ObjectNode *opcua_node_object_t_i_2361 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2361->browseName = UA_QUALIFIEDNAME_ALLOC(0, "DurationBad");
opcua_node_object_t_i_2361->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "DurationBad");
opcua_node_object_t_i_2361->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the total duration of time in the interval during which the data is bad.");
opcua_node_object_t_i_2361->nodeId.identifier.numeric = 2361;
opcua_node_object_t_i_2361->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2361);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2361), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2362), PercentGood
UA_ObjectNode *opcua_node_object_t_i_2362 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2362->browseName = UA_QUALIFIEDNAME_ALLOC(0, "PercentGood");
opcua_node_object_t_i_2362->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "PercentGood");
opcua_node_object_t_i_2362->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the percent of data (0 to 100) in the interval which has a good StatusCode.");
opcua_node_object_t_i_2362->nodeId.identifier.numeric = 2362;
opcua_node_object_t_i_2362->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2362);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2362), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2363), PercentBad
UA_ObjectNode *opcua_node_object_t_i_2363 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2363->browseName = UA_QUALIFIEDNAME_ALLOC(0, "PercentBad");
opcua_node_object_t_i_2363->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "PercentBad");
opcua_node_object_t_i_2363->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the percent of data (0 to 100) in the interval which has a bad StatusCode.");
opcua_node_object_t_i_2363->nodeId.identifier.numeric = 2363;
opcua_node_object_t_i_2363->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2363);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2363), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=2364), WorstQuality
UA_ObjectNode *opcua_node_object_t_i_2364 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_2364->browseName = UA_QUALIFIEDNAME_ALLOC(0, "WorstQuality");
opcua_node_object_t_i_2364->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "WorstQuality");
opcua_node_object_t_i_2364->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the worst StatusCode of data in the interval.");
opcua_node_object_t_i_2364->nodeId.identifier.numeric = 2364;
opcua_node_object_t_i_2364->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_2364);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2364), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11292), WorstQuality2
UA_ObjectNode *opcua_node_object_t_i_11292 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11292->browseName = UA_QUALIFIEDNAME_ALLOC(0, "WorstQuality2");
opcua_node_object_t_i_11292->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "WorstQuality2");
opcua_node_object_t_i_11292->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the worst StatusCode of data in the interval including the Simple Bounding Values.");
opcua_node_object_t_i_11292->nodeId.identifier.numeric = 11292;
opcua_node_object_t_i_11292->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11292);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11292), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11426), StandardDeviationSample
UA_ObjectNode *opcua_node_object_t_i_11426 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11426->browseName = UA_QUALIFIEDNAME_ALLOC(0, "StandardDeviationSample");
opcua_node_object_t_i_11426->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "StandardDeviationSample");
opcua_node_object_t_i_11426->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the standard deviation for the interval for a sample of the population (n-1).");
opcua_node_object_t_i_11426->nodeId.identifier.numeric = 11426;
opcua_node_object_t_i_11426->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11426);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11426), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11427), StandardDeviationPopulation
UA_ObjectNode *opcua_node_object_t_i_11427 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11427->browseName = UA_QUALIFIEDNAME_ALLOC(0, "StandardDeviationPopulation");
opcua_node_object_t_i_11427->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "StandardDeviationPopulation");
opcua_node_object_t_i_11427->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the standard deviation for the interval for a complete population (n) which includes Simple Bounding Values.");
opcua_node_object_t_i_11427->nodeId.identifier.numeric = 11427;
opcua_node_object_t_i_11427->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11427);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11427), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11428), VarianceSample
UA_ObjectNode *opcua_node_object_t_i_11428 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11428->browseName = UA_QUALIFIEDNAME_ALLOC(0, "VarianceSample");
opcua_node_object_t_i_11428->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "VarianceSample");
opcua_node_object_t_i_11428->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the variance for the interval as calculated by the StandardDeviationSample.");
opcua_node_object_t_i_11428->nodeId.identifier.numeric = 11428;
opcua_node_object_t_i_11428->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11428);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11428), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Node: opcua_node_object_t(i=11429), VariancePopulation
UA_ObjectNode *opcua_node_object_t_i_11429 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_11429->browseName = UA_QUALIFIEDNAME_ALLOC(0, "VariancePopulation");
opcua_node_object_t_i_11429->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "VariancePopulation");
opcua_node_object_t_i_11429->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Retrieve the variance for the interval as calculated by the StandardDeviationPopulation which includes Simple Bounding Values.");
opcua_node_object_t_i_11429->nodeId.identifier.numeric = 11429;
opcua_node_object_t_i_11429->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_11429);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11429), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 2340), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(i=8921), LockType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LockType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8921);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LockType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=8921/LockType using i=47/HasComponent
// Node: opcua_node_method_t(i=8922), Lock
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Lock");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8922);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8921);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Lock");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=8921/LockType using i=47/HasComponent
// Node: opcua_node_method_t(i=8923), Unlock
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Unlock");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8923);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8921);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Unlock");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Node: opcua_node_object_t(i=8924), ServerLock
UA_ObjectNode *opcua_node_object_t_i_8924 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_8924->browseName = UA_QUALIFIEDNAME_ALLOC(0, "ServerLock");
opcua_node_object_t_i_8924->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "ServerLock");
opcua_node_object_t_i_8924->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "");
opcua_node_object_t_i_8924->nodeId.identifier.numeric = 8924;
opcua_node_object_t_i_8924->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_8924);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8924), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 8921), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8924/ServerLock using i=47/HasComponent
// Node: opcua_node_method_t(i=8925), Lock
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Lock");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8925);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8924);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Lock");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=8924/ServerLock using i=47/HasComponent
// Node: opcua_node_method_t(i=8926), Unlock
UA_Argument *inputArguments = NULL;
UA_Argument *outputArguments = NULL;
UA_MethodAttributes attr;
UA_MethodAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Unlock");
attr.description = UA_LOCALIZEDTEXT("", "");
attr.executable = true;
attr.userExecutable = true;
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8926);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8924);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Unlock");
UA_Server_addMethodNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, (UA_MethodCallback) NULL, NULL, 0, inputArguments,  0, outputArguments, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=256), IdType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IdType");
attr.description = UA_LOCALIZEDTEXT("", "The type of identifier used in a node id.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 256);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IdType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=256/IdType using i=46/HasProperty
// Node: opcua_node_variable_t(i=7591), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7591_variant_DataContents[4];
opcua_node_variable_t_i_7591_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Numeric");
opcua_node_variable_t_i_7591_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "String");
opcua_node_variable_t_i_7591_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "Guid");
opcua_node_variable_t_i_7591_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "Opaque");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7591_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7591);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 256);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7591), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=257), NodeClass
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NodeClass");
attr.description = UA_LOCALIZEDTEXT("", "A mask specifying the class of the node.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 257);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NodeClass");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=257/NodeClass using i=46/HasProperty
// Node: opcua_node_variable_t(i=11878), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_0_0_struct.Value = (UA_Int64) 0;
opcua_node_variable_t_i_11878_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Unspecified");
opcua_node_variable_t_i_11878_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("", "No classes are selected.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_1_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11878_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Object");
opcua_node_variable_t_i_11878_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is an object.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_2_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_11878_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Variable");
opcua_node_variable_t_i_11878_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is a variable.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_2_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_3_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_3_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11878_EnumValueType_3_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Method");
opcua_node_variable_t_i_11878_EnumValueType_3_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is a method.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_3_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_3_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_3_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_3_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_3_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_3_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_3_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_3_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_3_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_3_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_3_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_3_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_4_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_4_0_struct.Value = (UA_Int64) 8;
opcua_node_variable_t_i_11878_EnumValueType_4_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ObjectType");
opcua_node_variable_t_i_11878_EnumValueType_4_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is an object type.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_4_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_4_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_4_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_4_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_4_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_4_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_4_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_4_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_4_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_4_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_4_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_4_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_5_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_5_0_struct.Value = (UA_Int64) 16;
opcua_node_variable_t_i_11878_EnumValueType_5_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "VariableType");
opcua_node_variable_t_i_11878_EnumValueType_5_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is an variable type.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_5_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_5_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_5_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_5_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_5_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_5_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_5_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_5_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_5_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_5_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_5_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_5_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_6_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_6_0_struct.Value = (UA_Int64) 32;
opcua_node_variable_t_i_11878_EnumValueType_6_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ReferenceType");
opcua_node_variable_t_i_11878_EnumValueType_6_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is a reference type.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_6_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_6_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_6_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_6_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_6_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_6_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_6_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_6_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_6_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_6_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_6_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_6_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_7_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_7_0_struct.Value = (UA_Int64) 64;
opcua_node_variable_t_i_11878_EnumValueType_7_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "DataType");
opcua_node_variable_t_i_11878_EnumValueType_7_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is a data type.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_7_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_7_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_7_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_7_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_7_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_7_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_7_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_7_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_7_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_7_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_7_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_7_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11878_EnumValueType_8_0_struct;
opcua_node_variable_t_i_11878_EnumValueType_8_0_struct.Value = (UA_Int64) 128;
opcua_node_variable_t_i_11878_EnumValueType_8_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "View");
opcua_node_variable_t_i_11878_EnumValueType_8_0_struct.Description = UA_LOCALIZEDTEXT("", "The node is a view.");
UA_ExtensionObject *opcua_node_variable_t_i_11878_EnumValueType_8_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11878_EnumValueType_8_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_8_0_struct.Value, &opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_8_0_struct.DisplayName, &opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11878_EnumValueType_8_0_struct.Description, &opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset);
opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body.length = opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_8_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset );
memcpy(opcua_node_variable_t_i_11878_EnumValueType_8_0_newBody, opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body.data, opcua_node_variable_t_i_11878_EnumValueType_8_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11878_EnumValueType_8_0_oldBody = opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body.data;
opcua_node_variable_t_i_11878_EnumValueType_8_0->content.encoded.body.data = opcua_node_variable_t_i_11878_EnumValueType_8_0_newBody;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_8_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11878_variant_DataContents[9];
opcua_node_variable_t_i_11878_variant_DataContents[0] = *opcua_node_variable_t_i_11878_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_0_0);
opcua_node_variable_t_i_11878_variant_DataContents[1] = *opcua_node_variable_t_i_11878_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_1_0);
opcua_node_variable_t_i_11878_variant_DataContents[2] = *opcua_node_variable_t_i_11878_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_2_0);
opcua_node_variable_t_i_11878_variant_DataContents[3] = *opcua_node_variable_t_i_11878_EnumValueType_3_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_3_0);
opcua_node_variable_t_i_11878_variant_DataContents[4] = *opcua_node_variable_t_i_11878_EnumValueType_4_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_4_0);
opcua_node_variable_t_i_11878_variant_DataContents[5] = *opcua_node_variable_t_i_11878_EnumValueType_5_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_5_0);
opcua_node_variable_t_i_11878_variant_DataContents[6] = *opcua_node_variable_t_i_11878_EnumValueType_6_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_6_0);
opcua_node_variable_t_i_11878_variant_DataContents[7] = *opcua_node_variable_t_i_11878_EnumValueType_7_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_7_0);
opcua_node_variable_t_i_11878_variant_DataContents[8] = *opcua_node_variable_t_i_11878_EnumValueType_8_0;
UA_free(opcua_node_variable_t_i_11878_EnumValueType_8_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11878_variant_DataContents, (UA_Int32) 9, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11878);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 257);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11878), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=296), Argument
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Argument");
attr.description = UA_LOCALIZEDTEXT("", "An argument for a method.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 296);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Argument");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=7594), EnumValueType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValueType");
attr.description = UA_LOCALIZEDTEXT("", "A mapping between a value of an enumerated type and a name and description.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7594);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValueType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11/Double using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=290), Duration
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Duration");
attr.description = UA_LOCALIZEDTEXT("", "A period of time measured in seconds.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 290);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Duration");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=13/DateTime using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=294), UtcTime
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UtcTime");
attr.description = UA_LOCALIZEDTEXT("", "A date/time value specified in Universal Coordinated Time (UTC).");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 294);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 13);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UtcTime");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12/String using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=295), LocaleId
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LocaleId");
attr.description = UA_LOCALIZEDTEXT("", "An identifier for a user locale.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 295);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LocaleId");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=8912), TimeZoneDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimeZoneDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8912);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimeZoneDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=7/UInt32 using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=288), IntegerId
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IntegerId");
attr.description = UA_LOCALIZEDTEXT("", "A numeric identifier for an object.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 288);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IntegerId");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=307), ApplicationType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ApplicationType");
attr.description = UA_LOCALIZEDTEXT("", "The types of applications.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 307);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ApplicationType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=307/ApplicationType using i=46/HasProperty
// Node: opcua_node_variable_t(i=7597), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7597_variant_DataContents[4];
opcua_node_variable_t_i_7597_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Server");
opcua_node_variable_t_i_7597_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "Client");
opcua_node_variable_t_i_7597_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "ClientAndServer");
opcua_node_variable_t_i_7597_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "DiscoveryServer");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7597_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7597);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 307);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7597), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=308), ApplicationDescription
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ApplicationDescription");
attr.description = UA_LOCALIZEDTEXT("", "Describes an application and how to find it.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 308);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ApplicationDescription");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=15/ByteString using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=311), ApplicationInstanceCertificate
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ApplicationInstanceCertificate");
attr.description = UA_LOCALIZEDTEXT("", "A certificate for an instance of an application.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 311);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 15);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ApplicationInstanceCertificate");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=302), MessageSecurityMode
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MessageSecurityMode");
attr.description = UA_LOCALIZEDTEXT("", "The type of security to use on a message.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 302);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MessageSecurityMode");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=302/MessageSecurityMode using i=46/HasProperty
// Node: opcua_node_variable_t(i=7595), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7595_variant_DataContents[4];
opcua_node_variable_t_i_7595_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Invalid");
opcua_node_variable_t_i_7595_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "None");
opcua_node_variable_t_i_7595_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "Sign");
opcua_node_variable_t_i_7595_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "SignAndEncrypt");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7595_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7595);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 302);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7595), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=303), UserTokenType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserTokenType");
attr.description = UA_LOCALIZEDTEXT("", "The possible user token types.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 303);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserTokenType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=303/UserTokenType using i=46/HasProperty
// Node: opcua_node_variable_t(i=7596), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7596_variant_DataContents[4];
opcua_node_variable_t_i_7596_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Anonymous");
opcua_node_variable_t_i_7596_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "UserName");
opcua_node_variable_t_i_7596_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "Certificate");
opcua_node_variable_t_i_7596_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "IssuedToken");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7596_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7596);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 303);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7596), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=304), UserTokenPolicy
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserTokenPolicy");
attr.description = UA_LOCALIZEDTEXT("", "Describes a user token that can be used with a server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 304);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserTokenPolicy");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=312), EndpointDescription
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointDescription");
attr.description = UA_LOCALIZEDTEXT("", "The description of a endpoint that can be used to access a server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 312);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointDescription");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=432), RegisteredServer
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RegisteredServer");
attr.description = UA_LOCALIZEDTEXT("", "The information required to register a server with a discovery server.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 432);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RegisteredServer");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=315), SecurityTokenRequestType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SecurityTokenRequestType");
attr.description = UA_LOCALIZEDTEXT("", "Indicates whether a token if being created or renewed.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 315);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SecurityTokenRequestType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=315/SecurityTokenRequestType using i=46/HasProperty
// Node: opcua_node_variable_t(i=7598), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7598_variant_DataContents[2];
opcua_node_variable_t_i_7598_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Issue");
opcua_node_variable_t_i_7598_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "Renew");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7598_variant_DataContents, (UA_Int32) 2, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7598);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 315);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7598), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=344), SignedSoftwareCertificate
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SignedSoftwareCertificate");
attr.description = UA_LOCALIZEDTEXT("", "A software certificate with a digital signature.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 344);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SignedSoftwareCertificate");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=17/NodeId using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=388), SessionAuthenticationToken
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionAuthenticationToken");
attr.description = UA_LOCALIZEDTEXT("", "A unique identifier for a session used to authenticate requests.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 388);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 17);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionAuthenticationToken");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=316), UserIdentityToken
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "A base type for a user identity token.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserIdentityToken");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=316/UserIdentityToken using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=319), AnonymousIdentityToken
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AnonymousIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "A token representing an anonymous user.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 319);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AnonymousIdentityToken");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=316/UserIdentityToken using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=322), UserNameIdentityToken
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserNameIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "A token representing a user identified by a user name and password.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 322);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserNameIdentityToken");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=316/UserIdentityToken using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=325), X509IdentityToken
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "X509IdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "A token representing a user identified by an X509 certificate.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 325);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "X509IdentityToken");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=316/UserIdentityToken using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=938), IssuedIdentityToken
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IssuedIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "A token representing a user identified by a WS-Security XML token.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 938);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IssuedIdentityToken");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=348), NodeAttributesMask
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NodeAttributesMask");
attr.description = UA_LOCALIZEDTEXT("", "The bits used to specify default attributes for a new node.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 348);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NodeAttributesMask");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=348/NodeAttributesMask using i=46/HasProperty
// Node: opcua_node_variable_t(i=11881), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_0_0_struct.Value = (UA_Int64) 0;
opcua_node_variable_t_i_11881_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "None");
opcua_node_variable_t_i_11881_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("", "No attribuites provided.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_1_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11881_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "AccessLevel");
opcua_node_variable_t_i_11881_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("", "The access level attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_2_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_11881_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ArrayDimensions");
opcua_node_variable_t_i_11881_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("", "The array dimensions attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_2_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_3_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_3_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11881_EnumValueType_3_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "BrowseName");
opcua_node_variable_t_i_11881_EnumValueType_3_0_struct.Description = UA_LOCALIZEDTEXT("", "The browse name attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_3_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_3_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_3_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_3_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_3_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_3_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_3_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_3_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_3_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_3_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_3_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_3_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_4_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_4_0_struct.Value = (UA_Int64) 8;
opcua_node_variable_t_i_11881_EnumValueType_4_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ContainsNoLoops");
opcua_node_variable_t_i_11881_EnumValueType_4_0_struct.Description = UA_LOCALIZEDTEXT("", "The contains no loops attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_4_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_4_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_4_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_4_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_4_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_4_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_4_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_4_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_4_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_4_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_4_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_4_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_5_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_5_0_struct.Value = (UA_Int64) 16;
opcua_node_variable_t_i_11881_EnumValueType_5_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "DataType");
opcua_node_variable_t_i_11881_EnumValueType_5_0_struct.Description = UA_LOCALIZEDTEXT("", "The data type attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_5_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_5_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_5_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_5_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_5_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_5_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_5_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_5_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_5_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_5_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_5_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_5_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_6_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_6_0_struct.Value = (UA_Int64) 32;
opcua_node_variable_t_i_11881_EnumValueType_6_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Description");
opcua_node_variable_t_i_11881_EnumValueType_6_0_struct.Description = UA_LOCALIZEDTEXT("", "The description attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_6_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_6_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_6_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_6_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_6_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_6_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_6_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_6_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_6_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_6_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_6_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_6_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_7_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_7_0_struct.Value = (UA_Int64) 64;
opcua_node_variable_t_i_11881_EnumValueType_7_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "DisplayName");
opcua_node_variable_t_i_11881_EnumValueType_7_0_struct.Description = UA_LOCALIZEDTEXT("", "The display name attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_7_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_7_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_7_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_7_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_7_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_7_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_7_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_7_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_7_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_7_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_7_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_7_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_8_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_8_0_struct.Value = (UA_Int64) 128;
opcua_node_variable_t_i_11881_EnumValueType_8_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "EventNotifier");
opcua_node_variable_t_i_11881_EnumValueType_8_0_struct.Description = UA_LOCALIZEDTEXT("", "The event notifier attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_8_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_8_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_8_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_8_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_8_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_8_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_8_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_8_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_8_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_8_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_8_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_8_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_9_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_9_0_struct.Value = (UA_Int64) 256;
opcua_node_variable_t_i_11881_EnumValueType_9_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Executable");
opcua_node_variable_t_i_11881_EnumValueType_9_0_struct.Description = UA_LOCALIZEDTEXT("", "The executable attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_9_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_9_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_9_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_9_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_9_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_9_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_9_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_9_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_9_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_9_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_9_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_9_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_10_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_10_0_struct.Value = (UA_Int64) 512;
opcua_node_variable_t_i_11881_EnumValueType_10_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Historizing");
opcua_node_variable_t_i_11881_EnumValueType_10_0_struct.Description = UA_LOCALIZEDTEXT("", "The historizing attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_10_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_10_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_10_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_10_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_10_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_10_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_10_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_10_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_10_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_10_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_10_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_10_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_11_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_11_0_struct.Value = (UA_Int64) 1024;
opcua_node_variable_t_i_11881_EnumValueType_11_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "InverseName");
opcua_node_variable_t_i_11881_EnumValueType_11_0_struct.Description = UA_LOCALIZEDTEXT("", "The inverse name attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_11_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_11_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_11_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_11_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_11_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_11_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_11_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_11_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_11_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_11_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_11_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_11_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_12_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_12_0_struct.Value = (UA_Int64) 2048;
opcua_node_variable_t_i_11881_EnumValueType_12_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "IsAbstract");
opcua_node_variable_t_i_11881_EnumValueType_12_0_struct.Description = UA_LOCALIZEDTEXT("", "The is abstract attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_12_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_12_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_12_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_12_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_12_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_12_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_12_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_12_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_12_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_12_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_12_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_12_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_13_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_13_0_struct.Value = (UA_Int64) 4096;
opcua_node_variable_t_i_11881_EnumValueType_13_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "MinimumSamplingInterval");
opcua_node_variable_t_i_11881_EnumValueType_13_0_struct.Description = UA_LOCALIZEDTEXT("", "The minimum sampling interval attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_13_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_13_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_13_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_13_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_13_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_13_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_13_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_13_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_13_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_13_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_13_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_13_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_14_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_14_0_struct.Value = (UA_Int64) 8192;
opcua_node_variable_t_i_11881_EnumValueType_14_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "NodeClass");
opcua_node_variable_t_i_11881_EnumValueType_14_0_struct.Description = UA_LOCALIZEDTEXT("", "The node class attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_14_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_14_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_14_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_14_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_14_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_14_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_14_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_14_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_14_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_14_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_14_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_14_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_15_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_15_0_struct.Value = (UA_Int64) 16384;
opcua_node_variable_t_i_11881_EnumValueType_15_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "NodeId");
opcua_node_variable_t_i_11881_EnumValueType_15_0_struct.Description = UA_LOCALIZEDTEXT("", "The node id attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_15_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_15_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_15_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_15_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_15_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_15_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_15_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_15_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_15_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_15_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_15_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_15_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_16_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_16_0_struct.Value = (UA_Int64) 32768;
opcua_node_variable_t_i_11881_EnumValueType_16_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Symmetric");
opcua_node_variable_t_i_11881_EnumValueType_16_0_struct.Description = UA_LOCALIZEDTEXT("", "The symmetric attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_16_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_16_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_16_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_16_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_16_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_16_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_16_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_16_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_16_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_16_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_16_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_16_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_17_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_17_0_struct.Value = (UA_Int64) 65536;
opcua_node_variable_t_i_11881_EnumValueType_17_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "UserAccessLevel");
opcua_node_variable_t_i_11881_EnumValueType_17_0_struct.Description = UA_LOCALIZEDTEXT("", "The user access level attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_17_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_17_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_17_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_17_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_17_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_17_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_17_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_17_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_17_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_17_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_17_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_17_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_18_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_18_0_struct.Value = (UA_Int64) 131072;
opcua_node_variable_t_i_11881_EnumValueType_18_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "UserExecutable");
opcua_node_variable_t_i_11881_EnumValueType_18_0_struct.Description = UA_LOCALIZEDTEXT("", "The user executable attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_18_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_18_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_18_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_18_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_18_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_18_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_18_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_18_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_18_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_18_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_18_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_18_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_19_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_19_0_struct.Value = (UA_Int64) 262144;
opcua_node_variable_t_i_11881_EnumValueType_19_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "UserWriteMask");
opcua_node_variable_t_i_11881_EnumValueType_19_0_struct.Description = UA_LOCALIZEDTEXT("", "The user write mask attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_19_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_19_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_19_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_19_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_19_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_19_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_19_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_19_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_19_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_19_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_19_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_19_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_20_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_20_0_struct.Value = (UA_Int64) 524288;
opcua_node_variable_t_i_11881_EnumValueType_20_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ValueRank");
opcua_node_variable_t_i_11881_EnumValueType_20_0_struct.Description = UA_LOCALIZEDTEXT("", "The value rank attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_20_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_20_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_20_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_20_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_20_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_20_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_20_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_20_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_20_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_20_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_20_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_20_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_21_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_21_0_struct.Value = (UA_Int64) 1048576;
opcua_node_variable_t_i_11881_EnumValueType_21_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "WriteMask");
opcua_node_variable_t_i_11881_EnumValueType_21_0_struct.Description = UA_LOCALIZEDTEXT("", "The write mask attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_21_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_21_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_21_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_21_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_21_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_21_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_21_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_21_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_21_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_21_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_21_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_21_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_22_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_22_0_struct.Value = (UA_Int64) 2097152;
opcua_node_variable_t_i_11881_EnumValueType_22_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Value");
opcua_node_variable_t_i_11881_EnumValueType_22_0_struct.Description = UA_LOCALIZEDTEXT("", "The value attribute is specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_22_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_22_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_22_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_22_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_22_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_22_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_22_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_22_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_22_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_22_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_22_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_22_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_23_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_23_0_struct.Value = (UA_Int64) 4194303;
opcua_node_variable_t_i_11881_EnumValueType_23_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "All");
opcua_node_variable_t_i_11881_EnumValueType_23_0_struct.Description = UA_LOCALIZEDTEXT("", "All attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_23_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_23_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_23_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_23_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_23_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_23_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_23_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_23_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_23_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_23_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_23_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_23_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_24_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_24_0_struct.Value = (UA_Int64) 1335396;
opcua_node_variable_t_i_11881_EnumValueType_24_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "BaseNode");
opcua_node_variable_t_i_11881_EnumValueType_24_0_struct.Description = UA_LOCALIZEDTEXT("", "All base attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_24_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_24_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_24_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_24_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_24_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_24_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_24_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_24_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_24_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_24_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_24_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_24_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_25_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_25_0_struct.Value = (UA_Int64) 1335524;
opcua_node_variable_t_i_11881_EnumValueType_25_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Object");
opcua_node_variable_t_i_11881_EnumValueType_25_0_struct.Description = UA_LOCALIZEDTEXT("", "All object attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_25_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_25_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_25_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_25_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_25_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_25_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_25_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_25_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_25_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_25_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_25_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_25_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_26_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_26_0_struct.Value = (UA_Int64) 1337444;
opcua_node_variable_t_i_11881_EnumValueType_26_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ObjectTypeOrDataType");
opcua_node_variable_t_i_11881_EnumValueType_26_0_struct.Description = UA_LOCALIZEDTEXT("", "All object type or data type attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_26_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_26_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_26_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_26_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_26_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_26_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_26_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_26_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_26_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_26_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_26_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_26_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_27_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_27_0_struct.Value = (UA_Int64) 4026999;
opcua_node_variable_t_i_11881_EnumValueType_27_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Variable");
opcua_node_variable_t_i_11881_EnumValueType_27_0_struct.Description = UA_LOCALIZEDTEXT("", "All variable attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_27_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_27_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_27_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_27_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_27_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_27_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_27_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_27_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_27_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_27_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_27_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_27_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_28_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_28_0_struct.Value = (UA_Int64) 3958902;
opcua_node_variable_t_i_11881_EnumValueType_28_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "VariableType");
opcua_node_variable_t_i_11881_EnumValueType_28_0_struct.Description = UA_LOCALIZEDTEXT("", "All variable type attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_28_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_28_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_28_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_28_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_28_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_28_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_28_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_28_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_28_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_28_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_28_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_28_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_29_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_29_0_struct.Value = (UA_Int64) 1466724;
opcua_node_variable_t_i_11881_EnumValueType_29_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Method");
opcua_node_variable_t_i_11881_EnumValueType_29_0_struct.Description = UA_LOCALIZEDTEXT("", "All method attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_29_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_29_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_29_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_29_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_29_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_29_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_29_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_29_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_29_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_29_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_29_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_29_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_30_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_30_0_struct.Value = (UA_Int64) 1371236;
opcua_node_variable_t_i_11881_EnumValueType_30_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ReferenceType");
opcua_node_variable_t_i_11881_EnumValueType_30_0_struct.Description = UA_LOCALIZEDTEXT("", "All reference type attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_30_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_30_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_30_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_30_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_30_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_30_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_30_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_30_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_30_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_30_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_30_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_30_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11881_EnumValueType_31_0_struct;
opcua_node_variable_t_i_11881_EnumValueType_31_0_struct.Value = (UA_Int64) 1335532;
opcua_node_variable_t_i_11881_EnumValueType_31_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "View");
opcua_node_variable_t_i_11881_EnumValueType_31_0_struct.Description = UA_LOCALIZEDTEXT("", "All view attributes are specified.");
UA_ExtensionObject *opcua_node_variable_t_i_11881_EnumValueType_31_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11881_EnumValueType_31_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_31_0_struct.Value, &opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_31_0_struct.DisplayName, &opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11881_EnumValueType_31_0_struct.Description, &opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body, &opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset);
opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body.length = opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_31_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset );
memcpy(opcua_node_variable_t_i_11881_EnumValueType_31_0_newBody, opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body.data, opcua_node_variable_t_i_11881_EnumValueType_31_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11881_EnumValueType_31_0_oldBody = opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body.data;
opcua_node_variable_t_i_11881_EnumValueType_31_0->content.encoded.body.data = opcua_node_variable_t_i_11881_EnumValueType_31_0_newBody;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_31_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11881_variant_DataContents[32];
opcua_node_variable_t_i_11881_variant_DataContents[0] = *opcua_node_variable_t_i_11881_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_0_0);
opcua_node_variable_t_i_11881_variant_DataContents[1] = *opcua_node_variable_t_i_11881_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_1_0);
opcua_node_variable_t_i_11881_variant_DataContents[2] = *opcua_node_variable_t_i_11881_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_2_0);
opcua_node_variable_t_i_11881_variant_DataContents[3] = *opcua_node_variable_t_i_11881_EnumValueType_3_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_3_0);
opcua_node_variable_t_i_11881_variant_DataContents[4] = *opcua_node_variable_t_i_11881_EnumValueType_4_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_4_0);
opcua_node_variable_t_i_11881_variant_DataContents[5] = *opcua_node_variable_t_i_11881_EnumValueType_5_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_5_0);
opcua_node_variable_t_i_11881_variant_DataContents[6] = *opcua_node_variable_t_i_11881_EnumValueType_6_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_6_0);
opcua_node_variable_t_i_11881_variant_DataContents[7] = *opcua_node_variable_t_i_11881_EnumValueType_7_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_7_0);
opcua_node_variable_t_i_11881_variant_DataContents[8] = *opcua_node_variable_t_i_11881_EnumValueType_8_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_8_0);
opcua_node_variable_t_i_11881_variant_DataContents[9] = *opcua_node_variable_t_i_11881_EnumValueType_9_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_9_0);
opcua_node_variable_t_i_11881_variant_DataContents[10] = *opcua_node_variable_t_i_11881_EnumValueType_10_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_10_0);
opcua_node_variable_t_i_11881_variant_DataContents[11] = *opcua_node_variable_t_i_11881_EnumValueType_11_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_11_0);
opcua_node_variable_t_i_11881_variant_DataContents[12] = *opcua_node_variable_t_i_11881_EnumValueType_12_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_12_0);
opcua_node_variable_t_i_11881_variant_DataContents[13] = *opcua_node_variable_t_i_11881_EnumValueType_13_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_13_0);
opcua_node_variable_t_i_11881_variant_DataContents[14] = *opcua_node_variable_t_i_11881_EnumValueType_14_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_14_0);
opcua_node_variable_t_i_11881_variant_DataContents[15] = *opcua_node_variable_t_i_11881_EnumValueType_15_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_15_0);
opcua_node_variable_t_i_11881_variant_DataContents[16] = *opcua_node_variable_t_i_11881_EnumValueType_16_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_16_0);
opcua_node_variable_t_i_11881_variant_DataContents[17] = *opcua_node_variable_t_i_11881_EnumValueType_17_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_17_0);
opcua_node_variable_t_i_11881_variant_DataContents[18] = *opcua_node_variable_t_i_11881_EnumValueType_18_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_18_0);
opcua_node_variable_t_i_11881_variant_DataContents[19] = *opcua_node_variable_t_i_11881_EnumValueType_19_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_19_0);
opcua_node_variable_t_i_11881_variant_DataContents[20] = *opcua_node_variable_t_i_11881_EnumValueType_20_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_20_0);
opcua_node_variable_t_i_11881_variant_DataContents[21] = *opcua_node_variable_t_i_11881_EnumValueType_21_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_21_0);
opcua_node_variable_t_i_11881_variant_DataContents[22] = *opcua_node_variable_t_i_11881_EnumValueType_22_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_22_0);
opcua_node_variable_t_i_11881_variant_DataContents[23] = *opcua_node_variable_t_i_11881_EnumValueType_23_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_23_0);
opcua_node_variable_t_i_11881_variant_DataContents[24] = *opcua_node_variable_t_i_11881_EnumValueType_24_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_24_0);
opcua_node_variable_t_i_11881_variant_DataContents[25] = *opcua_node_variable_t_i_11881_EnumValueType_25_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_25_0);
opcua_node_variable_t_i_11881_variant_DataContents[26] = *opcua_node_variable_t_i_11881_EnumValueType_26_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_26_0);
opcua_node_variable_t_i_11881_variant_DataContents[27] = *opcua_node_variable_t_i_11881_EnumValueType_27_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_27_0);
opcua_node_variable_t_i_11881_variant_DataContents[28] = *opcua_node_variable_t_i_11881_EnumValueType_28_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_28_0);
opcua_node_variable_t_i_11881_variant_DataContents[29] = *opcua_node_variable_t_i_11881_EnumValueType_29_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_29_0);
opcua_node_variable_t_i_11881_variant_DataContents[30] = *opcua_node_variable_t_i_11881_EnumValueType_30_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_30_0);
opcua_node_variable_t_i_11881_variant_DataContents[31] = *opcua_node_variable_t_i_11881_EnumValueType_31_0;
UA_free(opcua_node_variable_t_i_11881_EnumValueType_31_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11881_variant_DataContents, (UA_Int32) 32, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11881);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 348);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11881), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=376), AddNodesItem
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddNodesItem");
attr.description = UA_LOCALIZEDTEXT("", "A request to add a node to the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 376);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddNodesItem");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=379), AddReferencesItem
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddReferencesItem");
attr.description = UA_LOCALIZEDTEXT("", "A request to add a reference to the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 379);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddReferencesItem");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=382), DeleteNodesItem
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteNodesItem");
attr.description = UA_LOCALIZEDTEXT("", "A request to delete a node to the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 382);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteNodesItem");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=385), DeleteReferencesItem
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteReferencesItem");
attr.description = UA_LOCALIZEDTEXT("", "A request to delete a node from the server address space.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 385);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteReferencesItem");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=347), AttributeWriteMask
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AttributeWriteMask");
attr.description = UA_LOCALIZEDTEXT("", "Define bits used to indicate which attributes are writeable.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 347);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AttributeWriteMask");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=347/AttributeWriteMask using i=46/HasProperty
// Node: opcua_node_variable_t(i=11882), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_0_0_struct.Value = (UA_Int64) 0;
opcua_node_variable_t_i_11882_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "None");
opcua_node_variable_t_i_11882_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("", "No attributes are writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_1_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11882_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "AccessLevel");
opcua_node_variable_t_i_11882_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("", "The access level attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_2_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_11882_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ArrayDimensions");
opcua_node_variable_t_i_11882_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("", "The array dimensions attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_2_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_3_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_3_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11882_EnumValueType_3_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "BrowseName");
opcua_node_variable_t_i_11882_EnumValueType_3_0_struct.Description = UA_LOCALIZEDTEXT("", "The browse name attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_3_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_3_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_3_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_3_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_3_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_3_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_3_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_3_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_3_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_3_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_3_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_3_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_4_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_4_0_struct.Value = (UA_Int64) 8;
opcua_node_variable_t_i_11882_EnumValueType_4_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ContainsNoLoops");
opcua_node_variable_t_i_11882_EnumValueType_4_0_struct.Description = UA_LOCALIZEDTEXT("", "The contains no loops attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_4_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_4_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_4_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_4_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_4_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_4_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_4_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_4_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_4_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_4_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_4_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_4_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_5_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_5_0_struct.Value = (UA_Int64) 16;
opcua_node_variable_t_i_11882_EnumValueType_5_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "DataType");
opcua_node_variable_t_i_11882_EnumValueType_5_0_struct.Description = UA_LOCALIZEDTEXT("", "The data type attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_5_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_5_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_5_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_5_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_5_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_5_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_5_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_5_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_5_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_5_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_5_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_5_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_6_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_6_0_struct.Value = (UA_Int64) 32;
opcua_node_variable_t_i_11882_EnumValueType_6_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Description");
opcua_node_variable_t_i_11882_EnumValueType_6_0_struct.Description = UA_LOCALIZEDTEXT("", "The description attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_6_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_6_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_6_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_6_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_6_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_6_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_6_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_6_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_6_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_6_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_6_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_6_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_7_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_7_0_struct.Value = (UA_Int64) 64;
opcua_node_variable_t_i_11882_EnumValueType_7_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "DisplayName");
opcua_node_variable_t_i_11882_EnumValueType_7_0_struct.Description = UA_LOCALIZEDTEXT("", "The display name attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_7_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_7_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_7_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_7_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_7_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_7_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_7_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_7_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_7_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_7_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_7_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_7_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_8_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_8_0_struct.Value = (UA_Int64) 128;
opcua_node_variable_t_i_11882_EnumValueType_8_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "EventNotifier");
opcua_node_variable_t_i_11882_EnumValueType_8_0_struct.Description = UA_LOCALIZEDTEXT("", "The event notifier attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_8_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_8_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_8_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_8_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_8_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_8_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_8_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_8_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_8_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_8_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_8_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_8_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_9_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_9_0_struct.Value = (UA_Int64) 256;
opcua_node_variable_t_i_11882_EnumValueType_9_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Executable");
opcua_node_variable_t_i_11882_EnumValueType_9_0_struct.Description = UA_LOCALIZEDTEXT("", "The executable attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_9_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_9_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_9_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_9_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_9_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_9_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_9_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_9_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_9_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_9_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_9_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_9_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_10_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_10_0_struct.Value = (UA_Int64) 512;
opcua_node_variable_t_i_11882_EnumValueType_10_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Historizing");
opcua_node_variable_t_i_11882_EnumValueType_10_0_struct.Description = UA_LOCALIZEDTEXT("", "The historizing attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_10_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_10_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_10_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_10_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_10_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_10_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_10_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_10_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_10_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_10_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_10_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_10_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_11_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_11_0_struct.Value = (UA_Int64) 1024;
opcua_node_variable_t_i_11882_EnumValueType_11_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "InverseName");
opcua_node_variable_t_i_11882_EnumValueType_11_0_struct.Description = UA_LOCALIZEDTEXT("", "The inverse name attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_11_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_11_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_11_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_11_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_11_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_11_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_11_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_11_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_11_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_11_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_11_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_11_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_12_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_12_0_struct.Value = (UA_Int64) 2048;
opcua_node_variable_t_i_11882_EnumValueType_12_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "IsAbstract");
opcua_node_variable_t_i_11882_EnumValueType_12_0_struct.Description = UA_LOCALIZEDTEXT("", "The is abstract attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_12_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_12_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_12_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_12_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_12_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_12_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_12_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_12_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_12_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_12_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_12_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_12_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_13_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_13_0_struct.Value = (UA_Int64) 4096;
opcua_node_variable_t_i_11882_EnumValueType_13_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "MinimumSamplingInterval");
opcua_node_variable_t_i_11882_EnumValueType_13_0_struct.Description = UA_LOCALIZEDTEXT("", "The minimum sampling interval attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_13_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_13_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_13_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_13_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_13_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_13_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_13_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_13_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_13_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_13_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_13_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_13_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_14_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_14_0_struct.Value = (UA_Int64) 8192;
opcua_node_variable_t_i_11882_EnumValueType_14_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "NodeClass");
opcua_node_variable_t_i_11882_EnumValueType_14_0_struct.Description = UA_LOCALIZEDTEXT("", "The node class attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_14_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_14_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_14_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_14_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_14_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_14_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_14_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_14_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_14_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_14_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_14_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_14_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_15_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_15_0_struct.Value = (UA_Int64) 16384;
opcua_node_variable_t_i_11882_EnumValueType_15_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "NodeId");
opcua_node_variable_t_i_11882_EnumValueType_15_0_struct.Description = UA_LOCALIZEDTEXT("", "The node id attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_15_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_15_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_15_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_15_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_15_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_15_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_15_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_15_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_15_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_15_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_15_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_15_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_16_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_16_0_struct.Value = (UA_Int64) 32768;
opcua_node_variable_t_i_11882_EnumValueType_16_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Symmetric");
opcua_node_variable_t_i_11882_EnumValueType_16_0_struct.Description = UA_LOCALIZEDTEXT("", "The symmetric attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_16_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_16_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_16_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_16_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_16_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_16_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_16_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_16_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_16_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_16_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_16_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_16_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_17_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_17_0_struct.Value = (UA_Int64) 65536;
opcua_node_variable_t_i_11882_EnumValueType_17_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "UserAccessLevel");
opcua_node_variable_t_i_11882_EnumValueType_17_0_struct.Description = UA_LOCALIZEDTEXT("", "The user access level attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_17_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_17_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_17_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_17_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_17_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_17_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_17_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_17_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_17_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_17_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_17_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_17_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_18_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_18_0_struct.Value = (UA_Int64) 131072;
opcua_node_variable_t_i_11882_EnumValueType_18_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "UserExecutable");
opcua_node_variable_t_i_11882_EnumValueType_18_0_struct.Description = UA_LOCALIZEDTEXT("", "The user executable attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_18_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_18_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_18_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_18_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_18_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_18_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_18_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_18_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_18_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_18_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_18_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_18_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_19_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_19_0_struct.Value = (UA_Int64) 262144;
opcua_node_variable_t_i_11882_EnumValueType_19_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "UserWriteMask");
opcua_node_variable_t_i_11882_EnumValueType_19_0_struct.Description = UA_LOCALIZEDTEXT("", "The user write mask attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_19_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_19_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_19_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_19_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_19_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_19_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_19_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_19_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_19_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_19_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_19_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_19_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_20_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_20_0_struct.Value = (UA_Int64) 524288;
opcua_node_variable_t_i_11882_EnumValueType_20_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ValueRank");
opcua_node_variable_t_i_11882_EnumValueType_20_0_struct.Description = UA_LOCALIZEDTEXT("", "The value rank attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_20_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_20_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_20_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_20_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_20_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_20_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_20_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_20_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_20_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_20_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_20_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_20_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_21_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_21_0_struct.Value = (UA_Int64) 1048576;
opcua_node_variable_t_i_11882_EnumValueType_21_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "WriteMask");
opcua_node_variable_t_i_11882_EnumValueType_21_0_struct.Description = UA_LOCALIZEDTEXT("", "The write mask attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_21_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_21_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_21_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_21_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_21_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_21_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_21_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_21_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_21_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_21_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_21_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_21_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11882_EnumValueType_22_0_struct;
opcua_node_variable_t_i_11882_EnumValueType_22_0_struct.Value = (UA_Int64) 2097152;
opcua_node_variable_t_i_11882_EnumValueType_22_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "ValueForVariableType");
opcua_node_variable_t_i_11882_EnumValueType_22_0_struct.Description = UA_LOCALIZEDTEXT("", "The value attribute is writeable.");
UA_ExtensionObject *opcua_node_variable_t_i_11882_EnumValueType_22_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11882_EnumValueType_22_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_22_0_struct.Value, &opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_22_0_struct.DisplayName, &opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11882_EnumValueType_22_0_struct.Description, &opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body, &opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset);
opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body.length = opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_22_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset );
memcpy(opcua_node_variable_t_i_11882_EnumValueType_22_0_newBody, opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body.data, opcua_node_variable_t_i_11882_EnumValueType_22_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11882_EnumValueType_22_0_oldBody = opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body.data;
opcua_node_variable_t_i_11882_EnumValueType_22_0->content.encoded.body.data = opcua_node_variable_t_i_11882_EnumValueType_22_0_newBody;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_22_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11882_variant_DataContents[23];
opcua_node_variable_t_i_11882_variant_DataContents[0] = *opcua_node_variable_t_i_11882_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_0_0);
opcua_node_variable_t_i_11882_variant_DataContents[1] = *opcua_node_variable_t_i_11882_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_1_0);
opcua_node_variable_t_i_11882_variant_DataContents[2] = *opcua_node_variable_t_i_11882_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_2_0);
opcua_node_variable_t_i_11882_variant_DataContents[3] = *opcua_node_variable_t_i_11882_EnumValueType_3_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_3_0);
opcua_node_variable_t_i_11882_variant_DataContents[4] = *opcua_node_variable_t_i_11882_EnumValueType_4_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_4_0);
opcua_node_variable_t_i_11882_variant_DataContents[5] = *opcua_node_variable_t_i_11882_EnumValueType_5_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_5_0);
opcua_node_variable_t_i_11882_variant_DataContents[6] = *opcua_node_variable_t_i_11882_EnumValueType_6_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_6_0);
opcua_node_variable_t_i_11882_variant_DataContents[7] = *opcua_node_variable_t_i_11882_EnumValueType_7_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_7_0);
opcua_node_variable_t_i_11882_variant_DataContents[8] = *opcua_node_variable_t_i_11882_EnumValueType_8_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_8_0);
opcua_node_variable_t_i_11882_variant_DataContents[9] = *opcua_node_variable_t_i_11882_EnumValueType_9_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_9_0);
opcua_node_variable_t_i_11882_variant_DataContents[10] = *opcua_node_variable_t_i_11882_EnumValueType_10_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_10_0);
opcua_node_variable_t_i_11882_variant_DataContents[11] = *opcua_node_variable_t_i_11882_EnumValueType_11_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_11_0);
opcua_node_variable_t_i_11882_variant_DataContents[12] = *opcua_node_variable_t_i_11882_EnumValueType_12_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_12_0);
opcua_node_variable_t_i_11882_variant_DataContents[13] = *opcua_node_variable_t_i_11882_EnumValueType_13_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_13_0);
opcua_node_variable_t_i_11882_variant_DataContents[14] = *opcua_node_variable_t_i_11882_EnumValueType_14_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_14_0);
opcua_node_variable_t_i_11882_variant_DataContents[15] = *opcua_node_variable_t_i_11882_EnumValueType_15_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_15_0);
opcua_node_variable_t_i_11882_variant_DataContents[16] = *opcua_node_variable_t_i_11882_EnumValueType_16_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_16_0);
opcua_node_variable_t_i_11882_variant_DataContents[17] = *opcua_node_variable_t_i_11882_EnumValueType_17_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_17_0);
opcua_node_variable_t_i_11882_variant_DataContents[18] = *opcua_node_variable_t_i_11882_EnumValueType_18_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_18_0);
opcua_node_variable_t_i_11882_variant_DataContents[19] = *opcua_node_variable_t_i_11882_EnumValueType_19_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_19_0);
opcua_node_variable_t_i_11882_variant_DataContents[20] = *opcua_node_variable_t_i_11882_EnumValueType_20_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_20_0);
opcua_node_variable_t_i_11882_variant_DataContents[21] = *opcua_node_variable_t_i_11882_EnumValueType_21_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_21_0);
opcua_node_variable_t_i_11882_variant_DataContents[22] = *opcua_node_variable_t_i_11882_EnumValueType_22_0;
UA_free(opcua_node_variable_t_i_11882_EnumValueType_22_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11882_variant_DataContents, (UA_Int32) 23, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11882);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 347);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11882), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=15/ByteString using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=521), ContinuationPoint
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContinuationPoint");
attr.description = UA_LOCALIZEDTEXT("", "An identifier for a suspended query or browse operation.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 521);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 15);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContinuationPoint");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=7/UInt32 using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=289), Counter
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Counter");
attr.description = UA_LOCALIZEDTEXT("", "A monotonically increasing value.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 289);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Counter");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12/String using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=291), NumericRange
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NumericRange");
attr.description = UA_LOCALIZEDTEXT("", "Specifies a range of array indexes.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 291);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NumericRange");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12/String using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=292), Time
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Time");
attr.description = UA_LOCALIZEDTEXT("", "A time value specified as HH:MM:SS.SSS.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 292);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Time");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=13/DateTime using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=293), Date
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Date");
attr.description = UA_LOCALIZEDTEXT("", "A date value.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 293);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 13);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Date");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=331), EndpointConfiguration
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 331);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointConfiguration");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=334), ComplianceLevel
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ComplianceLevel");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 334);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ComplianceLevel");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=334/ComplianceLevel using i=46/HasProperty
// Node: opcua_node_variable_t(i=7599), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7599_variant_DataContents[4];
opcua_node_variable_t_i_7599_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Untested");
opcua_node_variable_t_i_7599_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "Partial");
opcua_node_variable_t_i_7599_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "SelfTested");
opcua_node_variable_t_i_7599_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "Certified");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7599_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7599);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 334);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7599), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=335), SupportedProfile
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SupportedProfile");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 335);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SupportedProfile");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=341), SoftwareCertificate
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 341);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareCertificate");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=576), FilterOperator
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FilterOperator");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 576);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FilterOperator");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=576/FilterOperator using i=46/HasProperty
// Node: opcua_node_variable_t(i=7605), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7605_variant_DataContents[18];
opcua_node_variable_t_i_7605_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Equals");
opcua_node_variable_t_i_7605_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "IsNull");
opcua_node_variable_t_i_7605_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "GreaterThan");
opcua_node_variable_t_i_7605_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "LessThan");
opcua_node_variable_t_i_7605_variant_DataContents[4] = UA_LOCALIZEDTEXT_ALLOC("", "GreaterThanOrEqual");
opcua_node_variable_t_i_7605_variant_DataContents[5] = UA_LOCALIZEDTEXT_ALLOC("", "LessThanOrEqual");
opcua_node_variable_t_i_7605_variant_DataContents[6] = UA_LOCALIZEDTEXT_ALLOC("", "Like");
opcua_node_variable_t_i_7605_variant_DataContents[7] = UA_LOCALIZEDTEXT_ALLOC("", "Not");
opcua_node_variable_t_i_7605_variant_DataContents[8] = UA_LOCALIZEDTEXT_ALLOC("", "Between");
opcua_node_variable_t_i_7605_variant_DataContents[9] = UA_LOCALIZEDTEXT_ALLOC("", "InList");
opcua_node_variable_t_i_7605_variant_DataContents[10] = UA_LOCALIZEDTEXT_ALLOC("", "And");
opcua_node_variable_t_i_7605_variant_DataContents[11] = UA_LOCALIZEDTEXT_ALLOC("", "Or");
opcua_node_variable_t_i_7605_variant_DataContents[12] = UA_LOCALIZEDTEXT_ALLOC("", "Cast");
opcua_node_variable_t_i_7605_variant_DataContents[13] = UA_LOCALIZEDTEXT_ALLOC("", "InView");
opcua_node_variable_t_i_7605_variant_DataContents[14] = UA_LOCALIZEDTEXT_ALLOC("", "OfType");
opcua_node_variable_t_i_7605_variant_DataContents[15] = UA_LOCALIZEDTEXT_ALLOC("", "RelatedTo");
opcua_node_variable_t_i_7605_variant_DataContents[16] = UA_LOCALIZEDTEXT_ALLOC("", "BitwiseAnd");
opcua_node_variable_t_i_7605_variant_DataContents[17] = UA_LOCALIZEDTEXT_ALLOC("", "BitwiseOr");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7605_variant_DataContents, (UA_Int32) 18, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7605);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 576);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7605), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=583), ContentFilterElement
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContentFilterElement");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 583);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContentFilterElement");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=586), ContentFilter
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContentFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 586);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContentFilter");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=589), FilterOperand
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FilterOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FilterOperand");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=589/FilterOperand using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=592), ElementOperand
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ElementOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 592);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ElementOperand");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=589/FilterOperand using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=595), LiteralOperand
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LiteralOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 595);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LiteralOperand");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=589/FilterOperand using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=598), AttributeOperand
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AttributeOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 598);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AttributeOperand");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=589/FilterOperand using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=601), SimpleAttributeOperand
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SimpleAttributeOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 601);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SimpleAttributeOperand");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=659), HistoryEvent
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryEvent");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 659);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryEvent");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11234), HistoryUpdateType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryUpdateType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11234);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryUpdateType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11234/HistoryUpdateType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11884), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11884_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11884_EnumValueType_0_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11884_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Insert");
opcua_node_variable_t_i_11884_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11884_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11884_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11884_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11884_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11884_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11884_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11884_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11884_EnumValueType_1_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_11884_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Replace");
opcua_node_variable_t_i_11884_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11884_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11884_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11884_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11884_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11884_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11884_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11884_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11884_EnumValueType_2_0_struct.Value = (UA_Int64) 3;
opcua_node_variable_t_i_11884_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Update");
opcua_node_variable_t_i_11884_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11884_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11884_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11884_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11884_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11884_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11884_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_2_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11884_EnumValueType_3_0_struct;
opcua_node_variable_t_i_11884_EnumValueType_3_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11884_EnumValueType_3_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Delete");
opcua_node_variable_t_i_11884_EnumValueType_3_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11884_EnumValueType_3_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11884_EnumValueType_3_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_3_0_struct.Value, &opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_3_0_struct.DisplayName, &opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11884_EnumValueType_3_0_struct.Description, &opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset);
opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body.length = opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_3_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset );
memcpy(opcua_node_variable_t_i_11884_EnumValueType_3_0_newBody, opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body.data, opcua_node_variable_t_i_11884_EnumValueType_3_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11884_EnumValueType_3_0_oldBody = opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body.data;
opcua_node_variable_t_i_11884_EnumValueType_3_0->content.encoded.body.data = opcua_node_variable_t_i_11884_EnumValueType_3_0_newBody;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_3_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11884_variant_DataContents[4];
opcua_node_variable_t_i_11884_variant_DataContents[0] = *opcua_node_variable_t_i_11884_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_0_0);
opcua_node_variable_t_i_11884_variant_DataContents[1] = *opcua_node_variable_t_i_11884_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_1_0);
opcua_node_variable_t_i_11884_variant_DataContents[2] = *opcua_node_variable_t_i_11884_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_2_0);
opcua_node_variable_t_i_11884_variant_DataContents[3] = *opcua_node_variable_t_i_11884_EnumValueType_3_0;
UA_free(opcua_node_variable_t_i_11884_EnumValueType_3_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11884_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11884);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11234);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11884), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11293), PerformUpdateType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "PerformUpdateType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11293);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "PerformUpdateType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=11293/PerformUpdateType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11885), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11885_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11885_EnumValueType_0_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11885_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Insert");
opcua_node_variable_t_i_11885_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11885_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11885_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11885_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11885_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11885_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11885_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11885_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11885_EnumValueType_1_0_struct.Value = (UA_Int64) 2;
opcua_node_variable_t_i_11885_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Replace");
opcua_node_variable_t_i_11885_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11885_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11885_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11885_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11885_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11885_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11885_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11885_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11885_EnumValueType_2_0_struct.Value = (UA_Int64) 3;
opcua_node_variable_t_i_11885_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Update");
opcua_node_variable_t_i_11885_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11885_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11885_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11885_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11885_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11885_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11885_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_2_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11885_EnumValueType_3_0_struct;
opcua_node_variable_t_i_11885_EnumValueType_3_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11885_EnumValueType_3_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Remove");
opcua_node_variable_t_i_11885_EnumValueType_3_0_struct.Description = UA_LOCALIZEDTEXT("en_US", "");
UA_ExtensionObject *opcua_node_variable_t_i_11885_EnumValueType_3_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11885_EnumValueType_3_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_3_0_struct.Value, &opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_3_0_struct.DisplayName, &opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11885_EnumValueType_3_0_struct.Description, &opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body, &opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset);
opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body.length = opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_3_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset );
memcpy(opcua_node_variable_t_i_11885_EnumValueType_3_0_newBody, opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body.data, opcua_node_variable_t_i_11885_EnumValueType_3_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11885_EnumValueType_3_0_oldBody = opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body.data;
opcua_node_variable_t_i_11885_EnumValueType_3_0->content.encoded.body.data = opcua_node_variable_t_i_11885_EnumValueType_3_0_newBody;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_3_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11885_variant_DataContents[4];
opcua_node_variable_t_i_11885_variant_DataContents[0] = *opcua_node_variable_t_i_11885_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_0_0);
opcua_node_variable_t_i_11885_variant_DataContents[1] = *opcua_node_variable_t_i_11885_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_1_0);
opcua_node_variable_t_i_11885_variant_DataContents[2] = *opcua_node_variable_t_i_11885_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_2_0);
opcua_node_variable_t_i_11885_variant_DataContents[3] = *opcua_node_variable_t_i_11885_EnumValueType_3_0;
UA_free(opcua_node_variable_t_i_11885_EnumValueType_3_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11885_variant_DataContents, (UA_Int32) 4, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11885);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11293);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11885), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=719), MonitoringFilter
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MonitoringFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 719);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MonitoringFilter");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=719/MonitoringFilter using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=725), EventFilter
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 725);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 719);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventFilter");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=948), AggregateConfiguration
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 948);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateConfiguration");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=920), HistoryEventFieldList
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryEventFieldList");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 920);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryEventFieldList");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=398), EnumeratedTestType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumeratedTestType");
attr.description = UA_LOCALIZEDTEXT("", "A simple enumerated type used for testing.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 398);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumeratedTestType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=398/EnumeratedTestType using i=46/HasProperty
// Node: opcua_node_variable_t(i=11886), EnumValues
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValues");
attr.description = UA_LOCALIZEDTEXT("", "");

struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11886_EnumValueType_0_0_struct;
opcua_node_variable_t_i_11886_EnumValueType_0_0_struct.Value = (UA_Int64) 1;
opcua_node_variable_t_i_11886_EnumValueType_0_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Red");
opcua_node_variable_t_i_11886_EnumValueType_0_0_struct.Description = UA_LOCALIZEDTEXT("", "Operation has halted.");
UA_ExtensionObject *opcua_node_variable_t_i_11886_EnumValueType_0_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11886_EnumValueType_0_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_0_0_struct.Value, &opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_0_0_struct.DisplayName, &opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_0_0_struct.Description, &opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset);
opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body.length = opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11886_EnumValueType_0_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset );
memcpy(opcua_node_variable_t_i_11886_EnumValueType_0_0_newBody, opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body.data, opcua_node_variable_t_i_11886_EnumValueType_0_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11886_EnumValueType_0_0_oldBody = opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body.data;
opcua_node_variable_t_i_11886_EnumValueType_0_0->content.encoded.body.data = opcua_node_variable_t_i_11886_EnumValueType_0_0_newBody;
UA_free(opcua_node_variable_t_i_11886_EnumValueType_0_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11886_EnumValueType_1_0_struct;
opcua_node_variable_t_i_11886_EnumValueType_1_0_struct.Value = (UA_Int64) 4;
opcua_node_variable_t_i_11886_EnumValueType_1_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Yellow");
opcua_node_variable_t_i_11886_EnumValueType_1_0_struct.Description = UA_LOCALIZEDTEXT("", "Operation is proceeding with caution.");
UA_ExtensionObject *opcua_node_variable_t_i_11886_EnumValueType_1_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11886_EnumValueType_1_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_1_0_struct.Value, &opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_1_0_struct.DisplayName, &opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_1_0_struct.Description, &opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset);
opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body.length = opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11886_EnumValueType_1_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset );
memcpy(opcua_node_variable_t_i_11886_EnumValueType_1_0_newBody, opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body.data, opcua_node_variable_t_i_11886_EnumValueType_1_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11886_EnumValueType_1_0_oldBody = opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body.data;
opcua_node_variable_t_i_11886_EnumValueType_1_0->content.encoded.body.data = opcua_node_variable_t_i_11886_EnumValueType_1_0_newBody;
UA_free(opcua_node_variable_t_i_11886_EnumValueType_1_0_oldBody);


struct {
  UA_Int64 Value;
  UA_LocalizedText DisplayName;
  UA_LocalizedText Description;
} opcua_node_variable_t_i_11886_EnumValueType_2_0_struct;
opcua_node_variable_t_i_11886_EnumValueType_2_0_struct.Value = (UA_Int64) 5;
opcua_node_variable_t_i_11886_EnumValueType_2_0_struct.DisplayName = UA_LOCALIZEDTEXT("", "Green");
opcua_node_variable_t_i_11886_EnumValueType_2_0_struct.Description = UA_LOCALIZEDTEXT("", "Operation is proceeding normally.");
UA_ExtensionObject *opcua_node_variable_t_i_11886_EnumValueType_2_0 =  UA_ExtensionObject_new();
opcua_node_variable_t_i_11886_EnumValueType_2_0->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.typeId = UA_NODEID_NUMERIC(0, 7594+ UA_ENCODINGOFFSET_BINARY);
if(UA_ByteString_allocBuffer(&opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body, 65000) != UA_STATUSCODE_GOOD) {}
size_t opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset = 0;
UA_Int64_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_2_0_struct.Value, &opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_2_0_struct.DisplayName, &opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset);
UA_LocalizedText_encodeBinary(&opcua_node_variable_t_i_11886_EnumValueType_2_0_struct.Description, &opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body, &opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset);
opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body.length = opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset;
UA_Byte *opcua_node_variable_t_i_11886_EnumValueType_2_0_newBody = (UA_Byte *) UA_malloc(opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset );
memcpy(opcua_node_variable_t_i_11886_EnumValueType_2_0_newBody, opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body.data, opcua_node_variable_t_i_11886_EnumValueType_2_0_encOffset);
UA_Byte *opcua_node_variable_t_i_11886_EnumValueType_2_0_oldBody = opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body.data;
opcua_node_variable_t_i_11886_EnumValueType_2_0->content.encoded.body.data = opcua_node_variable_t_i_11886_EnumValueType_2_0_newBody;
UA_free(opcua_node_variable_t_i_11886_EnumValueType_2_0_oldBody);

UA_ExtensionObject opcua_node_variable_t_i_11886_variant_DataContents[3];
opcua_node_variable_t_i_11886_variant_DataContents[0] = *opcua_node_variable_t_i_11886_EnumValueType_0_0;
UA_free(opcua_node_variable_t_i_11886_EnumValueType_0_0);
opcua_node_variable_t_i_11886_variant_DataContents[1] = *opcua_node_variable_t_i_11886_EnumValueType_1_0;
UA_free(opcua_node_variable_t_i_11886_EnumValueType_1_0);
opcua_node_variable_t_i_11886_variant_DataContents[2] = *opcua_node_variable_t_i_11886_EnumValueType_2_0;
UA_free(opcua_node_variable_t_i_11886_EnumValueType_2_0);
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_11886_variant_DataContents, (UA_Int32) 3, &UA_TYPES[UA_TYPES_EXTENSIONOBJECT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11886);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 398);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValues");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11886), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=399), ScalarTestType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ScalarTestType");
attr.description = UA_LOCALIZEDTEXT("", "A complex type containing all possible scalar types used for testing.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 399);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ScalarTestType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=402), ArrayTestType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ArrayTestType");
attr.description = UA_LOCALIZEDTEXT("", "A complex type containing all possible array types used for testing.");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 402);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ArrayTestType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=405), CompositeTestType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CompositeTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 405);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CompositeTestType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=338), BuildInfo
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfo");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 338);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfo");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=851), RedundancySupport
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundancySupport");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 851);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundancySupport");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=851/RedundancySupport using i=46/HasProperty
// Node: opcua_node_variable_t(i=7611), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7611_variant_DataContents[6];
opcua_node_variable_t_i_7611_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "None");
opcua_node_variable_t_i_7611_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "Cold");
opcua_node_variable_t_i_7611_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "Warm");
opcua_node_variable_t_i_7611_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "Hot");
opcua_node_variable_t_i_7611_variant_DataContents[4] = UA_LOCALIZEDTEXT_ALLOC("", "Transparent");
opcua_node_variable_t_i_7611_variant_DataContents[5] = UA_LOCALIZEDTEXT_ALLOC("", "HotAndMirrored");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7611_variant_DataContents, (UA_Int32) 6, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7611);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 851);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7611), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=852), ServerState
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerState");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 852);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerState");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=852/ServerState using i=46/HasProperty
// Node: opcua_node_variable_t(i=7612), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7612_variant_DataContents[8];
opcua_node_variable_t_i_7612_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Running");
opcua_node_variable_t_i_7612_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "Failed");
opcua_node_variable_t_i_7612_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "NoConfiguration");
opcua_node_variable_t_i_7612_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "Suspended");
opcua_node_variable_t_i_7612_variant_DataContents[4] = UA_LOCALIZEDTEXT_ALLOC("", "Shutdown");
opcua_node_variable_t_i_7612_variant_DataContents[5] = UA_LOCALIZEDTEXT_ALLOC("", "Test");
opcua_node_variable_t_i_7612_variant_DataContents[6] = UA_LOCALIZEDTEXT_ALLOC("", "CommunicationFault");
opcua_node_variable_t_i_7612_variant_DataContents[7] = UA_LOCALIZEDTEXT_ALLOC("", "Unknown");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7612_variant_DataContents, (UA_Int32) 8, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7612);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 852);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7612), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=853), RedundantServerDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundantServerDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 853);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundantServerDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11943), EndpointUrlListDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrlListDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11943);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrlListDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=11944), NetworkGroupDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NetworkGroupDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11944);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NetworkGroupDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=856), SamplingIntervalDiagnosticsDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 856);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=859), ServerDiagnosticsSummaryDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummaryDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 859);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummaryDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=862), ServerStatusDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerStatusDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 862);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerStatusDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=865), SessionDiagnosticsDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 865);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=868), SessionSecurityDiagnosticsDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 868);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=871), ServiceCounterDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServiceCounterDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 871);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServiceCounterDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=299), StatusResult
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StatusResult");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 299);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StatusResult");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=874), SubscriptionDiagnosticsDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 874);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=877), ModelChangeStructureDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModelChangeStructureDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 877);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModelChangeStructureDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=897), SemanticChangeStructureDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SemanticChangeStructureDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 897);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SemanticChangeStructureDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=884), Range
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Range");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 884);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Range");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=887), EUInformation
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EUInformation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 887);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EUInformation");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=12077), AxisScaleEnumeration
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AxisScaleEnumeration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12077);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AxisScaleEnumeration");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=12077/AxisScaleEnumeration using i=46/HasProperty
// Node: opcua_node_variable_t(i=12078), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_12078_variant_DataContents[3];
opcua_node_variable_t_i_12078_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "Linear");
opcua_node_variable_t_i_12078_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "Log");
opcua_node_variable_t_i_12078_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "Ln");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_12078_variant_DataContents, (UA_Int32) 3, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12078);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12077);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12078), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=12171), ComplexNumberType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ComplexNumberType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12171);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ComplexNumberType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=12172), DoubleComplexNumberType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DoubleComplexNumberType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12172);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DoubleComplexNumberType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=12079), AxisInformation
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AxisInformation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12079);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AxisInformation");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=12080), XVType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XVType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12080);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XVType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=894), ProgramDiagnosticDataType
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramDiagnosticDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 894);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramDiagnosticDataType");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=22/Structure using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=891), Annotation
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Annotation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 891);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 22);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Annotation");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=29/Enumeration using i=45/HasSubtype
// Node: opcua_node_dataType_t(i=890), ExceptionDeviationFormat
UA_DataTypeAttributes attr;
UA_DataTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ExceptionDeviationFormat");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 890);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 29);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ExceptionDeviationFormat");
UA_Server_addDataTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: i=890/ExceptionDeviationFormat using i=46/HasProperty
// Node: opcua_node_variable_t(i=7614), EnumStrings
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumStrings");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_LocalizedText opcua_node_variable_t_i_7614_variant_DataContents[5];
opcua_node_variable_t_i_7614_variant_DataContents[0] = UA_LOCALIZEDTEXT_ALLOC("", "AbsoluteValue");
opcua_node_variable_t_i_7614_variant_DataContents[1] = UA_LOCALIZEDTEXT_ALLOC("", "PercentOfRange");
opcua_node_variable_t_i_7614_variant_DataContents[2] = UA_LOCALIZEDTEXT_ALLOC("", "PercentOfValue");
opcua_node_variable_t_i_7614_variant_DataContents[3] = UA_LOCALIZEDTEXT_ALLOC("", "PercentOfEURange");
opcua_node_variable_t_i_7614_variant_DataContents[4] = UA_LOCALIZEDTEXT_ALLOC("", "Unknown");
UA_Variant_setArray( &attr.value, &opcua_node_variable_t_i_7614_variant_DataContents, (UA_Int32) 5, &UA_TYPES[UA_TYPES_LOCALIZEDTEXT]);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7614);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 890);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumStrings");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7614), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=296/Argument using i=38/HasEncoding
// Node: opcua_node_object_t(i=297), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 297);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 296);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 297), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7594/EnumValueType using i=38/HasEncoding
// Node: opcua_node_object_t(i=7616), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7616);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7594);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7616), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8912/TimeZoneDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=8913), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8913);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8912);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8913), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=308/ApplicationDescription using i=38/HasEncoding
// Node: opcua_node_object_t(i=309), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 309);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 308);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 309), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=304/UserTokenPolicy using i=38/HasEncoding
// Node: opcua_node_object_t(i=305), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 305);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 304);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 305), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=312/EndpointDescription using i=38/HasEncoding
// Node: opcua_node_object_t(i=313), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 313);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 312);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 313), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=432/RegisteredServer using i=38/HasEncoding
// Node: opcua_node_object_t(i=433), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 433);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 432);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 433), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=344/SignedSoftwareCertificate using i=38/HasEncoding
// Node: opcua_node_object_t(i=345), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 345);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 344);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 345), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=316/UserIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=317), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 317);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 317), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=319/AnonymousIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=320), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 320);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 319);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 320), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=322/UserNameIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=323), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 323);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 322);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 323), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=325/X509IdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=326), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 326);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 325);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 326), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=938/IssuedIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=939), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 939);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 938);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 939), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=376/AddNodesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=377), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 377);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 376);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 377), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=379/AddReferencesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=380), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 380);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 379);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 380), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=382/DeleteNodesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=383), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 383);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 382);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 383), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=385/DeleteReferencesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=386), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 386);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 385);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 386), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=331/EndpointConfiguration using i=38/HasEncoding
// Node: opcua_node_object_t(i=332), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 332);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 331);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 332), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=335/SupportedProfile using i=38/HasEncoding
// Node: opcua_node_object_t(i=336), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 336);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 335);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 336), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=341/SoftwareCertificate using i=38/HasEncoding
// Node: opcua_node_object_t(i=342), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 342);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 341);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 342), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=583/ContentFilterElement using i=38/HasEncoding
// Node: opcua_node_object_t(i=584), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 584);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 583);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 584), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=586/ContentFilter using i=38/HasEncoding
// Node: opcua_node_object_t(i=587), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 587);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 586);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 587), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=589/FilterOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=590), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 590);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 590), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=592/ElementOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=593), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 593);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 592);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 593), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=595/LiteralOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=596), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 596);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 595);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 596), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=598/AttributeOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=599), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 599);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 598);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 599), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=601/SimpleAttributeOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=602), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 602);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 601);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 602), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=659/HistoryEvent using i=38/HasEncoding
// Node: opcua_node_object_t(i=660), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 660);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 659);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 660), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=719/MonitoringFilter using i=38/HasEncoding
// Node: opcua_node_object_t(i=720), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 720);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 719);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 720), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=725/EventFilter using i=38/HasEncoding
// Node: opcua_node_object_t(i=726), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 726);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 725);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 726), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=948/AggregateConfiguration using i=38/HasEncoding
// Node: opcua_node_object_t(i=949), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 949);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 948);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 949), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=920/HistoryEventFieldList using i=38/HasEncoding
// Node: opcua_node_object_t(i=921), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 921);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 920);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 921), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=399/ScalarTestType using i=38/HasEncoding
// Node: opcua_node_object_t(i=400), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 400);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 400), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=402/ArrayTestType using i=38/HasEncoding
// Node: opcua_node_object_t(i=403), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 403);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 402);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 403), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=405/CompositeTestType using i=38/HasEncoding
// Node: opcua_node_object_t(i=406), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 406);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 405);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 406), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=338/BuildInfo using i=38/HasEncoding
// Node: opcua_node_object_t(i=339), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 339);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 338);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 339), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=853/RedundantServerDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=854), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 854);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 853);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 854), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11943/EndpointUrlListDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=11949), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11949);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11943);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11949), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11944/NetworkGroupDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=11950), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11950);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11944);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11950), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=856/SamplingIntervalDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=857), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 857);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 856);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 857), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=859/ServerDiagnosticsSummaryDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=860), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 860);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 859);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 860), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=862/ServerStatusDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=863), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 863);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 862);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 863), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=865/SessionDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=866), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 866);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 865);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 866), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=868/SessionSecurityDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=869), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 869);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 868);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 869), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=871/ServiceCounterDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=872), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 872);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 871);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 872), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=299/StatusResult using i=38/HasEncoding
// Node: opcua_node_object_t(i=300), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 300);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 299);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 300), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=874/SubscriptionDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=875), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 875);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 874);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 875), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=877/ModelChangeStructureDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=878), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 878);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 877);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 878), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=897/SemanticChangeStructureDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=898), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 898);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 897);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 898), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=884/Range using i=38/HasEncoding
// Node: opcua_node_object_t(i=885), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 885);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 884);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 885), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=887/EUInformation using i=38/HasEncoding
// Node: opcua_node_object_t(i=888), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 888);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 887);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 888), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12171/ComplexNumberType using i=38/HasEncoding
// Node: opcua_node_object_t(i=12173), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12173);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12171);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12173), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12172/DoubleComplexNumberType using i=38/HasEncoding
// Node: opcua_node_object_t(i=12174), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12174);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12174), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12079/AxisInformation using i=38/HasEncoding
// Node: opcua_node_object_t(i=12081), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12081);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12079);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12081), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12080/XVType using i=38/HasEncoding
// Node: opcua_node_object_t(i=12082), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12082);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12082), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=894/ProgramDiagnosticDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=895), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 895);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 894);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 895), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=891/Annotation using i=38/HasEncoding
// Node: opcua_node_object_t(i=892), Default XML
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default XML");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 892);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 891);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default XML");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 892), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=92/XML Schema using i=47/HasComponent
// Node: opcua_node_variable_t(i=8252), Opc.Ua
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Opc.Ua");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_ByteString opcua_node_variable_t_i_8252_variant_DataContents = UA_STRING_ALLOC("");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8252_variant_DataContents, &UA_TYPES[UA_TYPES_BYTESTRING]);
UA_ByteString_deleteMembers(&opcua_node_variable_t_i_8252_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 92);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Opc.Ua");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8252), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 72), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=46/HasProperty
// Node: opcua_node_variable_t(i=8254), NamespaceUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceUri");
attr.description = UA_LOCALIZEDTEXT("", "A URI that uniquely identifies the dictionary.");
UA_String opcua_node_variable_t_i_8254_variant_DataContents = UA_STRING_ALLOC("http://opcfoundation.org/UA/2008/02/Types.xsd");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8254_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8254_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8254);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8254), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8285), Argument
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Argument");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8285_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='Argument']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8285_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8285_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8285);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Argument");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8285), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 297), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8285), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8291), EnumValueType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValueType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8291_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='EnumValueType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8291_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8291_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8291);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValueType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8291), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7616), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8291), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8918), TimeZoneDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimeZoneDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8918_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='TimeZoneDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8918_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8918_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8918);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimeZoneDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8918), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8913), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8918), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8300), ApplicationDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ApplicationDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8300_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ApplicationDescription']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8300_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8300_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8300);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ApplicationDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8300), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 309), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8300), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8297), UserTokenPolicy
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserTokenPolicy");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8297_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='UserTokenPolicy']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8297_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8297_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8297);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserTokenPolicy");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8297), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 305), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8297), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8303), EndpointDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8303_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='EndpointDescription']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8303_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8303_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8303);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8303), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 313), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8303), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8417), RegisteredServer
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RegisteredServer");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8417_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='RegisteredServer']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8417_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8417_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8417);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RegisteredServer");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8417), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 433), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8417), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8333), SignedSoftwareCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SignedSoftwareCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8333_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SignedSoftwareCertificate']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8333_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8333_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8333);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SignedSoftwareCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8333), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 345), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8333), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8306), UserIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8306_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='UserIdentityToken']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8306_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8306_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8306);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8306), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 317), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8306), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8309), AnonymousIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AnonymousIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8309_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='AnonymousIdentityToken']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8309_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8309_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8309);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AnonymousIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8309), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 320), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8309), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8312), UserNameIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserNameIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8312_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='UserNameIdentityToken']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8312_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8312_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8312);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserNameIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8312), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 323), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8312), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8315), X509IdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "X509IdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8315_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='X509IdentityToken']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8315_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8315_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8315);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "X509IdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8315), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 326), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8315), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8318), IssuedIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IssuedIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8318_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='IssuedIdentityToken']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8318_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8318_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8318);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IssuedIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8318), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 939), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8318), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8363), AddNodesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddNodesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8363_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='AddNodesItem']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8363_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8363_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8363);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddNodesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8363), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 377), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8363), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8366), AddReferencesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddReferencesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8366_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='AddReferencesItem']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8366_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8366_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8366);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddReferencesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8366), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 380), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8366), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8369), DeleteNodesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteNodesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8369_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='DeleteNodesItem']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8369_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8369_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8369);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteNodesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8369), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 383), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8369), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8372), DeleteReferencesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteReferencesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8372_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='DeleteReferencesItem']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8372_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8372_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8372);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteReferencesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8372), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 386), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8372), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8321), EndpointConfiguration
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8321_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='EndpointConfiguration']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8321_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8321_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8321);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointConfiguration");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8321), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 332), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8321), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8324), SupportedProfile
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SupportedProfile");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8324_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SupportedProfile']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8324_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8324_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8324);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SupportedProfile");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8324), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 336), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8324), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8330), SoftwareCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8330_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SoftwareCertificate']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8330_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8330_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8330);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8330), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 342), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8330), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8564), ContentFilterElement
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContentFilterElement");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8564_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ContentFilterElement']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8564_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8564_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8564);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContentFilterElement");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8564), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 584), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8564), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8567), ContentFilter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContentFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8567_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ContentFilter']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8567_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8567_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8567);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContentFilter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8567), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 587), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8567), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8570), FilterOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FilterOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8570_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='FilterOperand']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8570_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8570_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8570);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FilterOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8570), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 590), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8570), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8573), ElementOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ElementOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8573_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ElementOperand']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8573_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8573_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8573);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ElementOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8573), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 593), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8573), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8576), LiteralOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LiteralOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8576_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='LiteralOperand']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8576_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8576_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8576);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LiteralOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8576), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 596), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8576), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8579), AttributeOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AttributeOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8579_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='AttributeOperand']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8579_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8579_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8579);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AttributeOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8579), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 599), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8579), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8582), SimpleAttributeOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SimpleAttributeOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8582_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SimpleAttributeOperand']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8582_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8582_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8582);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SimpleAttributeOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8582), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 602), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8582), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8639), HistoryEvent
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryEvent");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8639_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='HistoryEvent']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8639_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8639_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8639);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryEvent");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8639), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 660), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8639), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8702), MonitoringFilter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MonitoringFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8702_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='MonitoringFilter']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8702_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8702_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8702);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MonitoringFilter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8702), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 720), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8702), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8708), EventFilter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8708_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='EventFilter']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8708_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8708_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8708);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventFilter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8708), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 726), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8708), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8711), AggregateConfiguration
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8711_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='AggregateConfiguration']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8711_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8711_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8711);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateConfiguration");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8711), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 949), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8711), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8807), HistoryEventFieldList
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryEventFieldList");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8807_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='HistoryEventFieldList']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8807_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8807_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8807);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryEventFieldList");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8807), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 921), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8807), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8384), ScalarTestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ScalarTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8384_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ScalarTestType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8384_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8384_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8384);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ScalarTestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8384), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 400), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8384), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8387), ArrayTestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ArrayTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8387_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ArrayTestType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8387_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8387_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8387);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ArrayTestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8387), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 403), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8387), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8390), CompositeTestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CompositeTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8390_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='CompositeTestType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8390_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8390_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8390);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CompositeTestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8390), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 406), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8390), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8327), BuildInfo
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfo");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8327_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='BuildInfo']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8327_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8327_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8327);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfo");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8327), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 339), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8327), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8843), RedundantServerDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundantServerDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8843_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='RedundantServerDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8843_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8843_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8843);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundantServerDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8843), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 854), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8843), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=11951), EndpointUrlListDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrlListDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_11951_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='EndpointUrlListDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_11951_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_11951_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11951);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrlListDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11951), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11949), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 11951), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=11954), NetworkGroupDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NetworkGroupDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_11954_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='NetworkGroupDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_11954_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_11954_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11954);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NetworkGroupDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11954), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11950), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 11954), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8846), SamplingIntervalDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8846_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SamplingIntervalDiagnosticsDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8846_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8846_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8846);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8846), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 857), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8846), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8849), ServerDiagnosticsSummaryDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummaryDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8849_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ServerDiagnosticsSummaryDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8849_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8849_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8849);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummaryDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8849), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 860), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8849), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8852), ServerStatusDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerStatusDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8852_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ServerStatusDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8852_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8852_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8852);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerStatusDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8852), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 863), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8852), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8855), SessionDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8855_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SessionDiagnosticsDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8855_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8855_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8855);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8855), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 866), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8855), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8858), SessionSecurityDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8858_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SessionSecurityDiagnosticsDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8858_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8858_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8858);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8858), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 869), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8858), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8861), ServiceCounterDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServiceCounterDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8861_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ServiceCounterDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8861_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8861_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8861);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServiceCounterDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8861), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 872), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8861), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8294), StatusResult
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StatusResult");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8294_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='StatusResult']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8294_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8294_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8294);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StatusResult");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8294), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 300), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8294), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8864), SubscriptionDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8864_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SubscriptionDiagnosticsDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8864_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8864_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8864);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8864), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 875), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8864), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8867), ModelChangeStructureDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModelChangeStructureDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8867_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ModelChangeStructureDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8867_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8867_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8867);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModelChangeStructureDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8867), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 878), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8867), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8870), SemanticChangeStructureDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SemanticChangeStructureDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8870_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='SemanticChangeStructureDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8870_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8870_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8870);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SemanticChangeStructureDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8870), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 898), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8870), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8873), Range
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Range");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8873_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='Range']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8873_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8873_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8873);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Range");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8873), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 885), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8873), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8876), EUInformation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EUInformation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8876_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='EUInformation']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8876_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8876_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8876);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EUInformation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8876), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 888), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8876), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12175), ComplexNumberType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ComplexNumberType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12175_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ComplexNumberType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12175_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12175_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12175);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ComplexNumberType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12175), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12173), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12175), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12178), DoubleComplexNumberType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DoubleComplexNumberType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12178_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='DoubleComplexNumberType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12178_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12178_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12178);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DoubleComplexNumberType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12178), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12174), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12178), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12083), AxisInformation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AxisInformation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12083_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='AxisInformation']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12083_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12083_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12083);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AxisInformation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12083), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12081), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12083), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12086), XVType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XVType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12086_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='XVType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12086_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12086_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12086);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XVType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12086), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12082), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12086), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8882), ProgramDiagnosticDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramDiagnosticDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8882_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='ProgramDiagnosticDataType']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8882_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8882_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8882);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramDiagnosticDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8882), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 895), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8882), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8252/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8879), Annotation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Annotation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8879_variant_DataContents = UA_STRING_ALLOC("//xs:element[@name='Annotation']");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8879_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8879_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8879);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8252);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Annotation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8879), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 892), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8879), true);
} while(0);

do {
// Referencing node found and declared as parent: i=296/Argument using i=38/HasEncoding
// Node: opcua_node_object_t(i=298), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 298);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 296);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 298), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7594/EnumValueType using i=38/HasEncoding
// Node: opcua_node_object_t(i=8251), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8251);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7594);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8251), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=8912/TimeZoneDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=8917), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8917);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 8912);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8917), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=308/ApplicationDescription using i=38/HasEncoding
// Node: opcua_node_object_t(i=310), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 310);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 308);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 310), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=304/UserTokenPolicy using i=38/HasEncoding
// Node: opcua_node_object_t(i=306), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 306);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 304);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 306), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=312/EndpointDescription using i=38/HasEncoding
// Node: opcua_node_object_t(i=314), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 314);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 312);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 314), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=432/RegisteredServer using i=38/HasEncoding
// Node: opcua_node_object_t(i=434), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 434);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 432);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 434), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=344/SignedSoftwareCertificate using i=38/HasEncoding
// Node: opcua_node_object_t(i=346), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 346);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 344);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 346), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=316/UserIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=318), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 318);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 316);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 318), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=319/AnonymousIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=321), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 321);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 319);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 321), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=322/UserNameIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=324), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 324);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 322);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 324), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=325/X509IdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=327), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 327);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 325);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 327), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=938/IssuedIdentityToken using i=38/HasEncoding
// Node: opcua_node_object_t(i=940), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 940);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 938);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 940), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=376/AddNodesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=378), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 378);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 376);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 378), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=379/AddReferencesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=381), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 381);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 379);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 381), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=382/DeleteNodesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=384), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 384);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 382);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 384), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=385/DeleteReferencesItem using i=38/HasEncoding
// Node: opcua_node_object_t(i=387), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 387);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 385);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 387), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=331/EndpointConfiguration using i=38/HasEncoding
// Node: opcua_node_object_t(i=333), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 333);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 331);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 333), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=335/SupportedProfile using i=38/HasEncoding
// Node: opcua_node_object_t(i=337), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 337);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 335);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 337), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=341/SoftwareCertificate using i=38/HasEncoding
// Node: opcua_node_object_t(i=343), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 343);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 341);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 343), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=583/ContentFilterElement using i=38/HasEncoding
// Node: opcua_node_object_t(i=585), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 585);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 583);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 585), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=586/ContentFilter using i=38/HasEncoding
// Node: opcua_node_object_t(i=588), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 588);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 586);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 588), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=589/FilterOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=591), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 591);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 589);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 591), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=592/ElementOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=594), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 594);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 592);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 594), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=595/LiteralOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=597), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 597);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 595);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 597), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=598/AttributeOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=600), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 600);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 598);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 600), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=601/SimpleAttributeOperand using i=38/HasEncoding
// Node: opcua_node_object_t(i=603), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 603);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 601);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 603), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=659/HistoryEvent using i=38/HasEncoding
// Node: opcua_node_object_t(i=661), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 661);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 659);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 661), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=719/MonitoringFilter using i=38/HasEncoding
// Node: opcua_node_object_t(i=721), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 721);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 719);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 721), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=725/EventFilter using i=38/HasEncoding
// Node: opcua_node_object_t(i=727), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 727);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 725);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 727), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=948/AggregateConfiguration using i=38/HasEncoding
// Node: opcua_node_object_t(i=950), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 950);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 948);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 950), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=920/HistoryEventFieldList using i=38/HasEncoding
// Node: opcua_node_object_t(i=922), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 922);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 920);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 922), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=399/ScalarTestType using i=38/HasEncoding
// Node: opcua_node_object_t(i=401), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 401);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 399);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 401), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=402/ArrayTestType using i=38/HasEncoding
// Node: opcua_node_object_t(i=404), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 404);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 402);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 404), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=405/CompositeTestType using i=38/HasEncoding
// Node: opcua_node_object_t(i=407), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 407);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 405);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 407), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=338/BuildInfo using i=38/HasEncoding
// Node: opcua_node_object_t(i=340), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 340);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 338);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 340), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=853/RedundantServerDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=855), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 855);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 853);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 855), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11943/EndpointUrlListDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=11957), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11957);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11943);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11957), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=11944/NetworkGroupDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=11958), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11958);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 11944);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11958), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=856/SamplingIntervalDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=858), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 858);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 856);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 858), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=859/ServerDiagnosticsSummaryDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=861), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 861);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 859);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 861), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=862/ServerStatusDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=864), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 864);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 862);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 864), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=865/SessionDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=867), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 867);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 865);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 867), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=868/SessionSecurityDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=870), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 870);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 868);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 870), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=871/ServiceCounterDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=873), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 873);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 871);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 873), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=299/StatusResult using i=38/HasEncoding
// Node: opcua_node_object_t(i=301), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 301);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 299);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 301), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=874/SubscriptionDiagnosticsDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=876), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 876);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 874);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 876), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=877/ModelChangeStructureDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=879), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 879);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 877);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 879), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=897/SemanticChangeStructureDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=899), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 899);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 897);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 899), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=884/Range using i=38/HasEncoding
// Node: opcua_node_object_t(i=886), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 886);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 884);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 886), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=887/EUInformation using i=38/HasEncoding
// Node: opcua_node_object_t(i=889), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 889);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 887);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 889), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12171/ComplexNumberType using i=38/HasEncoding
// Node: opcua_node_object_t(i=12181), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12181);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12171);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12181), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12172/DoubleComplexNumberType using i=38/HasEncoding
// Node: opcua_node_object_t(i=12182), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12182);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12172);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12182), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12079/AxisInformation using i=38/HasEncoding
// Node: opcua_node_object_t(i=12089), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12089);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12079);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12089), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=12080/XVType using i=38/HasEncoding
// Node: opcua_node_object_t(i=12090), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12090);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 12080);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12090), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=894/ProgramDiagnosticDataType using i=38/HasEncoding
// Node: opcua_node_object_t(i=896), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 896);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 894);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 896), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=891/Annotation using i=38/HasEncoding
// Node: opcua_node_object_t(i=893), Default Binary
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Default Binary");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 893);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 891);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 38);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Default Binary");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 893), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 76), true);
} while(0);

do {
// Referencing node found and declared as parent: i=93/OPC Binary using i=47/HasComponent
// Node: opcua_node_variable_t(i=7617), Opc.Ua
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Opc.Ua");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_ByteString opcua_node_variable_t_i_7617_variant_DataContents = UA_STRING_ALLOC("");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7617_variant_DataContents, &UA_TYPES[UA_TYPES_BYTESTRING]);
UA_ByteString_deleteMembers(&opcua_node_variable_t_i_7617_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 93);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Opc.Ua");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7617), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 72), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=46/HasProperty
// Node: opcua_node_variable_t(i=7619), NamespaceUri
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamespaceUri");
attr.description = UA_LOCALIZEDTEXT("", "A URI that uniquely identifies the dictionary.");
UA_String opcua_node_variable_t_i_7619_variant_DataContents = UA_STRING_ALLOC("http://opcfoundation.org/UA/");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7619_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7619_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7619);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamespaceUri");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7619), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7650), Argument
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Argument");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7650_variant_DataContents = UA_STRING_ALLOC("Argument");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7650_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7650_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7650);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Argument");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7650), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 298), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7650), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7656), EnumValueType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EnumValueType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7656_variant_DataContents = UA_STRING_ALLOC("EnumValueType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7656_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7656_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7656);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EnumValueType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7656), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8251), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7656), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8914), TimeZoneDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TimeZoneDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8914_variant_DataContents = UA_STRING_ALLOC("TimeZoneDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8914_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8914_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8914);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "TimeZoneDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8914), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8917), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8914), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7665), ApplicationDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ApplicationDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7665_variant_DataContents = UA_STRING_ALLOC("ApplicationDescription");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7665_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7665_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7665);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ApplicationDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7665), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 310), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7665), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7662), UserTokenPolicy
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserTokenPolicy");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7662_variant_DataContents = UA_STRING_ALLOC("UserTokenPolicy");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7662_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7662_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7662);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserTokenPolicy");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7662), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 306), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7662), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7668), EndpointDescription
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointDescription");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7668_variant_DataContents = UA_STRING_ALLOC("EndpointDescription");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7668_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7668_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7668);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointDescription");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7668), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 314), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7668), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7782), RegisteredServer
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RegisteredServer");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7782_variant_DataContents = UA_STRING_ALLOC("RegisteredServer");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7782_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7782_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7782);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RegisteredServer");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7782), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 434), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7782), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7698), SignedSoftwareCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SignedSoftwareCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7698_variant_DataContents = UA_STRING_ALLOC("SignedSoftwareCertificate");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7698_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7698_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7698);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SignedSoftwareCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7698), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 346), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7698), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7671), UserIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7671_variant_DataContents = UA_STRING_ALLOC("UserIdentityToken");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7671_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7671_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7671);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7671), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 318), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7671), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7674), AnonymousIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AnonymousIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7674_variant_DataContents = UA_STRING_ALLOC("AnonymousIdentityToken");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7674_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7674_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7674);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AnonymousIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7674), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 321), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7674), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7677), UserNameIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UserNameIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7677_variant_DataContents = UA_STRING_ALLOC("UserNameIdentityToken");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7677_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7677_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7677);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "UserNameIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7677), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 324), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7677), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7680), X509IdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "X509IdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7680_variant_DataContents = UA_STRING_ALLOC("X509IdentityToken");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7680_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7680_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7680);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "X509IdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7680), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 327), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7680), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7683), IssuedIdentityToken
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "IssuedIdentityToken");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7683_variant_DataContents = UA_STRING_ALLOC("IssuedIdentityToken");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7683_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7683_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7683);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "IssuedIdentityToken");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7683), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 940), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7683), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7728), AddNodesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddNodesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7728_variant_DataContents = UA_STRING_ALLOC("AddNodesItem");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7728_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7728_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7728);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddNodesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7728), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 378), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7728), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7731), AddReferencesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AddReferencesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7731_variant_DataContents = UA_STRING_ALLOC("AddReferencesItem");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7731_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7731_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7731);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AddReferencesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7731), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 381), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7731), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7734), DeleteNodesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteNodesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7734_variant_DataContents = UA_STRING_ALLOC("DeleteNodesItem");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7734_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7734_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7734);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteNodesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7734), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 384), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7734), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7737), DeleteReferencesItem
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeleteReferencesItem");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7737_variant_DataContents = UA_STRING_ALLOC("DeleteReferencesItem");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7737_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7737_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7737);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DeleteReferencesItem");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7737), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 387), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7737), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7686), EndpointConfiguration
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7686_variant_DataContents = UA_STRING_ALLOC("EndpointConfiguration");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7686_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7686_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7686);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointConfiguration");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7686), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 333), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7686), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7689), SupportedProfile
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SupportedProfile");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7689_variant_DataContents = UA_STRING_ALLOC("SupportedProfile");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7689_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7689_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7689);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SupportedProfile");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7689), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 337), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7689), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7695), SoftwareCertificate
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SoftwareCertificate");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7695_variant_DataContents = UA_STRING_ALLOC("SoftwareCertificate");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7695_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7695_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7695);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SoftwareCertificate");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7695), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 343), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7695), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7929), ContentFilterElement
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContentFilterElement");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7929_variant_DataContents = UA_STRING_ALLOC("ContentFilterElement");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7929_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7929_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7929);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContentFilterElement");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7929), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 585), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7929), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7932), ContentFilter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ContentFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7932_variant_DataContents = UA_STRING_ALLOC("ContentFilter");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7932_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7932_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7932);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ContentFilter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7932), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 588), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7932), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7935), FilterOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "FilterOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7935_variant_DataContents = UA_STRING_ALLOC("FilterOperand");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7935_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7935_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7935);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "FilterOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7935), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 591), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7935), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7938), ElementOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ElementOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7938_variant_DataContents = UA_STRING_ALLOC("ElementOperand");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7938_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7938_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7938);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ElementOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7938), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 594), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7938), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7941), LiteralOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "LiteralOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7941_variant_DataContents = UA_STRING_ALLOC("LiteralOperand");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7941_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7941_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7941);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "LiteralOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7941), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 597), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7941), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7944), AttributeOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AttributeOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7944_variant_DataContents = UA_STRING_ALLOC("AttributeOperand");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7944_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7944_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7944);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AttributeOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7944), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 600), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7944), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7947), SimpleAttributeOperand
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SimpleAttributeOperand");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7947_variant_DataContents = UA_STRING_ALLOC("SimpleAttributeOperand");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7947_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7947_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7947);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SimpleAttributeOperand");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7947), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 603), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7947), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8004), HistoryEvent
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryEvent");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8004_variant_DataContents = UA_STRING_ALLOC("HistoryEvent");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8004_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8004_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8004);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryEvent");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8004), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 661), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8004), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8067), MonitoringFilter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "MonitoringFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8067_variant_DataContents = UA_STRING_ALLOC("MonitoringFilter");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8067_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8067_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8067);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "MonitoringFilter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8067), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 721), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8067), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8073), EventFilter
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EventFilter");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8073_variant_DataContents = UA_STRING_ALLOC("EventFilter");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8073_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8073_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8073);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EventFilter");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8073), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 727), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8073), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8076), AggregateConfiguration
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AggregateConfiguration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8076_variant_DataContents = UA_STRING_ALLOC("AggregateConfiguration");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8076_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8076_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8076);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AggregateConfiguration");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8076), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 950), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8076), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8172), HistoryEventFieldList
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "HistoryEventFieldList");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8172_variant_DataContents = UA_STRING_ALLOC("HistoryEventFieldList");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8172_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8172_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8172);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "HistoryEventFieldList");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8172), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 922), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8172), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7749), ScalarTestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ScalarTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7749_variant_DataContents = UA_STRING_ALLOC("ScalarTestType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7749_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7749_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7749);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ScalarTestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7749), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 401), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7749), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7752), ArrayTestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ArrayTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7752_variant_DataContents = UA_STRING_ALLOC("ArrayTestType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7752_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7752_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7752);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ArrayTestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7752), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 404), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7752), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7755), CompositeTestType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "CompositeTestType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7755_variant_DataContents = UA_STRING_ALLOC("CompositeTestType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7755_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7755_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7755);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "CompositeTestType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7755), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 407), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7755), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7692), BuildInfo
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "BuildInfo");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7692_variant_DataContents = UA_STRING_ALLOC("BuildInfo");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7692_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7692_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7692);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "BuildInfo");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7692), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 340), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7692), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8208), RedundantServerDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "RedundantServerDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8208_variant_DataContents = UA_STRING_ALLOC("RedundantServerDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8208_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8208_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8208);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "RedundantServerDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8208), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 855), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8208), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=11959), EndpointUrlListDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EndpointUrlListDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_11959_variant_DataContents = UA_STRING_ALLOC("EndpointUrlListDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_11959_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_11959_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11959);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EndpointUrlListDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11959), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11957), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 11959), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=11962), NetworkGroupDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NetworkGroupDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_11962_variant_DataContents = UA_STRING_ALLOC("NetworkGroupDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_11962_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_11962_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 11962);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NetworkGroupDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11962), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11958), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 11962), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8211), SamplingIntervalDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SamplingIntervalDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8211_variant_DataContents = UA_STRING_ALLOC("SamplingIntervalDiagnosticsDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8211_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8211_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8211);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SamplingIntervalDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8211), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 858), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8211), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8214), ServerDiagnosticsSummaryDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerDiagnosticsSummaryDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8214_variant_DataContents = UA_STRING_ALLOC("ServerDiagnosticsSummaryDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8214_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8214_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8214);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerDiagnosticsSummaryDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8214), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 861), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8214), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8217), ServerStatusDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServerStatusDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8217_variant_DataContents = UA_STRING_ALLOC("ServerStatusDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8217_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8217_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8217);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServerStatusDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8217), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 864), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8217), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8220), SessionDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8220_variant_DataContents = UA_STRING_ALLOC("SessionDiagnosticsDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8220_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8220_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8220);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8220), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 867), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8220), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8223), SessionSecurityDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SessionSecurityDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8223_variant_DataContents = UA_STRING_ALLOC("SessionSecurityDiagnosticsDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8223_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8223_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8223);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SessionSecurityDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8223), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 870), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8223), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8226), ServiceCounterDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ServiceCounterDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8226_variant_DataContents = UA_STRING_ALLOC("ServiceCounterDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8226_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8226_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8226);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ServiceCounterDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8226), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 873), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8226), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=7659), StatusResult
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "StatusResult");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_7659_variant_DataContents = UA_STRING_ALLOC("StatusResult");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_7659_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_7659_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 7659);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "StatusResult");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7659), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 301), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 7659), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8229), SubscriptionDiagnosticsDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SubscriptionDiagnosticsDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8229_variant_DataContents = UA_STRING_ALLOC("SubscriptionDiagnosticsDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8229_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8229_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8229);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SubscriptionDiagnosticsDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8229), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 876), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8229), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8232), ModelChangeStructureDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ModelChangeStructureDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8232_variant_DataContents = UA_STRING_ALLOC("ModelChangeStructureDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8232_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8232_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8232);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ModelChangeStructureDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8232), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 879), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8232), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8235), SemanticChangeStructureDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "SemanticChangeStructureDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8235_variant_DataContents = UA_STRING_ALLOC("SemanticChangeStructureDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8235_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8235_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8235);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "SemanticChangeStructureDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8235), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 899), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8235), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8238), Range
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Range");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8238_variant_DataContents = UA_STRING_ALLOC("Range");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8238_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8238_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8238);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Range");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8238), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 886), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8238), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8241), EUInformation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EUInformation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8241_variant_DataContents = UA_STRING_ALLOC("EUInformation");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8241_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8241_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8241);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "EUInformation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8241), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 889), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8241), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12183), ComplexNumberType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ComplexNumberType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12183_variant_DataContents = UA_STRING_ALLOC("ComplexNumberType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12183_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12183_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12183);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ComplexNumberType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12183), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12181), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12183), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12186), DoubleComplexNumberType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DoubleComplexNumberType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12186_variant_DataContents = UA_STRING_ALLOC("DoubleComplexNumberType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12186_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12186_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12186);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "DoubleComplexNumberType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12186), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12182), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12186), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12091), AxisInformation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "AxisInformation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12091_variant_DataContents = UA_STRING_ALLOC("AxisInformation");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12091_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12091_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12091);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "AxisInformation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12091), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12089), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12091), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=12094), XVType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "XVType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_12094_variant_DataContents = UA_STRING_ALLOC("XVType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_12094_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_12094_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 12094);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "XVType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12094), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12090), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 12094), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8247), ProgramDiagnosticDataType
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "ProgramDiagnosticDataType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8247_variant_DataContents = UA_STRING_ALLOC("ProgramDiagnosticDataType");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8247_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8247_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8247);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "ProgramDiagnosticDataType");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8247), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 896), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8247), true);
} while(0);

do {
// Referencing node found and declared as parent: i=7617/Opc.Ua using i=47/HasComponent
// Node: opcua_node_variable_t(i=8244), Annotation
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Annotation");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_String opcua_node_variable_t_i_8244_variant_DataContents = UA_STRING_ALLOC("Annotation");
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_8244_variant_DataContents, &UA_TYPES[UA_TYPES_STRING]);
UA_String_deleteMembers(&opcua_node_variable_t_i_8244_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 8244);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 7617);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "Annotation");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8244), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 69), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 893), UA_NODEID_NUMERIC(0, 39), UA_EXPANDEDNODEID_NUMERIC(0, 8244), true);
} while(0);

do {
// Referencing node found and declared as parent: i=58/BaseObjectType using i=45/HasSubtype
// Node: opcua_node_objectType_t(ns=2;i=1002), 1:TemperatureSensorType
UA_ObjectTypeAttributes attr;
UA_ObjectTypeAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TemperatureSensorType");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 1002);
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 58);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 45);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "TemperatureSensorType");
UA_Server_addObjectTypeNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , attr, NULL, NULL);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=1002/1:TemperatureSensorType using i=47/HasComponent
// Node: opcua_node_object_t(ns=2;i=5001), 1:Configuration
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Configuration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5001);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 1002);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "Configuration");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5001), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=1002/1:TemperatureSensorType using i=47/HasComponent
// Node: opcua_node_object_t(ns=2;i=5006), 1:DeviceData
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeviceData");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5006);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 1002);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "DeviceData");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5006), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5006/1:DeviceData using i=47/HasComponent
// Node: opcua_node_variable_t(ns=2;i=6005), 1:UpTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_ns_2_i_6005_variant_DataContents = (UA_UInt32) 0;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_ns_2_i_6005_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_ns_2_i_6005_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 6005);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5006);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "UpTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6005), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=1002/1:TemperatureSensorType using i=47/HasComponent
// Node: opcua_node_object_t(ns=2;i=5002), 1:Measurement
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Measurement");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5002);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 1002);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "Measurement");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5002), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5002/1:Measurement using i=47/HasComponent
// Node: opcua_node_variable_t(ns=2;i=6002), 1:Temperature
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Temperature");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_Double opcua_node_variable_t_ns_2_i_6002_variant_DataContents = (UA_Double) 0.0;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_ns_2_i_6002_variant_DataContents, &UA_TYPES[UA_TYPES_DOUBLE]);
UA_Double_deleteMembers(&opcua_node_variable_t_ns_2_i_6002_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 6002);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5002);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "Temperature");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6002), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5001/1:Configuration using i=47/HasComponent
// Node: opcua_node_variable_t(ns=2;i=6001), 1:EngineeringUnit
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EngineeringUnit");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 6001);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5001);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "EngineeringUnit");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6001), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6001), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(2, 6002), false);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6002), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(2, 6001), true);
} while(0);

do {
// Node: opcua_node_object_t(i=78), Mandatory
UA_ObjectNode *opcua_node_object_t_i_78 = UA_NodeStore_newObjectNode();
opcua_node_object_t_i_78->browseName = UA_QUALIFIEDNAME_ALLOC(0, "Mandatory");
opcua_node_object_t_i_78->displayName = UA_LOCALIZEDTEXT_ALLOC("en_US", "Mandatory");
opcua_node_object_t_i_78->description = UA_LOCALIZEDTEXT_ALLOC("en_US", "Specifies that an instance with the attributes and references of the instance declaration must appear when a type is instantiated.");
opcua_node_object_t_i_78->nodeId.identifier.numeric = 78;
opcua_node_object_t_i_78->eventNotifier = (UA_Byte) 0;
// Parent node does not exist yet. This node will be bootstrapped and linked later.
UA_RCU_LOCK();
UA_NodeStore_insert(server->nodestore, (UA_Node*) opcua_node_object_t_i_78);
UA_RCU_UNLOCK();
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 78), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 77), true);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12169), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 111), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2005), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2006), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2007), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3074), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3075), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3076), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3077), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3078), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3079), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3080), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3081), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3082), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3083), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3084), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3085), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2008), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2742), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2009), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3086), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3087), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3088), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3089), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3090), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3091), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3092), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3093), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3094), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2010), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3095), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3096), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3097), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3098), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3099), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3100), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3101), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3102), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3104), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3105), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3106), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3107), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3108), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3110), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3111), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3112), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3113), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3114), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2011), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2012), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3115), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11490), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11491), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2014), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2016), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2017), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2732), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2733), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2734), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3049), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2019), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2754), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2021), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3116), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3117), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3118), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3119), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3120), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3121), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3122), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3124), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3125), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3126), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3127), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3128), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2023), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2744), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3129), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3130), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2025), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2027), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2028), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12098), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12099), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12100), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12101), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12102), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12103), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12104), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12105), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12106), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12107), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12108), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12109), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12110), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12111), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12112), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12113), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12114), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12115), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12116), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12117), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12118), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12119), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12120), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12121), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12122), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12123), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12124), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12125), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12126), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12127), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12128), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12129), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12130), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12131), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12132), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12133), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12134), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12135), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12136), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12137), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12138), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12139), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12140), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12141), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12142), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12143), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12144), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12145), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12146), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12147), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12148), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12149), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12150), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12151), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12152), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2030), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3131), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3132), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3133), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3134), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3135), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3136), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3137), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3138), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3139), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3140), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3141), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3142), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3143), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8898), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11891), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3151), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3152), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3153), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3154), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3155), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3156), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3157), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3158), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3159), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3160), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3161), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3162), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3163), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3164), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3165), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3166), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3167), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3168), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3169), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3170), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3171), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3172), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3173), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3174), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3175), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3176), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3177), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3178), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2031), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3179), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3180), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3181), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3182), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3183), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3184), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3185), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3186), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3187), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2032), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2035), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2037), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2038), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2040), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11948), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11580), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11583), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11585), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11588), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11590), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11593), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11576), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11577), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11578), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11579), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11581), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11582), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11584), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11586), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11587), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11589), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11591), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11592), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11594), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11617), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11618), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11619), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11620), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11621), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11622), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11623), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11629), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11632), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11634), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11637), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11639), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11642), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11625), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11626), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11627), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11628), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11630), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11631), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11633), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11635), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11636), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11638), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11640), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11641), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11643), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11647), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11648), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11649), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11650), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11651), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11652), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11653), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11680), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11683), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11685), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11688), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11690), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11693), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11676), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11677), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11678), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11679), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11681), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11682), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11684), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11686), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11687), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11689), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11691), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11692), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11694), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2139), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2140), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2141), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2142), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3698), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3699), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3700), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3701), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3702), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3703), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2752), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2753), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3052), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3053), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3054), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3055), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3056), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3057), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2151), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2152), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2153), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2154), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2155), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2156), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2157), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2159), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2160), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2161), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2162), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2163), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2166), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11697), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11698), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11699), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2173), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2174), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2175), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2176), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2177), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8888), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2179), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2180), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2181), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2182), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2183), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2184), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2185), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2186), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2187), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2188), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2189), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2190), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2191), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2998), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2193), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8889), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8890), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8891), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8892), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8893), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8894), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8895), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8896), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8897), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8902), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2198), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2199), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2200), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2201), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2202), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2203), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2204), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3050), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2205), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2206), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2207), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2208), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2209), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8900), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11892), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2217), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2218), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2219), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2220), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2221), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2222), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2223), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2224), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2225), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2226), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2227), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2228), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2229), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2230), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2231), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2232), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2233), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2234), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2235), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2236), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2237), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2238), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2239), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2240), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2241), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2242), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2730), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2731), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2245), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2246), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2247), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2248), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2249), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2250), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2251), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2252), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3058), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11488), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2042), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2043), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2044), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2045), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2046), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2047), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3190), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2050), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2051), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2053), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2054), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2055), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2056), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2057), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2745), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2061), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2746), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2062), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2063), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2065), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2066), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2070), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2072), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2073), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2747), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2074), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2749), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2076), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2077), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11485), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2079), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2081), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2083), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2084), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2092), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2094), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2096), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2098), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2750), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2101), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2102), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2103), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2751), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2128), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2129), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11696), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2134), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2739), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2769), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3720), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3724), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2756), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2763), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2772), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3728), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3732), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2761), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2768), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2308), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2312), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2774), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3754), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2775), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3746), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2776), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3750), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2777), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2778), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11940), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2369), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2374), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2375), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2377), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11241), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11461), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12025), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12026), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12027), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12028), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12037), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12046), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12055), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12056), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12065), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12066), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12067), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12076), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8996), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9003), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9028), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9027), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9029), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11112), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11113), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9009), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9010), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3874), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9011), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9012), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9020), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9021), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9022), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9023), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9024), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9025), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9026), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9030), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3876), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9069), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9035), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9036), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9055), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9056), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2831), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9064), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9065), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9066), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9067), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9068), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9070), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9111), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9073), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9074), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9093), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9094), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9103), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9112), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9114), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9211), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9212), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9213), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9214), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9115), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11322), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11323), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11324), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2948), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11325), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2947), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 6098), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11326), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2949), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9118), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9119), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9160), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9161), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11120), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9170), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9179), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9180), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9185), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9189), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9215), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 6100), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 6101), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11327), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2991), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11340), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9334), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9336), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11341), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11342), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9330), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9332), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11343), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9398), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9399), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9455), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9456), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9457), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9462), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9963), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9964), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10021), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10030), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10039), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10048), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 10522), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 9905), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11158), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 4170), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11851), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11852), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8945), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11853), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8962), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11854), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11855), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3830), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3831), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3833), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3835), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3836), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3838), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3839), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2393), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2395), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3840), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3841), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3842), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3843), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3844), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3845), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3846), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3847), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3848), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3849), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2430), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2409), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2426), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2411), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2413), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2415), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2427), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2417), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2428), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2403), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2419), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2421), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2405), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2423), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2429), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2401), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2407), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2425), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2379), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11875), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3825), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3826), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2381), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2382), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2383), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2384), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2385), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2386), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2387), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2388), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2389), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2390), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3059), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11168), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11169), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11170), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11171), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2323), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2331), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2332), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11268), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11269), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2334), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2335), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2336), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2337), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 2338), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11278), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11279), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11280), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11501), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11270), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11172), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3025), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3028), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3003), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3029), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3030), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3026), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3031), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3032), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3033), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3027), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3015), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3016), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3017), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3034), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3020), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3021), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3023), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 3024), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11188), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11189), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11190), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11191), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8922), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 8923), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7591), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11878), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7597), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7595), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7596), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7598), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11881), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11882), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7599), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7605), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11884), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11885), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 11886), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7611), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7612), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 12078), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 7614), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5001), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5006), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6005), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5002), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6002), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6001), UA_NODEID_NUMERIC(0, 37), UA_EXPANDEDNODEID_NUMERIC(0, 78), true);
} while(0);

do {
// Referencing node found and declared as parent: i=78/Mandatory using i=46/HasProperty
// Node: opcua_node_variable_t(i=112), NamingRule
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "NamingRule");
attr.description = UA_LOCALIZEDTEXT("", "Specified the significances of the BrowseName when a type is instantiated.");
UA_Int32 opcua_node_variable_t_i_112_variant_DataContents = (UA_Int32) 1;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_i_112_variant_DataContents, &UA_TYPES[UA_TYPES_INT32]);
UA_Int32_deleteMembers(&opcua_node_variable_t_i_112_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(0, 112);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 78);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 46);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(0, "NamingRule");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(0, 112), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 68), true);
} while(0);

do {
// Referencing node found and declared as parent: i=85/Objects using i=35/Organizes
// Node: opcua_node_object_t(ns=2;i=5004), 1:TemperatureSensor
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "TemperatureSensor");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5004);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(0, 85);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 35);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "TemperatureSensor");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5004), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(2, 1002), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5004/1:TemperatureSensor using i=47/HasComponent
// Node: opcua_node_object_t(ns=2;i=5003), 1:Configuration
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Configuration");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5003);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "Configuration");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5003), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5004/1:TemperatureSensor using i=47/HasComponent
// Node: opcua_node_object_t(ns=2;i=5007), 1:DeviceData
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "DeviceData");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5007);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "DeviceData");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5007), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5007/1:DeviceData using i=47/HasComponent
// Node: opcua_node_variable_t(ns=2;i=6006), 1:UpTime
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "UpTime");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_UInt32 opcua_node_variable_t_ns_2_i_6006_variant_DataContents = (UA_UInt32) 0;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_ns_2_i_6006_variant_DataContents, &UA_TYPES[UA_TYPES_UINT32]);
UA_UInt32_deleteMembers(&opcua_node_variable_t_ns_2_i_6006_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 6006);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5007);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "UpTime");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6006), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5004/1:TemperatureSensor using i=47/HasComponent
// Node: opcua_node_object_t(ns=2;i=5005), 1:Measurement
UA_ObjectAttributes attr;
UA_ObjectAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Measurement");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 5005);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5004);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "Measurement");
UA_Server_addObjectNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 5005), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 58), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5005/1:Measurement using i=47/HasComponent
// Node: opcua_node_variable_t(ns=2;i=6004), 1:Temperature
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "Temperature");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_Double opcua_node_variable_t_ns_2_i_6004_variant_DataContents = (UA_Double) 0.0;
UA_Variant_setScalar( &attr.value, &opcua_node_variable_t_ns_2_i_6004_variant_DataContents, &UA_TYPES[UA_TYPES_DOUBLE]);
UA_Double_deleteMembers(&opcua_node_variable_t_ns_2_i_6004_variant_DataContents);
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 6004);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5005);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "Temperature");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6004), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
} while(0);

do {
// Referencing node found and declared as parent: ns=2;i=5003/1:Configuration using i=47/HasComponent
// Node: opcua_node_variable_t(ns=2;i=6003), 1:EngineeringUnit
UA_VariableAttributes attr;
UA_VariableAttributes_init(&attr);
attr.displayName = UA_LOCALIZEDTEXT("", "EngineeringUnit");
attr.description = UA_LOCALIZEDTEXT("", "");
UA_NodeId nodeId = UA_NODEID_NUMERIC(2, 6003);
UA_NodeId typeDefinition = UA_NODEID_NULL;
UA_NodeId parentNodeId = UA_NODEID_NUMERIC(2, 5003);
UA_NodeId parentReferenceNodeId = UA_NODEID_NUMERIC(0, 47);
UA_QualifiedName nodeName = UA_QUALIFIEDNAME(1, "EngineeringUnit");
UA_Server_addVariableNode(server, nodeId, parentNodeId, parentReferenceNodeId, nodeName
       , typeDefinition
       , attr, NULL, NULL);
// This node has the following references that can be created:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6003), UA_NODEID_NUMERIC(0, 40), UA_EXPANDEDNODEID_NUMERIC(0, 63), true);
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6003), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(2, 6004), false);
//  Creating this node has resolved the following open references:
UA_Server_addReference(server, UA_NODEID_NUMERIC(2, 6004), UA_NODEID_NUMERIC(0, 46), UA_EXPANDEDNODEID_NUMERIC(2, 6003), true);
} while(0);
}
