Companion Specs #1491
Replies: 2 comments
-
Parsing and loading a UANodeSet file is pretty much the standard way to do this in any OPC UA SDK, AFAIK. I have some early WIP code for working with nodeset files here: https://github.com/digitalpetri/uanodeset The demo server uses it to load the DataTypeTest[1][2] namespace via UANodeSet file: https://github.com/digitalpetri/opc-ua-demo-server/blob/1.0/src/main/java/com/digitalpetri/opcua/server/namespace/test/DataTypeTestNamespace.java [1] https://github.com/digitalpetri/DataTypeTest |
Beta Was this translation helpful? Give feedback.
-
lets say, i create the java classes separately using a nodeset parser and during the build time i want to link them to a namespace object. In that case, how can I load them into a namespace? With this approach, I can create multiple libraries for different versions of a companion spec models and reuse them based on requirements of my custom model . Custom models often have version-specific dependency. This can be also applied to the base model as there are multiple versions available. Although i am not sure if that's possible with milo. One of the drawbacks of build time node generation is that it's difficult to implement methods. Nodeset files only contain the method input and output arguments. the body of the method should be implemented manually. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use companion specifications in my OPC UA server. Is there a way to integrate them?
I tried to parse a comp spec nodeset file and create nodes dynamically. What other options do I have?
Beta Was this translation helpful? Give feedback.
All reactions