The assignment of the node name to the pin name is defined with class NodePinConfig. In some situations, however, it makes sense to assign a fixed variable to the node. A pin is not needed in this case. For this task, the class NodePinConfig is extended by a variables.
The pin name is empty and the variable exist in NodePinConfig:
a) set hardware context to nullptr (We dont use a hardware context in this case)
b) set existing variable from NodePinConfig in node context
The node context is null and the variable exist in node context
a) do not register service functions
b) Use variable in node context to set variable in opc ua information model
The assignment of the node name to the pin name is defined with class NodePinConfig. In some situations, however, it makes sense to assign a fixed variable to the node. A pin is not needed in this case. For this task, the class NodePinConfig is extended by a variables.
ToDo: Class NodePinConfig (https://github.com/ASNeG/OpcUaPiXtendServer/blob/Release1/src/OpcUaPiXtendServer/OpcUaServer/PiXtendBaseServer.h#L33)
ToDo: Class NodeContext (https://github.com/ASNeG/OpcUaPiXtendServer/blob/Release1/src/OpcUaPiXtendServer/OpcUaServer/NodeContext.h#L30)
ToDo: Function PiXtendBaseServer::createNodeContext (https://github.com/ASNeG/OpcUaPiXtendServer/blob/Release1/src/OpcUaPiXtendServer/OpcUaServer/PiXtendBaseServer.cpp#L138)
ToDo: Function PiXtendBaseServer::registerServiceFunctions (https://github.com/ASNeG/OpcUaPiXtendServer/blob/Release1/src/OpcUaPiXtendServer/OpcUaServer/PiXtendBaseServer.cpp#L193)