-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to implement a method to a node that load from a xml nodeset file #2918
Comments
@xky0007 https://github.com/OPCFoundation/UA-ModelCompiler Afterwards you could override the LoadPredefined Nodes method to load the generated nodes:
Now you override the AddBehaviourToPredefined Nodes method to link you implementation:
Hope this helps. |
@romanett Thanks. I override the
|
@xky0007 if you define the method in your nodeset2 xml with input arguments then the modelCompiler will create an override for MethodState with an intialization vector that represents the arguments, therefore the client will know the input / output arguments, then you can use this code to intialize:
|
Type of issue
Current Behavior
How to implement a method to a node that load from a xml nodeset file?
I know the nsu and id for the method node. How to bind it to C# method?
Thanks.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: