简体   繁体   English

OPC UA 服务器 .Net 标准

[英]OPC UA Server .Net Standard

I'm new to programming (C#) and OPC UA.我是编程 (C#) 和 OPC UA 的新手。 I'm using UA-.NETStandard-Samples https://github.com/OPCFoundation/UA-.NETStandard-Samples/tree/master/Samples .我正在使用 UA-.NETStandard-Samples https://github.com/OPCFoundation/UA-.NETStandard-Samples/tree/master/Samples I notzed that NetCoreConsoleServer doesn't define NameSpace or Nods.我注意到 NetCoreConsoleServer 没有定义 NameSpace 或 Nods。 And I'm trying to create/ define a NameSpace or add Nodes to the Server (detailed steps).我正在尝试创建/定义一个命名空间或向服务器添加节点(详细步骤)。

You can have a look at the boiler server example .您可以查看锅炉服务器示例 The BoilerNodeManager.cs file contains the code sections to create Namespace, Nodes and add them to the Server Address Space. BoilerNodeManager.cs文件包含用于创建命名空间、节点并将它们添加到服务器地址空间的代码部分。 Hope this answers your question.希望这能回答你的问题。

If you are looking for any other hands-on information on OPC UA, you can also check out the open62541 stack (C stack | Mozilla License | Embedded ready | TSN ready):如果您正在寻找有关 OPC UA 的任何其他动手信息,您还可以查看 open62541 堆栈(C 堆栈 | Mozilla 许可证 | 嵌入式就绪 | TSN 就绪):

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM