1

I am using OPCFoundation.NetStandard.Opc.Ua.Server (version 1.5.377.22) and would like to:

  1. Create a structure data type on the server.
  2. Create a variable node of that data type on the server.
  3. Set values for the variable on the server.

I want to do this programmatically in C#, without modelling node sets in another tool.

For demonstration purposes, the structure can be defined by a C# class Person, but I eventually want to create more complex classes containing enumerations and nested structures.

class Person  
{  
    string Name;  
    int Age;  
}

I'm basically looking for an answer like .net - How can I define an enum type in OPC-UA server? which perfectly did the job for enumerations.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.