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 CreateAddressSpacePart11(OpcUa::NodeManagementServices& registry) 00020 { 00021 00022 { 00023 AddNodesItem node; 00024 node.RequestedNewNodeId = ToNodeId("i=56"); 00025 node.BrowseName = ToQualifiedName("HasHistoricalConfiguration"); 00026 node.Class = NodeClass::ReferenceType; 00027 node.ParentNodeId = ToNodeId("i=44"); 00028 node.ReferenceTypeId = ReferenceId::HasSubtype; 00029 ReferenceTypeAttributes attrs; 00030 attrs.Description = LocalizedText("The type for a reference to the historical configuration for a data variable."); 00031 attrs.DisplayName = LocalizedText("HasHistoricalConfiguration"); 00032 attrs.InverseName = LocalizedText("HistoricalConfigurationOf"); 00033 attrs.IsAbstract = false; 00034 attrs.Symmetric = false; 00035 node.Attributes = attrs; 00036 registry.AddNodes(std::vector<AddNodesItem>{node}); 00037 } 00038 00039 { 00040 AddNodesItem node; 00041 node.RequestedNewNodeId = ToNodeId("i=11192"); 00042 node.BrowseName = ToQualifiedName("HistoryServerCapabilities"); 00043 node.Class = NodeClass::Object; 00044 node.ParentNodeId = ToNodeId("i=2268"); 00045 node.ReferenceTypeId = ReferenceId::HasComponent; 00046 node.TypeDefinition = ToNodeId("i=2330"); 00047 ObjectAttributes attrs; 00048 attrs.DisplayName = LocalizedText("HistoryServerCapabilities"); 00049 attrs.EventNotifier = 0; 00050 node.Attributes = attrs; 00051 registry.AddNodes(std::vector<AddNodesItem>{node}); 00052 std::vector<AddReferencesItem> refs; 00053 { 00054 AddReferencesItem ref; 00055 ref.IsForward = true; 00056 ref.ReferenceTypeId = ReferenceId::HasProperty; 00057 ref.SourceNodeId = ToNodeId("i=11192"); 00058 ref.TargetNodeClass = NodeClass::DataType; 00059 ref.TargetNodeId = ToNodeId("i=11193"); 00060 refs.push_back(ref); 00061 } 00062 { 00063 AddReferencesItem ref; 00064 ref.IsForward = true; 00065 ref.ReferenceTypeId = ReferenceId::HasProperty; 00066 ref.SourceNodeId = ToNodeId("i=11192"); 00067 ref.TargetNodeClass = NodeClass::DataType; 00068 ref.TargetNodeId = ToNodeId("i=11242"); 00069 refs.push_back(ref); 00070 } 00071 { 00072 AddReferencesItem ref; 00073 ref.IsForward = true; 00074 ref.ReferenceTypeId = ReferenceId::HasProperty; 00075 ref.SourceNodeId = ToNodeId("i=11192"); 00076 ref.TargetNodeClass = NodeClass::DataType; 00077 ref.TargetNodeId = ToNodeId("i=11273"); 00078 refs.push_back(ref); 00079 } 00080 { 00081 AddReferencesItem ref; 00082 ref.IsForward = true; 00083 ref.ReferenceTypeId = ReferenceId::HasProperty; 00084 ref.SourceNodeId = ToNodeId("i=11192"); 00085 ref.TargetNodeClass = NodeClass::DataType; 00086 ref.TargetNodeId = ToNodeId("i=11274"); 00087 refs.push_back(ref); 00088 } 00089 { 00090 AddReferencesItem ref; 00091 ref.IsForward = true; 00092 ref.ReferenceTypeId = ReferenceId::HasProperty; 00093 ref.SourceNodeId = ToNodeId("i=11192"); 00094 ref.TargetNodeClass = NodeClass::DataType; 00095 ref.TargetNodeId = ToNodeId("i=11196"); 00096 refs.push_back(ref); 00097 } 00098 { 00099 AddReferencesItem ref; 00100 ref.IsForward = true; 00101 ref.ReferenceTypeId = ReferenceId::HasProperty; 00102 ref.SourceNodeId = ToNodeId("i=11192"); 00103 ref.TargetNodeClass = NodeClass::DataType; 00104 ref.TargetNodeId = ToNodeId("i=11197"); 00105 refs.push_back(ref); 00106 } 00107 { 00108 AddReferencesItem ref; 00109 ref.IsForward = true; 00110 ref.ReferenceTypeId = ReferenceId::HasProperty; 00111 ref.SourceNodeId = ToNodeId("i=11192"); 00112 ref.TargetNodeClass = NodeClass::DataType; 00113 ref.TargetNodeId = ToNodeId("i=11198"); 00114 refs.push_back(ref); 00115 } 00116 { 00117 AddReferencesItem ref; 00118 ref.IsForward = true; 00119 ref.ReferenceTypeId = ReferenceId::HasProperty; 00120 ref.SourceNodeId = ToNodeId("i=11192"); 00121 ref.TargetNodeClass = NodeClass::DataType; 00122 ref.TargetNodeId = ToNodeId("i=11199"); 00123 refs.push_back(ref); 00124 } 00125 { 00126 AddReferencesItem ref; 00127 ref.IsForward = true; 00128 ref.ReferenceTypeId = ReferenceId::HasProperty; 00129 ref.SourceNodeId = ToNodeId("i=11192"); 00130 ref.TargetNodeClass = NodeClass::DataType; 00131 ref.TargetNodeId = ToNodeId("i=11200"); 00132 refs.push_back(ref); 00133 } 00134 { 00135 AddReferencesItem ref; 00136 ref.IsForward = true; 00137 ref.ReferenceTypeId = ReferenceId::HasProperty; 00138 ref.SourceNodeId = ToNodeId("i=11192"); 00139 ref.TargetNodeClass = NodeClass::DataType; 00140 ref.TargetNodeId = ToNodeId("i=11281"); 00141 refs.push_back(ref); 00142 } 00143 { 00144 AddReferencesItem ref; 00145 ref.IsForward = true; 00146 ref.ReferenceTypeId = ReferenceId::HasProperty; 00147 ref.SourceNodeId = ToNodeId("i=11192"); 00148 ref.TargetNodeClass = NodeClass::DataType; 00149 ref.TargetNodeId = ToNodeId("i=11282"); 00150 refs.push_back(ref); 00151 } 00152 { 00153 AddReferencesItem ref; 00154 ref.IsForward = true; 00155 ref.ReferenceTypeId = ReferenceId::HasProperty; 00156 ref.SourceNodeId = ToNodeId("i=11192"); 00157 ref.TargetNodeClass = NodeClass::DataType; 00158 ref.TargetNodeId = ToNodeId("i=11283"); 00159 refs.push_back(ref); 00160 } 00161 { 00162 AddReferencesItem ref; 00163 ref.IsForward = true; 00164 ref.ReferenceTypeId = ReferenceId::HasProperty; 00165 ref.SourceNodeId = ToNodeId("i=11192"); 00166 ref.TargetNodeClass = NodeClass::DataType; 00167 ref.TargetNodeId = ToNodeId("i=11502"); 00168 refs.push_back(ref); 00169 } 00170 { 00171 AddReferencesItem ref; 00172 ref.IsForward = true; 00173 ref.ReferenceTypeId = ReferenceId::HasProperty; 00174 ref.SourceNodeId = ToNodeId("i=11192"); 00175 ref.TargetNodeClass = NodeClass::DataType; 00176 ref.TargetNodeId = ToNodeId("i=11275"); 00177 refs.push_back(ref); 00178 } 00179 { 00180 AddReferencesItem ref; 00181 ref.IsForward = true; 00182 ref.ReferenceTypeId = ReferenceId::HasComponent; 00183 ref.SourceNodeId = ToNodeId("i=11192"); 00184 ref.TargetNodeClass = NodeClass::DataType; 00185 ref.TargetNodeId = ToNodeId("i=11201"); 00186 refs.push_back(ref); 00187 } 00188 registry.AddReferences(refs); 00189 } 00190 00191 { 00192 AddNodesItem node; 00193 node.RequestedNewNodeId = ToNodeId("i=11193"); 00194 node.BrowseName = ToQualifiedName("AccessHistoryDataCapability"); 00195 node.Class = NodeClass::Variable; 00196 node.ParentNodeId = ToNodeId("i=11192"); 00197 node.ReferenceTypeId = ReferenceId::HasProperty; 00198 node.TypeDefinition = ToNodeId("i=68"); 00199 VariableAttributes attrs; 00200 attrs.DisplayName = LocalizedText("AccessHistoryDataCapability"); 00201 attrs.Type = ObjectId::Boolean; 00202 attrs.Rank = -1; 00203 node.Attributes = attrs; 00204 registry.AddNodes(std::vector<AddNodesItem>{node}); 00205 } 00206 00207 { 00208 AddNodesItem node; 00209 node.RequestedNewNodeId = ToNodeId("i=11242"); 00210 node.BrowseName = ToQualifiedName("AccessHistoryEventsCapability"); 00211 node.Class = NodeClass::Variable; 00212 node.ParentNodeId = ToNodeId("i=11192"); 00213 node.ReferenceTypeId = ReferenceId::HasProperty; 00214 node.TypeDefinition = ToNodeId("i=68"); 00215 VariableAttributes attrs; 00216 attrs.DisplayName = LocalizedText("AccessHistoryEventsCapability"); 00217 attrs.Type = ObjectId::Boolean; 00218 attrs.Rank = -1; 00219 node.Attributes = attrs; 00220 registry.AddNodes(std::vector<AddNodesItem>{node}); 00221 } 00222 00223 { 00224 AddNodesItem node; 00225 node.RequestedNewNodeId = ToNodeId("i=11273"); 00226 node.BrowseName = ToQualifiedName("MaxReturnDataValues"); 00227 node.Class = NodeClass::Variable; 00228 node.ParentNodeId = ToNodeId("i=11192"); 00229 node.ReferenceTypeId = ReferenceId::HasProperty; 00230 node.TypeDefinition = ToNodeId("i=68"); 00231 VariableAttributes attrs; 00232 attrs.DisplayName = LocalizedText("MaxReturnDataValues"); 00233 attrs.Type = ObjectId::UInt32; 00234 attrs.Rank = -1; 00235 node.Attributes = attrs; 00236 registry.AddNodes(std::vector<AddNodesItem>{node}); 00237 } 00238 00239 { 00240 AddNodesItem node; 00241 node.RequestedNewNodeId = ToNodeId("i=11274"); 00242 node.BrowseName = ToQualifiedName("MaxReturnEventValues"); 00243 node.Class = NodeClass::Variable; 00244 node.ParentNodeId = ToNodeId("i=11192"); 00245 node.ReferenceTypeId = ReferenceId::HasProperty; 00246 node.TypeDefinition = ToNodeId("i=68"); 00247 VariableAttributes attrs; 00248 attrs.DisplayName = LocalizedText("MaxReturnEventValues"); 00249 attrs.Type = ObjectId::UInt32; 00250 attrs.Rank = -1; 00251 node.Attributes = attrs; 00252 registry.AddNodes(std::vector<AddNodesItem>{node}); 00253 } 00254 00255 { 00256 AddNodesItem node; 00257 node.RequestedNewNodeId = ToNodeId("i=11196"); 00258 node.BrowseName = ToQualifiedName("InsertDataCapability"); 00259 node.Class = NodeClass::Variable; 00260 node.ParentNodeId = ToNodeId("i=11192"); 00261 node.ReferenceTypeId = ReferenceId::HasProperty; 00262 node.TypeDefinition = ToNodeId("i=68"); 00263 VariableAttributes attrs; 00264 attrs.DisplayName = LocalizedText("InsertDataCapability"); 00265 attrs.Type = ObjectId::Boolean; 00266 attrs.Rank = -1; 00267 node.Attributes = attrs; 00268 registry.AddNodes(std::vector<AddNodesItem>{node}); 00269 } 00270 00271 { 00272 AddNodesItem node; 00273 node.RequestedNewNodeId = ToNodeId("i=11197"); 00274 node.BrowseName = ToQualifiedName("ReplaceDataCapability"); 00275 node.Class = NodeClass::Variable; 00276 node.ParentNodeId = ToNodeId("i=11192"); 00277 node.ReferenceTypeId = ReferenceId::HasProperty; 00278 node.TypeDefinition = ToNodeId("i=68"); 00279 VariableAttributes attrs; 00280 attrs.DisplayName = LocalizedText("ReplaceDataCapability"); 00281 attrs.Type = ObjectId::Boolean; 00282 attrs.Rank = -1; 00283 node.Attributes = attrs; 00284 registry.AddNodes(std::vector<AddNodesItem>{node}); 00285 } 00286 00287 { 00288 AddNodesItem node; 00289 node.RequestedNewNodeId = ToNodeId("i=11198"); 00290 node.BrowseName = ToQualifiedName("UpdateDataCapability"); 00291 node.Class = NodeClass::Variable; 00292 node.ParentNodeId = ToNodeId("i=11192"); 00293 node.ReferenceTypeId = ReferenceId::HasProperty; 00294 node.TypeDefinition = ToNodeId("i=68"); 00295 VariableAttributes attrs; 00296 attrs.DisplayName = LocalizedText("UpdateDataCapability"); 00297 attrs.Type = ObjectId::Boolean; 00298 attrs.Rank = -1; 00299 node.Attributes = attrs; 00300 registry.AddNodes(std::vector<AddNodesItem>{node}); 00301 } 00302 00303 { 00304 AddNodesItem node; 00305 node.RequestedNewNodeId = ToNodeId("i=11199"); 00306 node.BrowseName = ToQualifiedName("DeleteRawCapability"); 00307 node.Class = NodeClass::Variable; 00308 node.ParentNodeId = ToNodeId("i=11192"); 00309 node.ReferenceTypeId = ReferenceId::HasProperty; 00310 node.TypeDefinition = ToNodeId("i=68"); 00311 VariableAttributes attrs; 00312 attrs.DisplayName = LocalizedText("DeleteRawCapability"); 00313 attrs.Type = ObjectId::Boolean; 00314 attrs.Rank = -1; 00315 node.Attributes = attrs; 00316 registry.AddNodes(std::vector<AddNodesItem>{node}); 00317 } 00318 00319 { 00320 AddNodesItem node; 00321 node.RequestedNewNodeId = ToNodeId("i=11200"); 00322 node.BrowseName = ToQualifiedName("DeleteAtTimeCapability"); 00323 node.Class = NodeClass::Variable; 00324 node.ParentNodeId = ToNodeId("i=11192"); 00325 node.ReferenceTypeId = ReferenceId::HasProperty; 00326 node.TypeDefinition = ToNodeId("i=68"); 00327 VariableAttributes attrs; 00328 attrs.DisplayName = LocalizedText("DeleteAtTimeCapability"); 00329 attrs.Type = ObjectId::Boolean; 00330 attrs.Rank = -1; 00331 node.Attributes = attrs; 00332 registry.AddNodes(std::vector<AddNodesItem>{node}); 00333 } 00334 00335 { 00336 AddNodesItem node; 00337 node.RequestedNewNodeId = ToNodeId("i=11281"); 00338 node.BrowseName = ToQualifiedName("InsertEventCapability"); 00339 node.Class = NodeClass::Variable; 00340 node.ParentNodeId = ToNodeId("i=11192"); 00341 node.ReferenceTypeId = ReferenceId::HasProperty; 00342 node.TypeDefinition = ToNodeId("i=68"); 00343 VariableAttributes attrs; 00344 attrs.DisplayName = LocalizedText("InsertEventCapability"); 00345 attrs.Type = ObjectId::Boolean; 00346 attrs.Rank = -1; 00347 node.Attributes = attrs; 00348 registry.AddNodes(std::vector<AddNodesItem>{node}); 00349 } 00350 00351 { 00352 AddNodesItem node; 00353 node.RequestedNewNodeId = ToNodeId("i=11282"); 00354 node.BrowseName = ToQualifiedName("ReplaceEventCapability"); 00355 node.Class = NodeClass::Variable; 00356 node.ParentNodeId = ToNodeId("i=11192"); 00357 node.ReferenceTypeId = ReferenceId::HasProperty; 00358 node.TypeDefinition = ToNodeId("i=68"); 00359 VariableAttributes attrs; 00360 attrs.DisplayName = LocalizedText("ReplaceEventCapability"); 00361 attrs.Type = ObjectId::Boolean; 00362 attrs.Rank = -1; 00363 node.Attributes = attrs; 00364 registry.AddNodes(std::vector<AddNodesItem>{node}); 00365 } 00366 00367 { 00368 AddNodesItem node; 00369 node.RequestedNewNodeId = ToNodeId("i=11283"); 00370 node.BrowseName = ToQualifiedName("UpdateEventCapability"); 00371 node.Class = NodeClass::Variable; 00372 node.ParentNodeId = ToNodeId("i=11192"); 00373 node.ReferenceTypeId = ReferenceId::HasProperty; 00374 node.TypeDefinition = ToNodeId("i=68"); 00375 VariableAttributes attrs; 00376 attrs.DisplayName = LocalizedText("UpdateEventCapability"); 00377 attrs.Type = ObjectId::Boolean; 00378 attrs.Rank = -1; 00379 node.Attributes = attrs; 00380 registry.AddNodes(std::vector<AddNodesItem>{node}); 00381 } 00382 00383 { 00384 AddNodesItem node; 00385 node.RequestedNewNodeId = ToNodeId("i=11502"); 00386 node.BrowseName = ToQualifiedName("DeleteEventCapability"); 00387 node.Class = NodeClass::Variable; 00388 node.ParentNodeId = ToNodeId("i=11192"); 00389 node.ReferenceTypeId = ReferenceId::HasProperty; 00390 node.TypeDefinition = ToNodeId("i=68"); 00391 VariableAttributes attrs; 00392 attrs.DisplayName = LocalizedText("DeleteEventCapability"); 00393 attrs.Type = ObjectId::Boolean; 00394 attrs.Rank = -1; 00395 node.Attributes = attrs; 00396 registry.AddNodes(std::vector<AddNodesItem>{node}); 00397 } 00398 00399 { 00400 AddNodesItem node; 00401 node.RequestedNewNodeId = ToNodeId("i=11275"); 00402 node.BrowseName = ToQualifiedName("InsertAnnotationCapability"); 00403 node.Class = NodeClass::Variable; 00404 node.ParentNodeId = ToNodeId("i=11192"); 00405 node.ReferenceTypeId = ReferenceId::HasProperty; 00406 node.TypeDefinition = ToNodeId("i=68"); 00407 VariableAttributes attrs; 00408 attrs.DisplayName = LocalizedText("InsertAnnotationCapability"); 00409 attrs.Type = ObjectId::Boolean; 00410 attrs.Rank = -1; 00411 node.Attributes = attrs; 00412 registry.AddNodes(std::vector<AddNodesItem>{node}); 00413 } 00414 00415 { 00416 AddNodesItem node; 00417 node.RequestedNewNodeId = ToNodeId("i=11201"); 00418 node.BrowseName = ToQualifiedName("AggregateFunctions"); 00419 node.Class = NodeClass::Object; 00420 node.ParentNodeId = ToNodeId("i=11192"); 00421 node.ReferenceTypeId = ReferenceId::HasComponent; 00422 node.TypeDefinition = ToNodeId("i=61"); 00423 ObjectAttributes attrs; 00424 attrs.DisplayName = LocalizedText("AggregateFunctions"); 00425 attrs.EventNotifier = 0; 00426 node.Attributes = attrs; 00427 registry.AddNodes(std::vector<AddNodesItem>{node}); 00428 } 00429 00430 { 00431 AddNodesItem node; 00432 node.RequestedNewNodeId = ToNodeId("i=11214"); 00433 node.BrowseName = ToQualifiedName("Annotations"); 00434 node.Class = NodeClass::Variable; 00435 node.TypeDefinition = ToNodeId("i=68"); 00436 VariableAttributes attrs; 00437 attrs.DisplayName = LocalizedText("Annotations"); 00438 attrs.Type = ToNodeId("i=891"); 00439 attrs.Rank = -2; 00440 node.Attributes = attrs; 00441 registry.AddNodes(std::vector<AddNodesItem>{node}); 00442 } 00443 00444 { 00445 AddNodesItem node; 00446 node.RequestedNewNodeId = ToNodeId("i=2318"); 00447 node.BrowseName = ToQualifiedName("HistoricalDataConfigurationType"); 00448 node.Class = NodeClass::ObjectType; 00449 node.ParentNodeId = ToNodeId("i=58"); 00450 node.ReferenceTypeId = ReferenceId::HasSubtype; 00451 ObjectTypeAttributes attrs; 00452 attrs.DisplayName = LocalizedText("HistoricalDataConfigurationType"); 00453 attrs.IsAbstract = false; 00454 node.Attributes = attrs; 00455 registry.AddNodes(std::vector<AddNodesItem>{node}); 00456 std::vector<AddReferencesItem> refs; 00457 { 00458 AddReferencesItem ref; 00459 ref.IsForward = true; 00460 ref.ReferenceTypeId = ReferenceId::HasComponent; 00461 ref.SourceNodeId = ToNodeId("i=2318"); 00462 ref.TargetNodeClass = NodeClass::DataType; 00463 ref.TargetNodeId = ToNodeId("i=3059"); 00464 refs.push_back(ref); 00465 } 00466 { 00467 AddReferencesItem ref; 00468 ref.IsForward = true; 00469 ref.ReferenceTypeId = ReferenceId::HasComponent; 00470 ref.SourceNodeId = ToNodeId("i=2318"); 00471 ref.TargetNodeClass = NodeClass::DataType; 00472 ref.TargetNodeId = ToNodeId("i=11876"); 00473 refs.push_back(ref); 00474 } 00475 { 00476 AddReferencesItem ref; 00477 ref.IsForward = true; 00478 ref.ReferenceTypeId = ReferenceId::HasProperty; 00479 ref.SourceNodeId = ToNodeId("i=2318"); 00480 ref.TargetNodeClass = NodeClass::DataType; 00481 ref.TargetNodeId = ToNodeId("i=2323"); 00482 refs.push_back(ref); 00483 } 00484 { 00485 AddReferencesItem ref; 00486 ref.IsForward = true; 00487 ref.ReferenceTypeId = ReferenceId::HasProperty; 00488 ref.SourceNodeId = ToNodeId("i=2318"); 00489 ref.TargetNodeClass = NodeClass::DataType; 00490 ref.TargetNodeId = ToNodeId("i=2324"); 00491 refs.push_back(ref); 00492 } 00493 { 00494 AddReferencesItem ref; 00495 ref.IsForward = true; 00496 ref.ReferenceTypeId = ReferenceId::HasProperty; 00497 ref.SourceNodeId = ToNodeId("i=2318"); 00498 ref.TargetNodeClass = NodeClass::DataType; 00499 ref.TargetNodeId = ToNodeId("i=2325"); 00500 refs.push_back(ref); 00501 } 00502 { 00503 AddReferencesItem ref; 00504 ref.IsForward = true; 00505 ref.ReferenceTypeId = ReferenceId::HasProperty; 00506 ref.SourceNodeId = ToNodeId("i=2318"); 00507 ref.TargetNodeClass = NodeClass::DataType; 00508 ref.TargetNodeId = ToNodeId("i=2326"); 00509 refs.push_back(ref); 00510 } 00511 { 00512 AddReferencesItem ref; 00513 ref.IsForward = true; 00514 ref.ReferenceTypeId = ReferenceId::HasProperty; 00515 ref.SourceNodeId = ToNodeId("i=2318"); 00516 ref.TargetNodeClass = NodeClass::DataType; 00517 ref.TargetNodeId = ToNodeId("i=2327"); 00518 refs.push_back(ref); 00519 } 00520 { 00521 AddReferencesItem ref; 00522 ref.IsForward = true; 00523 ref.ReferenceTypeId = ReferenceId::HasProperty; 00524 ref.SourceNodeId = ToNodeId("i=2318"); 00525 ref.TargetNodeClass = NodeClass::DataType; 00526 ref.TargetNodeId = ToNodeId("i=2328"); 00527 refs.push_back(ref); 00528 } 00529 { 00530 AddReferencesItem ref; 00531 ref.IsForward = true; 00532 ref.ReferenceTypeId = ReferenceId::HasProperty; 00533 ref.SourceNodeId = ToNodeId("i=2318"); 00534 ref.TargetNodeClass = NodeClass::DataType; 00535 ref.TargetNodeId = ToNodeId("i=11499"); 00536 refs.push_back(ref); 00537 } 00538 { 00539 AddReferencesItem ref; 00540 ref.IsForward = true; 00541 ref.ReferenceTypeId = ReferenceId::HasProperty; 00542 ref.SourceNodeId = ToNodeId("i=2318"); 00543 ref.TargetNodeClass = NodeClass::DataType; 00544 ref.TargetNodeId = ToNodeId("i=11500"); 00545 refs.push_back(ref); 00546 } 00547 registry.AddReferences(refs); 00548 } 00549 00550 { 00551 AddNodesItem node; 00552 node.RequestedNewNodeId = ToNodeId("i=3059"); 00553 node.BrowseName = ToQualifiedName("AggregateConfiguration"); 00554 node.Class = NodeClass::Object; 00555 node.ParentNodeId = ToNodeId("i=2318"); 00556 node.ReferenceTypeId = ReferenceId::HasComponent; 00557 node.TypeDefinition = ToNodeId("i=11187"); 00558 ObjectAttributes attrs; 00559 attrs.DisplayName = LocalizedText("AggregateConfiguration"); 00560 attrs.EventNotifier = 0; 00561 node.Attributes = attrs; 00562 registry.AddNodes(std::vector<AddNodesItem>{node}); 00563 std::vector<AddReferencesItem> refs; 00564 { 00565 AddReferencesItem ref; 00566 ref.IsForward = true; 00567 ref.ReferenceTypeId = ReferenceId::HasProperty; 00568 ref.SourceNodeId = ToNodeId("i=3059"); 00569 ref.TargetNodeClass = NodeClass::DataType; 00570 ref.TargetNodeId = ToNodeId("i=11168"); 00571 refs.push_back(ref); 00572 } 00573 { 00574 AddReferencesItem ref; 00575 ref.IsForward = true; 00576 ref.ReferenceTypeId = ReferenceId::HasProperty; 00577 ref.SourceNodeId = ToNodeId("i=3059"); 00578 ref.TargetNodeClass = NodeClass::DataType; 00579 ref.TargetNodeId = ToNodeId("i=11169"); 00580 refs.push_back(ref); 00581 } 00582 { 00583 AddReferencesItem ref; 00584 ref.IsForward = true; 00585 ref.ReferenceTypeId = ReferenceId::HasProperty; 00586 ref.SourceNodeId = ToNodeId("i=3059"); 00587 ref.TargetNodeClass = NodeClass::DataType; 00588 ref.TargetNodeId = ToNodeId("i=11170"); 00589 refs.push_back(ref); 00590 } 00591 { 00592 AddReferencesItem ref; 00593 ref.IsForward = true; 00594 ref.ReferenceTypeId = ReferenceId::HasProperty; 00595 ref.SourceNodeId = ToNodeId("i=3059"); 00596 ref.TargetNodeClass = NodeClass::DataType; 00597 ref.TargetNodeId = ToNodeId("i=11171"); 00598 refs.push_back(ref); 00599 } 00600 { 00601 AddReferencesItem ref; 00602 ref.IsForward = true; 00603 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00604 ref.SourceNodeId = ToNodeId("i=3059"); 00605 ref.TargetNodeClass = NodeClass::DataType; 00606 ref.TargetNodeId = ToNodeId("i=78"); 00607 refs.push_back(ref); 00608 } 00609 registry.AddReferences(refs); 00610 } 00611 00612 { 00613 AddNodesItem node; 00614 node.RequestedNewNodeId = ToNodeId("i=11168"); 00615 node.BrowseName = ToQualifiedName("TreatUncertainAsBad"); 00616 node.Class = NodeClass::Variable; 00617 node.ParentNodeId = ToNodeId("i=3059"); 00618 node.ReferenceTypeId = ReferenceId::HasProperty; 00619 node.TypeDefinition = ToNodeId("i=68"); 00620 VariableAttributes attrs; 00621 attrs.DisplayName = LocalizedText("TreatUncertainAsBad"); 00622 attrs.Type = ObjectId::Boolean; 00623 attrs.Rank = -1; 00624 node.Attributes = attrs; 00625 registry.AddNodes(std::vector<AddNodesItem>{node}); 00626 std::vector<AddReferencesItem> refs; 00627 { 00628 AddReferencesItem ref; 00629 ref.IsForward = true; 00630 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00631 ref.SourceNodeId = ToNodeId("i=11168"); 00632 ref.TargetNodeClass = NodeClass::DataType; 00633 ref.TargetNodeId = ToNodeId("i=78"); 00634 refs.push_back(ref); 00635 } 00636 registry.AddReferences(refs); 00637 } 00638 00639 { 00640 AddNodesItem node; 00641 node.RequestedNewNodeId = ToNodeId("i=11169"); 00642 node.BrowseName = ToQualifiedName("PercentDataBad"); 00643 node.Class = NodeClass::Variable; 00644 node.ParentNodeId = ToNodeId("i=3059"); 00645 node.ReferenceTypeId = ReferenceId::HasProperty; 00646 node.TypeDefinition = ToNodeId("i=68"); 00647 VariableAttributes attrs; 00648 attrs.DisplayName = LocalizedText("PercentDataBad"); 00649 attrs.Type = ObjectId::Byte; 00650 attrs.Rank = -1; 00651 node.Attributes = attrs; 00652 registry.AddNodes(std::vector<AddNodesItem>{node}); 00653 std::vector<AddReferencesItem> refs; 00654 { 00655 AddReferencesItem ref; 00656 ref.IsForward = true; 00657 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00658 ref.SourceNodeId = ToNodeId("i=11169"); 00659 ref.TargetNodeClass = NodeClass::DataType; 00660 ref.TargetNodeId = ToNodeId("i=78"); 00661 refs.push_back(ref); 00662 } 00663 registry.AddReferences(refs); 00664 } 00665 00666 { 00667 AddNodesItem node; 00668 node.RequestedNewNodeId = ToNodeId("i=11170"); 00669 node.BrowseName = ToQualifiedName("PercentDataGood"); 00670 node.Class = NodeClass::Variable; 00671 node.ParentNodeId = ToNodeId("i=3059"); 00672 node.ReferenceTypeId = ReferenceId::HasProperty; 00673 node.TypeDefinition = ToNodeId("i=68"); 00674 VariableAttributes attrs; 00675 attrs.DisplayName = LocalizedText("PercentDataGood"); 00676 attrs.Type = ObjectId::Byte; 00677 attrs.Rank = -1; 00678 node.Attributes = attrs; 00679 registry.AddNodes(std::vector<AddNodesItem>{node}); 00680 std::vector<AddReferencesItem> refs; 00681 { 00682 AddReferencesItem ref; 00683 ref.IsForward = true; 00684 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00685 ref.SourceNodeId = ToNodeId("i=11170"); 00686 ref.TargetNodeClass = NodeClass::DataType; 00687 ref.TargetNodeId = ToNodeId("i=78"); 00688 refs.push_back(ref); 00689 } 00690 registry.AddReferences(refs); 00691 } 00692 00693 { 00694 AddNodesItem node; 00695 node.RequestedNewNodeId = ToNodeId("i=11171"); 00696 node.BrowseName = ToQualifiedName("UseSlopedExtrapolation"); 00697 node.Class = NodeClass::Variable; 00698 node.ParentNodeId = ToNodeId("i=3059"); 00699 node.ReferenceTypeId = ReferenceId::HasProperty; 00700 node.TypeDefinition = ToNodeId("i=68"); 00701 VariableAttributes attrs; 00702 attrs.DisplayName = LocalizedText("UseSlopedExtrapolation"); 00703 attrs.Type = ObjectId::Boolean; 00704 attrs.Rank = -1; 00705 node.Attributes = attrs; 00706 registry.AddNodes(std::vector<AddNodesItem>{node}); 00707 std::vector<AddReferencesItem> refs; 00708 { 00709 AddReferencesItem ref; 00710 ref.IsForward = true; 00711 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00712 ref.SourceNodeId = ToNodeId("i=11171"); 00713 ref.TargetNodeClass = NodeClass::DataType; 00714 ref.TargetNodeId = ToNodeId("i=78"); 00715 refs.push_back(ref); 00716 } 00717 registry.AddReferences(refs); 00718 } 00719 00720 { 00721 AddNodesItem node; 00722 node.RequestedNewNodeId = ToNodeId("i=11876"); 00723 node.BrowseName = ToQualifiedName("AggregateFunctions"); 00724 node.Class = NodeClass::Object; 00725 node.ParentNodeId = ToNodeId("i=2318"); 00726 node.ReferenceTypeId = ReferenceId::HasComponent; 00727 node.TypeDefinition = ToNodeId("i=61"); 00728 ObjectAttributes attrs; 00729 attrs.DisplayName = LocalizedText("AggregateFunctions"); 00730 attrs.EventNotifier = 0; 00731 node.Attributes = attrs; 00732 registry.AddNodes(std::vector<AddNodesItem>{node}); 00733 std::vector<AddReferencesItem> refs; 00734 { 00735 AddReferencesItem ref; 00736 ref.IsForward = true; 00737 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00738 ref.SourceNodeId = ToNodeId("i=11876"); 00739 ref.TargetNodeClass = NodeClass::DataType; 00740 ref.TargetNodeId = ToNodeId("i=80"); 00741 refs.push_back(ref); 00742 } 00743 registry.AddReferences(refs); 00744 } 00745 00746 { 00747 AddNodesItem node; 00748 node.RequestedNewNodeId = ToNodeId("i=2323"); 00749 node.BrowseName = ToQualifiedName("Stepped"); 00750 node.Class = NodeClass::Variable; 00751 node.ParentNodeId = ToNodeId("i=2318"); 00752 node.ReferenceTypeId = ReferenceId::HasProperty; 00753 node.TypeDefinition = ToNodeId("i=68"); 00754 VariableAttributes attrs; 00755 attrs.DisplayName = LocalizedText("Stepped"); 00756 attrs.Type = ObjectId::Boolean; 00757 attrs.Rank = -1; 00758 node.Attributes = attrs; 00759 registry.AddNodes(std::vector<AddNodesItem>{node}); 00760 std::vector<AddReferencesItem> refs; 00761 { 00762 AddReferencesItem ref; 00763 ref.IsForward = true; 00764 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00765 ref.SourceNodeId = ToNodeId("i=2323"); 00766 ref.TargetNodeClass = NodeClass::DataType; 00767 ref.TargetNodeId = ToNodeId("i=78"); 00768 refs.push_back(ref); 00769 } 00770 registry.AddReferences(refs); 00771 } 00772 00773 { 00774 AddNodesItem node; 00775 node.RequestedNewNodeId = ToNodeId("i=2324"); 00776 node.BrowseName = ToQualifiedName("Definition"); 00777 node.Class = NodeClass::Variable; 00778 node.ParentNodeId = ToNodeId("i=2318"); 00779 node.ReferenceTypeId = ReferenceId::HasProperty; 00780 node.TypeDefinition = ToNodeId("i=68"); 00781 VariableAttributes attrs; 00782 attrs.DisplayName = LocalizedText("Definition"); 00783 attrs.Type = ObjectId::String; 00784 attrs.Rank = -1; 00785 node.Attributes = attrs; 00786 registry.AddNodes(std::vector<AddNodesItem>{node}); 00787 std::vector<AddReferencesItem> refs; 00788 { 00789 AddReferencesItem ref; 00790 ref.IsForward = true; 00791 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00792 ref.SourceNodeId = ToNodeId("i=2324"); 00793 ref.TargetNodeClass = NodeClass::DataType; 00794 ref.TargetNodeId = ToNodeId("i=80"); 00795 refs.push_back(ref); 00796 } 00797 registry.AddReferences(refs); 00798 } 00799 00800 { 00801 AddNodesItem node; 00802 node.RequestedNewNodeId = ToNodeId("i=2325"); 00803 node.BrowseName = ToQualifiedName("MaxTimeInterval"); 00804 node.Class = NodeClass::Variable; 00805 node.ParentNodeId = ToNodeId("i=2318"); 00806 node.ReferenceTypeId = ReferenceId::HasProperty; 00807 node.TypeDefinition = ToNodeId("i=68"); 00808 VariableAttributes attrs; 00809 attrs.DisplayName = LocalizedText("MaxTimeInterval"); 00810 attrs.Type = ToNodeId("i=290"); 00811 attrs.Rank = -1; 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::HasModellingRule; 00819 ref.SourceNodeId = ToNodeId("i=2325"); 00820 ref.TargetNodeClass = NodeClass::DataType; 00821 ref.TargetNodeId = ToNodeId("i=80"); 00822 refs.push_back(ref); 00823 } 00824 registry.AddReferences(refs); 00825 } 00826 00827 { 00828 AddNodesItem node; 00829 node.RequestedNewNodeId = ToNodeId("i=2326"); 00830 node.BrowseName = ToQualifiedName("MinTimeInterval"); 00831 node.Class = NodeClass::Variable; 00832 node.ParentNodeId = ToNodeId("i=2318"); 00833 node.ReferenceTypeId = ReferenceId::HasProperty; 00834 node.TypeDefinition = ToNodeId("i=68"); 00835 VariableAttributes attrs; 00836 attrs.DisplayName = LocalizedText("MinTimeInterval"); 00837 attrs.Type = ToNodeId("i=290"); 00838 attrs.Rank = -1; 00839 node.Attributes = attrs; 00840 registry.AddNodes(std::vector<AddNodesItem>{node}); 00841 std::vector<AddReferencesItem> refs; 00842 { 00843 AddReferencesItem ref; 00844 ref.IsForward = true; 00845 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00846 ref.SourceNodeId = ToNodeId("i=2326"); 00847 ref.TargetNodeClass = NodeClass::DataType; 00848 ref.TargetNodeId = ToNodeId("i=80"); 00849 refs.push_back(ref); 00850 } 00851 registry.AddReferences(refs); 00852 } 00853 00854 { 00855 AddNodesItem node; 00856 node.RequestedNewNodeId = ToNodeId("i=2327"); 00857 node.BrowseName = ToQualifiedName("ExceptionDeviation"); 00858 node.Class = NodeClass::Variable; 00859 node.ParentNodeId = ToNodeId("i=2318"); 00860 node.ReferenceTypeId = ReferenceId::HasProperty; 00861 node.TypeDefinition = ToNodeId("i=68"); 00862 VariableAttributes attrs; 00863 attrs.DisplayName = LocalizedText("ExceptionDeviation"); 00864 attrs.Type = ObjectId::Double; 00865 attrs.Rank = -1; 00866 node.Attributes = attrs; 00867 registry.AddNodes(std::vector<AddNodesItem>{node}); 00868 std::vector<AddReferencesItem> refs; 00869 { 00870 AddReferencesItem ref; 00871 ref.IsForward = true; 00872 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00873 ref.SourceNodeId = ToNodeId("i=2327"); 00874 ref.TargetNodeClass = NodeClass::DataType; 00875 ref.TargetNodeId = ToNodeId("i=80"); 00876 refs.push_back(ref); 00877 } 00878 registry.AddReferences(refs); 00879 } 00880 00881 { 00882 AddNodesItem node; 00883 node.RequestedNewNodeId = ToNodeId("i=2328"); 00884 node.BrowseName = ToQualifiedName("ExceptionDeviationFormat"); 00885 node.Class = NodeClass::Variable; 00886 node.ParentNodeId = ToNodeId("i=2318"); 00887 node.ReferenceTypeId = ReferenceId::HasProperty; 00888 node.TypeDefinition = ToNodeId("i=68"); 00889 VariableAttributes attrs; 00890 attrs.DisplayName = LocalizedText("ExceptionDeviationFormat"); 00891 attrs.Type = ToNodeId("i=890"); 00892 attrs.Rank = -1; 00893 node.Attributes = attrs; 00894 registry.AddNodes(std::vector<AddNodesItem>{node}); 00895 std::vector<AddReferencesItem> refs; 00896 { 00897 AddReferencesItem ref; 00898 ref.IsForward = true; 00899 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00900 ref.SourceNodeId = ToNodeId("i=2328"); 00901 ref.TargetNodeClass = NodeClass::DataType; 00902 ref.TargetNodeId = ToNodeId("i=80"); 00903 refs.push_back(ref); 00904 } 00905 registry.AddReferences(refs); 00906 } 00907 00908 { 00909 AddNodesItem node; 00910 node.RequestedNewNodeId = ToNodeId("i=11499"); 00911 node.BrowseName = ToQualifiedName("StartOfArchive"); 00912 node.Class = NodeClass::Variable; 00913 node.ParentNodeId = ToNodeId("i=2318"); 00914 node.ReferenceTypeId = ReferenceId::HasProperty; 00915 node.TypeDefinition = ToNodeId("i=68"); 00916 VariableAttributes attrs; 00917 attrs.DisplayName = LocalizedText("StartOfArchive"); 00918 attrs.Type = ToNodeId("i=294"); 00919 attrs.Rank = -1; 00920 node.Attributes = attrs; 00921 registry.AddNodes(std::vector<AddNodesItem>{node}); 00922 std::vector<AddReferencesItem> refs; 00923 { 00924 AddReferencesItem ref; 00925 ref.IsForward = true; 00926 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00927 ref.SourceNodeId = ToNodeId("i=11499"); 00928 ref.TargetNodeClass = NodeClass::DataType; 00929 ref.TargetNodeId = ToNodeId("i=80"); 00930 refs.push_back(ref); 00931 } 00932 registry.AddReferences(refs); 00933 } 00934 00935 { 00936 AddNodesItem node; 00937 node.RequestedNewNodeId = ToNodeId("i=11500"); 00938 node.BrowseName = ToQualifiedName("StartOfOnlineArchive"); 00939 node.Class = NodeClass::Variable; 00940 node.ParentNodeId = ToNodeId("i=2318"); 00941 node.ReferenceTypeId = ReferenceId::HasProperty; 00942 node.TypeDefinition = ToNodeId("i=68"); 00943 VariableAttributes attrs; 00944 attrs.DisplayName = LocalizedText("StartOfOnlineArchive"); 00945 attrs.Type = ToNodeId("i=294"); 00946 attrs.Rank = -1; 00947 node.Attributes = attrs; 00948 registry.AddNodes(std::vector<AddNodesItem>{node}); 00949 std::vector<AddReferencesItem> refs; 00950 { 00951 AddReferencesItem ref; 00952 ref.IsForward = true; 00953 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 00954 ref.SourceNodeId = ToNodeId("i=11500"); 00955 ref.TargetNodeClass = NodeClass::DataType; 00956 ref.TargetNodeId = ToNodeId("i=80"); 00957 refs.push_back(ref); 00958 } 00959 registry.AddReferences(refs); 00960 } 00961 00962 { 00963 AddNodesItem node; 00964 node.RequestedNewNodeId = ToNodeId("i=11202"); 00965 node.BrowseName = ToQualifiedName("HA Configuration"); 00966 node.Class = NodeClass::Object; 00967 node.TypeDefinition = ToNodeId("i=2318"); 00968 ObjectAttributes attrs; 00969 attrs.DisplayName = LocalizedText("HA Configuration"); 00970 attrs.EventNotifier = 0; 00971 node.Attributes = attrs; 00972 registry.AddNodes(std::vector<AddNodesItem>{node}); 00973 std::vector<AddReferencesItem> refs; 00974 { 00975 AddReferencesItem ref; 00976 ref.IsForward = true; 00977 ref.ReferenceTypeId = ReferenceId::HasComponent; 00978 ref.SourceNodeId = ToNodeId("i=11202"); 00979 ref.TargetNodeClass = NodeClass::DataType; 00980 ref.TargetNodeId = ToNodeId("i=11203"); 00981 refs.push_back(ref); 00982 } 00983 { 00984 AddReferencesItem ref; 00985 ref.IsForward = true; 00986 ref.ReferenceTypeId = ReferenceId::HasProperty; 00987 ref.SourceNodeId = ToNodeId("i=11202"); 00988 ref.TargetNodeClass = NodeClass::DataType; 00989 ref.TargetNodeId = ToNodeId("i=11208"); 00990 refs.push_back(ref); 00991 } 00992 registry.AddReferences(refs); 00993 } 00994 00995 { 00996 AddNodesItem node; 00997 node.RequestedNewNodeId = ToNodeId("i=11203"); 00998 node.BrowseName = ToQualifiedName("AggregateConfiguration"); 00999 node.Class = NodeClass::Object; 01000 node.ParentNodeId = ToNodeId("i=11202"); 01001 node.ReferenceTypeId = ReferenceId::HasComponent; 01002 node.TypeDefinition = ToNodeId("i=11187"); 01003 ObjectAttributes attrs; 01004 attrs.DisplayName = LocalizedText("AggregateConfiguration"); 01005 attrs.EventNotifier = 0; 01006 node.Attributes = attrs; 01007 registry.AddNodes(std::vector<AddNodesItem>{node}); 01008 std::vector<AddReferencesItem> refs; 01009 { 01010 AddReferencesItem ref; 01011 ref.IsForward = true; 01012 ref.ReferenceTypeId = ReferenceId::HasProperty; 01013 ref.SourceNodeId = ToNodeId("i=11203"); 01014 ref.TargetNodeClass = NodeClass::DataType; 01015 ref.TargetNodeId = ToNodeId("i=11204"); 01016 refs.push_back(ref); 01017 } 01018 { 01019 AddReferencesItem ref; 01020 ref.IsForward = true; 01021 ref.ReferenceTypeId = ReferenceId::HasProperty; 01022 ref.SourceNodeId = ToNodeId("i=11203"); 01023 ref.TargetNodeClass = NodeClass::DataType; 01024 ref.TargetNodeId = ToNodeId("i=11205"); 01025 refs.push_back(ref); 01026 } 01027 { 01028 AddReferencesItem ref; 01029 ref.IsForward = true; 01030 ref.ReferenceTypeId = ReferenceId::HasProperty; 01031 ref.SourceNodeId = ToNodeId("i=11203"); 01032 ref.TargetNodeClass = NodeClass::DataType; 01033 ref.TargetNodeId = ToNodeId("i=11206"); 01034 refs.push_back(ref); 01035 } 01036 { 01037 AddReferencesItem ref; 01038 ref.IsForward = true; 01039 ref.ReferenceTypeId = ReferenceId::HasProperty; 01040 ref.SourceNodeId = ToNodeId("i=11203"); 01041 ref.TargetNodeClass = NodeClass::DataType; 01042 ref.TargetNodeId = ToNodeId("i=11207"); 01043 refs.push_back(ref); 01044 } 01045 registry.AddReferences(refs); 01046 } 01047 01048 { 01049 AddNodesItem node; 01050 node.RequestedNewNodeId = ToNodeId("i=11204"); 01051 node.BrowseName = ToQualifiedName("TreatUncertainAsBad"); 01052 node.Class = NodeClass::Variable; 01053 node.ParentNodeId = ToNodeId("i=11203"); 01054 node.ReferenceTypeId = ReferenceId::HasProperty; 01055 node.TypeDefinition = ToNodeId("i=68"); 01056 VariableAttributes attrs; 01057 attrs.DisplayName = LocalizedText("TreatUncertainAsBad"); 01058 attrs.Type = ObjectId::Boolean; 01059 attrs.Rank = -1; 01060 node.Attributes = attrs; 01061 registry.AddNodes(std::vector<AddNodesItem>{node}); 01062 } 01063 01064 { 01065 AddNodesItem node; 01066 node.RequestedNewNodeId = ToNodeId("i=11205"); 01067 node.BrowseName = ToQualifiedName("PercentDataBad"); 01068 node.Class = NodeClass::Variable; 01069 node.ParentNodeId = ToNodeId("i=11203"); 01070 node.ReferenceTypeId = ReferenceId::HasProperty; 01071 node.TypeDefinition = ToNodeId("i=68"); 01072 VariableAttributes attrs; 01073 attrs.DisplayName = LocalizedText("PercentDataBad"); 01074 attrs.Type = ObjectId::Byte; 01075 attrs.Rank = -1; 01076 node.Attributes = attrs; 01077 registry.AddNodes(std::vector<AddNodesItem>{node}); 01078 } 01079 01080 { 01081 AddNodesItem node; 01082 node.RequestedNewNodeId = ToNodeId("i=11206"); 01083 node.BrowseName = ToQualifiedName("PercentDataGood"); 01084 node.Class = NodeClass::Variable; 01085 node.ParentNodeId = ToNodeId("i=11203"); 01086 node.ReferenceTypeId = ReferenceId::HasProperty; 01087 node.TypeDefinition = ToNodeId("i=68"); 01088 VariableAttributes attrs; 01089 attrs.DisplayName = LocalizedText("PercentDataGood"); 01090 attrs.Type = ObjectId::Byte; 01091 attrs.Rank = -1; 01092 node.Attributes = attrs; 01093 registry.AddNodes(std::vector<AddNodesItem>{node}); 01094 } 01095 01096 { 01097 AddNodesItem node; 01098 node.RequestedNewNodeId = ToNodeId("i=11207"); 01099 node.BrowseName = ToQualifiedName("UseSlopedExtrapolation"); 01100 node.Class = NodeClass::Variable; 01101 node.ParentNodeId = ToNodeId("i=11203"); 01102 node.ReferenceTypeId = ReferenceId::HasProperty; 01103 node.TypeDefinition = ToNodeId("i=68"); 01104 VariableAttributes attrs; 01105 attrs.DisplayName = LocalizedText("UseSlopedExtrapolation"); 01106 attrs.Type = ObjectId::Boolean; 01107 attrs.Rank = -1; 01108 node.Attributes = attrs; 01109 registry.AddNodes(std::vector<AddNodesItem>{node}); 01110 } 01111 01112 { 01113 AddNodesItem node; 01114 node.RequestedNewNodeId = ToNodeId("i=11208"); 01115 node.BrowseName = ToQualifiedName("Stepped"); 01116 node.Class = NodeClass::Variable; 01117 node.ParentNodeId = ToNodeId("i=11202"); 01118 node.ReferenceTypeId = ReferenceId::HasProperty; 01119 node.TypeDefinition = ToNodeId("i=68"); 01120 VariableAttributes attrs; 01121 attrs.DisplayName = LocalizedText("Stepped"); 01122 attrs.Type = ObjectId::Boolean; 01123 attrs.Rank = -1; 01124 node.Attributes = attrs; 01125 registry.AddNodes(std::vector<AddNodesItem>{node}); 01126 } 01127 01128 { 01129 AddNodesItem node; 01130 node.RequestedNewNodeId = ToNodeId("i=11215"); 01131 node.BrowseName = ToQualifiedName("HistoricalEventFilter"); 01132 node.Class = NodeClass::Variable; 01133 node.TypeDefinition = ToNodeId("i=68"); 01134 VariableAttributes attrs; 01135 attrs.DisplayName = LocalizedText("HistoricalEventFilter"); 01136 attrs.Type = ToNodeId("i=725"); 01137 attrs.Rank = -2; 01138 node.Attributes = attrs; 01139 registry.AddNodes(std::vector<AddNodesItem>{node}); 01140 } 01141 01142 { 01143 AddNodesItem node; 01144 node.RequestedNewNodeId = ToNodeId("i=2330"); 01145 node.BrowseName = ToQualifiedName("HistoryServerCapabilitiesType"); 01146 node.Class = NodeClass::ObjectType; 01147 node.ParentNodeId = ToNodeId("i=58"); 01148 node.ReferenceTypeId = ReferenceId::HasSubtype; 01149 ObjectTypeAttributes attrs; 01150 attrs.DisplayName = LocalizedText("HistoryServerCapabilitiesType"); 01151 attrs.IsAbstract = false; 01152 node.Attributes = attrs; 01153 registry.AddNodes(std::vector<AddNodesItem>{node}); 01154 std::vector<AddReferencesItem> refs; 01155 { 01156 AddReferencesItem ref; 01157 ref.IsForward = true; 01158 ref.ReferenceTypeId = ReferenceId::HasProperty; 01159 ref.SourceNodeId = ToNodeId("i=2330"); 01160 ref.TargetNodeClass = NodeClass::DataType; 01161 ref.TargetNodeId = ToNodeId("i=2331"); 01162 refs.push_back(ref); 01163 } 01164 { 01165 AddReferencesItem ref; 01166 ref.IsForward = true; 01167 ref.ReferenceTypeId = ReferenceId::HasProperty; 01168 ref.SourceNodeId = ToNodeId("i=2330"); 01169 ref.TargetNodeClass = NodeClass::DataType; 01170 ref.TargetNodeId = ToNodeId("i=2332"); 01171 refs.push_back(ref); 01172 } 01173 { 01174 AddReferencesItem ref; 01175 ref.IsForward = true; 01176 ref.ReferenceTypeId = ReferenceId::HasProperty; 01177 ref.SourceNodeId = ToNodeId("i=2330"); 01178 ref.TargetNodeClass = NodeClass::DataType; 01179 ref.TargetNodeId = ToNodeId("i=11268"); 01180 refs.push_back(ref); 01181 } 01182 { 01183 AddReferencesItem ref; 01184 ref.IsForward = true; 01185 ref.ReferenceTypeId = ReferenceId::HasProperty; 01186 ref.SourceNodeId = ToNodeId("i=2330"); 01187 ref.TargetNodeClass = NodeClass::DataType; 01188 ref.TargetNodeId = ToNodeId("i=11269"); 01189 refs.push_back(ref); 01190 } 01191 { 01192 AddReferencesItem ref; 01193 ref.IsForward = true; 01194 ref.ReferenceTypeId = ReferenceId::HasProperty; 01195 ref.SourceNodeId = ToNodeId("i=2330"); 01196 ref.TargetNodeClass = NodeClass::DataType; 01197 ref.TargetNodeId = ToNodeId("i=2334"); 01198 refs.push_back(ref); 01199 } 01200 { 01201 AddReferencesItem ref; 01202 ref.IsForward = true; 01203 ref.ReferenceTypeId = ReferenceId::HasProperty; 01204 ref.SourceNodeId = ToNodeId("i=2330"); 01205 ref.TargetNodeClass = NodeClass::DataType; 01206 ref.TargetNodeId = ToNodeId("i=2335"); 01207 refs.push_back(ref); 01208 } 01209 { 01210 AddReferencesItem ref; 01211 ref.IsForward = true; 01212 ref.ReferenceTypeId = ReferenceId::HasProperty; 01213 ref.SourceNodeId = ToNodeId("i=2330"); 01214 ref.TargetNodeClass = NodeClass::DataType; 01215 ref.TargetNodeId = ToNodeId("i=2336"); 01216 refs.push_back(ref); 01217 } 01218 { 01219 AddReferencesItem ref; 01220 ref.IsForward = true; 01221 ref.ReferenceTypeId = ReferenceId::HasProperty; 01222 ref.SourceNodeId = ToNodeId("i=2330"); 01223 ref.TargetNodeClass = NodeClass::DataType; 01224 ref.TargetNodeId = ToNodeId("i=2337"); 01225 refs.push_back(ref); 01226 } 01227 { 01228 AddReferencesItem ref; 01229 ref.IsForward = true; 01230 ref.ReferenceTypeId = ReferenceId::HasProperty; 01231 ref.SourceNodeId = ToNodeId("i=2330"); 01232 ref.TargetNodeClass = NodeClass::DataType; 01233 ref.TargetNodeId = ToNodeId("i=2338"); 01234 refs.push_back(ref); 01235 } 01236 { 01237 AddReferencesItem ref; 01238 ref.IsForward = true; 01239 ref.ReferenceTypeId = ReferenceId::HasProperty; 01240 ref.SourceNodeId = ToNodeId("i=2330"); 01241 ref.TargetNodeClass = NodeClass::DataType; 01242 ref.TargetNodeId = ToNodeId("i=11278"); 01243 refs.push_back(ref); 01244 } 01245 { 01246 AddReferencesItem ref; 01247 ref.IsForward = true; 01248 ref.ReferenceTypeId = ReferenceId::HasProperty; 01249 ref.SourceNodeId = ToNodeId("i=2330"); 01250 ref.TargetNodeClass = NodeClass::DataType; 01251 ref.TargetNodeId = ToNodeId("i=11279"); 01252 refs.push_back(ref); 01253 } 01254 { 01255 AddReferencesItem ref; 01256 ref.IsForward = true; 01257 ref.ReferenceTypeId = ReferenceId::HasProperty; 01258 ref.SourceNodeId = ToNodeId("i=2330"); 01259 ref.TargetNodeClass = NodeClass::DataType; 01260 ref.TargetNodeId = ToNodeId("i=11280"); 01261 refs.push_back(ref); 01262 } 01263 { 01264 AddReferencesItem ref; 01265 ref.IsForward = true; 01266 ref.ReferenceTypeId = ReferenceId::HasProperty; 01267 ref.SourceNodeId = ToNodeId("i=2330"); 01268 ref.TargetNodeClass = NodeClass::DataType; 01269 ref.TargetNodeId = ToNodeId("i=11501"); 01270 refs.push_back(ref); 01271 } 01272 { 01273 AddReferencesItem ref; 01274 ref.IsForward = true; 01275 ref.ReferenceTypeId = ReferenceId::HasProperty; 01276 ref.SourceNodeId = ToNodeId("i=2330"); 01277 ref.TargetNodeClass = NodeClass::DataType; 01278 ref.TargetNodeId = ToNodeId("i=11270"); 01279 refs.push_back(ref); 01280 } 01281 { 01282 AddReferencesItem ref; 01283 ref.IsForward = true; 01284 ref.ReferenceTypeId = ReferenceId::HasComponent; 01285 ref.SourceNodeId = ToNodeId("i=2330"); 01286 ref.TargetNodeClass = NodeClass::DataType; 01287 ref.TargetNodeId = ToNodeId("i=11172"); 01288 refs.push_back(ref); 01289 } 01290 registry.AddReferences(refs); 01291 } 01292 01293 { 01294 AddNodesItem node; 01295 node.RequestedNewNodeId = ToNodeId("i=2331"); 01296 node.BrowseName = ToQualifiedName("AccessHistoryDataCapability"); 01297 node.Class = NodeClass::Variable; 01298 node.ParentNodeId = ToNodeId("i=2330"); 01299 node.ReferenceTypeId = ReferenceId::HasProperty; 01300 node.TypeDefinition = ToNodeId("i=68"); 01301 VariableAttributes attrs; 01302 attrs.DisplayName = LocalizedText("AccessHistoryDataCapability"); 01303 attrs.Type = ObjectId::Boolean; 01304 attrs.Rank = -1; 01305 node.Attributes = attrs; 01306 registry.AddNodes(std::vector<AddNodesItem>{node}); 01307 std::vector<AddReferencesItem> refs; 01308 { 01309 AddReferencesItem ref; 01310 ref.IsForward = true; 01311 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01312 ref.SourceNodeId = ToNodeId("i=2331"); 01313 ref.TargetNodeClass = NodeClass::DataType; 01314 ref.TargetNodeId = ToNodeId("i=78"); 01315 refs.push_back(ref); 01316 } 01317 registry.AddReferences(refs); 01318 } 01319 01320 { 01321 AddNodesItem node; 01322 node.RequestedNewNodeId = ToNodeId("i=2332"); 01323 node.BrowseName = ToQualifiedName("AccessHistoryEventsCapability"); 01324 node.Class = NodeClass::Variable; 01325 node.ParentNodeId = ToNodeId("i=2330"); 01326 node.ReferenceTypeId = ReferenceId::HasProperty; 01327 node.TypeDefinition = ToNodeId("i=68"); 01328 VariableAttributes attrs; 01329 attrs.DisplayName = LocalizedText("AccessHistoryEventsCapability"); 01330 attrs.Type = ObjectId::Boolean; 01331 attrs.Rank = -1; 01332 node.Attributes = attrs; 01333 registry.AddNodes(std::vector<AddNodesItem>{node}); 01334 std::vector<AddReferencesItem> refs; 01335 { 01336 AddReferencesItem ref; 01337 ref.IsForward = true; 01338 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01339 ref.SourceNodeId = ToNodeId("i=2332"); 01340 ref.TargetNodeClass = NodeClass::DataType; 01341 ref.TargetNodeId = ToNodeId("i=78"); 01342 refs.push_back(ref); 01343 } 01344 registry.AddReferences(refs); 01345 } 01346 01347 { 01348 AddNodesItem node; 01349 node.RequestedNewNodeId = ToNodeId("i=11268"); 01350 node.BrowseName = ToQualifiedName("MaxReturnDataValues"); 01351 node.Class = NodeClass::Variable; 01352 node.ParentNodeId = ToNodeId("i=2330"); 01353 node.ReferenceTypeId = ReferenceId::HasProperty; 01354 node.TypeDefinition = ToNodeId("i=68"); 01355 VariableAttributes attrs; 01356 attrs.DisplayName = LocalizedText("MaxReturnDataValues"); 01357 attrs.Type = ObjectId::UInt32; 01358 attrs.Rank = -1; 01359 node.Attributes = attrs; 01360 registry.AddNodes(std::vector<AddNodesItem>{node}); 01361 std::vector<AddReferencesItem> refs; 01362 { 01363 AddReferencesItem ref; 01364 ref.IsForward = true; 01365 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01366 ref.SourceNodeId = ToNodeId("i=11268"); 01367 ref.TargetNodeClass = NodeClass::DataType; 01368 ref.TargetNodeId = ToNodeId("i=78"); 01369 refs.push_back(ref); 01370 } 01371 registry.AddReferences(refs); 01372 } 01373 01374 { 01375 AddNodesItem node; 01376 node.RequestedNewNodeId = ToNodeId("i=11269"); 01377 node.BrowseName = ToQualifiedName("MaxReturnEventValues"); 01378 node.Class = NodeClass::Variable; 01379 node.ParentNodeId = ToNodeId("i=2330"); 01380 node.ReferenceTypeId = ReferenceId::HasProperty; 01381 node.TypeDefinition = ToNodeId("i=68"); 01382 VariableAttributes attrs; 01383 attrs.DisplayName = LocalizedText("MaxReturnEventValues"); 01384 attrs.Type = ObjectId::UInt32; 01385 attrs.Rank = -1; 01386 node.Attributes = attrs; 01387 registry.AddNodes(std::vector<AddNodesItem>{node}); 01388 std::vector<AddReferencesItem> refs; 01389 { 01390 AddReferencesItem ref; 01391 ref.IsForward = true; 01392 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01393 ref.SourceNodeId = ToNodeId("i=11269"); 01394 ref.TargetNodeClass = NodeClass::DataType; 01395 ref.TargetNodeId = ToNodeId("i=78"); 01396 refs.push_back(ref); 01397 } 01398 registry.AddReferences(refs); 01399 } 01400 01401 { 01402 AddNodesItem node; 01403 node.RequestedNewNodeId = ToNodeId("i=2334"); 01404 node.BrowseName = ToQualifiedName("InsertDataCapability"); 01405 node.Class = NodeClass::Variable; 01406 node.ParentNodeId = ToNodeId("i=2330"); 01407 node.ReferenceTypeId = ReferenceId::HasProperty; 01408 node.TypeDefinition = ToNodeId("i=68"); 01409 VariableAttributes attrs; 01410 attrs.DisplayName = LocalizedText("InsertDataCapability"); 01411 attrs.Type = ObjectId::Boolean; 01412 attrs.Rank = -1; 01413 node.Attributes = attrs; 01414 registry.AddNodes(std::vector<AddNodesItem>{node}); 01415 std::vector<AddReferencesItem> refs; 01416 { 01417 AddReferencesItem ref; 01418 ref.IsForward = true; 01419 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01420 ref.SourceNodeId = ToNodeId("i=2334"); 01421 ref.TargetNodeClass = NodeClass::DataType; 01422 ref.TargetNodeId = ToNodeId("i=78"); 01423 refs.push_back(ref); 01424 } 01425 registry.AddReferences(refs); 01426 } 01427 01428 { 01429 AddNodesItem node; 01430 node.RequestedNewNodeId = ToNodeId("i=2335"); 01431 node.BrowseName = ToQualifiedName("ReplaceDataCapability"); 01432 node.Class = NodeClass::Variable; 01433 node.ParentNodeId = ToNodeId("i=2330"); 01434 node.ReferenceTypeId = ReferenceId::HasProperty; 01435 node.TypeDefinition = ToNodeId("i=68"); 01436 VariableAttributes attrs; 01437 attrs.DisplayName = LocalizedText("ReplaceDataCapability"); 01438 attrs.Type = ObjectId::Boolean; 01439 attrs.Rank = -1; 01440 node.Attributes = attrs; 01441 registry.AddNodes(std::vector<AddNodesItem>{node}); 01442 std::vector<AddReferencesItem> refs; 01443 { 01444 AddReferencesItem ref; 01445 ref.IsForward = true; 01446 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01447 ref.SourceNodeId = ToNodeId("i=2335"); 01448 ref.TargetNodeClass = NodeClass::DataType; 01449 ref.TargetNodeId = ToNodeId("i=78"); 01450 refs.push_back(ref); 01451 } 01452 registry.AddReferences(refs); 01453 } 01454 01455 { 01456 AddNodesItem node; 01457 node.RequestedNewNodeId = ToNodeId("i=2336"); 01458 node.BrowseName = ToQualifiedName("UpdateDataCapability"); 01459 node.Class = NodeClass::Variable; 01460 node.ParentNodeId = ToNodeId("i=2330"); 01461 node.ReferenceTypeId = ReferenceId::HasProperty; 01462 node.TypeDefinition = ToNodeId("i=68"); 01463 VariableAttributes attrs; 01464 attrs.DisplayName = LocalizedText("UpdateDataCapability"); 01465 attrs.Type = ObjectId::Boolean; 01466 attrs.Rank = -1; 01467 node.Attributes = attrs; 01468 registry.AddNodes(std::vector<AddNodesItem>{node}); 01469 std::vector<AddReferencesItem> refs; 01470 { 01471 AddReferencesItem ref; 01472 ref.IsForward = true; 01473 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01474 ref.SourceNodeId = ToNodeId("i=2336"); 01475 ref.TargetNodeClass = NodeClass::DataType; 01476 ref.TargetNodeId = ToNodeId("i=78"); 01477 refs.push_back(ref); 01478 } 01479 registry.AddReferences(refs); 01480 } 01481 01482 { 01483 AddNodesItem node; 01484 node.RequestedNewNodeId = ToNodeId("i=2337"); 01485 node.BrowseName = ToQualifiedName("DeleteRawCapability"); 01486 node.Class = NodeClass::Variable; 01487 node.ParentNodeId = ToNodeId("i=2330"); 01488 node.ReferenceTypeId = ReferenceId::HasProperty; 01489 node.TypeDefinition = ToNodeId("i=68"); 01490 VariableAttributes attrs; 01491 attrs.DisplayName = LocalizedText("DeleteRawCapability"); 01492 attrs.Type = ObjectId::Boolean; 01493 attrs.Rank = -1; 01494 node.Attributes = attrs; 01495 registry.AddNodes(std::vector<AddNodesItem>{node}); 01496 std::vector<AddReferencesItem> refs; 01497 { 01498 AddReferencesItem ref; 01499 ref.IsForward = true; 01500 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01501 ref.SourceNodeId = ToNodeId("i=2337"); 01502 ref.TargetNodeClass = NodeClass::DataType; 01503 ref.TargetNodeId = ToNodeId("i=78"); 01504 refs.push_back(ref); 01505 } 01506 registry.AddReferences(refs); 01507 } 01508 01509 { 01510 AddNodesItem node; 01511 node.RequestedNewNodeId = ToNodeId("i=2338"); 01512 node.BrowseName = ToQualifiedName("DeleteAtTimeCapability"); 01513 node.Class = NodeClass::Variable; 01514 node.ParentNodeId = ToNodeId("i=2330"); 01515 node.ReferenceTypeId = ReferenceId::HasProperty; 01516 node.TypeDefinition = ToNodeId("i=68"); 01517 VariableAttributes attrs; 01518 attrs.DisplayName = LocalizedText("DeleteAtTimeCapability"); 01519 attrs.Type = ObjectId::Boolean; 01520 attrs.Rank = -1; 01521 node.Attributes = attrs; 01522 registry.AddNodes(std::vector<AddNodesItem>{node}); 01523 std::vector<AddReferencesItem> refs; 01524 { 01525 AddReferencesItem ref; 01526 ref.IsForward = true; 01527 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01528 ref.SourceNodeId = ToNodeId("i=2338"); 01529 ref.TargetNodeClass = NodeClass::DataType; 01530 ref.TargetNodeId = ToNodeId("i=78"); 01531 refs.push_back(ref); 01532 } 01533 registry.AddReferences(refs); 01534 } 01535 01536 { 01537 AddNodesItem node; 01538 node.RequestedNewNodeId = ToNodeId("i=11278"); 01539 node.BrowseName = ToQualifiedName("InsertEventCapability"); 01540 node.Class = NodeClass::Variable; 01541 node.ParentNodeId = ToNodeId("i=2330"); 01542 node.ReferenceTypeId = ReferenceId::HasProperty; 01543 node.TypeDefinition = ToNodeId("i=68"); 01544 VariableAttributes attrs; 01545 attrs.DisplayName = LocalizedText("InsertEventCapability"); 01546 attrs.Type = ObjectId::Boolean; 01547 attrs.Rank = -1; 01548 node.Attributes = attrs; 01549 registry.AddNodes(std::vector<AddNodesItem>{node}); 01550 std::vector<AddReferencesItem> refs; 01551 { 01552 AddReferencesItem ref; 01553 ref.IsForward = true; 01554 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01555 ref.SourceNodeId = ToNodeId("i=11278"); 01556 ref.TargetNodeClass = NodeClass::DataType; 01557 ref.TargetNodeId = ToNodeId("i=78"); 01558 refs.push_back(ref); 01559 } 01560 registry.AddReferences(refs); 01561 } 01562 01563 { 01564 AddNodesItem node; 01565 node.RequestedNewNodeId = ToNodeId("i=11279"); 01566 node.BrowseName = ToQualifiedName("ReplaceEventCapability"); 01567 node.Class = NodeClass::Variable; 01568 node.ParentNodeId = ToNodeId("i=2330"); 01569 node.ReferenceTypeId = ReferenceId::HasProperty; 01570 node.TypeDefinition = ToNodeId("i=68"); 01571 VariableAttributes attrs; 01572 attrs.DisplayName = LocalizedText("ReplaceEventCapability"); 01573 attrs.Type = ObjectId::Boolean; 01574 attrs.Rank = -1; 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::HasModellingRule; 01582 ref.SourceNodeId = ToNodeId("i=11279"); 01583 ref.TargetNodeClass = NodeClass::DataType; 01584 ref.TargetNodeId = ToNodeId("i=78"); 01585 refs.push_back(ref); 01586 } 01587 registry.AddReferences(refs); 01588 } 01589 01590 { 01591 AddNodesItem node; 01592 node.RequestedNewNodeId = ToNodeId("i=11280"); 01593 node.BrowseName = ToQualifiedName("UpdateEventCapability"); 01594 node.Class = NodeClass::Variable; 01595 node.ParentNodeId = ToNodeId("i=2330"); 01596 node.ReferenceTypeId = ReferenceId::HasProperty; 01597 node.TypeDefinition = ToNodeId("i=68"); 01598 VariableAttributes attrs; 01599 attrs.DisplayName = LocalizedText("UpdateEventCapability"); 01600 attrs.Type = ObjectId::Boolean; 01601 attrs.Rank = -1; 01602 node.Attributes = attrs; 01603 registry.AddNodes(std::vector<AddNodesItem>{node}); 01604 std::vector<AddReferencesItem> refs; 01605 { 01606 AddReferencesItem ref; 01607 ref.IsForward = true; 01608 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01609 ref.SourceNodeId = ToNodeId("i=11280"); 01610 ref.TargetNodeClass = NodeClass::DataType; 01611 ref.TargetNodeId = ToNodeId("i=78"); 01612 refs.push_back(ref); 01613 } 01614 registry.AddReferences(refs); 01615 } 01616 01617 { 01618 AddNodesItem node; 01619 node.RequestedNewNodeId = ToNodeId("i=11501"); 01620 node.BrowseName = ToQualifiedName("DeleteEventCapability"); 01621 node.Class = NodeClass::Variable; 01622 node.ParentNodeId = ToNodeId("i=2330"); 01623 node.ReferenceTypeId = ReferenceId::HasProperty; 01624 node.TypeDefinition = ToNodeId("i=68"); 01625 VariableAttributes attrs; 01626 attrs.DisplayName = LocalizedText("DeleteEventCapability"); 01627 attrs.Type = ObjectId::Boolean; 01628 attrs.Rank = -1; 01629 node.Attributes = attrs; 01630 registry.AddNodes(std::vector<AddNodesItem>{node}); 01631 std::vector<AddReferencesItem> refs; 01632 { 01633 AddReferencesItem ref; 01634 ref.IsForward = true; 01635 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01636 ref.SourceNodeId = ToNodeId("i=11501"); 01637 ref.TargetNodeClass = NodeClass::DataType; 01638 ref.TargetNodeId = ToNodeId("i=78"); 01639 refs.push_back(ref); 01640 } 01641 registry.AddReferences(refs); 01642 } 01643 01644 { 01645 AddNodesItem node; 01646 node.RequestedNewNodeId = ToNodeId("i=11270"); 01647 node.BrowseName = ToQualifiedName("InsertAnnotationCapability"); 01648 node.Class = NodeClass::Variable; 01649 node.ParentNodeId = ToNodeId("i=2330"); 01650 node.ReferenceTypeId = ReferenceId::HasProperty; 01651 node.TypeDefinition = ToNodeId("i=68"); 01652 VariableAttributes attrs; 01653 attrs.DisplayName = LocalizedText("InsertAnnotationCapability"); 01654 attrs.Type = ObjectId::Boolean; 01655 attrs.Rank = -1; 01656 node.Attributes = attrs; 01657 registry.AddNodes(std::vector<AddNodesItem>{node}); 01658 std::vector<AddReferencesItem> refs; 01659 { 01660 AddReferencesItem ref; 01661 ref.IsForward = true; 01662 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01663 ref.SourceNodeId = ToNodeId("i=11270"); 01664 ref.TargetNodeClass = NodeClass::DataType; 01665 ref.TargetNodeId = ToNodeId("i=78"); 01666 refs.push_back(ref); 01667 } 01668 registry.AddReferences(refs); 01669 } 01670 01671 { 01672 AddNodesItem node; 01673 node.RequestedNewNodeId = ToNodeId("i=11172"); 01674 node.BrowseName = ToQualifiedName("AggregateFunctions"); 01675 node.Class = NodeClass::Object; 01676 node.ParentNodeId = ToNodeId("i=2330"); 01677 node.ReferenceTypeId = ReferenceId::HasComponent; 01678 node.TypeDefinition = ToNodeId("i=61"); 01679 ObjectAttributes attrs; 01680 attrs.DisplayName = LocalizedText("AggregateFunctions"); 01681 attrs.EventNotifier = 0; 01682 node.Attributes = attrs; 01683 registry.AddNodes(std::vector<AddNodesItem>{node}); 01684 std::vector<AddReferencesItem> refs; 01685 { 01686 AddReferencesItem ref; 01687 ref.IsForward = true; 01688 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01689 ref.SourceNodeId = ToNodeId("i=11172"); 01690 ref.TargetNodeClass = NodeClass::DataType; 01691 ref.TargetNodeId = ToNodeId("i=78"); 01692 refs.push_back(ref); 01693 } 01694 registry.AddReferences(refs); 01695 } 01696 01697 { 01698 AddNodesItem node; 01699 node.RequestedNewNodeId = ToNodeId("i=2999"); 01700 node.BrowseName = ToQualifiedName("AuditHistoryEventUpdateEventType"); 01701 node.Class = NodeClass::ObjectType; 01702 node.ParentNodeId = ToNodeId("i=2104"); 01703 node.ReferenceTypeId = ReferenceId::HasSubtype; 01704 ObjectTypeAttributes attrs; 01705 attrs.DisplayName = LocalizedText("AuditHistoryEventUpdateEventType"); 01706 attrs.IsAbstract = true; 01707 node.Attributes = attrs; 01708 registry.AddNodes(std::vector<AddNodesItem>{node}); 01709 std::vector<AddReferencesItem> refs; 01710 { 01711 AddReferencesItem ref; 01712 ref.IsForward = true; 01713 ref.ReferenceTypeId = ReferenceId::HasProperty; 01714 ref.SourceNodeId = ToNodeId("i=2999"); 01715 ref.TargetNodeClass = NodeClass::DataType; 01716 ref.TargetNodeId = ToNodeId("i=3025"); 01717 refs.push_back(ref); 01718 } 01719 { 01720 AddReferencesItem ref; 01721 ref.IsForward = true; 01722 ref.ReferenceTypeId = ReferenceId::HasProperty; 01723 ref.SourceNodeId = ToNodeId("i=2999"); 01724 ref.TargetNodeClass = NodeClass::DataType; 01725 ref.TargetNodeId = ToNodeId("i=3028"); 01726 refs.push_back(ref); 01727 } 01728 { 01729 AddReferencesItem ref; 01730 ref.IsForward = true; 01731 ref.ReferenceTypeId = ReferenceId::HasProperty; 01732 ref.SourceNodeId = ToNodeId("i=2999"); 01733 ref.TargetNodeClass = NodeClass::DataType; 01734 ref.TargetNodeId = ToNodeId("i=3003"); 01735 refs.push_back(ref); 01736 } 01737 { 01738 AddReferencesItem ref; 01739 ref.IsForward = true; 01740 ref.ReferenceTypeId = ReferenceId::HasProperty; 01741 ref.SourceNodeId = ToNodeId("i=2999"); 01742 ref.TargetNodeClass = NodeClass::DataType; 01743 ref.TargetNodeId = ToNodeId("i=3029"); 01744 refs.push_back(ref); 01745 } 01746 { 01747 AddReferencesItem ref; 01748 ref.IsForward = true; 01749 ref.ReferenceTypeId = ReferenceId::HasProperty; 01750 ref.SourceNodeId = ToNodeId("i=2999"); 01751 ref.TargetNodeClass = NodeClass::DataType; 01752 ref.TargetNodeId = ToNodeId("i=3030"); 01753 refs.push_back(ref); 01754 } 01755 registry.AddReferences(refs); 01756 } 01757 01758 { 01759 AddNodesItem node; 01760 node.RequestedNewNodeId = ToNodeId("i=3025"); 01761 node.BrowseName = ToQualifiedName("UpdatedNode"); 01762 node.Class = NodeClass::Variable; 01763 node.ParentNodeId = ToNodeId("i=2999"); 01764 node.ReferenceTypeId = ReferenceId::HasProperty; 01765 node.TypeDefinition = ToNodeId("i=68"); 01766 VariableAttributes attrs; 01767 attrs.DisplayName = LocalizedText("UpdatedNode"); 01768 attrs.Type = ObjectId::NodeId; 01769 attrs.Rank = -1; 01770 node.Attributes = attrs; 01771 registry.AddNodes(std::vector<AddNodesItem>{node}); 01772 std::vector<AddReferencesItem> refs; 01773 { 01774 AddReferencesItem ref; 01775 ref.IsForward = true; 01776 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01777 ref.SourceNodeId = ToNodeId("i=3025"); 01778 ref.TargetNodeClass = NodeClass::DataType; 01779 ref.TargetNodeId = ToNodeId("i=78"); 01780 refs.push_back(ref); 01781 } 01782 registry.AddReferences(refs); 01783 } 01784 01785 { 01786 AddNodesItem node; 01787 node.RequestedNewNodeId = ToNodeId("i=3028"); 01788 node.BrowseName = ToQualifiedName("PerformInsertReplace"); 01789 node.Class = NodeClass::Variable; 01790 node.ParentNodeId = ToNodeId("i=2999"); 01791 node.ReferenceTypeId = ReferenceId::HasProperty; 01792 node.TypeDefinition = ToNodeId("i=68"); 01793 VariableAttributes attrs; 01794 attrs.DisplayName = LocalizedText("PerformInsertReplace"); 01795 attrs.Type = ToNodeId("i=11293"); 01796 attrs.Rank = -1; 01797 node.Attributes = attrs; 01798 registry.AddNodes(std::vector<AddNodesItem>{node}); 01799 std::vector<AddReferencesItem> refs; 01800 { 01801 AddReferencesItem ref; 01802 ref.IsForward = true; 01803 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01804 ref.SourceNodeId = ToNodeId("i=3028"); 01805 ref.TargetNodeClass = NodeClass::DataType; 01806 ref.TargetNodeId = ToNodeId("i=78"); 01807 refs.push_back(ref); 01808 } 01809 registry.AddReferences(refs); 01810 } 01811 01812 { 01813 AddNodesItem node; 01814 node.RequestedNewNodeId = ToNodeId("i=3003"); 01815 node.BrowseName = ToQualifiedName("Filter"); 01816 node.Class = NodeClass::Variable; 01817 node.ParentNodeId = ToNodeId("i=2999"); 01818 node.ReferenceTypeId = ReferenceId::HasProperty; 01819 node.TypeDefinition = ToNodeId("i=68"); 01820 VariableAttributes attrs; 01821 attrs.DisplayName = LocalizedText("Filter"); 01822 attrs.Type = ToNodeId("i=725"); 01823 attrs.Rank = -1; 01824 node.Attributes = attrs; 01825 registry.AddNodes(std::vector<AddNodesItem>{node}); 01826 std::vector<AddReferencesItem> refs; 01827 { 01828 AddReferencesItem ref; 01829 ref.IsForward = true; 01830 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01831 ref.SourceNodeId = ToNodeId("i=3003"); 01832 ref.TargetNodeClass = NodeClass::DataType; 01833 ref.TargetNodeId = ToNodeId("i=78"); 01834 refs.push_back(ref); 01835 } 01836 registry.AddReferences(refs); 01837 } 01838 01839 { 01840 AddNodesItem node; 01841 node.RequestedNewNodeId = ToNodeId("i=3029"); 01842 node.BrowseName = ToQualifiedName("NewValues"); 01843 node.Class = NodeClass::Variable; 01844 node.ParentNodeId = ToNodeId("i=2999"); 01845 node.ReferenceTypeId = ReferenceId::HasProperty; 01846 node.TypeDefinition = ToNodeId("i=68"); 01847 VariableAttributes attrs; 01848 attrs.DisplayName = LocalizedText("NewValues"); 01849 attrs.Type = ToNodeId("i=920"); 01850 attrs.Rank = -1; 01851 node.Attributes = attrs; 01852 registry.AddNodes(std::vector<AddNodesItem>{node}); 01853 std::vector<AddReferencesItem> refs; 01854 { 01855 AddReferencesItem ref; 01856 ref.IsForward = true; 01857 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01858 ref.SourceNodeId = ToNodeId("i=3029"); 01859 ref.TargetNodeClass = NodeClass::DataType; 01860 ref.TargetNodeId = ToNodeId("i=78"); 01861 refs.push_back(ref); 01862 } 01863 registry.AddReferences(refs); 01864 } 01865 01866 { 01867 AddNodesItem node; 01868 node.RequestedNewNodeId = ToNodeId("i=3030"); 01869 node.BrowseName = ToQualifiedName("OldValues"); 01870 node.Class = NodeClass::Variable; 01871 node.ParentNodeId = ToNodeId("i=2999"); 01872 node.ReferenceTypeId = ReferenceId::HasProperty; 01873 node.TypeDefinition = ToNodeId("i=68"); 01874 VariableAttributes attrs; 01875 attrs.DisplayName = LocalizedText("OldValues"); 01876 attrs.Type = ToNodeId("i=920"); 01877 attrs.Rank = -1; 01878 node.Attributes = attrs; 01879 registry.AddNodes(std::vector<AddNodesItem>{node}); 01880 std::vector<AddReferencesItem> refs; 01881 { 01882 AddReferencesItem ref; 01883 ref.IsForward = true; 01884 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01885 ref.SourceNodeId = ToNodeId("i=3030"); 01886 ref.TargetNodeClass = NodeClass::DataType; 01887 ref.TargetNodeId = ToNodeId("i=78"); 01888 refs.push_back(ref); 01889 } 01890 registry.AddReferences(refs); 01891 } 01892 01893 { 01894 AddNodesItem node; 01895 node.RequestedNewNodeId = ToNodeId("i=3006"); 01896 node.BrowseName = ToQualifiedName("AuditHistoryValueUpdateEventType"); 01897 node.Class = NodeClass::ObjectType; 01898 node.ParentNodeId = ToNodeId("i=2104"); 01899 node.ReferenceTypeId = ReferenceId::HasSubtype; 01900 ObjectTypeAttributes attrs; 01901 attrs.DisplayName = LocalizedText("AuditHistoryValueUpdateEventType"); 01902 attrs.IsAbstract = true; 01903 node.Attributes = attrs; 01904 registry.AddNodes(std::vector<AddNodesItem>{node}); 01905 std::vector<AddReferencesItem> refs; 01906 { 01907 AddReferencesItem ref; 01908 ref.IsForward = true; 01909 ref.ReferenceTypeId = ReferenceId::HasProperty; 01910 ref.SourceNodeId = ToNodeId("i=3006"); 01911 ref.TargetNodeClass = NodeClass::DataType; 01912 ref.TargetNodeId = ToNodeId("i=3026"); 01913 refs.push_back(ref); 01914 } 01915 { 01916 AddReferencesItem ref; 01917 ref.IsForward = true; 01918 ref.ReferenceTypeId = ReferenceId::HasProperty; 01919 ref.SourceNodeId = ToNodeId("i=3006"); 01920 ref.TargetNodeClass = NodeClass::DataType; 01921 ref.TargetNodeId = ToNodeId("i=3031"); 01922 refs.push_back(ref); 01923 } 01924 { 01925 AddReferencesItem ref; 01926 ref.IsForward = true; 01927 ref.ReferenceTypeId = ReferenceId::HasProperty; 01928 ref.SourceNodeId = ToNodeId("i=3006"); 01929 ref.TargetNodeClass = NodeClass::DataType; 01930 ref.TargetNodeId = ToNodeId("i=3032"); 01931 refs.push_back(ref); 01932 } 01933 { 01934 AddReferencesItem ref; 01935 ref.IsForward = true; 01936 ref.ReferenceTypeId = ReferenceId::HasProperty; 01937 ref.SourceNodeId = ToNodeId("i=3006"); 01938 ref.TargetNodeClass = NodeClass::DataType; 01939 ref.TargetNodeId = ToNodeId("i=3033"); 01940 refs.push_back(ref); 01941 } 01942 registry.AddReferences(refs); 01943 } 01944 01945 { 01946 AddNodesItem node; 01947 node.RequestedNewNodeId = ToNodeId("i=3026"); 01948 node.BrowseName = ToQualifiedName("UpdatedNode"); 01949 node.Class = NodeClass::Variable; 01950 node.ParentNodeId = ToNodeId("i=3006"); 01951 node.ReferenceTypeId = ReferenceId::HasProperty; 01952 node.TypeDefinition = ToNodeId("i=68"); 01953 VariableAttributes attrs; 01954 attrs.DisplayName = LocalizedText("UpdatedNode"); 01955 attrs.Type = ObjectId::NodeId; 01956 attrs.Rank = -1; 01957 node.Attributes = attrs; 01958 registry.AddNodes(std::vector<AddNodesItem>{node}); 01959 std::vector<AddReferencesItem> refs; 01960 { 01961 AddReferencesItem ref; 01962 ref.IsForward = true; 01963 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01964 ref.SourceNodeId = ToNodeId("i=3026"); 01965 ref.TargetNodeClass = NodeClass::DataType; 01966 ref.TargetNodeId = ToNodeId("i=78"); 01967 refs.push_back(ref); 01968 } 01969 registry.AddReferences(refs); 01970 } 01971 01972 { 01973 AddNodesItem node; 01974 node.RequestedNewNodeId = ToNodeId("i=3031"); 01975 node.BrowseName = ToQualifiedName("PerformInsertReplace"); 01976 node.Class = NodeClass::Variable; 01977 node.ParentNodeId = ToNodeId("i=3006"); 01978 node.ReferenceTypeId = ReferenceId::HasProperty; 01979 node.TypeDefinition = ToNodeId("i=68"); 01980 VariableAttributes attrs; 01981 attrs.DisplayName = LocalizedText("PerformInsertReplace"); 01982 attrs.Type = ToNodeId("i=11293"); 01983 attrs.Rank = -1; 01984 node.Attributes = attrs; 01985 registry.AddNodes(std::vector<AddNodesItem>{node}); 01986 std::vector<AddReferencesItem> refs; 01987 { 01988 AddReferencesItem ref; 01989 ref.IsForward = true; 01990 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 01991 ref.SourceNodeId = ToNodeId("i=3031"); 01992 ref.TargetNodeClass = NodeClass::DataType; 01993 ref.TargetNodeId = ToNodeId("i=78"); 01994 refs.push_back(ref); 01995 } 01996 registry.AddReferences(refs); 01997 } 01998 01999 { 02000 AddNodesItem node; 02001 node.RequestedNewNodeId = ToNodeId("i=3032"); 02002 node.BrowseName = ToQualifiedName("NewValues"); 02003 node.Class = NodeClass::Variable; 02004 node.ParentNodeId = ToNodeId("i=3006"); 02005 node.ReferenceTypeId = ReferenceId::HasProperty; 02006 node.TypeDefinition = ToNodeId("i=68"); 02007 VariableAttributes attrs; 02008 attrs.DisplayName = LocalizedText("NewValues"); 02009 attrs.Type = ToNodeId("i=23"); 02010 attrs.Rank = 1; 02011 node.Attributes = attrs; 02012 registry.AddNodes(std::vector<AddNodesItem>{node}); 02013 std::vector<AddReferencesItem> refs; 02014 { 02015 AddReferencesItem ref; 02016 ref.IsForward = true; 02017 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02018 ref.SourceNodeId = ToNodeId("i=3032"); 02019 ref.TargetNodeClass = NodeClass::DataType; 02020 ref.TargetNodeId = ToNodeId("i=78"); 02021 refs.push_back(ref); 02022 } 02023 registry.AddReferences(refs); 02024 } 02025 02026 { 02027 AddNodesItem node; 02028 node.RequestedNewNodeId = ToNodeId("i=3033"); 02029 node.BrowseName = ToQualifiedName("OldValues"); 02030 node.Class = NodeClass::Variable; 02031 node.ParentNodeId = ToNodeId("i=3006"); 02032 node.ReferenceTypeId = ReferenceId::HasProperty; 02033 node.TypeDefinition = ToNodeId("i=68"); 02034 VariableAttributes attrs; 02035 attrs.DisplayName = LocalizedText("OldValues"); 02036 attrs.Type = ToNodeId("i=23"); 02037 attrs.Rank = 1; 02038 node.Attributes = attrs; 02039 registry.AddNodes(std::vector<AddNodesItem>{node}); 02040 std::vector<AddReferencesItem> refs; 02041 { 02042 AddReferencesItem ref; 02043 ref.IsForward = true; 02044 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02045 ref.SourceNodeId = ToNodeId("i=3033"); 02046 ref.TargetNodeClass = NodeClass::DataType; 02047 ref.TargetNodeId = ToNodeId("i=78"); 02048 refs.push_back(ref); 02049 } 02050 registry.AddReferences(refs); 02051 } 02052 02053 { 02054 AddNodesItem node; 02055 node.RequestedNewNodeId = ToNodeId("i=3012"); 02056 node.BrowseName = ToQualifiedName("AuditHistoryDeleteEventType"); 02057 node.Class = NodeClass::ObjectType; 02058 node.ParentNodeId = ToNodeId("i=2104"); 02059 node.ReferenceTypeId = ReferenceId::HasSubtype; 02060 ObjectTypeAttributes attrs; 02061 attrs.DisplayName = LocalizedText("AuditHistoryDeleteEventType"); 02062 attrs.IsAbstract = true; 02063 node.Attributes = attrs; 02064 registry.AddNodes(std::vector<AddNodesItem>{node}); 02065 std::vector<AddReferencesItem> refs; 02066 { 02067 AddReferencesItem ref; 02068 ref.IsForward = true; 02069 ref.ReferenceTypeId = ReferenceId::HasProperty; 02070 ref.SourceNodeId = ToNodeId("i=3012"); 02071 ref.TargetNodeClass = NodeClass::DataType; 02072 ref.TargetNodeId = ToNodeId("i=3027"); 02073 refs.push_back(ref); 02074 } 02075 registry.AddReferences(refs); 02076 } 02077 02078 { 02079 AddNodesItem node; 02080 node.RequestedNewNodeId = ToNodeId("i=3027"); 02081 node.BrowseName = ToQualifiedName("UpdatedNode"); 02082 node.Class = NodeClass::Variable; 02083 node.ParentNodeId = ToNodeId("i=3012"); 02084 node.ReferenceTypeId = ReferenceId::HasProperty; 02085 node.TypeDefinition = ToNodeId("i=68"); 02086 VariableAttributes attrs; 02087 attrs.DisplayName = LocalizedText("UpdatedNode"); 02088 attrs.Type = ObjectId::NodeId; 02089 attrs.Rank = -1; 02090 node.Attributes = attrs; 02091 registry.AddNodes(std::vector<AddNodesItem>{node}); 02092 std::vector<AddReferencesItem> refs; 02093 { 02094 AddReferencesItem ref; 02095 ref.IsForward = true; 02096 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02097 ref.SourceNodeId = ToNodeId("i=3027"); 02098 ref.TargetNodeClass = NodeClass::DataType; 02099 ref.TargetNodeId = ToNodeId("i=78"); 02100 refs.push_back(ref); 02101 } 02102 registry.AddReferences(refs); 02103 } 02104 02105 { 02106 AddNodesItem node; 02107 node.RequestedNewNodeId = ToNodeId("i=3014"); 02108 node.BrowseName = ToQualifiedName("AuditHistoryRawModifyDeleteEventType"); 02109 node.Class = NodeClass::ObjectType; 02110 node.ParentNodeId = ToNodeId("i=3012"); 02111 node.ReferenceTypeId = ReferenceId::HasSubtype; 02112 ObjectTypeAttributes attrs; 02113 attrs.DisplayName = LocalizedText("AuditHistoryRawModifyDeleteEventType"); 02114 attrs.IsAbstract = true; 02115 node.Attributes = attrs; 02116 registry.AddNodes(std::vector<AddNodesItem>{node}); 02117 std::vector<AddReferencesItem> refs; 02118 { 02119 AddReferencesItem ref; 02120 ref.IsForward = true; 02121 ref.ReferenceTypeId = ReferenceId::HasProperty; 02122 ref.SourceNodeId = ToNodeId("i=3014"); 02123 ref.TargetNodeClass = NodeClass::DataType; 02124 ref.TargetNodeId = ToNodeId("i=3015"); 02125 refs.push_back(ref); 02126 } 02127 { 02128 AddReferencesItem ref; 02129 ref.IsForward = true; 02130 ref.ReferenceTypeId = ReferenceId::HasProperty; 02131 ref.SourceNodeId = ToNodeId("i=3014"); 02132 ref.TargetNodeClass = NodeClass::DataType; 02133 ref.TargetNodeId = ToNodeId("i=3016"); 02134 refs.push_back(ref); 02135 } 02136 { 02137 AddReferencesItem ref; 02138 ref.IsForward = true; 02139 ref.ReferenceTypeId = ReferenceId::HasProperty; 02140 ref.SourceNodeId = ToNodeId("i=3014"); 02141 ref.TargetNodeClass = NodeClass::DataType; 02142 ref.TargetNodeId = ToNodeId("i=3017"); 02143 refs.push_back(ref); 02144 } 02145 { 02146 AddReferencesItem ref; 02147 ref.IsForward = true; 02148 ref.ReferenceTypeId = ReferenceId::HasProperty; 02149 ref.SourceNodeId = ToNodeId("i=3014"); 02150 ref.TargetNodeClass = NodeClass::DataType; 02151 ref.TargetNodeId = ToNodeId("i=3034"); 02152 refs.push_back(ref); 02153 } 02154 registry.AddReferences(refs); 02155 } 02156 02157 { 02158 AddNodesItem node; 02159 node.RequestedNewNodeId = ToNodeId("i=3015"); 02160 node.BrowseName = ToQualifiedName("IsDeleteModified"); 02161 node.Class = NodeClass::Variable; 02162 node.ParentNodeId = ToNodeId("i=3014"); 02163 node.ReferenceTypeId = ReferenceId::HasProperty; 02164 node.TypeDefinition = ToNodeId("i=68"); 02165 VariableAttributes attrs; 02166 attrs.DisplayName = LocalizedText("IsDeleteModified"); 02167 attrs.Type = ObjectId::Boolean; 02168 attrs.Rank = -1; 02169 node.Attributes = attrs; 02170 registry.AddNodes(std::vector<AddNodesItem>{node}); 02171 std::vector<AddReferencesItem> refs; 02172 { 02173 AddReferencesItem ref; 02174 ref.IsForward = true; 02175 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02176 ref.SourceNodeId = ToNodeId("i=3015"); 02177 ref.TargetNodeClass = NodeClass::DataType; 02178 ref.TargetNodeId = ToNodeId("i=78"); 02179 refs.push_back(ref); 02180 } 02181 registry.AddReferences(refs); 02182 } 02183 02184 { 02185 AddNodesItem node; 02186 node.RequestedNewNodeId = ToNodeId("i=3016"); 02187 node.BrowseName = ToQualifiedName("StartTime"); 02188 node.Class = NodeClass::Variable; 02189 node.ParentNodeId = ToNodeId("i=3014"); 02190 node.ReferenceTypeId = ReferenceId::HasProperty; 02191 node.TypeDefinition = ToNodeId("i=68"); 02192 VariableAttributes attrs; 02193 attrs.DisplayName = LocalizedText("StartTime"); 02194 attrs.Type = ToNodeId("i=294"); 02195 attrs.Rank = -1; 02196 node.Attributes = attrs; 02197 registry.AddNodes(std::vector<AddNodesItem>{node}); 02198 std::vector<AddReferencesItem> refs; 02199 { 02200 AddReferencesItem ref; 02201 ref.IsForward = true; 02202 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02203 ref.SourceNodeId = ToNodeId("i=3016"); 02204 ref.TargetNodeClass = NodeClass::DataType; 02205 ref.TargetNodeId = ToNodeId("i=78"); 02206 refs.push_back(ref); 02207 } 02208 registry.AddReferences(refs); 02209 } 02210 02211 { 02212 AddNodesItem node; 02213 node.RequestedNewNodeId = ToNodeId("i=3017"); 02214 node.BrowseName = ToQualifiedName("EndTime"); 02215 node.Class = NodeClass::Variable; 02216 node.ParentNodeId = ToNodeId("i=3014"); 02217 node.ReferenceTypeId = ReferenceId::HasProperty; 02218 node.TypeDefinition = ToNodeId("i=68"); 02219 VariableAttributes attrs; 02220 attrs.DisplayName = LocalizedText("EndTime"); 02221 attrs.Type = ToNodeId("i=294"); 02222 attrs.Rank = -1; 02223 node.Attributes = attrs; 02224 registry.AddNodes(std::vector<AddNodesItem>{node}); 02225 std::vector<AddReferencesItem> refs; 02226 { 02227 AddReferencesItem ref; 02228 ref.IsForward = true; 02229 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02230 ref.SourceNodeId = ToNodeId("i=3017"); 02231 ref.TargetNodeClass = NodeClass::DataType; 02232 ref.TargetNodeId = ToNodeId("i=78"); 02233 refs.push_back(ref); 02234 } 02235 registry.AddReferences(refs); 02236 } 02237 02238 { 02239 AddNodesItem node; 02240 node.RequestedNewNodeId = ToNodeId("i=3034"); 02241 node.BrowseName = ToQualifiedName("OldValues"); 02242 node.Class = NodeClass::Variable; 02243 node.ParentNodeId = ToNodeId("i=3014"); 02244 node.ReferenceTypeId = ReferenceId::HasProperty; 02245 node.TypeDefinition = ToNodeId("i=68"); 02246 VariableAttributes attrs; 02247 attrs.DisplayName = LocalizedText("OldValues"); 02248 attrs.Type = ToNodeId("i=23"); 02249 attrs.Rank = 1; 02250 node.Attributes = attrs; 02251 registry.AddNodes(std::vector<AddNodesItem>{node}); 02252 std::vector<AddReferencesItem> refs; 02253 { 02254 AddReferencesItem ref; 02255 ref.IsForward = true; 02256 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02257 ref.SourceNodeId = ToNodeId("i=3034"); 02258 ref.TargetNodeClass = NodeClass::DataType; 02259 ref.TargetNodeId = ToNodeId("i=78"); 02260 refs.push_back(ref); 02261 } 02262 registry.AddReferences(refs); 02263 } 02264 02265 { 02266 AddNodesItem node; 02267 node.RequestedNewNodeId = ToNodeId("i=3019"); 02268 node.BrowseName = ToQualifiedName("AuditHistoryAtTimeDeleteEventType"); 02269 node.Class = NodeClass::ObjectType; 02270 node.ParentNodeId = ToNodeId("i=3012"); 02271 node.ReferenceTypeId = ReferenceId::HasSubtype; 02272 ObjectTypeAttributes attrs; 02273 attrs.DisplayName = LocalizedText("AuditHistoryAtTimeDeleteEventType"); 02274 attrs.IsAbstract = true; 02275 node.Attributes = attrs; 02276 registry.AddNodes(std::vector<AddNodesItem>{node}); 02277 std::vector<AddReferencesItem> refs; 02278 { 02279 AddReferencesItem ref; 02280 ref.IsForward = true; 02281 ref.ReferenceTypeId = ReferenceId::HasProperty; 02282 ref.SourceNodeId = ToNodeId("i=3019"); 02283 ref.TargetNodeClass = NodeClass::DataType; 02284 ref.TargetNodeId = ToNodeId("i=3020"); 02285 refs.push_back(ref); 02286 } 02287 { 02288 AddReferencesItem ref; 02289 ref.IsForward = true; 02290 ref.ReferenceTypeId = ReferenceId::HasProperty; 02291 ref.SourceNodeId = ToNodeId("i=3019"); 02292 ref.TargetNodeClass = NodeClass::DataType; 02293 ref.TargetNodeId = ToNodeId("i=3021"); 02294 refs.push_back(ref); 02295 } 02296 registry.AddReferences(refs); 02297 } 02298 02299 { 02300 AddNodesItem node; 02301 node.RequestedNewNodeId = ToNodeId("i=3020"); 02302 node.BrowseName = ToQualifiedName("ReqTimes"); 02303 node.Class = NodeClass::Variable; 02304 node.ParentNodeId = ToNodeId("i=3019"); 02305 node.ReferenceTypeId = ReferenceId::HasProperty; 02306 node.TypeDefinition = ToNodeId("i=68"); 02307 VariableAttributes attrs; 02308 attrs.DisplayName = LocalizedText("ReqTimes"); 02309 attrs.Type = ToNodeId("i=294"); 02310 attrs.Rank = 1; 02311 node.Attributes = attrs; 02312 registry.AddNodes(std::vector<AddNodesItem>{node}); 02313 std::vector<AddReferencesItem> refs; 02314 { 02315 AddReferencesItem ref; 02316 ref.IsForward = true; 02317 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02318 ref.SourceNodeId = ToNodeId("i=3020"); 02319 ref.TargetNodeClass = NodeClass::DataType; 02320 ref.TargetNodeId = ToNodeId("i=78"); 02321 refs.push_back(ref); 02322 } 02323 registry.AddReferences(refs); 02324 } 02325 02326 { 02327 AddNodesItem node; 02328 node.RequestedNewNodeId = ToNodeId("i=3021"); 02329 node.BrowseName = ToQualifiedName("OldValues"); 02330 node.Class = NodeClass::Variable; 02331 node.ParentNodeId = ToNodeId("i=3019"); 02332 node.ReferenceTypeId = ReferenceId::HasProperty; 02333 node.TypeDefinition = ToNodeId("i=68"); 02334 VariableAttributes attrs; 02335 attrs.DisplayName = LocalizedText("OldValues"); 02336 attrs.Type = ToNodeId("i=23"); 02337 attrs.Rank = 1; 02338 node.Attributes = attrs; 02339 registry.AddNodes(std::vector<AddNodesItem>{node}); 02340 std::vector<AddReferencesItem> refs; 02341 { 02342 AddReferencesItem ref; 02343 ref.IsForward = true; 02344 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02345 ref.SourceNodeId = ToNodeId("i=3021"); 02346 ref.TargetNodeClass = NodeClass::DataType; 02347 ref.TargetNodeId = ToNodeId("i=78"); 02348 refs.push_back(ref); 02349 } 02350 registry.AddReferences(refs); 02351 } 02352 02353 { 02354 AddNodesItem node; 02355 node.RequestedNewNodeId = ToNodeId("i=3022"); 02356 node.BrowseName = ToQualifiedName("AuditHistoryEventDeleteEventType"); 02357 node.Class = NodeClass::ObjectType; 02358 node.ParentNodeId = ToNodeId("i=3012"); 02359 node.ReferenceTypeId = ReferenceId::HasSubtype; 02360 ObjectTypeAttributes attrs; 02361 attrs.DisplayName = LocalizedText("AuditHistoryEventDeleteEventType"); 02362 attrs.IsAbstract = true; 02363 node.Attributes = attrs; 02364 registry.AddNodes(std::vector<AddNodesItem>{node}); 02365 std::vector<AddReferencesItem> refs; 02366 { 02367 AddReferencesItem ref; 02368 ref.IsForward = true; 02369 ref.ReferenceTypeId = ReferenceId::HasProperty; 02370 ref.SourceNodeId = ToNodeId("i=3022"); 02371 ref.TargetNodeClass = NodeClass::DataType; 02372 ref.TargetNodeId = ToNodeId("i=3023"); 02373 refs.push_back(ref); 02374 } 02375 { 02376 AddReferencesItem ref; 02377 ref.IsForward = true; 02378 ref.ReferenceTypeId = ReferenceId::HasProperty; 02379 ref.SourceNodeId = ToNodeId("i=3022"); 02380 ref.TargetNodeClass = NodeClass::DataType; 02381 ref.TargetNodeId = ToNodeId("i=3024"); 02382 refs.push_back(ref); 02383 } 02384 registry.AddReferences(refs); 02385 } 02386 02387 { 02388 AddNodesItem node; 02389 node.RequestedNewNodeId = ToNodeId("i=3023"); 02390 node.BrowseName = ToQualifiedName("EventIds"); 02391 node.Class = NodeClass::Variable; 02392 node.ParentNodeId = ToNodeId("i=3022"); 02393 node.ReferenceTypeId = ReferenceId::HasProperty; 02394 node.TypeDefinition = ToNodeId("i=68"); 02395 VariableAttributes attrs; 02396 attrs.DisplayName = LocalizedText("EventIds"); 02397 attrs.Type = ObjectId::ByteString; 02398 attrs.Rank = 1; 02399 node.Attributes = attrs; 02400 registry.AddNodes(std::vector<AddNodesItem>{node}); 02401 std::vector<AddReferencesItem> refs; 02402 { 02403 AddReferencesItem ref; 02404 ref.IsForward = true; 02405 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02406 ref.SourceNodeId = ToNodeId("i=3023"); 02407 ref.TargetNodeClass = NodeClass::DataType; 02408 ref.TargetNodeId = ToNodeId("i=78"); 02409 refs.push_back(ref); 02410 } 02411 registry.AddReferences(refs); 02412 } 02413 02414 { 02415 AddNodesItem node; 02416 node.RequestedNewNodeId = ToNodeId("i=3024"); 02417 node.BrowseName = ToQualifiedName("OldValues"); 02418 node.Class = NodeClass::Variable; 02419 node.ParentNodeId = ToNodeId("i=3022"); 02420 node.ReferenceTypeId = ReferenceId::HasProperty; 02421 node.TypeDefinition = ToNodeId("i=68"); 02422 VariableAttributes attrs; 02423 attrs.DisplayName = LocalizedText("OldValues"); 02424 attrs.Type = ToNodeId("i=920"); 02425 attrs.Rank = -1; 02426 node.Attributes = attrs; 02427 registry.AddNodes(std::vector<AddNodesItem>{node}); 02428 std::vector<AddReferencesItem> refs; 02429 { 02430 AddReferencesItem ref; 02431 ref.IsForward = true; 02432 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02433 ref.SourceNodeId = ToNodeId("i=3024"); 02434 ref.TargetNodeClass = NodeClass::DataType; 02435 ref.TargetNodeId = ToNodeId("i=78"); 02436 refs.push_back(ref); 02437 } 02438 registry.AddReferences(refs); 02439 } 02440 02441 { 02442 AddNodesItem node; 02443 node.RequestedNewNodeId = ToNodeId("i=891"); 02444 node.BrowseName = ToQualifiedName("Annotation"); 02445 node.Class = NodeClass::DataType; 02446 node.ParentNodeId = ToNodeId("i=22"); 02447 node.ReferenceTypeId = ReferenceId::HasSubtype; 02448 DataTypeAttributes attrs; 02449 attrs.DisplayName = LocalizedText("Annotation"); 02450 attrs.IsAbstract = false; 02451 node.Attributes = attrs; 02452 registry.AddNodes(std::vector<AddNodesItem>{node}); 02453 } 02454 02455 { 02456 AddNodesItem node; 02457 node.RequestedNewNodeId = ToNodeId("i=890"); 02458 node.BrowseName = ToQualifiedName("ExceptionDeviationFormat"); 02459 node.Class = NodeClass::DataType; 02460 node.ParentNodeId = ToNodeId("i=29"); 02461 node.ReferenceTypeId = ReferenceId::HasSubtype; 02462 DataTypeAttributes attrs; 02463 attrs.DisplayName = LocalizedText("ExceptionDeviationFormat"); 02464 attrs.IsAbstract = false; 02465 node.Attributes = attrs; 02466 registry.AddNodes(std::vector<AddNodesItem>{node}); 02467 std::vector<AddReferencesItem> refs; 02468 { 02469 AddReferencesItem ref; 02470 ref.IsForward = true; 02471 ref.ReferenceTypeId = ReferenceId::HasProperty; 02472 ref.SourceNodeId = ToNodeId("i=890"); 02473 ref.TargetNodeClass = NodeClass::DataType; 02474 ref.TargetNodeId = ToNodeId("i=7614"); 02475 refs.push_back(ref); 02476 } 02477 registry.AddReferences(refs); 02478 } 02479 02480 { 02481 AddNodesItem node; 02482 node.RequestedNewNodeId = ToNodeId("i=7614"); 02483 node.BrowseName = ToQualifiedName("EnumStrings"); 02484 node.Class = NodeClass::Variable; 02485 node.ParentNodeId = ToNodeId("i=890"); 02486 node.ReferenceTypeId = ReferenceId::HasProperty; 02487 node.TypeDefinition = ToNodeId("i=68"); 02488 VariableAttributes attrs; 02489 attrs.DisplayName = LocalizedText("EnumStrings"); 02490 attrs.Type = ObjectId::LocalizedText; 02491 attrs.Rank = 1; 02492 node.Attributes = attrs; 02493 registry.AddNodes(std::vector<AddNodesItem>{node}); 02494 std::vector<AddReferencesItem> refs; 02495 { 02496 AddReferencesItem ref; 02497 ref.IsForward = true; 02498 ref.ReferenceTypeId = ReferenceId::HasModellingRule; 02499 ref.SourceNodeId = ToNodeId("i=7614"); 02500 ref.TargetNodeClass = NodeClass::DataType; 02501 ref.TargetNodeId = ToNodeId("i=78"); 02502 refs.push_back(ref); 02503 } 02504 registry.AddReferences(refs); 02505 } 02506 02507 { 02508 AddNodesItem node; 02509 node.RequestedNewNodeId = ToNodeId("i=892"); 02510 node.BrowseName = ToQualifiedName("Default XML"); 02511 node.Class = NodeClass::Object; 02512 node.ParentNodeId = ToNodeId("i=891"); 02513 node.ReferenceTypeId = ReferenceId::HasEncoding; 02514 node.TypeDefinition = ToNodeId("i=76"); 02515 ObjectAttributes attrs; 02516 attrs.DisplayName = LocalizedText("Default XML"); 02517 attrs.EventNotifier = 0; 02518 node.Attributes = attrs; 02519 registry.AddNodes(std::vector<AddNodesItem>{node}); 02520 std::vector<AddReferencesItem> refs; 02521 { 02522 AddReferencesItem ref; 02523 ref.IsForward = true; 02524 ref.ReferenceTypeId = ReferenceId::HasDescription; 02525 ref.SourceNodeId = ToNodeId("i=892"); 02526 ref.TargetNodeClass = NodeClass::DataType; 02527 ref.TargetNodeId = ToNodeId("i=8879"); 02528 refs.push_back(ref); 02529 } 02530 registry.AddReferences(refs); 02531 } 02532 02533 { 02534 AddNodesItem node; 02535 node.RequestedNewNodeId = ToNodeId("i=893"); 02536 node.BrowseName = ToQualifiedName("Default Binary"); 02537 node.Class = NodeClass::Object; 02538 node.ParentNodeId = ToNodeId("i=891"); 02539 node.ReferenceTypeId = ReferenceId::HasEncoding; 02540 node.TypeDefinition = ToNodeId("i=76"); 02541 ObjectAttributes attrs; 02542 attrs.DisplayName = LocalizedText("Default Binary"); 02543 attrs.EventNotifier = 0; 02544 node.Attributes = attrs; 02545 registry.AddNodes(std::vector<AddNodesItem>{node}); 02546 std::vector<AddReferencesItem> refs; 02547 { 02548 AddReferencesItem ref; 02549 ref.IsForward = true; 02550 ref.ReferenceTypeId = ReferenceId::HasDescription; 02551 ref.SourceNodeId = ToNodeId("i=893"); 02552 ref.TargetNodeClass = NodeClass::DataType; 02553 ref.TargetNodeId = ToNodeId("i=8244"); 02554 refs.push_back(ref); 02555 } 02556 registry.AddReferences(refs); 02557 } 02558 02559 } 02560 02561 } // namespace 02562