00001 00002 // DO NOT EDIT THIS FILE! 00003 // It is automatically generated from opcfoundation.org schemas. 00004 // 00005 00006 #include "standard_address_space_parts.h" 00007 #include <opc/ua/protocol/string_utils.h> 00008 #include <opc/common/addons_core/addon.h> 00009 #include <opc/ua/protocol/strings.h> 00010 #include <opc/ua/protocol/variable_access_level.h> 00011 #include <opc/ua/services/node_management.h> 00012 00013 #include <algorithm> 00014 #include <iostream> 00015 #include <map> 00016 00017 namespace OpcUa 00018 { 00019 void CreateAddressSpacePart4(OpcUa::NodeManagementServices& registry) 00020 { 00021 00022 { 00023 AddNodesItem node; 00024 node.RequestedNewNodeId = ToNodeId("i=18"); 00025 node.BrowseName = ToQualifiedName("ExpandedNodeId"); 00026 node.Class = NodeClass::DataType; 00027 node.ParentNodeId = ToNodeId("i=24"); 00028 node.ReferenceTypeId = ReferenceId::HasSubtype; 00029 DataTypeAttributes attrs; 00030 attrs.Description = LocalizedText("Describes a value that is an absolute identifier for a node."); 00031 attrs.DisplayName = LocalizedText("ExpandedNodeId"); 00032 attrs.IsAbstract = false; 00033 node.Attributes = attrs; 00034 registry.AddNodes(std::vector<AddNodesItem>{node}); 00035 } 00036 00037 { 00038 AddNodesItem node; 00039 node.RequestedNewNodeId = ToNodeId("i=19"); 00040 node.BrowseName = ToQualifiedName("StatusCode"); 00041 node.Class = NodeClass::DataType; 00042 node.ParentNodeId = ToNodeId("i=24"); 00043 node.ReferenceTypeId = ReferenceId::HasSubtype; 00044 DataTypeAttributes attrs; 00045 attrs.Description = LocalizedText("Describes a value that is a code representing the outcome of an operation by a Server."); 00046 attrs.DisplayName = LocalizedText("StatusCode"); 00047 attrs.IsAbstract = false; 00048 node.Attributes = attrs; 00049 registry.AddNodes(std::vector<AddNodesItem>{node}); 00050 } 00051 00052 { 00053 AddNodesItem node; 00054 node.RequestedNewNodeId = ToNodeId("i=23"); 00055 node.BrowseName = ToQualifiedName("DataValue"); 00056 node.Class = NodeClass::DataType; 00057 node.ParentNodeId = ToNodeId("i=24"); 00058 node.ReferenceTypeId = ReferenceId::HasSubtype; 00059 DataTypeAttributes attrs; 00060 attrs.Description = LocalizedText("Describes a value that is a structure containing a value, a status code and timestamps."); 00061 attrs.DisplayName = LocalizedText("DataValue"); 00062 attrs.IsAbstract = false; 00063 node.Attributes = attrs; 00064 registry.AddNodes(std::vector<AddNodesItem>{node}); 00065 } 00066 00067 { 00068 AddNodesItem node; 00069 node.RequestedNewNodeId = ToNodeId("i=25"); 00070 node.BrowseName = ToQualifiedName("DiagnosticInfo"); 00071 node.Class = NodeClass::DataType; 00072 node.ParentNodeId = ToNodeId("i=24"); 00073 node.ReferenceTypeId = ReferenceId::HasSubtype; 00074 DataTypeAttributes attrs; 00075 attrs.Description = LocalizedText("Describes a value that is a structure containing diagnostics associated with a StatusCode."); 00076 attrs.DisplayName = LocalizedText("DiagnosticInfo"); 00077 attrs.IsAbstract = false; 00078 node.Attributes = attrs; 00079 registry.AddNodes(std::vector<AddNodesItem>{node}); 00080 } 00081 00082 { 00083 AddNodesItem node; 00084 node.RequestedNewNodeId = ToNodeId("i=288"); 00085 node.BrowseName = ToQualifiedName("IntegerId"); 00086 node.Class = NodeClass::DataType; 00087 node.ParentNodeId = ToNodeId("i=7"); 00088 node.ReferenceTypeId = ReferenceId::HasSubtype; 00089 DataTypeAttributes attrs; 00090 attrs.Description = LocalizedText("A numeric identifier for an object."); 00091 attrs.DisplayName = LocalizedText("IntegerId"); 00092 attrs.IsAbstract = false; 00093 node.Attributes = attrs; 00094 registry.AddNodes(std::vector<AddNodesItem>{node}); 00095 } 00096 00097 { 00098 AddNodesItem node; 00099 node.RequestedNewNodeId = ToNodeId("i=307"); 00100 node.BrowseName = ToQualifiedName("ApplicationType"); 00101 node.Class = NodeClass::DataType; 00102 node.ParentNodeId = ToNodeId("i=29"); 00103 node.ReferenceTypeId = ReferenceId::HasSubtype; 00104 DataTypeAttributes attrs; 00105 attrs.Description = LocalizedText("The types of applications."); 00106 attrs.DisplayName = LocalizedText("ApplicationType"); 00107 attrs.IsAbstract = false; 00108 node.Attributes = attrs; 00109 registry.AddNodes(std::vector<AddNodesItem>{node}); 00110 std::vector<AddReferencesItem> refs; 00111 { 00112 AddReferencesItem ref; 00113 ref.IsForward = true; 00114 ref.ReferenceTypeId = ReferenceId::HasProperty; 00115 ref.SourceNodeId = ToNodeId("i=307"); 00116 ref.TargetNodeClass = NodeClass::DataType; 00117 ref.TargetNodeId = ToNodeId("i=7597"); 00118 refs.push_back(ref); 00119 } 00120 registry.AddReferences(refs); 00121 } 00122 00123 { 00124 AddNodesItem node; 00125 node.RequestedNewNodeId = ToNodeId("i=7597"); 00126 node.BrowseName = ToQualifiedName("EnumStrings"); 00127 node.Class = NodeClass::Variable; 00128 node.ParentNodeId = ToNodeId("i=307"); 00129 node.ReferenceTypeId = ReferenceId::HasProperty; 00130 node.TypeDefinition = ToNodeId("i=68"); 00131 VariableAttributes attrs; 00132 attrs.DisplayName = LocalizedText("EnumStrings"); 00133 attrs.Type = ObjectId::LocalizedText; 00134 attrs.Rank = 1; 00135 node.Attributes = attrs; 00136 registry.AddNodes(std::vector<AddNodesItem>{node}); 00137 std::vector<AddReferencesItem> refs; 00138 { 00139 AddReferencesItem ref; 00140 ref.IsForward = true; 00141 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00142 ref.SourceNodeId = ToNodeId("i=7597"); 00143 ref.TargetNodeClass = NodeClass::DataType; 00144 ref.TargetNodeId = ToNodeId("i=78"); 00145 refs.push_back(ref); 00146 } 00147 registry.AddReferences(refs); 00148 } 00149 00150 { 00151 AddNodesItem node; 00152 node.RequestedNewNodeId = ToNodeId("i=308"); 00153 node.BrowseName = ToQualifiedName("ApplicationDescription"); 00154 node.Class = NodeClass::DataType; 00155 node.ParentNodeId = ToNodeId("i=22"); 00156 node.ReferenceTypeId = ReferenceId::HasSubtype; 00157 DataTypeAttributes attrs; 00158 attrs.Description = LocalizedText("Describes an application and how to find it."); 00159 attrs.DisplayName = LocalizedText("ApplicationDescription"); 00160 attrs.IsAbstract = false; 00161 node.Attributes = attrs; 00162 registry.AddNodes(std::vector<AddNodesItem>{node}); 00163 } 00164 00165 { 00166 AddNodesItem node; 00167 node.RequestedNewNodeId = ToNodeId("i=311"); 00168 node.BrowseName = ToQualifiedName("ApplicationInstanceCertificate"); 00169 node.Class = NodeClass::DataType; 00170 node.ParentNodeId = ToNodeId("i=15"); 00171 node.ReferenceTypeId = ReferenceId::HasSubtype; 00172 DataTypeAttributes attrs; 00173 attrs.Description = LocalizedText("A certificate for an instance of an application."); 00174 attrs.DisplayName = LocalizedText("ApplicationInstanceCertificate"); 00175 attrs.IsAbstract = false; 00176 node.Attributes = attrs; 00177 registry.AddNodes(std::vector<AddNodesItem>{node}); 00178 } 00179 00180 { 00181 AddNodesItem node; 00182 node.RequestedNewNodeId = ToNodeId("i=302"); 00183 node.BrowseName = ToQualifiedName("MessageSecurityMode"); 00184 node.Class = NodeClass::DataType; 00185 node.ParentNodeId = ToNodeId("i=29"); 00186 node.ReferenceTypeId = ReferenceId::HasSubtype; 00187 DataTypeAttributes attrs; 00188 attrs.Description = LocalizedText("The type of security to use on a message."); 00189 attrs.DisplayName = LocalizedText("MessageSecurityMode"); 00190 attrs.IsAbstract = false; 00191 node.Attributes = attrs; 00192 registry.AddNodes(std::vector<AddNodesItem>{node}); 00193 std::vector<AddReferencesItem> refs; 00194 { 00195 AddReferencesItem ref; 00196 ref.IsForward = true; 00197 ref.ReferenceTypeId = ReferenceId::HasProperty; 00198 ref.SourceNodeId = ToNodeId("i=302"); 00199 ref.TargetNodeClass = NodeClass::DataType; 00200 ref.TargetNodeId = ToNodeId("i=7595"); 00201 refs.push_back(ref); 00202 } 00203 registry.AddReferences(refs); 00204 } 00205 00206 { 00207 AddNodesItem node; 00208 node.RequestedNewNodeId = ToNodeId("i=7595"); 00209 node.BrowseName = ToQualifiedName("EnumStrings"); 00210 node.Class = NodeClass::Variable; 00211 node.ParentNodeId = ToNodeId("i=302"); 00212 node.ReferenceTypeId = ReferenceId::HasProperty; 00213 node.TypeDefinition = ToNodeId("i=68"); 00214 VariableAttributes attrs; 00215 attrs.DisplayName = LocalizedText("EnumStrings"); 00216 attrs.Type = ObjectId::LocalizedText; 00217 attrs.Rank = 1; 00218 node.Attributes = attrs; 00219 registry.AddNodes(std::vector<AddNodesItem>{node}); 00220 std::vector<AddReferencesItem> refs; 00221 { 00222 AddReferencesItem ref; 00223 ref.IsForward = true; 00224 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00225 ref.SourceNodeId = ToNodeId("i=7595"); 00226 ref.TargetNodeClass = NodeClass::DataType; 00227 ref.TargetNodeId = ToNodeId("i=78"); 00228 refs.push_back(ref); 00229 } 00230 registry.AddReferences(refs); 00231 } 00232 00233 { 00234 AddNodesItem node; 00235 node.RequestedNewNodeId = ToNodeId("i=303"); 00236 node.BrowseName = ToQualifiedName("UserTokenType"); 00237 node.Class = NodeClass::DataType; 00238 node.ParentNodeId = ToNodeId("i=29"); 00239 node.ReferenceTypeId = ReferenceId::HasSubtype; 00240 DataTypeAttributes attrs; 00241 attrs.Description = LocalizedText("The possible user token types."); 00242 attrs.DisplayName = LocalizedText("UserTokenType"); 00243 attrs.IsAbstract = false; 00244 node.Attributes = attrs; 00245 registry.AddNodes(std::vector<AddNodesItem>{node}); 00246 std::vector<AddReferencesItem> refs; 00247 { 00248 AddReferencesItem ref; 00249 ref.IsForward = true; 00250 ref.ReferenceTypeId = ReferenceId::HasProperty; 00251 ref.SourceNodeId = ToNodeId("i=303"); 00252 ref.TargetNodeClass = NodeClass::DataType; 00253 ref.TargetNodeId = ToNodeId("i=7596"); 00254 refs.push_back(ref); 00255 } 00256 registry.AddReferences(refs); 00257 } 00258 00259 { 00260 AddNodesItem node; 00261 node.RequestedNewNodeId = ToNodeId("i=7596"); 00262 node.BrowseName = ToQualifiedName("EnumStrings"); 00263 node.Class = NodeClass::Variable; 00264 node.ParentNodeId = ToNodeId("i=303"); 00265 node.ReferenceTypeId = ReferenceId::HasProperty; 00266 node.TypeDefinition = ToNodeId("i=68"); 00267 VariableAttributes attrs; 00268 attrs.DisplayName = LocalizedText("EnumStrings"); 00269 attrs.Type = ObjectId::LocalizedText; 00270 attrs.Rank = 1; 00271 node.Attributes = attrs; 00272 registry.AddNodes(std::vector<AddNodesItem>{node}); 00273 std::vector<AddReferencesItem> refs; 00274 { 00275 AddReferencesItem ref; 00276 ref.IsForward = true; 00277 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00278 ref.SourceNodeId = ToNodeId("i=7596"); 00279 ref.TargetNodeClass = NodeClass::DataType; 00280 ref.TargetNodeId = ToNodeId("i=78"); 00281 refs.push_back(ref); 00282 } 00283 registry.AddReferences(refs); 00284 } 00285 00286 { 00287 AddNodesItem node; 00288 node.RequestedNewNodeId = ToNodeId("i=304"); 00289 node.BrowseName = ToQualifiedName("UserTokenPolicy"); 00290 node.Class = NodeClass::DataType; 00291 node.ParentNodeId = ToNodeId("i=22"); 00292 node.ReferenceTypeId = ReferenceId::HasSubtype; 00293 DataTypeAttributes attrs; 00294 attrs.Description = LocalizedText("Describes a user token that can be used with a server."); 00295 attrs.DisplayName = LocalizedText("UserTokenPolicy"); 00296 attrs.IsAbstract = false; 00297 node.Attributes = attrs; 00298 registry.AddNodes(std::vector<AddNodesItem>{node}); 00299 } 00300 00301 { 00302 AddNodesItem node; 00303 node.RequestedNewNodeId = ToNodeId("i=312"); 00304 node.BrowseName = ToQualifiedName("EndpointDescription"); 00305 node.Class = NodeClass::DataType; 00306 node.ParentNodeId = ToNodeId("i=22"); 00307 node.ReferenceTypeId = ReferenceId::HasSubtype; 00308 DataTypeAttributes attrs; 00309 attrs.Description = LocalizedText("The description of a endpoint that can be used to access a server."); 00310 attrs.DisplayName = LocalizedText("EndpointDescription"); 00311 attrs.IsAbstract = false; 00312 node.Attributes = attrs; 00313 registry.AddNodes(std::vector<AddNodesItem>{node}); 00314 } 00315 00316 { 00317 AddNodesItem node; 00318 node.RequestedNewNodeId = ToNodeId("i=432"); 00319 node.BrowseName = ToQualifiedName("RegisteredServer"); 00320 node.Class = NodeClass::DataType; 00321 node.ParentNodeId = ToNodeId("i=22"); 00322 node.ReferenceTypeId = ReferenceId::HasSubtype; 00323 DataTypeAttributes attrs; 00324 attrs.Description = LocalizedText("The information required to register a server with a discovery server."); 00325 attrs.DisplayName = LocalizedText("RegisteredServer"); 00326 attrs.IsAbstract = false; 00327 node.Attributes = attrs; 00328 registry.AddNodes(std::vector<AddNodesItem>{node}); 00329 } 00330 00331 { 00332 AddNodesItem node; 00333 node.RequestedNewNodeId = ToNodeId("i=315"); 00334 node.BrowseName = ToQualifiedName("SecurityTokenRequestType"); 00335 node.Class = NodeClass::DataType; 00336 node.ParentNodeId = ToNodeId("i=29"); 00337 node.ReferenceTypeId = ReferenceId::HasSubtype; 00338 DataTypeAttributes attrs; 00339 attrs.Description = LocalizedText("Indicates whether a token if being created or renewed."); 00340 attrs.DisplayName = LocalizedText("SecurityTokenRequestType"); 00341 attrs.IsAbstract = false; 00342 node.Attributes = attrs; 00343 registry.AddNodes(std::vector<AddNodesItem>{node}); 00344 std::vector<AddReferencesItem> refs; 00345 { 00346 AddReferencesItem ref; 00347 ref.IsForward = true; 00348 ref.ReferenceTypeId = ReferenceId::HasProperty; 00349 ref.SourceNodeId = ToNodeId("i=315"); 00350 ref.TargetNodeClass = NodeClass::DataType; 00351 ref.TargetNodeId = ToNodeId("i=7598"); 00352 refs.push_back(ref); 00353 } 00354 registry.AddReferences(refs); 00355 } 00356 00357 { 00358 AddNodesItem node; 00359 node.RequestedNewNodeId = ToNodeId("i=7598"); 00360 node.BrowseName = ToQualifiedName("EnumStrings"); 00361 node.Class = NodeClass::Variable; 00362 node.ParentNodeId = ToNodeId("i=315"); 00363 node.ReferenceTypeId = ReferenceId::HasProperty; 00364 node.TypeDefinition = ToNodeId("i=68"); 00365 VariableAttributes attrs; 00366 attrs.DisplayName = LocalizedText("EnumStrings"); 00367 attrs.Type = ObjectId::LocalizedText; 00368 attrs.Rank = 1; 00369 node.Attributes = attrs; 00370 registry.AddNodes(std::vector<AddNodesItem>{node}); 00371 std::vector<AddReferencesItem> refs; 00372 { 00373 AddReferencesItem ref; 00374 ref.IsForward = true; 00375 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00376 ref.SourceNodeId = ToNodeId("i=7598"); 00377 ref.TargetNodeClass = NodeClass::DataType; 00378 ref.TargetNodeId = ToNodeId("i=78"); 00379 refs.push_back(ref); 00380 } 00381 registry.AddReferences(refs); 00382 } 00383 00384 { 00385 AddNodesItem node; 00386 node.RequestedNewNodeId = ToNodeId("i=344"); 00387 node.BrowseName = ToQualifiedName("SignedSoftwareCertificate"); 00388 node.Class = NodeClass::DataType; 00389 node.ParentNodeId = ToNodeId("i=22"); 00390 node.ReferenceTypeId = ReferenceId::HasSubtype; 00391 DataTypeAttributes attrs; 00392 attrs.Description = LocalizedText("A software certificate with a digital signature."); 00393 attrs.DisplayName = LocalizedText("SignedSoftwareCertificate"); 00394 attrs.IsAbstract = false; 00395 node.Attributes = attrs; 00396 registry.AddNodes(std::vector<AddNodesItem>{node}); 00397 } 00398 00399 { 00400 AddNodesItem node; 00401 node.RequestedNewNodeId = ToNodeId("i=388"); 00402 node.BrowseName = ToQualifiedName("SessionAuthenticationToken"); 00403 node.Class = NodeClass::DataType; 00404 node.ParentNodeId = ToNodeId("i=17"); 00405 node.ReferenceTypeId = ReferenceId::HasSubtype; 00406 DataTypeAttributes attrs; 00407 attrs.Description = LocalizedText("A unique identifier for a session used to authenticate requests."); 00408 attrs.DisplayName = LocalizedText("SessionAuthenticationToken"); 00409 attrs.IsAbstract = false; 00410 node.Attributes = attrs; 00411 registry.AddNodes(std::vector<AddNodesItem>{node}); 00412 } 00413 00414 { 00415 AddNodesItem node; 00416 node.RequestedNewNodeId = ToNodeId("i=316"); 00417 node.BrowseName = ToQualifiedName("UserIdentityToken"); 00418 node.Class = NodeClass::DataType; 00419 node.ParentNodeId = ToNodeId("i=22"); 00420 node.ReferenceTypeId = ReferenceId::HasSubtype; 00421 DataTypeAttributes attrs; 00422 attrs.Description = LocalizedText("A base type for a user identity token."); 00423 attrs.DisplayName = LocalizedText("UserIdentityToken"); 00424 attrs.IsAbstract = false; 00425 node.Attributes = attrs; 00426 registry.AddNodes(std::vector<AddNodesItem>{node}); 00427 } 00428 00429 { 00430 AddNodesItem node; 00431 node.RequestedNewNodeId = ToNodeId("i=319"); 00432 node.BrowseName = ToQualifiedName("AnonymousIdentityToken"); 00433 node.Class = NodeClass::DataType; 00434 node.ParentNodeId = ToNodeId("i=316"); 00435 node.ReferenceTypeId = ReferenceId::HasSubtype; 00436 DataTypeAttributes attrs; 00437 attrs.Description = LocalizedText("A token representing an anonymous user."); 00438 attrs.DisplayName = LocalizedText("AnonymousIdentityToken"); 00439 attrs.IsAbstract = false; 00440 node.Attributes = attrs; 00441 registry.AddNodes(std::vector<AddNodesItem>{node}); 00442 } 00443 00444 { 00445 AddNodesItem node; 00446 node.RequestedNewNodeId = ToNodeId("i=322"); 00447 node.BrowseName = ToQualifiedName("UserNameIdentityToken"); 00448 node.Class = NodeClass::DataType; 00449 node.ParentNodeId = ToNodeId("i=316"); 00450 node.ReferenceTypeId = ReferenceId::HasSubtype; 00451 DataTypeAttributes attrs; 00452 attrs.Description = LocalizedText("A token representing a user identified by a user name and password."); 00453 attrs.DisplayName = LocalizedText("UserNameIdentityToken"); 00454 attrs.IsAbstract = false; 00455 node.Attributes = attrs; 00456 registry.AddNodes(std::vector<AddNodesItem>{node}); 00457 } 00458 00459 { 00460 AddNodesItem node; 00461 node.RequestedNewNodeId = ToNodeId("i=325"); 00462 node.BrowseName = ToQualifiedName("X509IdentityToken"); 00463 node.Class = NodeClass::DataType; 00464 node.ParentNodeId = ToNodeId("i=316"); 00465 node.ReferenceTypeId = ReferenceId::HasSubtype; 00466 DataTypeAttributes attrs; 00467 attrs.Description = LocalizedText("A token representing a user identified by an X509 certificate."); 00468 attrs.DisplayName = LocalizedText("X509IdentityToken"); 00469 attrs.IsAbstract = false; 00470 node.Attributes = attrs; 00471 registry.AddNodes(std::vector<AddNodesItem>{node}); 00472 } 00473 00474 { 00475 AddNodesItem node; 00476 node.RequestedNewNodeId = ToNodeId("i=938"); 00477 node.BrowseName = ToQualifiedName("IssuedIdentityToken"); 00478 node.Class = NodeClass::DataType; 00479 node.ParentNodeId = ToNodeId("i=316"); 00480 node.ReferenceTypeId = ReferenceId::HasSubtype; 00481 DataTypeAttributes attrs; 00482 attrs.Description = LocalizedText("A token representing a user identified by a WS-Security XML token."); 00483 attrs.DisplayName = LocalizedText("IssuedIdentityToken"); 00484 attrs.IsAbstract = false; 00485 node.Attributes = attrs; 00486 registry.AddNodes(std::vector<AddNodesItem>{node}); 00487 } 00488 00489 { 00490 AddNodesItem node; 00491 node.RequestedNewNodeId = ToNodeId("i=348"); 00492 node.BrowseName = ToQualifiedName("NodeAttributesMask"); 00493 node.Class = NodeClass::DataType; 00494 node.ParentNodeId = ToNodeId("i=29"); 00495 node.ReferenceTypeId = ReferenceId::HasSubtype; 00496 DataTypeAttributes attrs; 00497 attrs.Description = LocalizedText("The bits used to specify default attributes for a new node."); 00498 attrs.DisplayName = LocalizedText("NodeAttributesMask"); 00499 attrs.IsAbstract = false; 00500 node.Attributes = attrs; 00501 registry.AddNodes(std::vector<AddNodesItem>{node}); 00502 std::vector<AddReferencesItem> refs; 00503 { 00504 AddReferencesItem ref; 00505 ref.IsForward = true; 00506 ref.ReferenceTypeId = ReferenceId::HasProperty; 00507 ref.SourceNodeId = ToNodeId("i=348"); 00508 ref.TargetNodeClass = NodeClass::DataType; 00509 ref.TargetNodeId = ToNodeId("i=11881"); 00510 refs.push_back(ref); 00511 } 00512 registry.AddReferences(refs); 00513 } 00514 00515 { 00516 AddNodesItem node; 00517 node.RequestedNewNodeId = ToNodeId("i=11881"); 00518 node.BrowseName = ToQualifiedName("EnumValues"); 00519 node.Class = NodeClass::Variable; 00520 node.ParentNodeId = ToNodeId("i=348"); 00521 node.ReferenceTypeId = ReferenceId::HasProperty; 00522 node.TypeDefinition = ToNodeId("i=68"); 00523 VariableAttributes attrs; 00524 attrs.DisplayName = LocalizedText("EnumValues"); 00525 attrs.Type = ToNodeId("i=7594"); 00526 attrs.Rank = 1; 00527 node.Attributes = attrs; 00528 registry.AddNodes(std::vector<AddNodesItem>{node}); 00529 std::vector<AddReferencesItem> refs; 00530 { 00531 AddReferencesItem ref; 00532 ref.IsForward = true; 00533 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00534 ref.SourceNodeId = ToNodeId("i=11881"); 00535 ref.TargetNodeClass = NodeClass::DataType; 00536 ref.TargetNodeId = ToNodeId("i=78"); 00537 refs.push_back(ref); 00538 } 00539 registry.AddReferences(refs); 00540 } 00541 00542 { 00543 AddNodesItem node; 00544 node.RequestedNewNodeId = ToNodeId("i=376"); 00545 node.BrowseName = ToQualifiedName("AddNodesItem"); 00546 node.Class = NodeClass::DataType; 00547 node.ParentNodeId = ToNodeId("i=22"); 00548 node.ReferenceTypeId = ReferenceId::HasSubtype; 00549 DataTypeAttributes attrs; 00550 attrs.Description = LocalizedText("A request to add a node to the server address space."); 00551 attrs.DisplayName = LocalizedText("AddNodesItem"); 00552 attrs.IsAbstract = false; 00553 node.Attributes = attrs; 00554 registry.AddNodes(std::vector<AddNodesItem>{node}); 00555 } 00556 00557 { 00558 AddNodesItem node; 00559 node.RequestedNewNodeId = ToNodeId("i=379"); 00560 node.BrowseName = ToQualifiedName("AddReferencesItem"); 00561 node.Class = NodeClass::DataType; 00562 node.ParentNodeId = ToNodeId("i=22"); 00563 node.ReferenceTypeId = ReferenceId::HasSubtype; 00564 DataTypeAttributes attrs; 00565 attrs.Description = LocalizedText("A request to add a reference to the server address space."); 00566 attrs.DisplayName = LocalizedText("AddReferencesItem"); 00567 attrs.IsAbstract = false; 00568 node.Attributes = attrs; 00569 registry.AddNodes(std::vector<AddNodesItem>{node}); 00570 } 00571 00572 { 00573 AddNodesItem node; 00574 node.RequestedNewNodeId = ToNodeId("i=382"); 00575 node.BrowseName = ToQualifiedName("DeleteNodesItem"); 00576 node.Class = NodeClass::DataType; 00577 node.ParentNodeId = ToNodeId("i=22"); 00578 node.ReferenceTypeId = ReferenceId::HasSubtype; 00579 DataTypeAttributes attrs; 00580 attrs.Description = LocalizedText("A request to delete a node to the server address space."); 00581 attrs.DisplayName = LocalizedText("DeleteNodesItem"); 00582 attrs.IsAbstract = false; 00583 node.Attributes = attrs; 00584 registry.AddNodes(std::vector<AddNodesItem>{node}); 00585 } 00586 00587 { 00588 AddNodesItem node; 00589 node.RequestedNewNodeId = ToNodeId("i=385"); 00590 node.BrowseName = ToQualifiedName("DeleteReferencesItem"); 00591 node.Class = NodeClass::DataType; 00592 node.ParentNodeId = ToNodeId("i=22"); 00593 node.ReferenceTypeId = ReferenceId::HasSubtype; 00594 DataTypeAttributes attrs; 00595 attrs.Description = LocalizedText("A request to delete a node from the server address space."); 00596 attrs.DisplayName = LocalizedText("DeleteReferencesItem"); 00597 attrs.IsAbstract = false; 00598 node.Attributes = attrs; 00599 registry.AddNodes(std::vector<AddNodesItem>{node}); 00600 } 00601 00602 { 00603 AddNodesItem node; 00604 node.RequestedNewNodeId = ToNodeId("i=347"); 00605 node.BrowseName = ToQualifiedName("AttributeWriteMask"); 00606 node.Class = NodeClass::DataType; 00607 node.ParentNodeId = ToNodeId("i=29"); 00608 node.ReferenceTypeId = ReferenceId::HasSubtype; 00609 DataTypeAttributes attrs; 00610 attrs.Description = LocalizedText("Define bits used to indicate which attributes are writeable."); 00611 attrs.DisplayName = LocalizedText("AttributeWriteMask"); 00612 attrs.IsAbstract = false; 00613 node.Attributes = attrs; 00614 registry.AddNodes(std::vector<AddNodesItem>{node}); 00615 std::vector<AddReferencesItem> refs; 00616 { 00617 AddReferencesItem ref; 00618 ref.IsForward = true; 00619 ref.ReferenceTypeId = ReferenceId::HasProperty; 00620 ref.SourceNodeId = ToNodeId("i=347"); 00621 ref.TargetNodeClass = NodeClass::DataType; 00622 ref.TargetNodeId = ToNodeId("i=11882"); 00623 refs.push_back(ref); 00624 } 00625 registry.AddReferences(refs); 00626 } 00627 00628 { 00629 AddNodesItem node; 00630 node.RequestedNewNodeId = ToNodeId("i=11882"); 00631 node.BrowseName = ToQualifiedName("EnumValues"); 00632 node.Class = NodeClass::Variable; 00633 node.ParentNodeId = ToNodeId("i=347"); 00634 node.ReferenceTypeId = ReferenceId::HasProperty; 00635 node.TypeDefinition = ToNodeId("i=68"); 00636 VariableAttributes attrs; 00637 attrs.DisplayName = LocalizedText("EnumValues"); 00638 attrs.Type = ToNodeId("i=7594"); 00639 attrs.Rank = 1; 00640 node.Attributes = attrs; 00641 registry.AddNodes(std::vector<AddNodesItem>{node}); 00642 std::vector<AddReferencesItem> refs; 00643 { 00644 AddReferencesItem ref; 00645 ref.IsForward = true; 00646 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00647 ref.SourceNodeId = ToNodeId("i=11882"); 00648 ref.TargetNodeClass = NodeClass::DataType; 00649 ref.TargetNodeId = ToNodeId("i=78"); 00650 refs.push_back(ref); 00651 } 00652 registry.AddReferences(refs); 00653 } 00654 00655 { 00656 AddNodesItem node; 00657 node.RequestedNewNodeId = ToNodeId("i=521"); 00658 node.BrowseName = ToQualifiedName("ContinuationPoint"); 00659 node.Class = NodeClass::DataType; 00660 node.ParentNodeId = ToNodeId("i=15"); 00661 node.ReferenceTypeId = ReferenceId::HasSubtype; 00662 DataTypeAttributes attrs; 00663 attrs.Description = LocalizedText("An identifier for a suspended query or browse operation."); 00664 attrs.DisplayName = LocalizedText("ContinuationPoint"); 00665 attrs.IsAbstract = false; 00666 node.Attributes = attrs; 00667 registry.AddNodes(std::vector<AddNodesItem>{node}); 00668 } 00669 00670 { 00671 AddNodesItem node; 00672 node.RequestedNewNodeId = ToNodeId("i=289"); 00673 node.BrowseName = ToQualifiedName("Counter"); 00674 node.Class = NodeClass::DataType; 00675 node.ParentNodeId = ToNodeId("i=7"); 00676 node.ReferenceTypeId = ReferenceId::HasSubtype; 00677 DataTypeAttributes attrs; 00678 attrs.Description = LocalizedText("A monotonically increasing value."); 00679 attrs.DisplayName = LocalizedText("Counter"); 00680 attrs.IsAbstract = false; 00681 node.Attributes = attrs; 00682 registry.AddNodes(std::vector<AddNodesItem>{node}); 00683 } 00684 00685 { 00686 AddNodesItem node; 00687 node.RequestedNewNodeId = ToNodeId("i=291"); 00688 node.BrowseName = ToQualifiedName("NumericRange"); 00689 node.Class = NodeClass::DataType; 00690 node.ParentNodeId = ToNodeId("i=12"); 00691 node.ReferenceTypeId = ReferenceId::HasSubtype; 00692 DataTypeAttributes attrs; 00693 attrs.Description = LocalizedText("Specifies a range of array indexes."); 00694 attrs.DisplayName = LocalizedText("NumericRange"); 00695 attrs.IsAbstract = false; 00696 node.Attributes = attrs; 00697 registry.AddNodes(std::vector<AddNodesItem>{node}); 00698 } 00699 00700 { 00701 AddNodesItem node; 00702 node.RequestedNewNodeId = ToNodeId("i=292"); 00703 node.BrowseName = ToQualifiedName("Time"); 00704 node.Class = NodeClass::DataType; 00705 node.ParentNodeId = ToNodeId("i=12"); 00706 node.ReferenceTypeId = ReferenceId::HasSubtype; 00707 DataTypeAttributes attrs; 00708 attrs.Description = LocalizedText("A time value specified as HH:MM:SS.SSS."); 00709 attrs.DisplayName = LocalizedText("Time"); 00710 attrs.IsAbstract = false; 00711 node.Attributes = attrs; 00712 registry.AddNodes(std::vector<AddNodesItem>{node}); 00713 } 00714 00715 { 00716 AddNodesItem node; 00717 node.RequestedNewNodeId = ToNodeId("i=293"); 00718 node.BrowseName = ToQualifiedName("Date"); 00719 node.Class = NodeClass::DataType; 00720 node.ParentNodeId = ToNodeId("i=13"); 00721 node.ReferenceTypeId = ReferenceId::HasSubtype; 00722 DataTypeAttributes attrs; 00723 attrs.Description = LocalizedText("A date value."); 00724 attrs.DisplayName = LocalizedText("Date"); 00725 attrs.IsAbstract = false; 00726 node.Attributes = attrs; 00727 registry.AddNodes(std::vector<AddNodesItem>{node}); 00728 } 00729 00730 { 00731 AddNodesItem node; 00732 node.RequestedNewNodeId = ToNodeId("i=331"); 00733 node.BrowseName = ToQualifiedName("EndpointConfiguration"); 00734 node.Class = NodeClass::DataType; 00735 node.ParentNodeId = ToNodeId("i=22"); 00736 node.ReferenceTypeId = ReferenceId::HasSubtype; 00737 DataTypeAttributes attrs; 00738 attrs.DisplayName = LocalizedText("EndpointConfiguration"); 00739 attrs.IsAbstract = false; 00740 node.Attributes = attrs; 00741 registry.AddNodes(std::vector<AddNodesItem>{node}); 00742 } 00743 00744 { 00745 AddNodesItem node; 00746 node.RequestedNewNodeId = ToNodeId("i=334"); 00747 node.BrowseName = ToQualifiedName("ComplianceLevel"); 00748 node.Class = NodeClass::DataType; 00749 node.ParentNodeId = ToNodeId("i=29"); 00750 node.ReferenceTypeId = ReferenceId::HasSubtype; 00751 DataTypeAttributes attrs; 00752 attrs.DisplayName = LocalizedText("ComplianceLevel"); 00753 attrs.IsAbstract = false; 00754 node.Attributes = attrs; 00755 registry.AddNodes(std::vector<AddNodesItem>{node}); 00756 std::vector<AddReferencesItem> refs; 00757 { 00758 AddReferencesItem ref; 00759 ref.IsForward = true; 00760 ref.ReferenceTypeId = ReferenceId::HasProperty; 00761 ref.SourceNodeId = ToNodeId("i=334"); 00762 ref.TargetNodeClass = NodeClass::DataType; 00763 ref.TargetNodeId = ToNodeId("i=7599"); 00764 refs.push_back(ref); 00765 } 00766 registry.AddReferences(refs); 00767 } 00768 00769 { 00770 AddNodesItem node; 00771 node.RequestedNewNodeId = ToNodeId("i=7599"); 00772 node.BrowseName = ToQualifiedName("EnumStrings"); 00773 node.Class = NodeClass::Variable; 00774 node.ParentNodeId = ToNodeId("i=334"); 00775 node.ReferenceTypeId = ReferenceId::HasProperty; 00776 node.TypeDefinition = ToNodeId("i=68"); 00777 VariableAttributes attrs; 00778 attrs.DisplayName = LocalizedText("EnumStrings"); 00779 attrs.Type = ObjectId::LocalizedText; 00780 attrs.Rank = 1; 00781 node.Attributes = attrs; 00782 registry.AddNodes(std::vector<AddNodesItem>{node}); 00783 std::vector<AddReferencesItem> refs; 00784 { 00785 AddReferencesItem ref; 00786 ref.IsForward = true; 00787 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00788 ref.SourceNodeId = ToNodeId("i=7599"); 00789 ref.TargetNodeClass = NodeClass::DataType; 00790 ref.TargetNodeId = ToNodeId("i=78"); 00791 refs.push_back(ref); 00792 } 00793 registry.AddReferences(refs); 00794 } 00795 00796 { 00797 AddNodesItem node; 00798 node.RequestedNewNodeId = ToNodeId("i=335"); 00799 node.BrowseName = ToQualifiedName("SupportedProfile"); 00800 node.Class = NodeClass::DataType; 00801 node.ParentNodeId = ToNodeId("i=22"); 00802 node.ReferenceTypeId = ReferenceId::HasSubtype; 00803 DataTypeAttributes attrs; 00804 attrs.DisplayName = LocalizedText("SupportedProfile"); 00805 attrs.IsAbstract = false; 00806 node.Attributes = attrs; 00807 registry.AddNodes(std::vector<AddNodesItem>{node}); 00808 } 00809 00810 { 00811 AddNodesItem node; 00812 node.RequestedNewNodeId = ToNodeId("i=341"); 00813 node.BrowseName = ToQualifiedName("SoftwareCertificate"); 00814 node.Class = NodeClass::DataType; 00815 node.ParentNodeId = ToNodeId("i=22"); 00816 node.ReferenceTypeId = ReferenceId::HasSubtype; 00817 DataTypeAttributes attrs; 00818 attrs.DisplayName = LocalizedText("SoftwareCertificate"); 00819 attrs.IsAbstract = false; 00820 node.Attributes = attrs; 00821 registry.AddNodes(std::vector<AddNodesItem>{node}); 00822 } 00823 00824 { 00825 AddNodesItem node; 00826 node.RequestedNewNodeId = ToNodeId("i=576"); 00827 node.BrowseName = ToQualifiedName("FilterOperator"); 00828 node.Class = NodeClass::DataType; 00829 node.ParentNodeId = ToNodeId("i=29"); 00830 node.ReferenceTypeId = ReferenceId::HasSubtype; 00831 DataTypeAttributes attrs; 00832 attrs.DisplayName = LocalizedText("FilterOperator"); 00833 attrs.IsAbstract = false; 00834 node.Attributes = attrs; 00835 registry.AddNodes(std::vector<AddNodesItem>{node}); 00836 std::vector<AddReferencesItem> refs; 00837 { 00838 AddReferencesItem ref; 00839 ref.IsForward = true; 00840 ref.ReferenceTypeId = ReferenceId::HasProperty; 00841 ref.SourceNodeId = ToNodeId("i=576"); 00842 ref.TargetNodeClass = NodeClass::DataType; 00843 ref.TargetNodeId = ToNodeId("i=7605"); 00844 refs.push_back(ref); 00845 } 00846 registry.AddReferences(refs); 00847 } 00848 00849 { 00850 AddNodesItem node; 00851 node.RequestedNewNodeId = ToNodeId("i=7605"); 00852 node.BrowseName = ToQualifiedName("EnumStrings"); 00853 node.Class = NodeClass::Variable; 00854 node.ParentNodeId = ToNodeId("i=576"); 00855 node.ReferenceTypeId = ReferenceId::HasProperty; 00856 node.TypeDefinition = ToNodeId("i=68"); 00857 VariableAttributes attrs; 00858 attrs.DisplayName = LocalizedText("EnumStrings"); 00859 attrs.Type = ObjectId::LocalizedText; 00860 attrs.Rank = 1; 00861 node.Attributes = attrs; 00862 registry.AddNodes(std::vector<AddNodesItem>{node}); 00863 std::vector<AddReferencesItem> refs; 00864 { 00865 AddReferencesItem ref; 00866 ref.IsForward = true; 00867 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00868 ref.SourceNodeId = ToNodeId("i=7605"); 00869 ref.TargetNodeClass = NodeClass::DataType; 00870 ref.TargetNodeId = ToNodeId("i=78"); 00871 refs.push_back(ref); 00872 } 00873 registry.AddReferences(refs); 00874 } 00875 00876 { 00877 AddNodesItem node; 00878 node.RequestedNewNodeId = ToNodeId("i=583"); 00879 node.BrowseName = ToQualifiedName("ContentFilterElement"); 00880 node.Class = NodeClass::DataType; 00881 node.ParentNodeId = ToNodeId("i=22"); 00882 node.ReferenceTypeId = ReferenceId::HasSubtype; 00883 DataTypeAttributes attrs; 00884 attrs.DisplayName = LocalizedText("ContentFilterElement"); 00885 attrs.IsAbstract = false; 00886 node.Attributes = attrs; 00887 registry.AddNodes(std::vector<AddNodesItem>{node}); 00888 } 00889 00890 { 00891 AddNodesItem node; 00892 node.RequestedNewNodeId = ToNodeId("i=586"); 00893 node.BrowseName = ToQualifiedName("ContentFilter"); 00894 node.Class = NodeClass::DataType; 00895 node.ParentNodeId = ToNodeId("i=22"); 00896 node.ReferenceTypeId = ReferenceId::HasSubtype; 00897 DataTypeAttributes attrs; 00898 attrs.DisplayName = LocalizedText("ContentFilter"); 00899 attrs.IsAbstract = false; 00900 node.Attributes = attrs; 00901 registry.AddNodes(std::vector<AddNodesItem>{node}); 00902 } 00903 00904 { 00905 AddNodesItem node; 00906 node.RequestedNewNodeId = ToNodeId("i=589"); 00907 node.BrowseName = ToQualifiedName("FilterOperand"); 00908 node.Class = NodeClass::DataType; 00909 node.ParentNodeId = ToNodeId("i=22"); 00910 node.ReferenceTypeId = ReferenceId::HasSubtype; 00911 DataTypeAttributes attrs; 00912 attrs.DisplayName = LocalizedText("FilterOperand"); 00913 attrs.IsAbstract = false; 00914 node.Attributes = attrs; 00915 registry.AddNodes(std::vector<AddNodesItem>{node}); 00916 } 00917 00918 { 00919 AddNodesItem node; 00920 node.RequestedNewNodeId = ToNodeId("i=592"); 00921 node.BrowseName = ToQualifiedName("ElementOperand"); 00922 node.Class = NodeClass::DataType; 00923 node.ParentNodeId = ToNodeId("i=589"); 00924 node.ReferenceTypeId = ReferenceId::HasSubtype; 00925 DataTypeAttributes attrs; 00926 attrs.DisplayName = LocalizedText("ElementOperand"); 00927 attrs.IsAbstract = false; 00928 node.Attributes = attrs; 00929 registry.AddNodes(std::vector<AddNodesItem>{node}); 00930 } 00931 00932 { 00933 AddNodesItem node; 00934 node.RequestedNewNodeId = ToNodeId("i=595"); 00935 node.BrowseName = ToQualifiedName("LiteralOperand"); 00936 node.Class = NodeClass::DataType; 00937 node.ParentNodeId = ToNodeId("i=589"); 00938 node.ReferenceTypeId = ReferenceId::HasSubtype; 00939 DataTypeAttributes attrs; 00940 attrs.DisplayName = LocalizedText("LiteralOperand"); 00941 attrs.IsAbstract = false; 00942 node.Attributes = attrs; 00943 registry.AddNodes(std::vector<AddNodesItem>{node}); 00944 } 00945 00946 { 00947 AddNodesItem node; 00948 node.RequestedNewNodeId = ToNodeId("i=598"); 00949 node.BrowseName = ToQualifiedName("AttributeOperand"); 00950 node.Class = NodeClass::DataType; 00951 node.ParentNodeId = ToNodeId("i=589"); 00952 node.ReferenceTypeId = ReferenceId::HasSubtype; 00953 DataTypeAttributes attrs; 00954 attrs.DisplayName = LocalizedText("AttributeOperand"); 00955 attrs.IsAbstract = false; 00956 node.Attributes = attrs; 00957 registry.AddNodes(std::vector<AddNodesItem>{node}); 00958 } 00959 00960 { 00961 AddNodesItem node; 00962 node.RequestedNewNodeId = ToNodeId("i=601"); 00963 node.BrowseName = ToQualifiedName("SimpleAttributeOperand"); 00964 node.Class = NodeClass::DataType; 00965 node.ParentNodeId = ToNodeId("i=589"); 00966 node.ReferenceTypeId = ReferenceId::HasSubtype; 00967 DataTypeAttributes attrs; 00968 attrs.DisplayName = LocalizedText("SimpleAttributeOperand"); 00969 attrs.IsAbstract = false; 00970 node.Attributes = attrs; 00971 registry.AddNodes(std::vector<AddNodesItem>{node}); 00972 } 00973 00974 { 00975 AddNodesItem node; 00976 node.RequestedNewNodeId = ToNodeId("i=659"); 00977 node.BrowseName = ToQualifiedName("HistoryEvent"); 00978 node.Class = NodeClass::DataType; 00979 node.ParentNodeId = ToNodeId("i=22"); 00980 node.ReferenceTypeId = ReferenceId::HasSubtype; 00981 DataTypeAttributes attrs; 00982 attrs.DisplayName = LocalizedText("HistoryEvent"); 00983 attrs.IsAbstract = false; 00984 node.Attributes = attrs; 00985 registry.AddNodes(std::vector<AddNodesItem>{node}); 00986 } 00987 00988 { 00989 AddNodesItem node; 00990 node.RequestedNewNodeId = ToNodeId("i=11234"); 00991 node.BrowseName = ToQualifiedName("HistoryUpdateType"); 00992 node.Class = NodeClass::DataType; 00993 node.ParentNodeId = ToNodeId("i=29"); 00994 node.ReferenceTypeId = ReferenceId::HasSubtype; 00995 DataTypeAttributes attrs; 00996 attrs.DisplayName = LocalizedText("HistoryUpdateType"); 00997 attrs.IsAbstract = false; 00998 node.Attributes = attrs; 00999 registry.AddNodes(std::vector<AddNodesItem>{node}); 01000 std::vector<AddReferencesItem> refs; 01001 { 01002 AddReferencesItem ref; 01003 ref.IsForward = true; 01004 ref.ReferenceTypeId = ReferenceId::HasProperty; 01005 ref.SourceNodeId = ToNodeId("i=11234"); 01006 ref.TargetNodeClass = NodeClass::DataType; 01007 ref.TargetNodeId = ToNodeId("i=11884"); 01008 refs.push_back(ref); 01009 } 01010 registry.AddReferences(refs); 01011 } 01012 01013 { 01014 AddNodesItem node; 01015 node.RequestedNewNodeId = ToNodeId("i=11884"); 01016 node.BrowseName = ToQualifiedName("EnumValues"); 01017 node.Class = NodeClass::Variable; 01018 node.ParentNodeId = ToNodeId("i=11234"); 01019 node.ReferenceTypeId = ReferenceId::HasProperty; 01020 node.TypeDefinition = ToNodeId("i=68"); 01021 VariableAttributes attrs; 01022 attrs.DisplayName = LocalizedText("EnumValues"); 01023 attrs.Type = ToNodeId("i=7594"); 01024 attrs.Rank = 1; 01025 node.Attributes = attrs; 01026 registry.AddNodes(std::vector<AddNodesItem>{node}); 01027 std::vector<AddReferencesItem> refs; 01028 { 01029 AddReferencesItem ref; 01030 ref.IsForward = true; 01031 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01032 ref.SourceNodeId = ToNodeId("i=11884"); 01033 ref.TargetNodeClass = NodeClass::DataType; 01034 ref.TargetNodeId = ToNodeId("i=78"); 01035 refs.push_back(ref); 01036 } 01037 registry.AddReferences(refs); 01038 } 01039 01040 { 01041 AddNodesItem node; 01042 node.RequestedNewNodeId = ToNodeId("i=11293"); 01043 node.BrowseName = ToQualifiedName("PerformUpdateType"); 01044 node.Class = NodeClass::DataType; 01045 node.ParentNodeId = ToNodeId("i=29"); 01046 node.ReferenceTypeId = ReferenceId::HasSubtype; 01047 DataTypeAttributes attrs; 01048 attrs.DisplayName = LocalizedText("PerformUpdateType"); 01049 attrs.IsAbstract = false; 01050 node.Attributes = attrs; 01051 registry.AddNodes(std::vector<AddNodesItem>{node}); 01052 std::vector<AddReferencesItem> refs; 01053 { 01054 AddReferencesItem ref; 01055 ref.IsForward = true; 01056 ref.ReferenceTypeId = ReferenceId::HasProperty; 01057 ref.SourceNodeId = ToNodeId("i=11293"); 01058 ref.TargetNodeClass = NodeClass::DataType; 01059 ref.TargetNodeId = ToNodeId("i=11885"); 01060 refs.push_back(ref); 01061 } 01062 registry.AddReferences(refs); 01063 } 01064 01065 { 01066 AddNodesItem node; 01067 node.RequestedNewNodeId = ToNodeId("i=11885"); 01068 node.BrowseName = ToQualifiedName("EnumValues"); 01069 node.Class = NodeClass::Variable; 01070 node.ParentNodeId = ToNodeId("i=11293"); 01071 node.ReferenceTypeId = ReferenceId::HasProperty; 01072 node.TypeDefinition = ToNodeId("i=68"); 01073 VariableAttributes attrs; 01074 attrs.DisplayName = LocalizedText("EnumValues"); 01075 attrs.Type = ToNodeId("i=7594"); 01076 attrs.Rank = 1; 01077 node.Attributes = attrs; 01078 registry.AddNodes(std::vector<AddNodesItem>{node}); 01079 std::vector<AddReferencesItem> refs; 01080 { 01081 AddReferencesItem ref; 01082 ref.IsForward = true; 01083 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01084 ref.SourceNodeId = ToNodeId("i=11885"); 01085 ref.TargetNodeClass = NodeClass::DataType; 01086 ref.TargetNodeId = ToNodeId("i=78"); 01087 refs.push_back(ref); 01088 } 01089 registry.AddReferences(refs); 01090 } 01091 01092 { 01093 AddNodesItem node; 01094 node.RequestedNewNodeId = ToNodeId("i=719"); 01095 node.BrowseName = ToQualifiedName("MonitoringFilter"); 01096 node.Class = NodeClass::DataType; 01097 node.ParentNodeId = ToNodeId("i=22"); 01098 node.ReferenceTypeId = ReferenceId::HasSubtype; 01099 DataTypeAttributes attrs; 01100 attrs.DisplayName = LocalizedText("MonitoringFilter"); 01101 attrs.IsAbstract = false; 01102 node.Attributes = attrs; 01103 registry.AddNodes(std::vector<AddNodesItem>{node}); 01104 } 01105 01106 { 01107 AddNodesItem node; 01108 node.RequestedNewNodeId = ToNodeId("i=725"); 01109 node.BrowseName = ToQualifiedName("EventFilter"); 01110 node.Class = NodeClass::DataType; 01111 node.ParentNodeId = ToNodeId("i=719"); 01112 node.ReferenceTypeId = ReferenceId::HasSubtype; 01113 DataTypeAttributes attrs; 01114 attrs.DisplayName = LocalizedText("EventFilter"); 01115 attrs.IsAbstract = false; 01116 node.Attributes = attrs; 01117 registry.AddNodes(std::vector<AddNodesItem>{node}); 01118 } 01119 01120 { 01121 AddNodesItem node; 01122 node.RequestedNewNodeId = ToNodeId("i=948"); 01123 node.BrowseName = ToQualifiedName("AggregateConfiguration"); 01124 node.Class = NodeClass::DataType; 01125 node.ParentNodeId = ToNodeId("i=22"); 01126 node.ReferenceTypeId = ReferenceId::HasSubtype; 01127 DataTypeAttributes attrs; 01128 attrs.DisplayName = LocalizedText("AggregateConfiguration"); 01129 attrs.IsAbstract = false; 01130 node.Attributes = attrs; 01131 registry.AddNodes(std::vector<AddNodesItem>{node}); 01132 } 01133 01134 { 01135 AddNodesItem node; 01136 node.RequestedNewNodeId = ToNodeId("i=920"); 01137 node.BrowseName = ToQualifiedName("HistoryEventFieldList"); 01138 node.Class = NodeClass::DataType; 01139 node.ParentNodeId = ToNodeId("i=22"); 01140 node.ReferenceTypeId = ReferenceId::HasSubtype; 01141 DataTypeAttributes attrs; 01142 attrs.DisplayName = LocalizedText("HistoryEventFieldList"); 01143 attrs.IsAbstract = false; 01144 node.Attributes = attrs; 01145 registry.AddNodes(std::vector<AddNodesItem>{node}); 01146 } 01147 01148 { 01149 AddNodesItem node; 01150 node.RequestedNewNodeId = ToNodeId("i=309"); 01151 node.BrowseName = ToQualifiedName("Default XML"); 01152 node.Class = NodeClass::Object; 01153 node.ParentNodeId = ToNodeId("i=308"); 01154 node.ReferenceTypeId = ReferenceId::HasEncoding; 01155 node.TypeDefinition = ToNodeId("i=76"); 01156 ObjectAttributes attrs; 01157 attrs.DisplayName = LocalizedText("Default XML"); 01158 attrs.EventNotifier = 0; 01159 node.Attributes = attrs; 01160 registry.AddNodes(std::vector<AddNodesItem>{node}); 01161 std::vector<AddReferencesItem> refs; 01162 { 01163 AddReferencesItem ref; 01164 ref.IsForward = true; 01165 ref.ReferenceTypeId = ReferenceId::HasDescription; 01166 ref.SourceNodeId = ToNodeId("i=309"); 01167 ref.TargetNodeClass = NodeClass::DataType; 01168 ref.TargetNodeId = ToNodeId("i=8300"); 01169 refs.push_back(ref); 01170 } 01171 registry.AddReferences(refs); 01172 } 01173 01174 { 01175 AddNodesItem node; 01176 node.RequestedNewNodeId = ToNodeId("i=305"); 01177 node.BrowseName = ToQualifiedName("Default XML"); 01178 node.Class = NodeClass::Object; 01179 node.ParentNodeId = ToNodeId("i=304"); 01180 node.ReferenceTypeId = ReferenceId::HasEncoding; 01181 node.TypeDefinition = ToNodeId("i=76"); 01182 ObjectAttributes attrs; 01183 attrs.DisplayName = LocalizedText("Default XML"); 01184 attrs.EventNotifier = 0; 01185 node.Attributes = attrs; 01186 registry.AddNodes(std::vector<AddNodesItem>{node}); 01187 std::vector<AddReferencesItem> refs; 01188 { 01189 AddReferencesItem ref; 01190 ref.IsForward = true; 01191 ref.ReferenceTypeId = ReferenceId::HasDescription; 01192 ref.SourceNodeId = ToNodeId("i=305"); 01193 ref.TargetNodeClass = NodeClass::DataType; 01194 ref.TargetNodeId = ToNodeId("i=8297"); 01195 refs.push_back(ref); 01196 } 01197 registry.AddReferences(refs); 01198 } 01199 01200 { 01201 AddNodesItem node; 01202 node.RequestedNewNodeId = ToNodeId("i=313"); 01203 node.BrowseName = ToQualifiedName("Default XML"); 01204 node.Class = NodeClass::Object; 01205 node.ParentNodeId = ToNodeId("i=312"); 01206 node.ReferenceTypeId = ReferenceId::HasEncoding; 01207 node.TypeDefinition = ToNodeId("i=76"); 01208 ObjectAttributes attrs; 01209 attrs.DisplayName = LocalizedText("Default XML"); 01210 attrs.EventNotifier = 0; 01211 node.Attributes = attrs; 01212 registry.AddNodes(std::vector<AddNodesItem>{node}); 01213 std::vector<AddReferencesItem> refs; 01214 { 01215 AddReferencesItem ref; 01216 ref.IsForward = true; 01217 ref.ReferenceTypeId = ReferenceId::HasDescription; 01218 ref.SourceNodeId = ToNodeId("i=313"); 01219 ref.TargetNodeClass = NodeClass::DataType; 01220 ref.TargetNodeId = ToNodeId("i=8303"); 01221 refs.push_back(ref); 01222 } 01223 registry.AddReferences(refs); 01224 } 01225 01226 { 01227 AddNodesItem node; 01228 node.RequestedNewNodeId = ToNodeId("i=433"); 01229 node.BrowseName = ToQualifiedName("Default XML"); 01230 node.Class = NodeClass::Object; 01231 node.ParentNodeId = ToNodeId("i=432"); 01232 node.ReferenceTypeId = ReferenceId::HasEncoding; 01233 node.TypeDefinition = ToNodeId("i=76"); 01234 ObjectAttributes attrs; 01235 attrs.DisplayName = LocalizedText("Default XML"); 01236 attrs.EventNotifier = 0; 01237 node.Attributes = attrs; 01238 registry.AddNodes(std::vector<AddNodesItem>{node}); 01239 std::vector<AddReferencesItem> refs; 01240 { 01241 AddReferencesItem ref; 01242 ref.IsForward = true; 01243 ref.ReferenceTypeId = ReferenceId::HasDescription; 01244 ref.SourceNodeId = ToNodeId("i=433"); 01245 ref.TargetNodeClass = NodeClass::DataType; 01246 ref.TargetNodeId = ToNodeId("i=8417"); 01247 refs.push_back(ref); 01248 } 01249 registry.AddReferences(refs); 01250 } 01251 01252 { 01253 AddNodesItem node; 01254 node.RequestedNewNodeId = ToNodeId("i=345"); 01255 node.BrowseName = ToQualifiedName("Default XML"); 01256 node.Class = NodeClass::Object; 01257 node.ParentNodeId = ToNodeId("i=344"); 01258 node.ReferenceTypeId = ReferenceId::HasEncoding; 01259 node.TypeDefinition = ToNodeId("i=76"); 01260 ObjectAttributes attrs; 01261 attrs.DisplayName = LocalizedText("Default XML"); 01262 attrs.EventNotifier = 0; 01263 node.Attributes = attrs; 01264 registry.AddNodes(std::vector<AddNodesItem>{node}); 01265 std::vector<AddReferencesItem> refs; 01266 { 01267 AddReferencesItem ref; 01268 ref.IsForward = true; 01269 ref.ReferenceTypeId = ReferenceId::HasDescription; 01270 ref.SourceNodeId = ToNodeId("i=345"); 01271 ref.TargetNodeClass = NodeClass::DataType; 01272 ref.TargetNodeId = ToNodeId("i=8333"); 01273 refs.push_back(ref); 01274 } 01275 registry.AddReferences(refs); 01276 } 01277 01278 { 01279 AddNodesItem node; 01280 node.RequestedNewNodeId = ToNodeId("i=317"); 01281 node.BrowseName = ToQualifiedName("Default XML"); 01282 node.Class = NodeClass::Object; 01283 node.ParentNodeId = ToNodeId("i=316"); 01284 node.ReferenceTypeId = ReferenceId::HasEncoding; 01285 node.TypeDefinition = ToNodeId("i=76"); 01286 ObjectAttributes attrs; 01287 attrs.DisplayName = LocalizedText("Default XML"); 01288 attrs.EventNotifier = 0; 01289 node.Attributes = attrs; 01290 registry.AddNodes(std::vector<AddNodesItem>{node}); 01291 std::vector<AddReferencesItem> refs; 01292 { 01293 AddReferencesItem ref; 01294 ref.IsForward = true; 01295 ref.ReferenceTypeId = ReferenceId::HasDescription; 01296 ref.SourceNodeId = ToNodeId("i=317"); 01297 ref.TargetNodeClass = NodeClass::DataType; 01298 ref.TargetNodeId = ToNodeId("i=8306"); 01299 refs.push_back(ref); 01300 } 01301 registry.AddReferences(refs); 01302 } 01303 01304 { 01305 AddNodesItem node; 01306 node.RequestedNewNodeId = ToNodeId("i=320"); 01307 node.BrowseName = ToQualifiedName("Default XML"); 01308 node.Class = NodeClass::Object; 01309 node.ParentNodeId = ToNodeId("i=319"); 01310 node.ReferenceTypeId = ReferenceId::HasEncoding; 01311 node.TypeDefinition = ToNodeId("i=76"); 01312 ObjectAttributes attrs; 01313 attrs.DisplayName = LocalizedText("Default XML"); 01314 attrs.EventNotifier = 0; 01315 node.Attributes = attrs; 01316 registry.AddNodes(std::vector<AddNodesItem>{node}); 01317 std::vector<AddReferencesItem> refs; 01318 { 01319 AddReferencesItem ref; 01320 ref.IsForward = true; 01321 ref.ReferenceTypeId = ReferenceId::HasDescription; 01322 ref.SourceNodeId = ToNodeId("i=320"); 01323 ref.TargetNodeClass = NodeClass::DataType; 01324 ref.TargetNodeId = ToNodeId("i=8309"); 01325 refs.push_back(ref); 01326 } 01327 registry.AddReferences(refs); 01328 } 01329 01330 { 01331 AddNodesItem node; 01332 node.RequestedNewNodeId = ToNodeId("i=323"); 01333 node.BrowseName = ToQualifiedName("Default XML"); 01334 node.Class = NodeClass::Object; 01335 node.ParentNodeId = ToNodeId("i=322"); 01336 node.ReferenceTypeId = ReferenceId::HasEncoding; 01337 node.TypeDefinition = ToNodeId("i=76"); 01338 ObjectAttributes attrs; 01339 attrs.DisplayName = LocalizedText("Default XML"); 01340 attrs.EventNotifier = 0; 01341 node.Attributes = attrs; 01342 registry.AddNodes(std::vector<AddNodesItem>{node}); 01343 std::vector<AddReferencesItem> refs; 01344 { 01345 AddReferencesItem ref; 01346 ref.IsForward = true; 01347 ref.ReferenceTypeId = ReferenceId::HasDescription; 01348 ref.SourceNodeId = ToNodeId("i=323"); 01349 ref.TargetNodeClass = NodeClass::DataType; 01350 ref.TargetNodeId = ToNodeId("i=8312"); 01351 refs.push_back(ref); 01352 } 01353 registry.AddReferences(refs); 01354 } 01355 01356 { 01357 AddNodesItem node; 01358 node.RequestedNewNodeId = ToNodeId("i=326"); 01359 node.BrowseName = ToQualifiedName("Default XML"); 01360 node.Class = NodeClass::Object; 01361 node.ParentNodeId = ToNodeId("i=325"); 01362 node.ReferenceTypeId = ReferenceId::HasEncoding; 01363 node.TypeDefinition = ToNodeId("i=76"); 01364 ObjectAttributes attrs; 01365 attrs.DisplayName = LocalizedText("Default XML"); 01366 attrs.EventNotifier = 0; 01367 node.Attributes = attrs; 01368 registry.AddNodes(std::vector<AddNodesItem>{node}); 01369 std::vector<AddReferencesItem> refs; 01370 { 01371 AddReferencesItem ref; 01372 ref.IsForward = true; 01373 ref.ReferenceTypeId = ReferenceId::HasDescription; 01374 ref.SourceNodeId = ToNodeId("i=326"); 01375 ref.TargetNodeClass = NodeClass::DataType; 01376 ref.TargetNodeId = ToNodeId("i=8315"); 01377 refs.push_back(ref); 01378 } 01379 registry.AddReferences(refs); 01380 } 01381 01382 { 01383 AddNodesItem node; 01384 node.RequestedNewNodeId = ToNodeId("i=939"); 01385 node.BrowseName = ToQualifiedName("Default XML"); 01386 node.Class = NodeClass::Object; 01387 node.ParentNodeId = ToNodeId("i=938"); 01388 node.ReferenceTypeId = ReferenceId::HasEncoding; 01389 node.TypeDefinition = ToNodeId("i=76"); 01390 ObjectAttributes attrs; 01391 attrs.DisplayName = LocalizedText("Default XML"); 01392 attrs.EventNotifier = 0; 01393 node.Attributes = attrs; 01394 registry.AddNodes(std::vector<AddNodesItem>{node}); 01395 std::vector<AddReferencesItem> refs; 01396 { 01397 AddReferencesItem ref; 01398 ref.IsForward = true; 01399 ref.ReferenceTypeId = ReferenceId::HasDescription; 01400 ref.SourceNodeId = ToNodeId("i=939"); 01401 ref.TargetNodeClass = NodeClass::DataType; 01402 ref.TargetNodeId = ToNodeId("i=8318"); 01403 refs.push_back(ref); 01404 } 01405 registry.AddReferences(refs); 01406 } 01407 01408 { 01409 AddNodesItem node; 01410 node.RequestedNewNodeId = ToNodeId("i=377"); 01411 node.BrowseName = ToQualifiedName("Default XML"); 01412 node.Class = NodeClass::Object; 01413 node.ParentNodeId = ToNodeId("i=376"); 01414 node.ReferenceTypeId = ReferenceId::HasEncoding; 01415 node.TypeDefinition = ToNodeId("i=76"); 01416 ObjectAttributes attrs; 01417 attrs.DisplayName = LocalizedText("Default XML"); 01418 attrs.EventNotifier = 0; 01419 node.Attributes = attrs; 01420 registry.AddNodes(std::vector<AddNodesItem>{node}); 01421 std::vector<AddReferencesItem> refs; 01422 { 01423 AddReferencesItem ref; 01424 ref.IsForward = true; 01425 ref.ReferenceTypeId = ReferenceId::HasDescription; 01426 ref.SourceNodeId = ToNodeId("i=377"); 01427 ref.TargetNodeClass = NodeClass::DataType; 01428 ref.TargetNodeId = ToNodeId("i=8363"); 01429 refs.push_back(ref); 01430 } 01431 registry.AddReferences(refs); 01432 } 01433 01434 { 01435 AddNodesItem node; 01436 node.RequestedNewNodeId = ToNodeId("i=380"); 01437 node.BrowseName = ToQualifiedName("Default XML"); 01438 node.Class = NodeClass::Object; 01439 node.ParentNodeId = ToNodeId("i=379"); 01440 node.ReferenceTypeId = ReferenceId::HasEncoding; 01441 node.TypeDefinition = ToNodeId("i=76"); 01442 ObjectAttributes attrs; 01443 attrs.DisplayName = LocalizedText("Default XML"); 01444 attrs.EventNotifier = 0; 01445 node.Attributes = attrs; 01446 registry.AddNodes(std::vector<AddNodesItem>{node}); 01447 std::vector<AddReferencesItem> refs; 01448 { 01449 AddReferencesItem ref; 01450 ref.IsForward = true; 01451 ref.ReferenceTypeId = ReferenceId::HasDescription; 01452 ref.SourceNodeId = ToNodeId("i=380"); 01453 ref.TargetNodeClass = NodeClass::DataType; 01454 ref.TargetNodeId = ToNodeId("i=8366"); 01455 refs.push_back(ref); 01456 } 01457 registry.AddReferences(refs); 01458 } 01459 01460 { 01461 AddNodesItem node; 01462 node.RequestedNewNodeId = ToNodeId("i=383"); 01463 node.BrowseName = ToQualifiedName("Default XML"); 01464 node.Class = NodeClass::Object; 01465 node.ParentNodeId = ToNodeId("i=382"); 01466 node.ReferenceTypeId = ReferenceId::HasEncoding; 01467 node.TypeDefinition = ToNodeId("i=76"); 01468 ObjectAttributes attrs; 01469 attrs.DisplayName = LocalizedText("Default XML"); 01470 attrs.EventNotifier = 0; 01471 node.Attributes = attrs; 01472 registry.AddNodes(std::vector<AddNodesItem>{node}); 01473 std::vector<AddReferencesItem> refs; 01474 { 01475 AddReferencesItem ref; 01476 ref.IsForward = true; 01477 ref.ReferenceTypeId = ReferenceId::HasDescription; 01478 ref.SourceNodeId = ToNodeId("i=383"); 01479 ref.TargetNodeClass = NodeClass::DataType; 01480 ref.TargetNodeId = ToNodeId("i=8369"); 01481 refs.push_back(ref); 01482 } 01483 registry.AddReferences(refs); 01484 } 01485 01486 { 01487 AddNodesItem node; 01488 node.RequestedNewNodeId = ToNodeId("i=386"); 01489 node.BrowseName = ToQualifiedName("Default XML"); 01490 node.Class = NodeClass::Object; 01491 node.ParentNodeId = ToNodeId("i=385"); 01492 node.ReferenceTypeId = ReferenceId::HasEncoding; 01493 node.TypeDefinition = ToNodeId("i=76"); 01494 ObjectAttributes attrs; 01495 attrs.DisplayName = LocalizedText("Default XML"); 01496 attrs.EventNotifier = 0; 01497 node.Attributes = attrs; 01498 registry.AddNodes(std::vector<AddNodesItem>{node}); 01499 std::vector<AddReferencesItem> refs; 01500 { 01501 AddReferencesItem ref; 01502 ref.IsForward = true; 01503 ref.ReferenceTypeId = ReferenceId::HasDescription; 01504 ref.SourceNodeId = ToNodeId("i=386"); 01505 ref.TargetNodeClass = NodeClass::DataType; 01506 ref.TargetNodeId = ToNodeId("i=8372"); 01507 refs.push_back(ref); 01508 } 01509 registry.AddReferences(refs); 01510 } 01511 01512 { 01513 AddNodesItem node; 01514 node.RequestedNewNodeId = ToNodeId("i=332"); 01515 node.BrowseName = ToQualifiedName("Default XML"); 01516 node.Class = NodeClass::Object; 01517 node.ParentNodeId = ToNodeId("i=331"); 01518 node.ReferenceTypeId = ReferenceId::HasEncoding; 01519 node.TypeDefinition = ToNodeId("i=76"); 01520 ObjectAttributes attrs; 01521 attrs.DisplayName = LocalizedText("Default XML"); 01522 attrs.EventNotifier = 0; 01523 node.Attributes = attrs; 01524 registry.AddNodes(std::vector<AddNodesItem>{node}); 01525 std::vector<AddReferencesItem> refs; 01526 { 01527 AddReferencesItem ref; 01528 ref.IsForward = true; 01529 ref.ReferenceTypeId = ReferenceId::HasDescription; 01530 ref.SourceNodeId = ToNodeId("i=332"); 01531 ref.TargetNodeClass = NodeClass::DataType; 01532 ref.TargetNodeId = ToNodeId("i=8321"); 01533 refs.push_back(ref); 01534 } 01535 registry.AddReferences(refs); 01536 } 01537 01538 { 01539 AddNodesItem node; 01540 node.RequestedNewNodeId = ToNodeId("i=336"); 01541 node.BrowseName = ToQualifiedName("Default XML"); 01542 node.Class = NodeClass::Object; 01543 node.ParentNodeId = ToNodeId("i=335"); 01544 node.ReferenceTypeId = ReferenceId::HasEncoding; 01545 node.TypeDefinition = ToNodeId("i=76"); 01546 ObjectAttributes attrs; 01547 attrs.DisplayName = LocalizedText("Default XML"); 01548 attrs.EventNotifier = 0; 01549 node.Attributes = attrs; 01550 registry.AddNodes(std::vector<AddNodesItem>{node}); 01551 std::vector<AddReferencesItem> refs; 01552 { 01553 AddReferencesItem ref; 01554 ref.IsForward = true; 01555 ref.ReferenceTypeId = ReferenceId::HasDescription; 01556 ref.SourceNodeId = ToNodeId("i=336"); 01557 ref.TargetNodeClass = NodeClass::DataType; 01558 ref.TargetNodeId = ToNodeId("i=8324"); 01559 refs.push_back(ref); 01560 } 01561 registry.AddReferences(refs); 01562 } 01563 01564 { 01565 AddNodesItem node; 01566 node.RequestedNewNodeId = ToNodeId("i=342"); 01567 node.BrowseName = ToQualifiedName("Default XML"); 01568 node.Class = NodeClass::Object; 01569 node.ParentNodeId = ToNodeId("i=341"); 01570 node.ReferenceTypeId = ReferenceId::HasEncoding; 01571 node.TypeDefinition = ToNodeId("i=76"); 01572 ObjectAttributes attrs; 01573 attrs.DisplayName = LocalizedText("Default XML"); 01574 attrs.EventNotifier = 0; 01575 node.Attributes = attrs; 01576 registry.AddNodes(std::vector<AddNodesItem>{node}); 01577 std::vector<AddReferencesItem> refs; 01578 { 01579 AddReferencesItem ref; 01580 ref.IsForward = true; 01581 ref.ReferenceTypeId = ReferenceId::HasDescription; 01582 ref.SourceNodeId = ToNodeId("i=342"); 01583 ref.TargetNodeClass = NodeClass::DataType; 01584 ref.TargetNodeId = ToNodeId("i=8330"); 01585 refs.push_back(ref); 01586 } 01587 registry.AddReferences(refs); 01588 } 01589 01590 { 01591 AddNodesItem node; 01592 node.RequestedNewNodeId = ToNodeId("i=584"); 01593 node.BrowseName = ToQualifiedName("Default XML"); 01594 node.Class = NodeClass::Object; 01595 node.ParentNodeId = ToNodeId("i=583"); 01596 node.ReferenceTypeId = ReferenceId::HasEncoding; 01597 node.TypeDefinition = ToNodeId("i=76"); 01598 ObjectAttributes attrs; 01599 attrs.DisplayName = LocalizedText("Default XML"); 01600 attrs.EventNotifier = 0; 01601 node.Attributes = attrs; 01602 registry.AddNodes(std::vector<AddNodesItem>{node}); 01603 std::vector<AddReferencesItem> refs; 01604 { 01605 AddReferencesItem ref; 01606 ref.IsForward = true; 01607 ref.ReferenceTypeId = ReferenceId::HasDescription; 01608 ref.SourceNodeId = ToNodeId("i=584"); 01609 ref.TargetNodeClass = NodeClass::DataType; 01610 ref.TargetNodeId = ToNodeId("i=8564"); 01611 refs.push_back(ref); 01612 } 01613 registry.AddReferences(refs); 01614 } 01615 01616 { 01617 AddNodesItem node; 01618 node.RequestedNewNodeId = ToNodeId("i=587"); 01619 node.BrowseName = ToQualifiedName("Default XML"); 01620 node.Class = NodeClass::Object; 01621 node.ParentNodeId = ToNodeId("i=586"); 01622 node.ReferenceTypeId = ReferenceId::HasEncoding; 01623 node.TypeDefinition = ToNodeId("i=76"); 01624 ObjectAttributes attrs; 01625 attrs.DisplayName = LocalizedText("Default XML"); 01626 attrs.EventNotifier = 0; 01627 node.Attributes = attrs; 01628 registry.AddNodes(std::vector<AddNodesItem>{node}); 01629 std::vector<AddReferencesItem> refs; 01630 { 01631 AddReferencesItem ref; 01632 ref.IsForward = true; 01633 ref.ReferenceTypeId = ReferenceId::HasDescription; 01634 ref.SourceNodeId = ToNodeId("i=587"); 01635 ref.TargetNodeClass = NodeClass::DataType; 01636 ref.TargetNodeId = ToNodeId("i=8567"); 01637 refs.push_back(ref); 01638 } 01639 registry.AddReferences(refs); 01640 } 01641 01642 { 01643 AddNodesItem node; 01644 node.RequestedNewNodeId = ToNodeId("i=590"); 01645 node.BrowseName = ToQualifiedName("Default XML"); 01646 node.Class = NodeClass::Object; 01647 node.ParentNodeId = ToNodeId("i=589"); 01648 node.ReferenceTypeId = ReferenceId::HasEncoding; 01649 node.TypeDefinition = ToNodeId("i=76"); 01650 ObjectAttributes attrs; 01651 attrs.DisplayName = LocalizedText("Default XML"); 01652 attrs.EventNotifier = 0; 01653 node.Attributes = attrs; 01654 registry.AddNodes(std::vector<AddNodesItem>{node}); 01655 std::vector<AddReferencesItem> refs; 01656 { 01657 AddReferencesItem ref; 01658 ref.IsForward = true; 01659 ref.ReferenceTypeId = ReferenceId::HasDescription; 01660 ref.SourceNodeId = ToNodeId("i=590"); 01661 ref.TargetNodeClass = NodeClass::DataType; 01662 ref.TargetNodeId = ToNodeId("i=8570"); 01663 refs.push_back(ref); 01664 } 01665 registry.AddReferences(refs); 01666 } 01667 01668 { 01669 AddNodesItem node; 01670 node.RequestedNewNodeId = ToNodeId("i=593"); 01671 node.BrowseName = ToQualifiedName("Default XML"); 01672 node.Class = NodeClass::Object; 01673 node.ParentNodeId = ToNodeId("i=592"); 01674 node.ReferenceTypeId = ReferenceId::HasEncoding; 01675 node.TypeDefinition = ToNodeId("i=76"); 01676 ObjectAttributes attrs; 01677 attrs.DisplayName = LocalizedText("Default XML"); 01678 attrs.EventNotifier = 0; 01679 node.Attributes = attrs; 01680 registry.AddNodes(std::vector<AddNodesItem>{node}); 01681 std::vector<AddReferencesItem> refs; 01682 { 01683 AddReferencesItem ref; 01684 ref.IsForward = true; 01685 ref.ReferenceTypeId = ReferenceId::HasDescription; 01686 ref.SourceNodeId = ToNodeId("i=593"); 01687 ref.TargetNodeClass = NodeClass::DataType; 01688 ref.TargetNodeId = ToNodeId("i=8573"); 01689 refs.push_back(ref); 01690 } 01691 registry.AddReferences(refs); 01692 } 01693 01694 { 01695 AddNodesItem node; 01696 node.RequestedNewNodeId = ToNodeId("i=596"); 01697 node.BrowseName = ToQualifiedName("Default XML"); 01698 node.Class = NodeClass::Object; 01699 node.ParentNodeId = ToNodeId("i=595"); 01700 node.ReferenceTypeId = ReferenceId::HasEncoding; 01701 node.TypeDefinition = ToNodeId("i=76"); 01702 ObjectAttributes attrs; 01703 attrs.DisplayName = LocalizedText("Default XML"); 01704 attrs.EventNotifier = 0; 01705 node.Attributes = attrs; 01706 registry.AddNodes(std::vector<AddNodesItem>{node}); 01707 std::vector<AddReferencesItem> refs; 01708 { 01709 AddReferencesItem ref; 01710 ref.IsForward = true; 01711 ref.ReferenceTypeId = ReferenceId::HasDescription; 01712 ref.SourceNodeId = ToNodeId("i=596"); 01713 ref.TargetNodeClass = NodeClass::DataType; 01714 ref.TargetNodeId = ToNodeId("i=8576"); 01715 refs.push_back(ref); 01716 } 01717 registry.AddReferences(refs); 01718 } 01719 01720 { 01721 AddNodesItem node; 01722 node.RequestedNewNodeId = ToNodeId("i=599"); 01723 node.BrowseName = ToQualifiedName("Default XML"); 01724 node.Class = NodeClass::Object; 01725 node.ParentNodeId = ToNodeId("i=598"); 01726 node.ReferenceTypeId = ReferenceId::HasEncoding; 01727 node.TypeDefinition = ToNodeId("i=76"); 01728 ObjectAttributes attrs; 01729 attrs.DisplayName = LocalizedText("Default XML"); 01730 attrs.EventNotifier = 0; 01731 node.Attributes = attrs; 01732 registry.AddNodes(std::vector<AddNodesItem>{node}); 01733 std::vector<AddReferencesItem> refs; 01734 { 01735 AddReferencesItem ref; 01736 ref.IsForward = true; 01737 ref.ReferenceTypeId = ReferenceId::HasDescription; 01738 ref.SourceNodeId = ToNodeId("i=599"); 01739 ref.TargetNodeClass = NodeClass::DataType; 01740 ref.TargetNodeId = ToNodeId("i=8579"); 01741 refs.push_back(ref); 01742 } 01743 registry.AddReferences(refs); 01744 } 01745 01746 { 01747 AddNodesItem node; 01748 node.RequestedNewNodeId = ToNodeId("i=602"); 01749 node.BrowseName = ToQualifiedName("Default XML"); 01750 node.Class = NodeClass::Object; 01751 node.ParentNodeId = ToNodeId("i=601"); 01752 node.ReferenceTypeId = ReferenceId::HasEncoding; 01753 node.TypeDefinition = ToNodeId("i=76"); 01754 ObjectAttributes attrs; 01755 attrs.DisplayName = LocalizedText("Default XML"); 01756 attrs.EventNotifier = 0; 01757 node.Attributes = attrs; 01758 registry.AddNodes(std::vector<AddNodesItem>{node}); 01759 std::vector<AddReferencesItem> refs; 01760 { 01761 AddReferencesItem ref; 01762 ref.IsForward = true; 01763 ref.ReferenceTypeId = ReferenceId::HasDescription; 01764 ref.SourceNodeId = ToNodeId("i=602"); 01765 ref.TargetNodeClass = NodeClass::DataType; 01766 ref.TargetNodeId = ToNodeId("i=8582"); 01767 refs.push_back(ref); 01768 } 01769 registry.AddReferences(refs); 01770 } 01771 01772 { 01773 AddNodesItem node; 01774 node.RequestedNewNodeId = ToNodeId("i=660"); 01775 node.BrowseName = ToQualifiedName("Default XML"); 01776 node.Class = NodeClass::Object; 01777 node.ParentNodeId = ToNodeId("i=659"); 01778 node.ReferenceTypeId = ReferenceId::HasEncoding; 01779 node.TypeDefinition = ToNodeId("i=76"); 01780 ObjectAttributes attrs; 01781 attrs.DisplayName = LocalizedText("Default XML"); 01782 attrs.EventNotifier = 0; 01783 node.Attributes = attrs; 01784 registry.AddNodes(std::vector<AddNodesItem>{node}); 01785 std::vector<AddReferencesItem> refs; 01786 { 01787 AddReferencesItem ref; 01788 ref.IsForward = true; 01789 ref.ReferenceTypeId = ReferenceId::HasDescription; 01790 ref.SourceNodeId = ToNodeId("i=660"); 01791 ref.TargetNodeClass = NodeClass::DataType; 01792 ref.TargetNodeId = ToNodeId("i=8639"); 01793 refs.push_back(ref); 01794 } 01795 registry.AddReferences(refs); 01796 } 01797 01798 { 01799 AddNodesItem node; 01800 node.RequestedNewNodeId = ToNodeId("i=720"); 01801 node.BrowseName = ToQualifiedName("Default XML"); 01802 node.Class = NodeClass::Object; 01803 node.ParentNodeId = ToNodeId("i=719"); 01804 node.ReferenceTypeId = ReferenceId::HasEncoding; 01805 node.TypeDefinition = ToNodeId("i=76"); 01806 ObjectAttributes attrs; 01807 attrs.DisplayName = LocalizedText("Default XML"); 01808 attrs.EventNotifier = 0; 01809 node.Attributes = attrs; 01810 registry.AddNodes(std::vector<AddNodesItem>{node}); 01811 std::vector<AddReferencesItem> refs; 01812 { 01813 AddReferencesItem ref; 01814 ref.IsForward = true; 01815 ref.ReferenceTypeId = ReferenceId::HasDescription; 01816 ref.SourceNodeId = ToNodeId("i=720"); 01817 ref.TargetNodeClass = NodeClass::DataType; 01818 ref.TargetNodeId = ToNodeId("i=8702"); 01819 refs.push_back(ref); 01820 } 01821 registry.AddReferences(refs); 01822 } 01823 01824 { 01825 AddNodesItem node; 01826 node.RequestedNewNodeId = ToNodeId("i=726"); 01827 node.BrowseName = ToQualifiedName("Default XML"); 01828 node.Class = NodeClass::Object; 01829 node.ParentNodeId = ToNodeId("i=725"); 01830 node.ReferenceTypeId = ReferenceId::HasEncoding; 01831 node.TypeDefinition = ToNodeId("i=76"); 01832 ObjectAttributes attrs; 01833 attrs.DisplayName = LocalizedText("Default XML"); 01834 attrs.EventNotifier = 0; 01835 node.Attributes = attrs; 01836 registry.AddNodes(std::vector<AddNodesItem>{node}); 01837 std::vector<AddReferencesItem> refs; 01838 { 01839 AddReferencesItem ref; 01840 ref.IsForward = true; 01841 ref.ReferenceTypeId = ReferenceId::HasDescription; 01842 ref.SourceNodeId = ToNodeId("i=726"); 01843 ref.TargetNodeClass = NodeClass::DataType; 01844 ref.TargetNodeId = ToNodeId("i=8708"); 01845 refs.push_back(ref); 01846 } 01847 registry.AddReferences(refs); 01848 } 01849 01850 { 01851 AddNodesItem node; 01852 node.RequestedNewNodeId = ToNodeId("i=949"); 01853 node.BrowseName = ToQualifiedName("Default XML"); 01854 node.Class = NodeClass::Object; 01855 node.ParentNodeId = ToNodeId("i=948"); 01856 node.ReferenceTypeId = ReferenceId::HasEncoding; 01857 node.TypeDefinition = ToNodeId("i=76"); 01858 ObjectAttributes attrs; 01859 attrs.DisplayName = LocalizedText("Default XML"); 01860 attrs.EventNotifier = 0; 01861 node.Attributes = attrs; 01862 registry.AddNodes(std::vector<AddNodesItem>{node}); 01863 std::vector<AddReferencesItem> refs; 01864 { 01865 AddReferencesItem ref; 01866 ref.IsForward = true; 01867 ref.ReferenceTypeId = ReferenceId::HasDescription; 01868 ref.SourceNodeId = ToNodeId("i=949"); 01869 ref.TargetNodeClass = NodeClass::DataType; 01870 ref.TargetNodeId = ToNodeId("i=8711"); 01871 refs.push_back(ref); 01872 } 01873 registry.AddReferences(refs); 01874 } 01875 01876 { 01877 AddNodesItem node; 01878 node.RequestedNewNodeId = ToNodeId("i=921"); 01879 node.BrowseName = ToQualifiedName("Default XML"); 01880 node.Class = NodeClass::Object; 01881 node.ParentNodeId = ToNodeId("i=920"); 01882 node.ReferenceTypeId = ReferenceId::HasEncoding; 01883 node.TypeDefinition = ToNodeId("i=76"); 01884 ObjectAttributes attrs; 01885 attrs.DisplayName = LocalizedText("Default XML"); 01886 attrs.EventNotifier = 0; 01887 node.Attributes = attrs; 01888 registry.AddNodes(std::vector<AddNodesItem>{node}); 01889 std::vector<AddReferencesItem> refs; 01890 { 01891 AddReferencesItem ref; 01892 ref.IsForward = true; 01893 ref.ReferenceTypeId = ReferenceId::HasDescription; 01894 ref.SourceNodeId = ToNodeId("i=921"); 01895 ref.TargetNodeClass = NodeClass::DataType; 01896 ref.TargetNodeId = ToNodeId("i=8807"); 01897 refs.push_back(ref); 01898 } 01899 registry.AddReferences(refs); 01900 } 01901 01902 { 01903 AddNodesItem node; 01904 node.RequestedNewNodeId = ToNodeId("i=310"); 01905 node.BrowseName = ToQualifiedName("Default Binary"); 01906 node.Class = NodeClass::Object; 01907 node.ParentNodeId = ToNodeId("i=308"); 01908 node.ReferenceTypeId = ReferenceId::HasEncoding; 01909 node.TypeDefinition = ToNodeId("i=76"); 01910 ObjectAttributes attrs; 01911 attrs.DisplayName = LocalizedText("Default Binary"); 01912 attrs.EventNotifier = 0; 01913 node.Attributes = attrs; 01914 registry.AddNodes(std::vector<AddNodesItem>{node}); 01915 std::vector<AddReferencesItem> refs; 01916 { 01917 AddReferencesItem ref; 01918 ref.IsForward = true; 01919 ref.ReferenceTypeId = ReferenceId::HasDescription; 01920 ref.SourceNodeId = ToNodeId("i=310"); 01921 ref.TargetNodeClass = NodeClass::DataType; 01922 ref.TargetNodeId = ToNodeId("i=7665"); 01923 refs.push_back(ref); 01924 } 01925 registry.AddReferences(refs); 01926 } 01927 01928 { 01929 AddNodesItem node; 01930 node.RequestedNewNodeId = ToNodeId("i=306"); 01931 node.BrowseName = ToQualifiedName("Default Binary"); 01932 node.Class = NodeClass::Object; 01933 node.ParentNodeId = ToNodeId("i=304"); 01934 node.ReferenceTypeId = ReferenceId::HasEncoding; 01935 node.TypeDefinition = ToNodeId("i=76"); 01936 ObjectAttributes attrs; 01937 attrs.DisplayName = LocalizedText("Default Binary"); 01938 attrs.EventNotifier = 0; 01939 node.Attributes = attrs; 01940 registry.AddNodes(std::vector<AddNodesItem>{node}); 01941 std::vector<AddReferencesItem> refs; 01942 { 01943 AddReferencesItem ref; 01944 ref.IsForward = true; 01945 ref.ReferenceTypeId = ReferenceId::HasDescription; 01946 ref.SourceNodeId = ToNodeId("i=306"); 01947 ref.TargetNodeClass = NodeClass::DataType; 01948 ref.TargetNodeId = ToNodeId("i=7662"); 01949 refs.push_back(ref); 01950 } 01951 registry.AddReferences(refs); 01952 } 01953 01954 { 01955 AddNodesItem node; 01956 node.RequestedNewNodeId = ToNodeId("i=314"); 01957 node.BrowseName = ToQualifiedName("Default Binary"); 01958 node.Class = NodeClass::Object; 01959 node.ParentNodeId = ToNodeId("i=312"); 01960 node.ReferenceTypeId = ReferenceId::HasEncoding; 01961 node.TypeDefinition = ToNodeId("i=76"); 01962 ObjectAttributes attrs; 01963 attrs.DisplayName = LocalizedText("Default Binary"); 01964 attrs.EventNotifier = 0; 01965 node.Attributes = attrs; 01966 registry.AddNodes(std::vector<AddNodesItem>{node}); 01967 std::vector<AddReferencesItem> refs; 01968 { 01969 AddReferencesItem ref; 01970 ref.IsForward = true; 01971 ref.ReferenceTypeId = ReferenceId::HasDescription; 01972 ref.SourceNodeId = ToNodeId("i=314"); 01973 ref.TargetNodeClass = NodeClass::DataType; 01974 ref.TargetNodeId = ToNodeId("i=7668"); 01975 refs.push_back(ref); 01976 } 01977 registry.AddReferences(refs); 01978 } 01979 01980 { 01981 AddNodesItem node; 01982 node.RequestedNewNodeId = ToNodeId("i=434"); 01983 node.BrowseName = ToQualifiedName("Default Binary"); 01984 node.Class = NodeClass::Object; 01985 node.ParentNodeId = ToNodeId("i=432"); 01986 node.ReferenceTypeId = ReferenceId::HasEncoding; 01987 node.TypeDefinition = ToNodeId("i=76"); 01988 ObjectAttributes attrs; 01989 attrs.DisplayName = LocalizedText("Default Binary"); 01990 attrs.EventNotifier = 0; 01991 node.Attributes = attrs; 01992 registry.AddNodes(std::vector<AddNodesItem>{node}); 01993 std::vector<AddReferencesItem> refs; 01994 { 01995 AddReferencesItem ref; 01996 ref.IsForward = true; 01997 ref.ReferenceTypeId = ReferenceId::HasDescription; 01998 ref.SourceNodeId = ToNodeId("i=434"); 01999 ref.TargetNodeClass = NodeClass::DataType; 02000 ref.TargetNodeId = ToNodeId("i=7782"); 02001 refs.push_back(ref); 02002 } 02003 registry.AddReferences(refs); 02004 } 02005 02006 { 02007 AddNodesItem node; 02008 node.RequestedNewNodeId = ToNodeId("i=346"); 02009 node.BrowseName = ToQualifiedName("Default Binary"); 02010 node.Class = NodeClass::Object; 02011 node.ParentNodeId = ToNodeId("i=344"); 02012 node.ReferenceTypeId = ReferenceId::HasEncoding; 02013 node.TypeDefinition = ToNodeId("i=76"); 02014 ObjectAttributes attrs; 02015 attrs.DisplayName = LocalizedText("Default Binary"); 02016 attrs.EventNotifier = 0; 02017 node.Attributes = attrs; 02018 registry.AddNodes(std::vector<AddNodesItem>{node}); 02019 std::vector<AddReferencesItem> refs; 02020 { 02021 AddReferencesItem ref; 02022 ref.IsForward = true; 02023 ref.ReferenceTypeId = ReferenceId::HasDescription; 02024 ref.SourceNodeId = ToNodeId("i=346"); 02025 ref.TargetNodeClass = NodeClass::DataType; 02026 ref.TargetNodeId = ToNodeId("i=7698"); 02027 refs.push_back(ref); 02028 } 02029 registry.AddReferences(refs); 02030 } 02031 02032 { 02033 AddNodesItem node; 02034 node.RequestedNewNodeId = ToNodeId("i=318"); 02035 node.BrowseName = ToQualifiedName("Default Binary"); 02036 node.Class = NodeClass::Object; 02037 node.ParentNodeId = ToNodeId("i=316"); 02038 node.ReferenceTypeId = ReferenceId::HasEncoding; 02039 node.TypeDefinition = ToNodeId("i=76"); 02040 ObjectAttributes attrs; 02041 attrs.DisplayName = LocalizedText("Default Binary"); 02042 attrs.EventNotifier = 0; 02043 node.Attributes = attrs; 02044 registry.AddNodes(std::vector<AddNodesItem>{node}); 02045 std::vector<AddReferencesItem> refs; 02046 { 02047 AddReferencesItem ref; 02048 ref.IsForward = true; 02049 ref.ReferenceTypeId = ReferenceId::HasDescription; 02050 ref.SourceNodeId = ToNodeId("i=318"); 02051 ref.TargetNodeClass = NodeClass::DataType; 02052 ref.TargetNodeId = ToNodeId("i=7671"); 02053 refs.push_back(ref); 02054 } 02055 registry.AddReferences(refs); 02056 } 02057 02058 { 02059 AddNodesItem node; 02060 node.RequestedNewNodeId = ToNodeId("i=321"); 02061 node.BrowseName = ToQualifiedName("Default Binary"); 02062 node.Class = NodeClass::Object; 02063 node.ParentNodeId = ToNodeId("i=319"); 02064 node.ReferenceTypeId = ReferenceId::HasEncoding; 02065 node.TypeDefinition = ToNodeId("i=76"); 02066 ObjectAttributes attrs; 02067 attrs.DisplayName = LocalizedText("Default Binary"); 02068 attrs.EventNotifier = 0; 02069 node.Attributes = attrs; 02070 registry.AddNodes(std::vector<AddNodesItem>{node}); 02071 std::vector<AddReferencesItem> refs; 02072 { 02073 AddReferencesItem ref; 02074 ref.IsForward = true; 02075 ref.ReferenceTypeId = ReferenceId::HasDescription; 02076 ref.SourceNodeId = ToNodeId("i=321"); 02077 ref.TargetNodeClass = NodeClass::DataType; 02078 ref.TargetNodeId = ToNodeId("i=7674"); 02079 refs.push_back(ref); 02080 } 02081 registry.AddReferences(refs); 02082 } 02083 02084 { 02085 AddNodesItem node; 02086 node.RequestedNewNodeId = ToNodeId("i=324"); 02087 node.BrowseName = ToQualifiedName("Default Binary"); 02088 node.Class = NodeClass::Object; 02089 node.ParentNodeId = ToNodeId("i=322"); 02090 node.ReferenceTypeId = ReferenceId::HasEncoding; 02091 node.TypeDefinition = ToNodeId("i=76"); 02092 ObjectAttributes attrs; 02093 attrs.DisplayName = LocalizedText("Default Binary"); 02094 attrs.EventNotifier = 0; 02095 node.Attributes = attrs; 02096 registry.AddNodes(std::vector<AddNodesItem>{node}); 02097 std::vector<AddReferencesItem> refs; 02098 { 02099 AddReferencesItem ref; 02100 ref.IsForward = true; 02101 ref.ReferenceTypeId = ReferenceId::HasDescription; 02102 ref.SourceNodeId = ToNodeId("i=324"); 02103 ref.TargetNodeClass = NodeClass::DataType; 02104 ref.TargetNodeId = ToNodeId("i=7677"); 02105 refs.push_back(ref); 02106 } 02107 registry.AddReferences(refs); 02108 } 02109 02110 { 02111 AddNodesItem node; 02112 node.RequestedNewNodeId = ToNodeId("i=327"); 02113 node.BrowseName = ToQualifiedName("Default Binary"); 02114 node.Class = NodeClass::Object; 02115 node.ParentNodeId = ToNodeId("i=325"); 02116 node.ReferenceTypeId = ReferenceId::HasEncoding; 02117 node.TypeDefinition = ToNodeId("i=76"); 02118 ObjectAttributes attrs; 02119 attrs.DisplayName = LocalizedText("Default Binary"); 02120 attrs.EventNotifier = 0; 02121 node.Attributes = attrs; 02122 registry.AddNodes(std::vector<AddNodesItem>{node}); 02123 std::vector<AddReferencesItem> refs; 02124 { 02125 AddReferencesItem ref; 02126 ref.IsForward = true; 02127 ref.ReferenceTypeId = ReferenceId::HasDescription; 02128 ref.SourceNodeId = ToNodeId("i=327"); 02129 ref.TargetNodeClass = NodeClass::DataType; 02130 ref.TargetNodeId = ToNodeId("i=7680"); 02131 refs.push_back(ref); 02132 } 02133 registry.AddReferences(refs); 02134 } 02135 02136 { 02137 AddNodesItem node; 02138 node.RequestedNewNodeId = ToNodeId("i=940"); 02139 node.BrowseName = ToQualifiedName("Default Binary"); 02140 node.Class = NodeClass::Object; 02141 node.ParentNodeId = ToNodeId("i=938"); 02142 node.ReferenceTypeId = ReferenceId::HasEncoding; 02143 node.TypeDefinition = ToNodeId("i=76"); 02144 ObjectAttributes attrs; 02145 attrs.DisplayName = LocalizedText("Default Binary"); 02146 attrs.EventNotifier = 0; 02147 node.Attributes = attrs; 02148 registry.AddNodes(std::vector<AddNodesItem>{node}); 02149 std::vector<AddReferencesItem> refs; 02150 { 02151 AddReferencesItem ref; 02152 ref.IsForward = true; 02153 ref.ReferenceTypeId = ReferenceId::HasDescription; 02154 ref.SourceNodeId = ToNodeId("i=940"); 02155 ref.TargetNodeClass = NodeClass::DataType; 02156 ref.TargetNodeId = ToNodeId("i=7683"); 02157 refs.push_back(ref); 02158 } 02159 registry.AddReferences(refs); 02160 } 02161 02162 { 02163 AddNodesItem node; 02164 node.RequestedNewNodeId = ToNodeId("i=378"); 02165 node.BrowseName = ToQualifiedName("Default Binary"); 02166 node.Class = NodeClass::Object; 02167 node.ParentNodeId = ToNodeId("i=376"); 02168 node.ReferenceTypeId = ReferenceId::HasEncoding; 02169 node.TypeDefinition = ToNodeId("i=76"); 02170 ObjectAttributes attrs; 02171 attrs.DisplayName = LocalizedText("Default Binary"); 02172 attrs.EventNotifier = 0; 02173 node.Attributes = attrs; 02174 registry.AddNodes(std::vector<AddNodesItem>{node}); 02175 std::vector<AddReferencesItem> refs; 02176 { 02177 AddReferencesItem ref; 02178 ref.IsForward = true; 02179 ref.ReferenceTypeId = ReferenceId::HasDescription; 02180 ref.SourceNodeId = ToNodeId("i=378"); 02181 ref.TargetNodeClass = NodeClass::DataType; 02182 ref.TargetNodeId = ToNodeId("i=7728"); 02183 refs.push_back(ref); 02184 } 02185 registry.AddReferences(refs); 02186 } 02187 02188 { 02189 AddNodesItem node; 02190 node.RequestedNewNodeId = ToNodeId("i=381"); 02191 node.BrowseName = ToQualifiedName("Default Binary"); 02192 node.Class = NodeClass::Object; 02193 node.ParentNodeId = ToNodeId("i=379"); 02194 node.ReferenceTypeId = ReferenceId::HasEncoding; 02195 node.TypeDefinition = ToNodeId("i=76"); 02196 ObjectAttributes attrs; 02197 attrs.DisplayName = LocalizedText("Default Binary"); 02198 attrs.EventNotifier = 0; 02199 node.Attributes = attrs; 02200 registry.AddNodes(std::vector<AddNodesItem>{node}); 02201 std::vector<AddReferencesItem> refs; 02202 { 02203 AddReferencesItem ref; 02204 ref.IsForward = true; 02205 ref.ReferenceTypeId = ReferenceId::HasDescription; 02206 ref.SourceNodeId = ToNodeId("i=381"); 02207 ref.TargetNodeClass = NodeClass::DataType; 02208 ref.TargetNodeId = ToNodeId("i=7731"); 02209 refs.push_back(ref); 02210 } 02211 registry.AddReferences(refs); 02212 } 02213 02214 { 02215 AddNodesItem node; 02216 node.RequestedNewNodeId = ToNodeId("i=384"); 02217 node.BrowseName = ToQualifiedName("Default Binary"); 02218 node.Class = NodeClass::Object; 02219 node.ParentNodeId = ToNodeId("i=382"); 02220 node.ReferenceTypeId = ReferenceId::HasEncoding; 02221 node.TypeDefinition = ToNodeId("i=76"); 02222 ObjectAttributes attrs; 02223 attrs.DisplayName = LocalizedText("Default Binary"); 02224 attrs.EventNotifier = 0; 02225 node.Attributes = attrs; 02226 registry.AddNodes(std::vector<AddNodesItem>{node}); 02227 std::vector<AddReferencesItem> refs; 02228 { 02229 AddReferencesItem ref; 02230 ref.IsForward = true; 02231 ref.ReferenceTypeId = ReferenceId::HasDescription; 02232 ref.SourceNodeId = ToNodeId("i=384"); 02233 ref.TargetNodeClass = NodeClass::DataType; 02234 ref.TargetNodeId = ToNodeId("i=7734"); 02235 refs.push_back(ref); 02236 } 02237 registry.AddReferences(refs); 02238 } 02239 02240 { 02241 AddNodesItem node; 02242 node.RequestedNewNodeId = ToNodeId("i=387"); 02243 node.BrowseName = ToQualifiedName("Default Binary"); 02244 node.Class = NodeClass::Object; 02245 node.ParentNodeId = ToNodeId("i=385"); 02246 node.ReferenceTypeId = ReferenceId::HasEncoding; 02247 node.TypeDefinition = ToNodeId("i=76"); 02248 ObjectAttributes attrs; 02249 attrs.DisplayName = LocalizedText("Default Binary"); 02250 attrs.EventNotifier = 0; 02251 node.Attributes = attrs; 02252 registry.AddNodes(std::vector<AddNodesItem>{node}); 02253 std::vector<AddReferencesItem> refs; 02254 { 02255 AddReferencesItem ref; 02256 ref.IsForward = true; 02257 ref.ReferenceTypeId = ReferenceId::HasDescription; 02258 ref.SourceNodeId = ToNodeId("i=387"); 02259 ref.TargetNodeClass = NodeClass::DataType; 02260 ref.TargetNodeId = ToNodeId("i=7737"); 02261 refs.push_back(ref); 02262 } 02263 registry.AddReferences(refs); 02264 } 02265 02266 { 02267 AddNodesItem node; 02268 node.RequestedNewNodeId = ToNodeId("i=333"); 02269 node.BrowseName = ToQualifiedName("Default Binary"); 02270 node.Class = NodeClass::Object; 02271 node.ParentNodeId = ToNodeId("i=331"); 02272 node.ReferenceTypeId = ReferenceId::HasEncoding; 02273 node.TypeDefinition = ToNodeId("i=76"); 02274 ObjectAttributes attrs; 02275 attrs.DisplayName = LocalizedText("Default Binary"); 02276 attrs.EventNotifier = 0; 02277 node.Attributes = attrs; 02278 registry.AddNodes(std::vector<AddNodesItem>{node}); 02279 std::vector<AddReferencesItem> refs; 02280 { 02281 AddReferencesItem ref; 02282 ref.IsForward = true; 02283 ref.ReferenceTypeId = ReferenceId::HasDescription; 02284 ref.SourceNodeId = ToNodeId("i=333"); 02285 ref.TargetNodeClass = NodeClass::DataType; 02286 ref.TargetNodeId = ToNodeId("i=7686"); 02287 refs.push_back(ref); 02288 } 02289 registry.AddReferences(refs); 02290 } 02291 02292 { 02293 AddNodesItem node; 02294 node.RequestedNewNodeId = ToNodeId("i=337"); 02295 node.BrowseName = ToQualifiedName("Default Binary"); 02296 node.Class = NodeClass::Object; 02297 node.ParentNodeId = ToNodeId("i=335"); 02298 node.ReferenceTypeId = ReferenceId::HasEncoding; 02299 node.TypeDefinition = ToNodeId("i=76"); 02300 ObjectAttributes attrs; 02301 attrs.DisplayName = LocalizedText("Default Binary"); 02302 attrs.EventNotifier = 0; 02303 node.Attributes = attrs; 02304 registry.AddNodes(std::vector<AddNodesItem>{node}); 02305 std::vector<AddReferencesItem> refs; 02306 { 02307 AddReferencesItem ref; 02308 ref.IsForward = true; 02309 ref.ReferenceTypeId = ReferenceId::HasDescription; 02310 ref.SourceNodeId = ToNodeId("i=337"); 02311 ref.TargetNodeClass = NodeClass::DataType; 02312 ref.TargetNodeId = ToNodeId("i=7689"); 02313 refs.push_back(ref); 02314 } 02315 registry.AddReferences(refs); 02316 } 02317 02318 { 02319 AddNodesItem node; 02320 node.RequestedNewNodeId = ToNodeId("i=343"); 02321 node.BrowseName = ToQualifiedName("Default Binary"); 02322 node.Class = NodeClass::Object; 02323 node.ParentNodeId = ToNodeId("i=341"); 02324 node.ReferenceTypeId = ReferenceId::HasEncoding; 02325 node.TypeDefinition = ToNodeId("i=76"); 02326 ObjectAttributes attrs; 02327 attrs.DisplayName = LocalizedText("Default Binary"); 02328 attrs.EventNotifier = 0; 02329 node.Attributes = attrs; 02330 registry.AddNodes(std::vector<AddNodesItem>{node}); 02331 std::vector<AddReferencesItem> refs; 02332 { 02333 AddReferencesItem ref; 02334 ref.IsForward = true; 02335 ref.ReferenceTypeId = ReferenceId::HasDescription; 02336 ref.SourceNodeId = ToNodeId("i=343"); 02337 ref.TargetNodeClass = NodeClass::DataType; 02338 ref.TargetNodeId = ToNodeId("i=7695"); 02339 refs.push_back(ref); 02340 } 02341 registry.AddReferences(refs); 02342 } 02343 02344 { 02345 AddNodesItem node; 02346 node.RequestedNewNodeId = ToNodeId("i=585"); 02347 node.BrowseName = ToQualifiedName("Default Binary"); 02348 node.Class = NodeClass::Object; 02349 node.ParentNodeId = ToNodeId("i=583"); 02350 node.ReferenceTypeId = ReferenceId::HasEncoding; 02351 node.TypeDefinition = ToNodeId("i=76"); 02352 ObjectAttributes attrs; 02353 attrs.DisplayName = LocalizedText("Default Binary"); 02354 attrs.EventNotifier = 0; 02355 node.Attributes = attrs; 02356 registry.AddNodes(std::vector<AddNodesItem>{node}); 02357 std::vector<AddReferencesItem> refs; 02358 { 02359 AddReferencesItem ref; 02360 ref.IsForward = true; 02361 ref.ReferenceTypeId = ReferenceId::HasDescription; 02362 ref.SourceNodeId = ToNodeId("i=585"); 02363 ref.TargetNodeClass = NodeClass::DataType; 02364 ref.TargetNodeId = ToNodeId("i=7929"); 02365 refs.push_back(ref); 02366 } 02367 registry.AddReferences(refs); 02368 } 02369 02370 { 02371 AddNodesItem node; 02372 node.RequestedNewNodeId = ToNodeId("i=588"); 02373 node.BrowseName = ToQualifiedName("Default Binary"); 02374 node.Class = NodeClass::Object; 02375 node.ParentNodeId = ToNodeId("i=586"); 02376 node.ReferenceTypeId = ReferenceId::HasEncoding; 02377 node.TypeDefinition = ToNodeId("i=76"); 02378 ObjectAttributes attrs; 02379 attrs.DisplayName = LocalizedText("Default Binary"); 02380 attrs.EventNotifier = 0; 02381 node.Attributes = attrs; 02382 registry.AddNodes(std::vector<AddNodesItem>{node}); 02383 std::vector<AddReferencesItem> refs; 02384 { 02385 AddReferencesItem ref; 02386 ref.IsForward = true; 02387 ref.ReferenceTypeId = ReferenceId::HasDescription; 02388 ref.SourceNodeId = ToNodeId("i=588"); 02389 ref.TargetNodeClass = NodeClass::DataType; 02390 ref.TargetNodeId = ToNodeId("i=7932"); 02391 refs.push_back(ref); 02392 } 02393 registry.AddReferences(refs); 02394 } 02395 02396 { 02397 AddNodesItem node; 02398 node.RequestedNewNodeId = ToNodeId("i=591"); 02399 node.BrowseName = ToQualifiedName("Default Binary"); 02400 node.Class = NodeClass::Object; 02401 node.ParentNodeId = ToNodeId("i=589"); 02402 node.ReferenceTypeId = ReferenceId::HasEncoding; 02403 node.TypeDefinition = ToNodeId("i=76"); 02404 ObjectAttributes attrs; 02405 attrs.DisplayName = LocalizedText("Default Binary"); 02406 attrs.EventNotifier = 0; 02407 node.Attributes = attrs; 02408 registry.AddNodes(std::vector<AddNodesItem>{node}); 02409 std::vector<AddReferencesItem> refs; 02410 { 02411 AddReferencesItem ref; 02412 ref.IsForward = true; 02413 ref.ReferenceTypeId = ReferenceId::HasDescription; 02414 ref.SourceNodeId = ToNodeId("i=591"); 02415 ref.TargetNodeClass = NodeClass::DataType; 02416 ref.TargetNodeId = ToNodeId("i=7935"); 02417 refs.push_back(ref); 02418 } 02419 registry.AddReferences(refs); 02420 } 02421 02422 { 02423 AddNodesItem node; 02424 node.RequestedNewNodeId = ToNodeId("i=594"); 02425 node.BrowseName = ToQualifiedName("Default Binary"); 02426 node.Class = NodeClass::Object; 02427 node.ParentNodeId = ToNodeId("i=592"); 02428 node.ReferenceTypeId = ReferenceId::HasEncoding; 02429 node.TypeDefinition = ToNodeId("i=76"); 02430 ObjectAttributes attrs; 02431 attrs.DisplayName = LocalizedText("Default Binary"); 02432 attrs.EventNotifier = 0; 02433 node.Attributes = attrs; 02434 registry.AddNodes(std::vector<AddNodesItem>{node}); 02435 std::vector<AddReferencesItem> refs; 02436 { 02437 AddReferencesItem ref; 02438 ref.IsForward = true; 02439 ref.ReferenceTypeId = ReferenceId::HasDescription; 02440 ref.SourceNodeId = ToNodeId("i=594"); 02441 ref.TargetNodeClass = NodeClass::DataType; 02442 ref.TargetNodeId = ToNodeId("i=7938"); 02443 refs.push_back(ref); 02444 } 02445 registry.AddReferences(refs); 02446 } 02447 02448 { 02449 AddNodesItem node; 02450 node.RequestedNewNodeId = ToNodeId("i=597"); 02451 node.BrowseName = ToQualifiedName("Default Binary"); 02452 node.Class = NodeClass::Object; 02453 node.ParentNodeId = ToNodeId("i=595"); 02454 node.ReferenceTypeId = ReferenceId::HasEncoding; 02455 node.TypeDefinition = ToNodeId("i=76"); 02456 ObjectAttributes attrs; 02457 attrs.DisplayName = LocalizedText("Default Binary"); 02458 attrs.EventNotifier = 0; 02459 node.Attributes = attrs; 02460 registry.AddNodes(std::vector<AddNodesItem>{node}); 02461 std::vector<AddReferencesItem> refs; 02462 { 02463 AddReferencesItem ref; 02464 ref.IsForward = true; 02465 ref.ReferenceTypeId = ReferenceId::HasDescription; 02466 ref.SourceNodeId = ToNodeId("i=597"); 02467 ref.TargetNodeClass = NodeClass::DataType; 02468 ref.TargetNodeId = ToNodeId("i=7941"); 02469 refs.push_back(ref); 02470 } 02471 registry.AddReferences(refs); 02472 } 02473 02474 { 02475 AddNodesItem node; 02476 node.RequestedNewNodeId = ToNodeId("i=600"); 02477 node.BrowseName = ToQualifiedName("Default Binary"); 02478 node.Class = NodeClass::Object; 02479 node.ParentNodeId = ToNodeId("i=598"); 02480 node.ReferenceTypeId = ReferenceId::HasEncoding; 02481 node.TypeDefinition = ToNodeId("i=76"); 02482 ObjectAttributes attrs; 02483 attrs.DisplayName = LocalizedText("Default Binary"); 02484 attrs.EventNotifier = 0; 02485 node.Attributes = attrs; 02486 registry.AddNodes(std::vector<AddNodesItem>{node}); 02487 std::vector<AddReferencesItem> refs; 02488 { 02489 AddReferencesItem ref; 02490 ref.IsForward = true; 02491 ref.ReferenceTypeId = ReferenceId::HasDescription; 02492 ref.SourceNodeId = ToNodeId("i=600"); 02493 ref.TargetNodeClass = NodeClass::DataType; 02494 ref.TargetNodeId = ToNodeId("i=7944"); 02495 refs.push_back(ref); 02496 } 02497 registry.AddReferences(refs); 02498 } 02499 02500 { 02501 AddNodesItem node; 02502 node.RequestedNewNodeId = ToNodeId("i=603"); 02503 node.BrowseName = ToQualifiedName("Default Binary"); 02504 node.Class = NodeClass::Object; 02505 node.ParentNodeId = ToNodeId("i=601"); 02506 node.ReferenceTypeId = ReferenceId::HasEncoding; 02507 node.TypeDefinition = ToNodeId("i=76"); 02508 ObjectAttributes attrs; 02509 attrs.DisplayName = LocalizedText("Default Binary"); 02510 attrs.EventNotifier = 0; 02511 node.Attributes = attrs; 02512 registry.AddNodes(std::vector<AddNodesItem>{node}); 02513 std::vector<AddReferencesItem> refs; 02514 { 02515 AddReferencesItem ref; 02516 ref.IsForward = true; 02517 ref.ReferenceTypeId = ReferenceId::HasDescription; 02518 ref.SourceNodeId = ToNodeId("i=603"); 02519 ref.TargetNodeClass = NodeClass::DataType; 02520 ref.TargetNodeId = ToNodeId("i=7947"); 02521 refs.push_back(ref); 02522 } 02523 registry.AddReferences(refs); 02524 } 02525 02526 { 02527 AddNodesItem node; 02528 node.RequestedNewNodeId = ToNodeId("i=661"); 02529 node.BrowseName = ToQualifiedName("Default Binary"); 02530 node.Class = NodeClass::Object; 02531 node.ParentNodeId = ToNodeId("i=659"); 02532 node.ReferenceTypeId = ReferenceId::HasEncoding; 02533 node.TypeDefinition = ToNodeId("i=76"); 02534 ObjectAttributes attrs; 02535 attrs.DisplayName = LocalizedText("Default Binary"); 02536 attrs.EventNotifier = 0; 02537 node.Attributes = attrs; 02538 registry.AddNodes(std::vector<AddNodesItem>{node}); 02539 std::vector<AddReferencesItem> refs; 02540 { 02541 AddReferencesItem ref; 02542 ref.IsForward = true; 02543 ref.ReferenceTypeId = ReferenceId::HasDescription; 02544 ref.SourceNodeId = ToNodeId("i=661"); 02545 ref.TargetNodeClass = NodeClass::DataType; 02546 ref.TargetNodeId = ToNodeId("i=8004"); 02547 refs.push_back(ref); 02548 } 02549 registry.AddReferences(refs); 02550 } 02551 02552 { 02553 AddNodesItem node; 02554 node.RequestedNewNodeId = ToNodeId("i=721"); 02555 node.BrowseName = ToQualifiedName("Default Binary"); 02556 node.Class = NodeClass::Object; 02557 node.ParentNodeId = ToNodeId("i=719"); 02558 node.ReferenceTypeId = ReferenceId::HasEncoding; 02559 node.TypeDefinition = ToNodeId("i=76"); 02560 ObjectAttributes attrs; 02561 attrs.DisplayName = LocalizedText("Default Binary"); 02562 attrs.EventNotifier = 0; 02563 node.Attributes = attrs; 02564 registry.AddNodes(std::vector<AddNodesItem>{node}); 02565 std::vector<AddReferencesItem> refs; 02566 { 02567 AddReferencesItem ref; 02568 ref.IsForward = true; 02569 ref.ReferenceTypeId = ReferenceId::HasDescription; 02570 ref.SourceNodeId = ToNodeId("i=721"); 02571 ref.TargetNodeClass = NodeClass::DataType; 02572 ref.TargetNodeId = ToNodeId("i=8067"); 02573 refs.push_back(ref); 02574 } 02575 registry.AddReferences(refs); 02576 } 02577 02578 { 02579 AddNodesItem node; 02580 node.RequestedNewNodeId = ToNodeId("i=727"); 02581 node.BrowseName = ToQualifiedName("Default Binary"); 02582 node.Class = NodeClass::Object; 02583 node.ParentNodeId = ToNodeId("i=725"); 02584 node.ReferenceTypeId = ReferenceId::HasEncoding; 02585 node.TypeDefinition = ToNodeId("i=76"); 02586 ObjectAttributes attrs; 02587 attrs.DisplayName = LocalizedText("Default Binary"); 02588 attrs.EventNotifier = 0; 02589 node.Attributes = attrs; 02590 registry.AddNodes(std::vector<AddNodesItem>{node}); 02591 std::vector<AddReferencesItem> refs; 02592 { 02593 AddReferencesItem ref; 02594 ref.IsForward = true; 02595 ref.ReferenceTypeId = ReferenceId::HasDescription; 02596 ref.SourceNodeId = ToNodeId("i=727"); 02597 ref.TargetNodeClass = NodeClass::DataType; 02598 ref.TargetNodeId = ToNodeId("i=8073"); 02599 refs.push_back(ref); 02600 } 02601 registry.AddReferences(refs); 02602 } 02603 02604 { 02605 AddNodesItem node; 02606 node.RequestedNewNodeId = ToNodeId("i=950"); 02607 node.BrowseName = ToQualifiedName("Default Binary"); 02608 node.Class = NodeClass::Object; 02609 node.ParentNodeId = ToNodeId("i=948"); 02610 node.ReferenceTypeId = ReferenceId::HasEncoding; 02611 node.TypeDefinition = ToNodeId("i=76"); 02612 ObjectAttributes attrs; 02613 attrs.DisplayName = LocalizedText("Default Binary"); 02614 attrs.EventNotifier = 0; 02615 node.Attributes = attrs; 02616 registry.AddNodes(std::vector<AddNodesItem>{node}); 02617 std::vector<AddReferencesItem> refs; 02618 { 02619 AddReferencesItem ref; 02620 ref.IsForward = true; 02621 ref.ReferenceTypeId = ReferenceId::HasDescription; 02622 ref.SourceNodeId = ToNodeId("i=950"); 02623 ref.TargetNodeClass = NodeClass::DataType; 02624 ref.TargetNodeId = ToNodeId("i=8076"); 02625 refs.push_back(ref); 02626 } 02627 registry.AddReferences(refs); 02628 } 02629 02630 { 02631 AddNodesItem node; 02632 node.RequestedNewNodeId = ToNodeId("i=922"); 02633 node.BrowseName = ToQualifiedName("Default Binary"); 02634 node.Class = NodeClass::Object; 02635 node.ParentNodeId = ToNodeId("i=920"); 02636 node.ReferenceTypeId = ReferenceId::HasEncoding; 02637 node.TypeDefinition = ToNodeId("i=76"); 02638 ObjectAttributes attrs; 02639 attrs.DisplayName = LocalizedText("Default Binary"); 02640 attrs.EventNotifier = 0; 02641 node.Attributes = attrs; 02642 registry.AddNodes(std::vector<AddNodesItem>{node}); 02643 std::vector<AddReferencesItem> refs; 02644 { 02645 AddReferencesItem ref; 02646 ref.IsForward = true; 02647 ref.ReferenceTypeId = ReferenceId::HasDescription; 02648 ref.SourceNodeId = ToNodeId("i=922"); 02649 ref.TargetNodeClass = NodeClass::DataType; 02650 ref.TargetNodeId = ToNodeId("i=8172"); 02651 refs.push_back(ref); 02652 } 02653 registry.AddReferences(refs); 02654 } 02655 02656 } 02657 02658 } // namespace 02659