|
@@ -82,7 +82,7 @@ void appMockup_init() {
|
|
|
references->description = UA_LOCALIZEDTEXT_STATIC("References");
|
|
|
references->isAbstract = UA_TRUE;
|
|
|
references->symmetric = UA_TRUE;
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&references, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&references, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hierarchicalreferences;
|
|
|
UA_ReferenceTypeNode_new(&hierarchicalreferences);
|
|
@@ -95,7 +95,7 @@ void appMockup_init() {
|
|
|
hierarchicalreferences->symmetric = UA_FALSE;
|
|
|
AddReference((UA_Node*)hierarchicalreferences, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_References, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hierarchicalreferences, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hierarchicalreferences, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *nonhierarchicalreferences;
|
|
|
UA_ReferenceTypeNode_new(&nonhierarchicalreferences);
|
|
@@ -108,7 +108,7 @@ void appMockup_init() {
|
|
|
nonhierarchicalreferences->symmetric = UA_FALSE;
|
|
|
AddReference((UA_Node*)nonhierarchicalreferences, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_References, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&nonhierarchicalreferences, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&nonhierarchicalreferences, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *haschild;
|
|
|
UA_ReferenceTypeNode_new(&haschild);
|
|
@@ -121,7 +121,7 @@ void appMockup_init() {
|
|
|
haschild->symmetric = UA_FALSE;
|
|
|
AddReference((UA_Node*)haschild, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&haschild, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&haschild, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *organizes;
|
|
|
UA_ReferenceTypeNode_new(&organizes);
|
|
@@ -135,7 +135,7 @@ void appMockup_init() {
|
|
|
organizes->inverseName = UA_LOCALIZEDTEXT_STATIC("OrganizedBy");
|
|
|
AddReference((UA_Node*)organizes, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&organizes, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&organizes, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *haseventsource;
|
|
|
UA_ReferenceTypeNode_new(&haseventsource);
|
|
@@ -149,7 +149,7 @@ void appMockup_init() {
|
|
|
haseventsource->inverseName = UA_LOCALIZEDTEXT_STATIC("EventSourceOf");
|
|
|
AddReference((UA_Node*)haseventsource, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&haseventsource, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&haseventsource, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasmodellingrule;
|
|
|
UA_ReferenceTypeNode_new(&hasmodellingrule);
|
|
@@ -163,7 +163,7 @@ void appMockup_init() {
|
|
|
hasmodellingrule->inverseName = UA_LOCALIZEDTEXT_STATIC("ModellingRuleOf");
|
|
|
AddReference((UA_Node*)hasmodellingrule, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasmodellingrule, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasmodellingrule, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasencoding;
|
|
|
UA_ReferenceTypeNode_new(&hasencoding);
|
|
@@ -177,7 +177,7 @@ void appMockup_init() {
|
|
|
hasencoding->inverseName = UA_LOCALIZEDTEXT_STATIC("EncodingOf");
|
|
|
AddReference((UA_Node*)hasencoding, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasencoding, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasencoding, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasdescription;
|
|
|
UA_ReferenceTypeNode_new(&hasdescription);
|
|
@@ -191,7 +191,7 @@ void appMockup_init() {
|
|
|
hasdescription->inverseName = UA_LOCALIZEDTEXT_STATIC("DescriptionOf");
|
|
|
AddReference((UA_Node*)hasdescription, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasdescription, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasdescription, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hastypedefinition;
|
|
|
UA_ReferenceTypeNode_new(&hastypedefinition);
|
|
@@ -205,7 +205,7 @@ void appMockup_init() {
|
|
|
hastypedefinition->inverseName = UA_LOCALIZEDTEXT_STATIC("TypeDefinitionOf");
|
|
|
AddReference((UA_Node*)hastypedefinition, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hastypedefinition, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hastypedefinition, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *generatesevent;
|
|
|
UA_ReferenceTypeNode_new(&generatesevent);
|
|
@@ -219,7 +219,7 @@ void appMockup_init() {
|
|
|
generatesevent->inverseName = UA_LOCALIZEDTEXT_STATIC("GeneratedBy");
|
|
|
AddReference((UA_Node*)generatesevent, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&generatesevent, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&generatesevent, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *aggregates;
|
|
|
UA_ReferenceTypeNode_new(&aggregates);
|
|
@@ -232,7 +232,7 @@ void appMockup_init() {
|
|
|
aggregates->symmetric = UA_FALSE;
|
|
|
AddReference((UA_Node*)aggregates, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HasChild, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&aggregates, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&aggregates, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hassubtype;
|
|
|
UA_ReferenceTypeNode_new(&hassubtype);
|
|
@@ -246,7 +246,7 @@ void appMockup_init() {
|
|
|
hassubtype->inverseName = UA_LOCALIZEDTEXT_STATIC("SubtypeOf");
|
|
|
AddReference((UA_Node*)hassubtype, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HasChild, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hassubtype, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hassubtype, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasproperty;
|
|
|
UA_ReferenceTypeNode_new(&hasproperty);
|
|
@@ -260,7 +260,7 @@ void appMockup_init() {
|
|
|
hasproperty->inverseName = UA_LOCALIZEDTEXT_STATIC("PropertyOf");
|
|
|
AddReference((UA_Node*)hasproperty, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_Aggregates, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasproperty, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasproperty, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hascomponent;
|
|
|
UA_ReferenceTypeNode_new(&hascomponent);
|
|
@@ -274,7 +274,7 @@ void appMockup_init() {
|
|
|
hascomponent->inverseName = UA_LOCALIZEDTEXT_STATIC("ComponentOf");
|
|
|
AddReference((UA_Node*)hascomponent, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_Aggregates, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hascomponent, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hascomponent, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasnotifier;
|
|
|
UA_ReferenceTypeNode_new(&hasnotifier);
|
|
@@ -288,7 +288,7 @@ void appMockup_init() {
|
|
|
hasnotifier->inverseName = UA_LOCALIZEDTEXT_STATIC("NotifierOf");
|
|
|
AddReference((UA_Node*)hasnotifier, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HasEventSource, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasnotifier, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasnotifier, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasorderedcomponent;
|
|
|
UA_ReferenceTypeNode_new(&hasorderedcomponent);
|
|
@@ -302,7 +302,7 @@ void appMockup_init() {
|
|
|
hasorderedcomponent->inverseName = UA_LOCALIZEDTEXT_STATIC("OrderedComponentOf");
|
|
|
AddReference((UA_Node*)hasorderedcomponent, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_HasComponent, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasorderedcomponent, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasorderedcomponent, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hasmodelparent;
|
|
|
UA_ReferenceTypeNode_new(&hasmodelparent);
|
|
@@ -316,7 +316,7 @@ void appMockup_init() {
|
|
|
hasmodelparent->inverseName = UA_LOCALIZEDTEXT_STATIC("ModelParentOf");
|
|
|
AddReference((UA_Node*)hasmodelparent, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hasmodelparent, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hasmodelparent, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *fromstate;
|
|
|
UA_ReferenceTypeNode_new(&fromstate);
|
|
@@ -330,7 +330,7 @@ void appMockup_init() {
|
|
|
fromstate->inverseName = UA_LOCALIZEDTEXT_STATIC("ToTransition");
|
|
|
AddReference((UA_Node*)fromstate, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&fromstate, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&fromstate, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *tostate;
|
|
|
UA_ReferenceTypeNode_new(&tostate);
|
|
@@ -344,7 +344,7 @@ void appMockup_init() {
|
|
|
tostate->inverseName = UA_LOCALIZEDTEXT_STATIC("FromTransition");
|
|
|
AddReference((UA_Node*)tostate, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&tostate, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&tostate, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hascause;
|
|
|
UA_ReferenceTypeNode_new(&hascause);
|
|
@@ -358,7 +358,7 @@ void appMockup_init() {
|
|
|
hascause->inverseName = UA_LOCALIZEDTEXT_STATIC("MayBeCausedBy");
|
|
|
AddReference((UA_Node*)hascause, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hascause, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hascause, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *haseffect;
|
|
|
UA_ReferenceTypeNode_new(&haseffect);
|
|
@@ -372,7 +372,7 @@ void appMockup_init() {
|
|
|
haseffect->inverseName = UA_LOCALIZEDTEXT_STATIC("MayBeEffectedBy");
|
|
|
AddReference((UA_Node*)haseffect, &(UA_ReferenceNode){RefTypeId_HasSubtype, UA_TRUE,
|
|
|
(UA_ExpandedNodeId){RefTypeId_NonHierarchicalReferences, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&haseffect, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&haseffect, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
UA_ReferenceTypeNode *hashistoricalconfiguration;
|
|
|
UA_ReferenceTypeNode_new(&hashistoricalconfiguration);
|
|
@@ -386,7 +386,7 @@ void appMockup_init() {
|
|
|
hashistoricalconfiguration->inverseName = UA_LOCALIZEDTEXT_STATIC("HistoricalConfigurationOf");
|
|
|
AddReference((UA_Node*)hashistoricalconfiguration, &(UA_ReferenceNode){RefTypeId_HasSubtype,
|
|
|
UA_TRUE, (UA_ExpandedNodeId){RefTypeId_Aggregates, UA_STRING_NULL, 0}}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&hashistoricalconfiguration, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&hashistoricalconfiguration, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
|
|
@@ -411,7 +411,7 @@ void appMockup_init() {
|
|
|
folderType->browseName = UA_QUALIFIEDNAME_STATIC("FolderType");
|
|
|
folderType->displayName = UA_LOCALIZEDTEXT_STATIC("FolderType");
|
|
|
folderType->description = UA_LOCALIZEDTEXT_STATIC("FolderType");
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&folderType, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&folderType, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_ObjectNode *root;
|
|
@@ -426,7 +426,7 @@ void appMockup_init() {
|
|
|
AddReference((UA_Node*)root, &(UA_ReferenceNode){RefTypeId_Organizes, UA_FALSE, ObjId_TypesFolder}, ns0);
|
|
|
AddReference((UA_Node*)root, &(UA_ReferenceNode){RefTypeId_Organizes, UA_FALSE, ObjId_ViewsFolder}, ns0);
|
|
|
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&root, NAMESPACE_INSERT_UNIQUE | NAMESPACE_INSERT_GETMANAGED);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&root, NAMESPACE_INSERT_UNIQUE | NAMESPACE_INSERT_GETMANAGED);
|
|
|
|
|
|
|
|
|
UA_ObjectNode *objects;
|
|
@@ -438,7 +438,7 @@ void appMockup_init() {
|
|
|
objects->description = UA_LOCALIZEDTEXT_STATIC("Objects");
|
|
|
AddReference((UA_Node*)objects, &(UA_ReferenceNode){RefTypeId_HasTypeDefinition, UA_FALSE, ObjTypeId_FolderType}, ns0);
|
|
|
AddReference((UA_Node*)objects, &(UA_ReferenceNode){RefTypeId_Organizes, UA_FALSE, ObjId_Server}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&objects, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&objects, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_ObjectNode *types;
|
|
@@ -449,7 +449,7 @@ void appMockup_init() {
|
|
|
types->displayName = UA_LOCALIZEDTEXT_STATIC("Types");
|
|
|
types->description = UA_LOCALIZEDTEXT_STATIC("Types");
|
|
|
AddReference((UA_Node*)types, &(UA_ReferenceNode){RefTypeId_HasTypeDefinition, UA_FALSE, ObjTypeId_FolderType}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&types, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&types, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_ObjectNode *views;
|
|
@@ -460,7 +460,7 @@ void appMockup_init() {
|
|
|
views->displayName = UA_LOCALIZEDTEXT_STATIC("Views");
|
|
|
views->description = UA_LOCALIZEDTEXT_STATIC("Views");
|
|
|
AddReference((UA_Node*)views, &(UA_ReferenceNode){RefTypeId_HasTypeDefinition, UA_FALSE, ObjTypeId_FolderType}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&views, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&views, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_ObjectNode *server;
|
|
@@ -474,7 +474,7 @@ void appMockup_init() {
|
|
|
AddReference((UA_Node*)server, &(UA_ReferenceNode){RefTypeId_HasComponent, UA_FALSE, ObjId_NamespaceArray}, ns0);
|
|
|
AddReference((UA_Node*)server, &(UA_ReferenceNode){RefTypeId_HasProperty, UA_FALSE, ObjId_ServerStatus}, ns0);
|
|
|
AddReference((UA_Node*)server, &(UA_ReferenceNode){RefTypeId_HasProperty, UA_FALSE, ObjId_ServerArray}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&server, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&server, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_VariableNode *namespaceArray;
|
|
@@ -498,7 +498,7 @@ void appMockup_init() {
|
|
|
namespaceArray->valueRank = 1;
|
|
|
namespaceArray->minimumSamplingInterval = 1.0;
|
|
|
namespaceArray->historizing = UA_FALSE;
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&namespaceArray, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&namespaceArray, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_VariableNode *serverstatus;
|
|
@@ -525,7 +525,7 @@ void appMockup_init() {
|
|
|
serverstatus->value.vt = &UA_.types[UA_SERVERSTATUSDATATYPE];
|
|
|
serverstatus->value.arrayLength = 1;
|
|
|
serverstatus->value.data = status;
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&serverstatus, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&serverstatus, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_VariableNode *state;
|
|
@@ -538,7 +538,7 @@ void appMockup_init() {
|
|
|
state->value.vt = &UA_borrowed_.types[UA_SERVERSTATE];
|
|
|
state->value.arrayLength = 1;
|
|
|
state->value.data = &status->state;
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&state, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&state, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
|
|
@@ -584,7 +584,7 @@ void appMockup_init() {
|
|
|
tmpNodeValue->vt = &UA_.types[UA_FLOAT];
|
|
|
|
|
|
AddReference((UA_Node*)root, &(UA_ReferenceNode){RefTypeId_Organizes, UA_FALSE, ObjId_temperature1}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&temperature1, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&temperature1, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_ExpandedNodeId ObjId_redLED = (UA_ExpandedNodeId){.nodeId = (UA_NodeId){.encodingByte = UA_NODEIDTYPE_TWOBYTE, .namespace = 0, .identifier.numeric = 109}, .namespaceUri = {-1, ((void *)0)}, .serverIndex = 0};
|
|
@@ -609,7 +609,7 @@ void appMockup_init() {
|
|
|
tmpNodeValue1->vt = &UA_.types[UA_BOOLEAN];
|
|
|
|
|
|
AddReference((UA_Node*)root, &(UA_ReferenceNode){RefTypeId_Organizes, UA_FALSE, ObjId_redLED}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&redLED, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&redLED, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
|
|
|
UA_ExpandedNodeId ObjId_yellowLED = (UA_ExpandedNodeId){.nodeId = (UA_NodeId){.encodingByte = UA_NODEIDTYPE_TWOBYTE, .namespace = 0, .identifier.numeric = 110}, .namespaceUri = {-1, ((void *)0)}, .serverIndex = 0};
|
|
@@ -634,7 +634,7 @@ void appMockup_init() {
|
|
|
tmpNodeValue2->vt = &UA_.types[UA_BOOLEAN];
|
|
|
|
|
|
AddReference((UA_Node*)root, &(UA_ReferenceNode){RefTypeId_Organizes, UA_FALSE, ObjId_yellowLED}, ns0);
|
|
|
- Namespace_insert(ns0,(const UA_Node**)&yellowLED, NAMESPACE_INSERT_UNIQUE);
|
|
|
+ Namespace_insert(ns0,(UA_Node**)&yellowLED, NAMESPACE_INSERT_UNIQUE);
|
|
|
|
|
|
Namespace_releaseManagedNode((const UA_Node*)root);
|
|
|
|