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 CreateAddressSpacePart8(OpcUa::NodeManagementServices& registry) 00020 { 00021 00022 { 00023 AddNodesItem node; 00024 node.RequestedNewNodeId = ToNodeId("i=2365"); 00025 node.BrowseName = ToQualifiedName("DataItemType"); 00026 node.Class = NodeClass::VariableType; 00027 node.ParentNodeId = ToNodeId("i=63"); 00028 node.ReferenceTypeId = ReferenceId::HasSubtype; 00029 VariableTypeAttributes attrs; 00030 attrs.Description = LocalizedText("A variable that contains live automation data."); 00031 attrs.DisplayName = LocalizedText("DataItemType"); 00032 attrs.Type = ObjectId::String; 00033 attrs.Rank = -2; 00034 attrs.IsAbstract = false; 00035 node.Attributes = attrs; 00036 registry.AddNodes(std::vector<AddNodesItem>{node}); 00037 std::vector<AddReferencesItem> refs; 00038 { 00039 AddReferencesItem ref; 00040 ref.IsForward = true; 00041 ref.ReferenceTypeId = ReferenceId::HasProperty; 00042 ref.SourceNodeId = ToNodeId("i=2365"); 00043 ref.TargetNodeClass = NodeClass::DataType; 00044 ref.TargetNodeId = ToNodeId("i=2366"); 00045 refs.push_back(ref); 00046 } 00047 { 00048 AddReferencesItem ref; 00049 ref.IsForward = true; 00050 ref.ReferenceTypeId = ReferenceId::HasProperty; 00051 ref.SourceNodeId = ToNodeId("i=2365"); 00052 ref.TargetNodeClass = NodeClass::DataType; 00053 ref.TargetNodeId = ToNodeId("i=2367"); 00054 refs.push_back(ref); 00055 } 00056 registry.AddReferences(refs); 00057 } 00058 00059 { 00060 AddNodesItem node; 00061 node.RequestedNewNodeId = ToNodeId("i=2366"); 00062 node.BrowseName = ToQualifiedName("Definition"); 00063 node.Class = NodeClass::Variable; 00064 node.ParentNodeId = ToNodeId("i=2365"); 00065 node.ReferenceTypeId = ReferenceId::HasProperty; 00066 node.TypeDefinition = ToNodeId("i=68"); 00067 VariableAttributes attrs; 00068 attrs.Description = LocalizedText("A vendor-specific, human readable string that specifies how the value of this DataItem is calculated."); 00069 attrs.DisplayName = LocalizedText("Definition"); 00070 attrs.Type = ObjectId::String; 00071 attrs.Rank = -1; 00072 node.Attributes = attrs; 00073 registry.AddNodes(std::vector<AddNodesItem>{node}); 00074 std::vector<AddReferencesItem> refs; 00075 { 00076 AddReferencesItem ref; 00077 ref.IsForward = true; 00078 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00079 ref.SourceNodeId = ToNodeId("i=2366"); 00080 ref.TargetNodeClass = NodeClass::DataType; 00081 ref.TargetNodeId = ToNodeId("i=80"); 00082 refs.push_back(ref); 00083 } 00084 registry.AddReferences(refs); 00085 } 00086 00087 { 00088 AddNodesItem node; 00089 node.RequestedNewNodeId = ToNodeId("i=2367"); 00090 node.BrowseName = ToQualifiedName("ValuePrecision"); 00091 node.Class = NodeClass::Variable; 00092 node.ParentNodeId = ToNodeId("i=2365"); 00093 node.ReferenceTypeId = ReferenceId::HasProperty; 00094 node.TypeDefinition = ToNodeId("i=68"); 00095 VariableAttributes attrs; 00096 attrs.Description = LocalizedText("The maximum precision that the server can maintain for the item based on restrictions in the target environment."); 00097 attrs.DisplayName = LocalizedText("ValuePrecision"); 00098 attrs.Type = ObjectId::Double; 00099 attrs.Rank = -1; 00100 node.Attributes = attrs; 00101 registry.AddNodes(std::vector<AddNodesItem>{node}); 00102 std::vector<AddReferencesItem> refs; 00103 { 00104 AddReferencesItem ref; 00105 ref.IsForward = true; 00106 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00107 ref.SourceNodeId = ToNodeId("i=2367"); 00108 ref.TargetNodeClass = NodeClass::DataType; 00109 ref.TargetNodeId = ToNodeId("i=80"); 00110 refs.push_back(ref); 00111 } 00112 registry.AddReferences(refs); 00113 } 00114 00115 { 00116 AddNodesItem node; 00117 node.RequestedNewNodeId = ToNodeId("i=2368"); 00118 node.BrowseName = ToQualifiedName("AnalogItemType"); 00119 node.Class = NodeClass::VariableType; 00120 node.ParentNodeId = ToNodeId("i=2365"); 00121 node.ReferenceTypeId = ReferenceId::HasSubtype; 00122 VariableTypeAttributes attrs; 00123 attrs.DisplayName = LocalizedText("AnalogItemType"); 00124 attrs.Type = ObjectId::Number; 00125 attrs.Rank = -2; 00126 attrs.IsAbstract = false; 00127 node.Attributes = attrs; 00128 registry.AddNodes(std::vector<AddNodesItem>{node}); 00129 std::vector<AddReferencesItem> refs; 00130 { 00131 AddReferencesItem ref; 00132 ref.IsForward = true; 00133 ref.ReferenceTypeId = ReferenceId::HasProperty; 00134 ref.SourceNodeId = ToNodeId("i=2368"); 00135 ref.TargetNodeClass = NodeClass::DataType; 00136 ref.TargetNodeId = ToNodeId("i=2370"); 00137 refs.push_back(ref); 00138 } 00139 { 00140 AddReferencesItem ref; 00141 ref.IsForward = true; 00142 ref.ReferenceTypeId = ReferenceId::HasProperty; 00143 ref.SourceNodeId = ToNodeId("i=2368"); 00144 ref.TargetNodeClass = NodeClass::DataType; 00145 ref.TargetNodeId = ToNodeId("i=2369"); 00146 refs.push_back(ref); 00147 } 00148 { 00149 AddReferencesItem ref; 00150 ref.IsForward = true; 00151 ref.ReferenceTypeId = ReferenceId::HasProperty; 00152 ref.SourceNodeId = ToNodeId("i=2368"); 00153 ref.TargetNodeClass = NodeClass::DataType; 00154 ref.TargetNodeId = ToNodeId("i=2371"); 00155 refs.push_back(ref); 00156 } 00157 registry.AddReferences(refs); 00158 } 00159 00160 { 00161 AddNodesItem node; 00162 node.RequestedNewNodeId = ToNodeId("i=2370"); 00163 node.BrowseName = ToQualifiedName("InstrumentRange"); 00164 node.Class = NodeClass::Variable; 00165 node.ParentNodeId = ToNodeId("i=2368"); 00166 node.ReferenceTypeId = ReferenceId::HasProperty; 00167 node.TypeDefinition = ToNodeId("i=68"); 00168 VariableAttributes attrs; 00169 attrs.DisplayName = LocalizedText("InstrumentRange"); 00170 attrs.Type = ToNodeId("i=884"); 00171 attrs.Rank = -1; 00172 node.Attributes = attrs; 00173 registry.AddNodes(std::vector<AddNodesItem>{node}); 00174 std::vector<AddReferencesItem> refs; 00175 { 00176 AddReferencesItem ref; 00177 ref.IsForward = true; 00178 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00179 ref.SourceNodeId = ToNodeId("i=2370"); 00180 ref.TargetNodeClass = NodeClass::DataType; 00181 ref.TargetNodeId = ToNodeId("i=80"); 00182 refs.push_back(ref); 00183 } 00184 registry.AddReferences(refs); 00185 } 00186 00187 { 00188 AddNodesItem node; 00189 node.RequestedNewNodeId = ToNodeId("i=2369"); 00190 node.BrowseName = ToQualifiedName("EURange"); 00191 node.Class = NodeClass::Variable; 00192 node.ParentNodeId = ToNodeId("i=2368"); 00193 node.ReferenceTypeId = ReferenceId::HasProperty; 00194 node.TypeDefinition = ToNodeId("i=68"); 00195 VariableAttributes attrs; 00196 attrs.DisplayName = LocalizedText("EURange"); 00197 attrs.Type = ToNodeId("i=884"); 00198 attrs.Rank = -1; 00199 node.Attributes = attrs; 00200 registry.AddNodes(std::vector<AddNodesItem>{node}); 00201 std::vector<AddReferencesItem> refs; 00202 { 00203 AddReferencesItem ref; 00204 ref.IsForward = true; 00205 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00206 ref.SourceNodeId = ToNodeId("i=2369"); 00207 ref.TargetNodeClass = NodeClass::DataType; 00208 ref.TargetNodeId = ToNodeId("i=78"); 00209 refs.push_back(ref); 00210 } 00211 registry.AddReferences(refs); 00212 } 00213 00214 { 00215 AddNodesItem node; 00216 node.RequestedNewNodeId = ToNodeId("i=2371"); 00217 node.BrowseName = ToQualifiedName("EngineeringUnits"); 00218 node.Class = NodeClass::Variable; 00219 node.ParentNodeId = ToNodeId("i=2368"); 00220 node.ReferenceTypeId = ReferenceId::HasProperty; 00221 node.TypeDefinition = ToNodeId("i=68"); 00222 VariableAttributes attrs; 00223 attrs.DisplayName = LocalizedText("EngineeringUnits"); 00224 attrs.Type = ToNodeId("i=887"); 00225 attrs.Rank = -1; 00226 node.Attributes = attrs; 00227 registry.AddNodes(std::vector<AddNodesItem>{node}); 00228 std::vector<AddReferencesItem> refs; 00229 { 00230 AddReferencesItem ref; 00231 ref.IsForward = true; 00232 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00233 ref.SourceNodeId = ToNodeId("i=2371"); 00234 ref.TargetNodeClass = NodeClass::DataType; 00235 ref.TargetNodeId = ToNodeId("i=80"); 00236 refs.push_back(ref); 00237 } 00238 registry.AddReferences(refs); 00239 } 00240 00241 { 00242 AddNodesItem node; 00243 node.RequestedNewNodeId = ToNodeId("i=2372"); 00244 node.BrowseName = ToQualifiedName("DiscreteItemType"); 00245 node.Class = NodeClass::VariableType; 00246 node.ParentNodeId = ToNodeId("i=2365"); 00247 node.ReferenceTypeId = ReferenceId::HasSubtype; 00248 VariableTypeAttributes attrs; 00249 attrs.DisplayName = LocalizedText("DiscreteItemType"); 00250 attrs.Type = ObjectId::String; 00251 attrs.Rank = -2; 00252 attrs.IsAbstract = true; 00253 node.Attributes = attrs; 00254 registry.AddNodes(std::vector<AddNodesItem>{node}); 00255 } 00256 00257 { 00258 AddNodesItem node; 00259 node.RequestedNewNodeId = ToNodeId("i=2373"); 00260 node.BrowseName = ToQualifiedName("TwoStateDiscreteType"); 00261 node.Class = NodeClass::VariableType; 00262 node.ParentNodeId = ToNodeId("i=2372"); 00263 node.ReferenceTypeId = ReferenceId::HasSubtype; 00264 VariableTypeAttributes attrs; 00265 attrs.DisplayName = LocalizedText("TwoStateDiscreteType"); 00266 attrs.Type = ObjectId::Boolean; 00267 attrs.Rank = -2; 00268 attrs.IsAbstract = false; 00269 node.Attributes = attrs; 00270 registry.AddNodes(std::vector<AddNodesItem>{node}); 00271 std::vector<AddReferencesItem> refs; 00272 { 00273 AddReferencesItem ref; 00274 ref.IsForward = true; 00275 ref.ReferenceTypeId = ReferenceId::HasProperty; 00276 ref.SourceNodeId = ToNodeId("i=2373"); 00277 ref.TargetNodeClass = NodeClass::DataType; 00278 ref.TargetNodeId = ToNodeId("i=2374"); 00279 refs.push_back(ref); 00280 } 00281 { 00282 AddReferencesItem ref; 00283 ref.IsForward = true; 00284 ref.ReferenceTypeId = ReferenceId::HasProperty; 00285 ref.SourceNodeId = ToNodeId("i=2373"); 00286 ref.TargetNodeClass = NodeClass::DataType; 00287 ref.TargetNodeId = ToNodeId("i=2375"); 00288 refs.push_back(ref); 00289 } 00290 registry.AddReferences(refs); 00291 } 00292 00293 { 00294 AddNodesItem node; 00295 node.RequestedNewNodeId = ToNodeId("i=2374"); 00296 node.BrowseName = ToQualifiedName("FalseState"); 00297 node.Class = NodeClass::Variable; 00298 node.ParentNodeId = ToNodeId("i=2373"); 00299 node.ReferenceTypeId = ReferenceId::HasProperty; 00300 node.TypeDefinition = ToNodeId("i=68"); 00301 VariableAttributes attrs; 00302 attrs.DisplayName = LocalizedText("FalseState"); 00303 attrs.Type = ObjectId::LocalizedText; 00304 attrs.Rank = -1; 00305 node.Attributes = attrs; 00306 registry.AddNodes(std::vector<AddNodesItem>{node}); 00307 std::vector<AddReferencesItem> refs; 00308 { 00309 AddReferencesItem ref; 00310 ref.IsForward = true; 00311 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00312 ref.SourceNodeId = ToNodeId("i=2374"); 00313 ref.TargetNodeClass = NodeClass::DataType; 00314 ref.TargetNodeId = ToNodeId("i=78"); 00315 refs.push_back(ref); 00316 } 00317 registry.AddReferences(refs); 00318 } 00319 00320 { 00321 AddNodesItem node; 00322 node.RequestedNewNodeId = ToNodeId("i=2375"); 00323 node.BrowseName = ToQualifiedName("TrueState"); 00324 node.Class = NodeClass::Variable; 00325 node.ParentNodeId = ToNodeId("i=2373"); 00326 node.ReferenceTypeId = ReferenceId::HasProperty; 00327 node.TypeDefinition = ToNodeId("i=68"); 00328 VariableAttributes attrs; 00329 attrs.DisplayName = LocalizedText("TrueState"); 00330 attrs.Type = ObjectId::LocalizedText; 00331 attrs.Rank = -1; 00332 node.Attributes = attrs; 00333 registry.AddNodes(std::vector<AddNodesItem>{node}); 00334 std::vector<AddReferencesItem> refs; 00335 { 00336 AddReferencesItem ref; 00337 ref.IsForward = true; 00338 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00339 ref.SourceNodeId = ToNodeId("i=2375"); 00340 ref.TargetNodeClass = NodeClass::DataType; 00341 ref.TargetNodeId = ToNodeId("i=78"); 00342 refs.push_back(ref); 00343 } 00344 registry.AddReferences(refs); 00345 } 00346 00347 { 00348 AddNodesItem node; 00349 node.RequestedNewNodeId = ToNodeId("i=2376"); 00350 node.BrowseName = ToQualifiedName("MultiStateDiscreteType"); 00351 node.Class = NodeClass::VariableType; 00352 node.ParentNodeId = ToNodeId("i=2372"); 00353 node.ReferenceTypeId = ReferenceId::HasSubtype; 00354 VariableTypeAttributes attrs; 00355 attrs.DisplayName = LocalizedText("MultiStateDiscreteType"); 00356 attrs.Type = ObjectId::UInteger; 00357 attrs.Rank = -2; 00358 attrs.IsAbstract = false; 00359 node.Attributes = attrs; 00360 registry.AddNodes(std::vector<AddNodesItem>{node}); 00361 std::vector<AddReferencesItem> refs; 00362 { 00363 AddReferencesItem ref; 00364 ref.IsForward = true; 00365 ref.ReferenceTypeId = ReferenceId::HasProperty; 00366 ref.SourceNodeId = ToNodeId("i=2376"); 00367 ref.TargetNodeClass = NodeClass::DataType; 00368 ref.TargetNodeId = ToNodeId("i=2377"); 00369 refs.push_back(ref); 00370 } 00371 registry.AddReferences(refs); 00372 } 00373 00374 { 00375 AddNodesItem node; 00376 node.RequestedNewNodeId = ToNodeId("i=2377"); 00377 node.BrowseName = ToQualifiedName("EnumStrings"); 00378 node.Class = NodeClass::Variable; 00379 node.ParentNodeId = ToNodeId("i=2376"); 00380 node.ReferenceTypeId = ReferenceId::HasProperty; 00381 node.TypeDefinition = ToNodeId("i=68"); 00382 VariableAttributes attrs; 00383 attrs.DisplayName = LocalizedText("EnumStrings"); 00384 attrs.Type = ObjectId::LocalizedText; 00385 attrs.Rank = 1; 00386 node.Attributes = attrs; 00387 registry.AddNodes(std::vector<AddNodesItem>{node}); 00388 std::vector<AddReferencesItem> refs; 00389 { 00390 AddReferencesItem ref; 00391 ref.IsForward = true; 00392 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00393 ref.SourceNodeId = ToNodeId("i=2377"); 00394 ref.TargetNodeClass = NodeClass::DataType; 00395 ref.TargetNodeId = ToNodeId("i=78"); 00396 refs.push_back(ref); 00397 } 00398 registry.AddReferences(refs); 00399 } 00400 00401 { 00402 AddNodesItem node; 00403 node.RequestedNewNodeId = ToNodeId("i=11238"); 00404 node.BrowseName = ToQualifiedName("MultiStateValueDiscreteType"); 00405 node.Class = NodeClass::VariableType; 00406 node.ParentNodeId = ToNodeId("i=2372"); 00407 node.ReferenceTypeId = ReferenceId::HasSubtype; 00408 VariableTypeAttributes attrs; 00409 attrs.DisplayName = LocalizedText("MultiStateValueDiscreteType"); 00410 attrs.Type = ObjectId::Number; 00411 attrs.Rank = -2; 00412 attrs.IsAbstract = false; 00413 node.Attributes = attrs; 00414 registry.AddNodes(std::vector<AddNodesItem>{node}); 00415 std::vector<AddReferencesItem> refs; 00416 { 00417 AddReferencesItem ref; 00418 ref.IsForward = true; 00419 ref.ReferenceTypeId = ReferenceId::HasProperty; 00420 ref.SourceNodeId = ToNodeId("i=11238"); 00421 ref.TargetNodeClass = NodeClass::DataType; 00422 ref.TargetNodeId = ToNodeId("i=11241"); 00423 refs.push_back(ref); 00424 } 00425 { 00426 AddReferencesItem ref; 00427 ref.IsForward = true; 00428 ref.ReferenceTypeId = ReferenceId::HasProperty; 00429 ref.SourceNodeId = ToNodeId("i=11238"); 00430 ref.TargetNodeClass = NodeClass::DataType; 00431 ref.TargetNodeId = ToNodeId("i=11461"); 00432 refs.push_back(ref); 00433 } 00434 registry.AddReferences(refs); 00435 } 00436 00437 { 00438 AddNodesItem node; 00439 node.RequestedNewNodeId = ToNodeId("i=11241"); 00440 node.BrowseName = ToQualifiedName("EnumValues"); 00441 node.Class = NodeClass::Variable; 00442 node.ParentNodeId = ToNodeId("i=11238"); 00443 node.ReferenceTypeId = ReferenceId::HasProperty; 00444 node.TypeDefinition = ToNodeId("i=68"); 00445 VariableAttributes attrs; 00446 attrs.DisplayName = LocalizedText("EnumValues"); 00447 attrs.Type = ToNodeId("i=7594"); 00448 attrs.Rank = 1; 00449 node.Attributes = attrs; 00450 registry.AddNodes(std::vector<AddNodesItem>{node}); 00451 std::vector<AddReferencesItem> refs; 00452 { 00453 AddReferencesItem ref; 00454 ref.IsForward = true; 00455 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00456 ref.SourceNodeId = ToNodeId("i=11241"); 00457 ref.TargetNodeClass = NodeClass::DataType; 00458 ref.TargetNodeId = ToNodeId("i=78"); 00459 refs.push_back(ref); 00460 } 00461 registry.AddReferences(refs); 00462 } 00463 00464 { 00465 AddNodesItem node; 00466 node.RequestedNewNodeId = ToNodeId("i=11461"); 00467 node.BrowseName = ToQualifiedName("ValueAsText"); 00468 node.Class = NodeClass::Variable; 00469 node.ParentNodeId = ToNodeId("i=11238"); 00470 node.ReferenceTypeId = ReferenceId::HasProperty; 00471 node.TypeDefinition = ToNodeId("i=68"); 00472 VariableAttributes attrs; 00473 attrs.DisplayName = LocalizedText("ValueAsText"); 00474 attrs.Type = ObjectId::LocalizedText; 00475 attrs.Rank = -1; 00476 node.Attributes = attrs; 00477 registry.AddNodes(std::vector<AddNodesItem>{node}); 00478 std::vector<AddReferencesItem> refs; 00479 { 00480 AddReferencesItem ref; 00481 ref.IsForward = true; 00482 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00483 ref.SourceNodeId = ToNodeId("i=11461"); 00484 ref.TargetNodeClass = NodeClass::DataType; 00485 ref.TargetNodeId = ToNodeId("i=78"); 00486 refs.push_back(ref); 00487 } 00488 registry.AddReferences(refs); 00489 } 00490 00491 { 00492 AddNodesItem node; 00493 node.RequestedNewNodeId = ToNodeId("i=12021"); 00494 node.BrowseName = ToQualifiedName("ArrayItemType"); 00495 node.Class = NodeClass::VariableType; 00496 node.ParentNodeId = ToNodeId("i=2365"); 00497 node.ReferenceTypeId = ReferenceId::HasSubtype; 00498 VariableTypeAttributes attrs; 00499 attrs.DisplayName = LocalizedText("ArrayItemType"); 00500 attrs.Type = ObjectId::String; 00501 attrs.Rank = 0; 00502 attrs.IsAbstract = true; 00503 node.Attributes = attrs; 00504 registry.AddNodes(std::vector<AddNodesItem>{node}); 00505 std::vector<AddReferencesItem> refs; 00506 { 00507 AddReferencesItem ref; 00508 ref.IsForward = true; 00509 ref.ReferenceTypeId = ReferenceId::HasProperty; 00510 ref.SourceNodeId = ToNodeId("i=12021"); 00511 ref.TargetNodeClass = NodeClass::DataType; 00512 ref.TargetNodeId = ToNodeId("i=12024"); 00513 refs.push_back(ref); 00514 } 00515 { 00516 AddReferencesItem ref; 00517 ref.IsForward = true; 00518 ref.ReferenceTypeId = ReferenceId::HasProperty; 00519 ref.SourceNodeId = ToNodeId("i=12021"); 00520 ref.TargetNodeClass = NodeClass::DataType; 00521 ref.TargetNodeId = ToNodeId("i=12025"); 00522 refs.push_back(ref); 00523 } 00524 { 00525 AddReferencesItem ref; 00526 ref.IsForward = true; 00527 ref.ReferenceTypeId = ReferenceId::HasProperty; 00528 ref.SourceNodeId = ToNodeId("i=12021"); 00529 ref.TargetNodeClass = NodeClass::DataType; 00530 ref.TargetNodeId = ToNodeId("i=12026"); 00531 refs.push_back(ref); 00532 } 00533 { 00534 AddReferencesItem ref; 00535 ref.IsForward = true; 00536 ref.ReferenceTypeId = ReferenceId::HasProperty; 00537 ref.SourceNodeId = ToNodeId("i=12021"); 00538 ref.TargetNodeClass = NodeClass::DataType; 00539 ref.TargetNodeId = ToNodeId("i=12027"); 00540 refs.push_back(ref); 00541 } 00542 { 00543 AddReferencesItem ref; 00544 ref.IsForward = true; 00545 ref.ReferenceTypeId = ReferenceId::HasProperty; 00546 ref.SourceNodeId = ToNodeId("i=12021"); 00547 ref.TargetNodeClass = NodeClass::DataType; 00548 ref.TargetNodeId = ToNodeId("i=12028"); 00549 refs.push_back(ref); 00550 } 00551 registry.AddReferences(refs); 00552 } 00553 00554 { 00555 AddNodesItem node; 00556 node.RequestedNewNodeId = ToNodeId("i=12024"); 00557 node.BrowseName = ToQualifiedName("InstrumentRange"); 00558 node.Class = NodeClass::Variable; 00559 node.ParentNodeId = ToNodeId("i=12021"); 00560 node.ReferenceTypeId = ReferenceId::HasProperty; 00561 node.TypeDefinition = ToNodeId("i=68"); 00562 VariableAttributes attrs; 00563 attrs.DisplayName = LocalizedText("InstrumentRange"); 00564 attrs.Type = ToNodeId("i=884"); 00565 attrs.Rank = -1; 00566 node.Attributes = attrs; 00567 registry.AddNodes(std::vector<AddNodesItem>{node}); 00568 std::vector<AddReferencesItem> refs; 00569 { 00570 AddReferencesItem ref; 00571 ref.IsForward = true; 00572 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00573 ref.SourceNodeId = ToNodeId("i=12024"); 00574 ref.TargetNodeClass = NodeClass::DataType; 00575 ref.TargetNodeId = ToNodeId("i=80"); 00576 refs.push_back(ref); 00577 } 00578 registry.AddReferences(refs); 00579 } 00580 00581 { 00582 AddNodesItem node; 00583 node.RequestedNewNodeId = ToNodeId("i=12025"); 00584 node.BrowseName = ToQualifiedName("EURange"); 00585 node.Class = NodeClass::Variable; 00586 node.ParentNodeId = ToNodeId("i=12021"); 00587 node.ReferenceTypeId = ReferenceId::HasProperty; 00588 node.TypeDefinition = ToNodeId("i=68"); 00589 VariableAttributes attrs; 00590 attrs.DisplayName = LocalizedText("EURange"); 00591 attrs.Type = ToNodeId("i=884"); 00592 attrs.Rank = -1; 00593 node.Attributes = attrs; 00594 registry.AddNodes(std::vector<AddNodesItem>{node}); 00595 std::vector<AddReferencesItem> refs; 00596 { 00597 AddReferencesItem ref; 00598 ref.IsForward = true; 00599 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00600 ref.SourceNodeId = ToNodeId("i=12025"); 00601 ref.TargetNodeClass = NodeClass::DataType; 00602 ref.TargetNodeId = ToNodeId("i=78"); 00603 refs.push_back(ref); 00604 } 00605 registry.AddReferences(refs); 00606 } 00607 00608 { 00609 AddNodesItem node; 00610 node.RequestedNewNodeId = ToNodeId("i=12026"); 00611 node.BrowseName = ToQualifiedName("EngineeringUnits"); 00612 node.Class = NodeClass::Variable; 00613 node.ParentNodeId = ToNodeId("i=12021"); 00614 node.ReferenceTypeId = ReferenceId::HasProperty; 00615 node.TypeDefinition = ToNodeId("i=68"); 00616 VariableAttributes attrs; 00617 attrs.DisplayName = LocalizedText("EngineeringUnits"); 00618 attrs.Type = ToNodeId("i=887"); 00619 attrs.Rank = -1; 00620 node.Attributes = attrs; 00621 registry.AddNodes(std::vector<AddNodesItem>{node}); 00622 std::vector<AddReferencesItem> refs; 00623 { 00624 AddReferencesItem ref; 00625 ref.IsForward = true; 00626 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00627 ref.SourceNodeId = ToNodeId("i=12026"); 00628 ref.TargetNodeClass = NodeClass::DataType; 00629 ref.TargetNodeId = ToNodeId("i=78"); 00630 refs.push_back(ref); 00631 } 00632 registry.AddReferences(refs); 00633 } 00634 00635 { 00636 AddNodesItem node; 00637 node.RequestedNewNodeId = ToNodeId("i=12027"); 00638 node.BrowseName = ToQualifiedName("Title"); 00639 node.Class = NodeClass::Variable; 00640 node.ParentNodeId = ToNodeId("i=12021"); 00641 node.ReferenceTypeId = ReferenceId::HasProperty; 00642 node.TypeDefinition = ToNodeId("i=68"); 00643 VariableAttributes attrs; 00644 attrs.DisplayName = LocalizedText("Title"); 00645 attrs.Type = ObjectId::LocalizedText; 00646 attrs.Rank = -1; 00647 node.Attributes = attrs; 00648 registry.AddNodes(std::vector<AddNodesItem>{node}); 00649 std::vector<AddReferencesItem> refs; 00650 { 00651 AddReferencesItem ref; 00652 ref.IsForward = true; 00653 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00654 ref.SourceNodeId = ToNodeId("i=12027"); 00655 ref.TargetNodeClass = NodeClass::DataType; 00656 ref.TargetNodeId = ToNodeId("i=78"); 00657 refs.push_back(ref); 00658 } 00659 registry.AddReferences(refs); 00660 } 00661 00662 { 00663 AddNodesItem node; 00664 node.RequestedNewNodeId = ToNodeId("i=12028"); 00665 node.BrowseName = ToQualifiedName("AxisScaleType"); 00666 node.Class = NodeClass::Variable; 00667 node.ParentNodeId = ToNodeId("i=12021"); 00668 node.ReferenceTypeId = ReferenceId::HasProperty; 00669 node.TypeDefinition = ToNodeId("i=68"); 00670 VariableAttributes attrs; 00671 attrs.DisplayName = LocalizedText("AxisScaleType"); 00672 attrs.Type = ToNodeId("i=12077"); 00673 attrs.Rank = -1; 00674 node.Attributes = attrs; 00675 registry.AddNodes(std::vector<AddNodesItem>{node}); 00676 std::vector<AddReferencesItem> refs; 00677 { 00678 AddReferencesItem ref; 00679 ref.IsForward = true; 00680 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00681 ref.SourceNodeId = ToNodeId("i=12028"); 00682 ref.TargetNodeClass = NodeClass::DataType; 00683 ref.TargetNodeId = ToNodeId("i=78"); 00684 refs.push_back(ref); 00685 } 00686 registry.AddReferences(refs); 00687 } 00688 00689 { 00690 AddNodesItem node; 00691 node.RequestedNewNodeId = ToNodeId("i=12029"); 00692 node.BrowseName = ToQualifiedName("YArrayItemType"); 00693 node.Class = NodeClass::VariableType; 00694 node.ParentNodeId = ToNodeId("i=12021"); 00695 node.ReferenceTypeId = ReferenceId::HasSubtype; 00696 VariableTypeAttributes attrs; 00697 attrs.DisplayName = LocalizedText("YArrayItemType"); 00698 attrs.Type = ObjectId::String; 00699 attrs.Rank = 1; 00700 attrs.IsAbstract = false; 00701 attrs.Dimensions = std::vector<uint32_t>{0}; 00702 node.Attributes = attrs; 00703 registry.AddNodes(std::vector<AddNodesItem>{node}); 00704 std::vector<AddReferencesItem> refs; 00705 { 00706 AddReferencesItem ref; 00707 ref.IsForward = true; 00708 ref.ReferenceTypeId = ReferenceId::HasProperty; 00709 ref.SourceNodeId = ToNodeId("i=12029"); 00710 ref.TargetNodeClass = NodeClass::DataType; 00711 ref.TargetNodeId = ToNodeId("i=12037"); 00712 refs.push_back(ref); 00713 } 00714 registry.AddReferences(refs); 00715 } 00716 00717 { 00718 AddNodesItem node; 00719 node.RequestedNewNodeId = ToNodeId("i=12037"); 00720 node.BrowseName = ToQualifiedName("XAxisDefinition"); 00721 node.Class = NodeClass::Variable; 00722 node.ParentNodeId = ToNodeId("i=12029"); 00723 node.ReferenceTypeId = ReferenceId::HasProperty; 00724 node.TypeDefinition = ToNodeId("i=68"); 00725 VariableAttributes attrs; 00726 attrs.DisplayName = LocalizedText("XAxisDefinition"); 00727 attrs.Type = ToNodeId("i=12079"); 00728 attrs.Rank = -1; 00729 node.Attributes = attrs; 00730 registry.AddNodes(std::vector<AddNodesItem>{node}); 00731 std::vector<AddReferencesItem> refs; 00732 { 00733 AddReferencesItem ref; 00734 ref.IsForward = true; 00735 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00736 ref.SourceNodeId = ToNodeId("i=12037"); 00737 ref.TargetNodeClass = NodeClass::DataType; 00738 ref.TargetNodeId = ToNodeId("i=78"); 00739 refs.push_back(ref); 00740 } 00741 registry.AddReferences(refs); 00742 } 00743 00744 { 00745 AddNodesItem node; 00746 node.RequestedNewNodeId = ToNodeId("i=12038"); 00747 node.BrowseName = ToQualifiedName("XYArrayItemType"); 00748 node.Class = NodeClass::VariableType; 00749 node.ParentNodeId = ToNodeId("i=12021"); 00750 node.ReferenceTypeId = ReferenceId::HasSubtype; 00751 VariableTypeAttributes attrs; 00752 attrs.DisplayName = LocalizedText("XYArrayItemType"); 00753 attrs.Type = ToNodeId("i=12080"); 00754 attrs.Rank = 1; 00755 attrs.IsAbstract = false; 00756 attrs.Dimensions = std::vector<uint32_t>{0}; 00757 node.Attributes = attrs; 00758 registry.AddNodes(std::vector<AddNodesItem>{node}); 00759 std::vector<AddReferencesItem> refs; 00760 { 00761 AddReferencesItem ref; 00762 ref.IsForward = true; 00763 ref.ReferenceTypeId = ReferenceId::HasProperty; 00764 ref.SourceNodeId = ToNodeId("i=12038"); 00765 ref.TargetNodeClass = NodeClass::DataType; 00766 ref.TargetNodeId = ToNodeId("i=12046"); 00767 refs.push_back(ref); 00768 } 00769 registry.AddReferences(refs); 00770 } 00771 00772 { 00773 AddNodesItem node; 00774 node.RequestedNewNodeId = ToNodeId("i=12046"); 00775 node.BrowseName = ToQualifiedName("XAxisDefinition"); 00776 node.Class = NodeClass::Variable; 00777 node.ParentNodeId = ToNodeId("i=12038"); 00778 node.ReferenceTypeId = ReferenceId::HasProperty; 00779 node.TypeDefinition = ToNodeId("i=68"); 00780 VariableAttributes attrs; 00781 attrs.DisplayName = LocalizedText("XAxisDefinition"); 00782 attrs.Type = ToNodeId("i=12079"); 00783 attrs.Rank = -1; 00784 node.Attributes = attrs; 00785 registry.AddNodes(std::vector<AddNodesItem>{node}); 00786 std::vector<AddReferencesItem> refs; 00787 { 00788 AddReferencesItem ref; 00789 ref.IsForward = true; 00790 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00791 ref.SourceNodeId = ToNodeId("i=12046"); 00792 ref.TargetNodeClass = NodeClass::DataType; 00793 ref.TargetNodeId = ToNodeId("i=78"); 00794 refs.push_back(ref); 00795 } 00796 registry.AddReferences(refs); 00797 } 00798 00799 { 00800 AddNodesItem node; 00801 node.RequestedNewNodeId = ToNodeId("i=12047"); 00802 node.BrowseName = ToQualifiedName("ImageItemType"); 00803 node.Class = NodeClass::VariableType; 00804 node.ParentNodeId = ToNodeId("i=12021"); 00805 node.ReferenceTypeId = ReferenceId::HasSubtype; 00806 VariableTypeAttributes attrs; 00807 attrs.DisplayName = LocalizedText("ImageItemType"); 00808 attrs.Type = ObjectId::String; 00809 attrs.Rank = 2; 00810 attrs.IsAbstract = false; 00811 attrs.Dimensions = std::vector<uint32_t>{0,0}; 00812 node.Attributes = attrs; 00813 registry.AddNodes(std::vector<AddNodesItem>{node}); 00814 std::vector<AddReferencesItem> refs; 00815 { 00816 AddReferencesItem ref; 00817 ref.IsForward = true; 00818 ref.ReferenceTypeId = ReferenceId::HasProperty; 00819 ref.SourceNodeId = ToNodeId("i=12047"); 00820 ref.TargetNodeClass = NodeClass::DataType; 00821 ref.TargetNodeId = ToNodeId("i=12055"); 00822 refs.push_back(ref); 00823 } 00824 { 00825 AddReferencesItem ref; 00826 ref.IsForward = true; 00827 ref.ReferenceTypeId = ReferenceId::HasProperty; 00828 ref.SourceNodeId = ToNodeId("i=12047"); 00829 ref.TargetNodeClass = NodeClass::DataType; 00830 ref.TargetNodeId = ToNodeId("i=12056"); 00831 refs.push_back(ref); 00832 } 00833 registry.AddReferences(refs); 00834 } 00835 00836 { 00837 AddNodesItem node; 00838 node.RequestedNewNodeId = ToNodeId("i=12055"); 00839 node.BrowseName = ToQualifiedName("XAxisDefinition"); 00840 node.Class = NodeClass::Variable; 00841 node.ParentNodeId = ToNodeId("i=12047"); 00842 node.ReferenceTypeId = ReferenceId::HasProperty; 00843 node.TypeDefinition = ToNodeId("i=68"); 00844 VariableAttributes attrs; 00845 attrs.DisplayName = LocalizedText("XAxisDefinition"); 00846 attrs.Type = ToNodeId("i=12079"); 00847 attrs.Rank = -1; 00848 node.Attributes = attrs; 00849 registry.AddNodes(std::vector<AddNodesItem>{node}); 00850 std::vector<AddReferencesItem> refs; 00851 { 00852 AddReferencesItem ref; 00853 ref.IsForward = true; 00854 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00855 ref.SourceNodeId = ToNodeId("i=12055"); 00856 ref.TargetNodeClass = NodeClass::DataType; 00857 ref.TargetNodeId = ToNodeId("i=78"); 00858 refs.push_back(ref); 00859 } 00860 registry.AddReferences(refs); 00861 } 00862 00863 { 00864 AddNodesItem node; 00865 node.RequestedNewNodeId = ToNodeId("i=12056"); 00866 node.BrowseName = ToQualifiedName("YAxisDefinition"); 00867 node.Class = NodeClass::Variable; 00868 node.ParentNodeId = ToNodeId("i=12047"); 00869 node.ReferenceTypeId = ReferenceId::HasProperty; 00870 node.TypeDefinition = ToNodeId("i=68"); 00871 VariableAttributes attrs; 00872 attrs.DisplayName = LocalizedText("YAxisDefinition"); 00873 attrs.Type = ToNodeId("i=12079"); 00874 attrs.Rank = -1; 00875 node.Attributes = attrs; 00876 registry.AddNodes(std::vector<AddNodesItem>{node}); 00877 std::vector<AddReferencesItem> refs; 00878 { 00879 AddReferencesItem ref; 00880 ref.IsForward = true; 00881 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00882 ref.SourceNodeId = ToNodeId("i=12056"); 00883 ref.TargetNodeClass = NodeClass::DataType; 00884 ref.TargetNodeId = ToNodeId("i=78"); 00885 refs.push_back(ref); 00886 } 00887 registry.AddReferences(refs); 00888 } 00889 00890 { 00891 AddNodesItem node; 00892 node.RequestedNewNodeId = ToNodeId("i=12057"); 00893 node.BrowseName = ToQualifiedName("CubeItemType"); 00894 node.Class = NodeClass::VariableType; 00895 node.ParentNodeId = ToNodeId("i=12021"); 00896 node.ReferenceTypeId = ReferenceId::HasSubtype; 00897 VariableTypeAttributes attrs; 00898 attrs.DisplayName = LocalizedText("CubeItemType"); 00899 attrs.Type = ObjectId::String; 00900 attrs.Rank = 3; 00901 attrs.IsAbstract = false; 00902 attrs.Dimensions = std::vector<uint32_t>{0,0,0}; 00903 node.Attributes = attrs; 00904 registry.AddNodes(std::vector<AddNodesItem>{node}); 00905 std::vector<AddReferencesItem> refs; 00906 { 00907 AddReferencesItem ref; 00908 ref.IsForward = true; 00909 ref.ReferenceTypeId = ReferenceId::HasProperty; 00910 ref.SourceNodeId = ToNodeId("i=12057"); 00911 ref.TargetNodeClass = NodeClass::DataType; 00912 ref.TargetNodeId = ToNodeId("i=12065"); 00913 refs.push_back(ref); 00914 } 00915 { 00916 AddReferencesItem ref; 00917 ref.IsForward = true; 00918 ref.ReferenceTypeId = ReferenceId::HasProperty; 00919 ref.SourceNodeId = ToNodeId("i=12057"); 00920 ref.TargetNodeClass = NodeClass::DataType; 00921 ref.TargetNodeId = ToNodeId("i=12066"); 00922 refs.push_back(ref); 00923 } 00924 { 00925 AddReferencesItem ref; 00926 ref.IsForward = true; 00927 ref.ReferenceTypeId = ReferenceId::HasProperty; 00928 ref.SourceNodeId = ToNodeId("i=12057"); 00929 ref.TargetNodeClass = NodeClass::DataType; 00930 ref.TargetNodeId = ToNodeId("i=12067"); 00931 refs.push_back(ref); 00932 } 00933 registry.AddReferences(refs); 00934 } 00935 00936 { 00937 AddNodesItem node; 00938 node.RequestedNewNodeId = ToNodeId("i=12065"); 00939 node.BrowseName = ToQualifiedName("XAxisDefinition"); 00940 node.Class = NodeClass::Variable; 00941 node.ParentNodeId = ToNodeId("i=12057"); 00942 node.ReferenceTypeId = ReferenceId::HasProperty; 00943 node.TypeDefinition = ToNodeId("i=68"); 00944 VariableAttributes attrs; 00945 attrs.DisplayName = LocalizedText("XAxisDefinition"); 00946 attrs.Type = ToNodeId("i=12079"); 00947 attrs.Rank = -1; 00948 node.Attributes = attrs; 00949 registry.AddNodes(std::vector<AddNodesItem>{node}); 00950 std::vector<AddReferencesItem> refs; 00951 { 00952 AddReferencesItem ref; 00953 ref.IsForward = true; 00954 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00955 ref.SourceNodeId = ToNodeId("i=12065"); 00956 ref.TargetNodeClass = NodeClass::DataType; 00957 ref.TargetNodeId = ToNodeId("i=78"); 00958 refs.push_back(ref); 00959 } 00960 registry.AddReferences(refs); 00961 } 00962 00963 { 00964 AddNodesItem node; 00965 node.RequestedNewNodeId = ToNodeId("i=12066"); 00966 node.BrowseName = ToQualifiedName("YAxisDefinition"); 00967 node.Class = NodeClass::Variable; 00968 node.ParentNodeId = ToNodeId("i=12057"); 00969 node.ReferenceTypeId = ReferenceId::HasProperty; 00970 node.TypeDefinition = ToNodeId("i=68"); 00971 VariableAttributes attrs; 00972 attrs.DisplayName = LocalizedText("YAxisDefinition"); 00973 attrs.Type = ToNodeId("i=12079"); 00974 attrs.Rank = -1; 00975 node.Attributes = attrs; 00976 registry.AddNodes(std::vector<AddNodesItem>{node}); 00977 std::vector<AddReferencesItem> refs; 00978 { 00979 AddReferencesItem ref; 00980 ref.IsForward = true; 00981 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00982 ref.SourceNodeId = ToNodeId("i=12066"); 00983 ref.TargetNodeClass = NodeClass::DataType; 00984 ref.TargetNodeId = ToNodeId("i=78"); 00985 refs.push_back(ref); 00986 } 00987 registry.AddReferences(refs); 00988 } 00989 00990 { 00991 AddNodesItem node; 00992 node.RequestedNewNodeId = ToNodeId("i=12067"); 00993 node.BrowseName = ToQualifiedName("ZAxisDefinition"); 00994 node.Class = NodeClass::Variable; 00995 node.ParentNodeId = ToNodeId("i=12057"); 00996 node.ReferenceTypeId = ReferenceId::HasProperty; 00997 node.TypeDefinition = ToNodeId("i=68"); 00998 VariableAttributes attrs; 00999 attrs.DisplayName = LocalizedText("ZAxisDefinition"); 01000 attrs.Type = ToNodeId("i=12079"); 01001 attrs.Rank = -1; 01002 node.Attributes = attrs; 01003 registry.AddNodes(std::vector<AddNodesItem>{node}); 01004 std::vector<AddReferencesItem> refs; 01005 { 01006 AddReferencesItem ref; 01007 ref.IsForward = true; 01008 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01009 ref.SourceNodeId = ToNodeId("i=12067"); 01010 ref.TargetNodeClass = NodeClass::DataType; 01011 ref.TargetNodeId = ToNodeId("i=78"); 01012 refs.push_back(ref); 01013 } 01014 registry.AddReferences(refs); 01015 } 01016 01017 { 01018 AddNodesItem node; 01019 node.RequestedNewNodeId = ToNodeId("i=12068"); 01020 node.BrowseName = ToQualifiedName("NDimensionArrayItemType"); 01021 node.Class = NodeClass::VariableType; 01022 node.ParentNodeId = ToNodeId("i=12021"); 01023 node.ReferenceTypeId = ReferenceId::HasSubtype; 01024 VariableTypeAttributes attrs; 01025 attrs.DisplayName = LocalizedText("NDimensionArrayItemType"); 01026 attrs.Type = ObjectId::String; 01027 attrs.Rank = 0; 01028 attrs.IsAbstract = false; 01029 node.Attributes = attrs; 01030 registry.AddNodes(std::vector<AddNodesItem>{node}); 01031 std::vector<AddReferencesItem> refs; 01032 { 01033 AddReferencesItem ref; 01034 ref.IsForward = true; 01035 ref.ReferenceTypeId = ReferenceId::HasProperty; 01036 ref.SourceNodeId = ToNodeId("i=12068"); 01037 ref.TargetNodeClass = NodeClass::DataType; 01038 ref.TargetNodeId = ToNodeId("i=12076"); 01039 refs.push_back(ref); 01040 } 01041 registry.AddReferences(refs); 01042 } 01043 01044 { 01045 AddNodesItem node; 01046 node.RequestedNewNodeId = ToNodeId("i=12076"); 01047 node.BrowseName = ToQualifiedName("AxisDefinition"); 01048 node.Class = NodeClass::Variable; 01049 node.ParentNodeId = ToNodeId("i=12068"); 01050 node.ReferenceTypeId = ReferenceId::HasProperty; 01051 node.TypeDefinition = ToNodeId("i=68"); 01052 VariableAttributes attrs; 01053 attrs.DisplayName = LocalizedText("AxisDefinition"); 01054 attrs.Type = ToNodeId("i=12079"); 01055 attrs.Rank = 1; 01056 node.Attributes = attrs; 01057 registry.AddNodes(std::vector<AddNodesItem>{node}); 01058 std::vector<AddReferencesItem> refs; 01059 { 01060 AddReferencesItem ref; 01061 ref.IsForward = true; 01062 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01063 ref.SourceNodeId = ToNodeId("i=12076"); 01064 ref.TargetNodeClass = NodeClass::DataType; 01065 ref.TargetNodeId = ToNodeId("i=78"); 01066 refs.push_back(ref); 01067 } 01068 registry.AddReferences(refs); 01069 } 01070 01071 { 01072 AddNodesItem node; 01073 node.RequestedNewNodeId = ToNodeId("i=884"); 01074 node.BrowseName = ToQualifiedName("Range"); 01075 node.Class = NodeClass::DataType; 01076 node.ParentNodeId = ToNodeId("i=22"); 01077 node.ReferenceTypeId = ReferenceId::HasSubtype; 01078 DataTypeAttributes attrs; 01079 attrs.DisplayName = LocalizedText("Range"); 01080 attrs.IsAbstract = false; 01081 node.Attributes = attrs; 01082 registry.AddNodes(std::vector<AddNodesItem>{node}); 01083 } 01084 01085 { 01086 AddNodesItem node; 01087 node.RequestedNewNodeId = ToNodeId("i=887"); 01088 node.BrowseName = ToQualifiedName("EUInformation"); 01089 node.Class = NodeClass::DataType; 01090 node.ParentNodeId = ToNodeId("i=22"); 01091 node.ReferenceTypeId = ReferenceId::HasSubtype; 01092 DataTypeAttributes attrs; 01093 attrs.DisplayName = LocalizedText("EUInformation"); 01094 attrs.IsAbstract = false; 01095 node.Attributes = attrs; 01096 registry.AddNodes(std::vector<AddNodesItem>{node}); 01097 } 01098 01099 { 01100 AddNodesItem node; 01101 node.RequestedNewNodeId = ToNodeId("i=12077"); 01102 node.BrowseName = ToQualifiedName("AxisScaleEnumeration"); 01103 node.Class = NodeClass::DataType; 01104 node.ParentNodeId = ToNodeId("i=29"); 01105 node.ReferenceTypeId = ReferenceId::HasSubtype; 01106 DataTypeAttributes attrs; 01107 attrs.DisplayName = LocalizedText("AxisScaleEnumeration"); 01108 attrs.IsAbstract = false; 01109 node.Attributes = attrs; 01110 registry.AddNodes(std::vector<AddNodesItem>{node}); 01111 std::vector<AddReferencesItem> refs; 01112 { 01113 AddReferencesItem ref; 01114 ref.IsForward = true; 01115 ref.ReferenceTypeId = ReferenceId::HasProperty; 01116 ref.SourceNodeId = ToNodeId("i=12077"); 01117 ref.TargetNodeClass = NodeClass::DataType; 01118 ref.TargetNodeId = ToNodeId("i=12078"); 01119 refs.push_back(ref); 01120 } 01121 registry.AddReferences(refs); 01122 } 01123 01124 { 01125 AddNodesItem node; 01126 node.RequestedNewNodeId = ToNodeId("i=12078"); 01127 node.BrowseName = ToQualifiedName("EnumStrings"); 01128 node.Class = NodeClass::Variable; 01129 node.ParentNodeId = ToNodeId("i=12077"); 01130 node.ReferenceTypeId = ReferenceId::HasProperty; 01131 node.TypeDefinition = ToNodeId("i=68"); 01132 VariableAttributes attrs; 01133 attrs.DisplayName = LocalizedText("EnumStrings"); 01134 attrs.Type = ObjectId::LocalizedText; 01135 attrs.Rank = 1; 01136 node.Attributes = attrs; 01137 registry.AddNodes(std::vector<AddNodesItem>{node}); 01138 std::vector<AddReferencesItem> refs; 01139 { 01140 AddReferencesItem ref; 01141 ref.IsForward = true; 01142 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01143 ref.SourceNodeId = ToNodeId("i=12078"); 01144 ref.TargetNodeClass = NodeClass::DataType; 01145 ref.TargetNodeId = ToNodeId("i=78"); 01146 refs.push_back(ref); 01147 } 01148 registry.AddReferences(refs); 01149 } 01150 01151 { 01152 AddNodesItem node; 01153 node.RequestedNewNodeId = ToNodeId("i=12171"); 01154 node.BrowseName = ToQualifiedName("ComplexNumberType"); 01155 node.Class = NodeClass::DataType; 01156 node.ParentNodeId = ToNodeId("i=22"); 01157 node.ReferenceTypeId = ReferenceId::HasSubtype; 01158 DataTypeAttributes attrs; 01159 attrs.DisplayName = LocalizedText("ComplexNumberType"); 01160 attrs.IsAbstract = false; 01161 node.Attributes = attrs; 01162 registry.AddNodes(std::vector<AddNodesItem>{node}); 01163 } 01164 01165 { 01166 AddNodesItem node; 01167 node.RequestedNewNodeId = ToNodeId("i=12172"); 01168 node.BrowseName = ToQualifiedName("DoubleComplexNumberType"); 01169 node.Class = NodeClass::DataType; 01170 node.ParentNodeId = ToNodeId("i=22"); 01171 node.ReferenceTypeId = ReferenceId::HasSubtype; 01172 DataTypeAttributes attrs; 01173 attrs.DisplayName = LocalizedText("DoubleComplexNumberType"); 01174 attrs.IsAbstract = false; 01175 node.Attributes = attrs; 01176 registry.AddNodes(std::vector<AddNodesItem>{node}); 01177 } 01178 01179 { 01180 AddNodesItem node; 01181 node.RequestedNewNodeId = ToNodeId("i=12079"); 01182 node.BrowseName = ToQualifiedName("AxisInformation"); 01183 node.Class = NodeClass::DataType; 01184 node.ParentNodeId = ToNodeId("i=22"); 01185 node.ReferenceTypeId = ReferenceId::HasSubtype; 01186 DataTypeAttributes attrs; 01187 attrs.DisplayName = LocalizedText("AxisInformation"); 01188 attrs.IsAbstract = false; 01189 node.Attributes = attrs; 01190 registry.AddNodes(std::vector<AddNodesItem>{node}); 01191 } 01192 01193 { 01194 AddNodesItem node; 01195 node.RequestedNewNodeId = ToNodeId("i=12080"); 01196 node.BrowseName = ToQualifiedName("XVType"); 01197 node.Class = NodeClass::DataType; 01198 node.ParentNodeId = ToNodeId("i=22"); 01199 node.ReferenceTypeId = ReferenceId::HasSubtype; 01200 DataTypeAttributes attrs; 01201 attrs.DisplayName = LocalizedText("XVType"); 01202 attrs.IsAbstract = false; 01203 node.Attributes = attrs; 01204 registry.AddNodes(std::vector<AddNodesItem>{node}); 01205 } 01206 01207 { 01208 AddNodesItem node; 01209 node.RequestedNewNodeId = ToNodeId("i=885"); 01210 node.BrowseName = ToQualifiedName("Default XML"); 01211 node.Class = NodeClass::Object; 01212 node.ParentNodeId = ToNodeId("i=884"); 01213 node.ReferenceTypeId = ReferenceId::HasEncoding; 01214 node.TypeDefinition = ToNodeId("i=76"); 01215 ObjectAttributes attrs; 01216 attrs.DisplayName = LocalizedText("Default XML"); 01217 attrs.EventNotifier = 0; 01218 node.Attributes = attrs; 01219 registry.AddNodes(std::vector<AddNodesItem>{node}); 01220 std::vector<AddReferencesItem> refs; 01221 { 01222 AddReferencesItem ref; 01223 ref.IsForward = true; 01224 ref.ReferenceTypeId = ReferenceId::HasDescription; 01225 ref.SourceNodeId = ToNodeId("i=885"); 01226 ref.TargetNodeClass = NodeClass::DataType; 01227 ref.TargetNodeId = ToNodeId("i=8873"); 01228 refs.push_back(ref); 01229 } 01230 registry.AddReferences(refs); 01231 } 01232 01233 { 01234 AddNodesItem node; 01235 node.RequestedNewNodeId = ToNodeId("i=888"); 01236 node.BrowseName = ToQualifiedName("Default XML"); 01237 node.Class = NodeClass::Object; 01238 node.ParentNodeId = ToNodeId("i=887"); 01239 node.ReferenceTypeId = ReferenceId::HasEncoding; 01240 node.TypeDefinition = ToNodeId("i=76"); 01241 ObjectAttributes attrs; 01242 attrs.DisplayName = LocalizedText("Default XML"); 01243 attrs.EventNotifier = 0; 01244 node.Attributes = attrs; 01245 registry.AddNodes(std::vector<AddNodesItem>{node}); 01246 std::vector<AddReferencesItem> refs; 01247 { 01248 AddReferencesItem ref; 01249 ref.IsForward = true; 01250 ref.ReferenceTypeId = ReferenceId::HasDescription; 01251 ref.SourceNodeId = ToNodeId("i=888"); 01252 ref.TargetNodeClass = NodeClass::DataType; 01253 ref.TargetNodeId = ToNodeId("i=8876"); 01254 refs.push_back(ref); 01255 } 01256 registry.AddReferences(refs); 01257 } 01258 01259 { 01260 AddNodesItem node; 01261 node.RequestedNewNodeId = ToNodeId("i=12173"); 01262 node.BrowseName = ToQualifiedName("Default XML"); 01263 node.Class = NodeClass::Object; 01264 node.ParentNodeId = ToNodeId("i=12171"); 01265 node.ReferenceTypeId = ReferenceId::HasEncoding; 01266 node.TypeDefinition = ToNodeId("i=76"); 01267 ObjectAttributes attrs; 01268 attrs.DisplayName = LocalizedText("Default XML"); 01269 attrs.EventNotifier = 0; 01270 node.Attributes = attrs; 01271 registry.AddNodes(std::vector<AddNodesItem>{node}); 01272 std::vector<AddReferencesItem> refs; 01273 { 01274 AddReferencesItem ref; 01275 ref.IsForward = true; 01276 ref.ReferenceTypeId = ReferenceId::HasDescription; 01277 ref.SourceNodeId = ToNodeId("i=12173"); 01278 ref.TargetNodeClass = NodeClass::DataType; 01279 ref.TargetNodeId = ToNodeId("i=12175"); 01280 refs.push_back(ref); 01281 } 01282 registry.AddReferences(refs); 01283 } 01284 01285 { 01286 AddNodesItem node; 01287 node.RequestedNewNodeId = ToNodeId("i=12174"); 01288 node.BrowseName = ToQualifiedName("Default XML"); 01289 node.Class = NodeClass::Object; 01290 node.ParentNodeId = ToNodeId("i=12172"); 01291 node.ReferenceTypeId = ReferenceId::HasEncoding; 01292 node.TypeDefinition = ToNodeId("i=76"); 01293 ObjectAttributes attrs; 01294 attrs.DisplayName = LocalizedText("Default XML"); 01295 attrs.EventNotifier = 0; 01296 node.Attributes = attrs; 01297 registry.AddNodes(std::vector<AddNodesItem>{node}); 01298 std::vector<AddReferencesItem> refs; 01299 { 01300 AddReferencesItem ref; 01301 ref.IsForward = true; 01302 ref.ReferenceTypeId = ReferenceId::HasDescription; 01303 ref.SourceNodeId = ToNodeId("i=12174"); 01304 ref.TargetNodeClass = NodeClass::DataType; 01305 ref.TargetNodeId = ToNodeId("i=12178"); 01306 refs.push_back(ref); 01307 } 01308 registry.AddReferences(refs); 01309 } 01310 01311 { 01312 AddNodesItem node; 01313 node.RequestedNewNodeId = ToNodeId("i=12081"); 01314 node.BrowseName = ToQualifiedName("Default XML"); 01315 node.Class = NodeClass::Object; 01316 node.ParentNodeId = ToNodeId("i=12079"); 01317 node.ReferenceTypeId = ReferenceId::HasEncoding; 01318 node.TypeDefinition = ToNodeId("i=76"); 01319 ObjectAttributes attrs; 01320 attrs.DisplayName = LocalizedText("Default XML"); 01321 attrs.EventNotifier = 0; 01322 node.Attributes = attrs; 01323 registry.AddNodes(std::vector<AddNodesItem>{node}); 01324 std::vector<AddReferencesItem> refs; 01325 { 01326 AddReferencesItem ref; 01327 ref.IsForward = true; 01328 ref.ReferenceTypeId = ReferenceId::HasDescription; 01329 ref.SourceNodeId = ToNodeId("i=12081"); 01330 ref.TargetNodeClass = NodeClass::DataType; 01331 ref.TargetNodeId = ToNodeId("i=12083"); 01332 refs.push_back(ref); 01333 } 01334 registry.AddReferences(refs); 01335 } 01336 01337 { 01338 AddNodesItem node; 01339 node.RequestedNewNodeId = ToNodeId("i=12082"); 01340 node.BrowseName = ToQualifiedName("Default XML"); 01341 node.Class = NodeClass::Object; 01342 node.ParentNodeId = ToNodeId("i=12080"); 01343 node.ReferenceTypeId = ReferenceId::HasEncoding; 01344 node.TypeDefinition = ToNodeId("i=76"); 01345 ObjectAttributes attrs; 01346 attrs.DisplayName = LocalizedText("Default XML"); 01347 attrs.EventNotifier = 0; 01348 node.Attributes = attrs; 01349 registry.AddNodes(std::vector<AddNodesItem>{node}); 01350 std::vector<AddReferencesItem> refs; 01351 { 01352 AddReferencesItem ref; 01353 ref.IsForward = true; 01354 ref.ReferenceTypeId = ReferenceId::HasDescription; 01355 ref.SourceNodeId = ToNodeId("i=12082"); 01356 ref.TargetNodeClass = NodeClass::DataType; 01357 ref.TargetNodeId = ToNodeId("i=12086"); 01358 refs.push_back(ref); 01359 } 01360 registry.AddReferences(refs); 01361 } 01362 01363 { 01364 AddNodesItem node; 01365 node.RequestedNewNodeId = ToNodeId("i=886"); 01366 node.BrowseName = ToQualifiedName("Default Binary"); 01367 node.Class = NodeClass::Object; 01368 node.ParentNodeId = ToNodeId("i=884"); 01369 node.ReferenceTypeId = ReferenceId::HasEncoding; 01370 node.TypeDefinition = ToNodeId("i=76"); 01371 ObjectAttributes attrs; 01372 attrs.DisplayName = LocalizedText("Default Binary"); 01373 attrs.EventNotifier = 0; 01374 node.Attributes = attrs; 01375 registry.AddNodes(std::vector<AddNodesItem>{node}); 01376 std::vector<AddReferencesItem> refs; 01377 { 01378 AddReferencesItem ref; 01379 ref.IsForward = true; 01380 ref.ReferenceTypeId = ReferenceId::HasDescription; 01381 ref.SourceNodeId = ToNodeId("i=886"); 01382 ref.TargetNodeClass = NodeClass::DataType; 01383 ref.TargetNodeId = ToNodeId("i=8238"); 01384 refs.push_back(ref); 01385 } 01386 registry.AddReferences(refs); 01387 } 01388 01389 { 01390 AddNodesItem node; 01391 node.RequestedNewNodeId = ToNodeId("i=889"); 01392 node.BrowseName = ToQualifiedName("Default Binary"); 01393 node.Class = NodeClass::Object; 01394 node.ParentNodeId = ToNodeId("i=887"); 01395 node.ReferenceTypeId = ReferenceId::HasEncoding; 01396 node.TypeDefinition = ToNodeId("i=76"); 01397 ObjectAttributes attrs; 01398 attrs.DisplayName = LocalizedText("Default Binary"); 01399 attrs.EventNotifier = 0; 01400 node.Attributes = attrs; 01401 registry.AddNodes(std::vector<AddNodesItem>{node}); 01402 std::vector<AddReferencesItem> refs; 01403 { 01404 AddReferencesItem ref; 01405 ref.IsForward = true; 01406 ref.ReferenceTypeId = ReferenceId::HasDescription; 01407 ref.SourceNodeId = ToNodeId("i=889"); 01408 ref.TargetNodeClass = NodeClass::DataType; 01409 ref.TargetNodeId = ToNodeId("i=8241"); 01410 refs.push_back(ref); 01411 } 01412 registry.AddReferences(refs); 01413 } 01414 01415 { 01416 AddNodesItem node; 01417 node.RequestedNewNodeId = ToNodeId("i=12181"); 01418 node.BrowseName = ToQualifiedName("Default Binary"); 01419 node.Class = NodeClass::Object; 01420 node.ParentNodeId = ToNodeId("i=12171"); 01421 node.ReferenceTypeId = ReferenceId::HasEncoding; 01422 node.TypeDefinition = ToNodeId("i=76"); 01423 ObjectAttributes attrs; 01424 attrs.DisplayName = LocalizedText("Default Binary"); 01425 attrs.EventNotifier = 0; 01426 node.Attributes = attrs; 01427 registry.AddNodes(std::vector<AddNodesItem>{node}); 01428 std::vector<AddReferencesItem> refs; 01429 { 01430 AddReferencesItem ref; 01431 ref.IsForward = true; 01432 ref.ReferenceTypeId = ReferenceId::HasDescription; 01433 ref.SourceNodeId = ToNodeId("i=12181"); 01434 ref.TargetNodeClass = NodeClass::DataType; 01435 ref.TargetNodeId = ToNodeId("i=12183"); 01436 refs.push_back(ref); 01437 } 01438 registry.AddReferences(refs); 01439 } 01440 01441 { 01442 AddNodesItem node; 01443 node.RequestedNewNodeId = ToNodeId("i=12182"); 01444 node.BrowseName = ToQualifiedName("Default Binary"); 01445 node.Class = NodeClass::Object; 01446 node.ParentNodeId = ToNodeId("i=12172"); 01447 node.ReferenceTypeId = ReferenceId::HasEncoding; 01448 node.TypeDefinition = ToNodeId("i=76"); 01449 ObjectAttributes attrs; 01450 attrs.DisplayName = LocalizedText("Default Binary"); 01451 attrs.EventNotifier = 0; 01452 node.Attributes = attrs; 01453 registry.AddNodes(std::vector<AddNodesItem>{node}); 01454 std::vector<AddReferencesItem> refs; 01455 { 01456 AddReferencesItem ref; 01457 ref.IsForward = true; 01458 ref.ReferenceTypeId = ReferenceId::HasDescription; 01459 ref.SourceNodeId = ToNodeId("i=12182"); 01460 ref.TargetNodeClass = NodeClass::DataType; 01461 ref.TargetNodeId = ToNodeId("i=12186"); 01462 refs.push_back(ref); 01463 } 01464 registry.AddReferences(refs); 01465 } 01466 01467 { 01468 AddNodesItem node; 01469 node.RequestedNewNodeId = ToNodeId("i=12089"); 01470 node.BrowseName = ToQualifiedName("Default Binary"); 01471 node.Class = NodeClass::Object; 01472 node.ParentNodeId = ToNodeId("i=12079"); 01473 node.ReferenceTypeId = ReferenceId::HasEncoding; 01474 node.TypeDefinition = ToNodeId("i=76"); 01475 ObjectAttributes attrs; 01476 attrs.DisplayName = LocalizedText("Default Binary"); 01477 attrs.EventNotifier = 0; 01478 node.Attributes = attrs; 01479 registry.AddNodes(std::vector<AddNodesItem>{node}); 01480 std::vector<AddReferencesItem> refs; 01481 { 01482 AddReferencesItem ref; 01483 ref.IsForward = true; 01484 ref.ReferenceTypeId = ReferenceId::HasDescription; 01485 ref.SourceNodeId = ToNodeId("i=12089"); 01486 ref.TargetNodeClass = NodeClass::DataType; 01487 ref.TargetNodeId = ToNodeId("i=12091"); 01488 refs.push_back(ref); 01489 } 01490 registry.AddReferences(refs); 01491 } 01492 01493 { 01494 AddNodesItem node; 01495 node.RequestedNewNodeId = ToNodeId("i=12090"); 01496 node.BrowseName = ToQualifiedName("Default Binary"); 01497 node.Class = NodeClass::Object; 01498 node.ParentNodeId = ToNodeId("i=12080"); 01499 node.ReferenceTypeId = ReferenceId::HasEncoding; 01500 node.TypeDefinition = ToNodeId("i=76"); 01501 ObjectAttributes attrs; 01502 attrs.DisplayName = LocalizedText("Default Binary"); 01503 attrs.EventNotifier = 0; 01504 node.Attributes = attrs; 01505 registry.AddNodes(std::vector<AddNodesItem>{node}); 01506 std::vector<AddReferencesItem> refs; 01507 { 01508 AddReferencesItem ref; 01509 ref.IsForward = true; 01510 ref.ReferenceTypeId = ReferenceId::HasDescription; 01511 ref.SourceNodeId = ToNodeId("i=12090"); 01512 ref.TargetNodeClass = NodeClass::DataType; 01513 ref.TargetNodeId = ToNodeId("i=12094"); 01514 refs.push_back(ref); 01515 } 01516 registry.AddReferences(refs); 01517 } 01518 01519 } 01520 01521 } // namespace 01522