// the find
dathlin/OpcUaHelper
一个通用的opc ua客户端类库,基于.net 4.6.1创建,基于官方opc ua基金会跨平台库创建,封装了节点读写,批量节点读写,引用读取,特性读取,历史数据读取,方法调用,节点订阅,批量订阅等操作。还提供了一个节点浏览器工具。
A C# wrapper around the official OPC UA Foundation SDK that makes the most common client operations — read, write, subscribe, browse — significantly less painful to call. Targets .NET 4.6.1 with a WinForms node browser tool included. Aimed at industrial automation developers who need to talk to OPC UA servers without wading through the foundation SDK's verbose API.
The generic ReadNode<T> and batch ReadNodes<T> APIs hide a lot of the SDK's type-unwrapping boilerplate, which is genuinely tedious to write by hand. Subscription management with named keys (AddSubscription/RemoveSubscription by string key) is a practical pattern that maps well to real UI scenarios. The WinForms FormBrowseServer tool is immediately useful — you need to know node IDs before you can do anything, and having a live browser built in saves a lot of setup time. History read, attribute read, and reference browse are all covered, so this isn't just a basic read/write shim.
Still targets .NET 4.6.1; the OpcUaHelper.Standard project exists in the tree but the main library hasn't moved to modern .NET, which is a problem if you're building anything beyond WinForms. The repo includes DLLs checked into OpcUaServerSample/Dll, which is a red flag for any production codebase. Reconnection and session recovery after server restart aren't mentioned anywhere in the README or visible in the tree — industrial environments drop connections and you're on your own. The subscription API requires callers to manually track node arrays to correlate callbacks to nodes, which the README example makes look messier than it should be.