Zeus.Protocols.OpcUa
0.20.0
dotnet add package Zeus.Protocols.OpcUa --version 0.20.0
NuGet\Install-Package Zeus.Protocols.OpcUa -Version 0.20.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Zeus.Protocols.OpcUa" Version="0.20.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zeus.Protocols.OpcUa" Version="0.20.0" />
<PackageReference Include="Zeus.Protocols.OpcUa" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Zeus.Protocols.OpcUa --version 0.20.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Zeus.Protocols.OpcUa, 0.20.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Zeus.Protocols.OpcUa@0.20.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Zeus.Protocols.OpcUa&version=0.20.0
#tool nuget:?package=Zeus.Protocols.OpcUa&version=0.20.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Zeus
居于奥林匹斯,统御每一台设备。
面向 .NET 的上位机开发框架。通信、协议、点表和生命周期由框架处理;WinForms、WPF 和控制台都可以作为界面。
把复杂留给 Zeus,把简单留给用户。
await using var app = ZeusHost.Create(builder =>
{
builder.AddVirtualChannel("meter");
// 有硬件时:builder.AddSerialPort("meter", "COM3", 115200);
});
await app.StartAsync();
最快创建项目:
dotnet new install Zeus.Templates
dotnet new zeus-console -n ZeusCheck
dotnet new zeus-winforms -n MyPanel
dotnet new zeus-wpf -n MyPanel.Wpf
dotnet new zeus-modbus -n MyOven
按功能选择程序集:
使用 Zeus.Configuration 时,channels / devices / points 根层只保留结构字段;端口、从站地址、点位地址、缩放和写回等协议参数统一写入对应对象的 options。
| 包 | 用途 |
|---|---|
| Zeus.Abstractions | 通道、设备、点表与宿主契约 |
| Zeus.Runtime | 运行时内核 |
| Zeus.Hosting | 宿主与采集循环 |
| Zeus.Communications | 串口 / TCP / UDP / 虚拟通道 |
| Zeus.Protocols.Framing | 自定义帧 |
| Zeus.Protocols.Modbus | Modbus RTU / TCP / ASCII |
| Zeus.Protocols.Mc | Mitsubishi MC |
| Zeus.Protocols.S7 | Siemens S7 |
| Zeus.Protocols.Fins | Omron FINS |
| Zeus.Protocols.HostLink | Omron Host Link |
| Zeus.Protocols.Mewtocol | Panasonic MEWTOCOL |
| Zeus.Protocols.EtherNetIp | Allen-Bradley EtherNet/IP |
| Zeus.Protocols.Dlt645 | DL/T 645-2007 |
| Zeus.Protocols.Iec104 | IEC 60870-5-104 |
| Zeus.Protocols.Mqtt | MQTT 3.1.1 |
| Zeus.Protocols.OpcUa | OPC UA |
| Zeus.Protocols.Snmp | SNMP v2c |
| Zeus.Configuration | JSON 工程配置(不拖协议;请同时引用所用协议包) |
| Zeus.Presentation.Abstractions | UI 无关绑定 |
| Zeus.Presentation.WinForms | WinForms 绑定 |
| Zeus.Presentation.Wpf | WPF 绑定 |
| Zeus.Templates | dotnet new 项目模板 |
手册:docs.greekmythology.cn · QQ 群:771421105
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- Zeus.Abstractions (>= 0.20.0)
- Zeus.Configuration (>= 0.20.0)
- Zeus.Hosting (>= 0.20.0)
- Zeus.Runtime (>= 0.20.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.20.0 | 39 | 8/25/2026 |
0.20.0:新增 Zeus.Protocols.OpcUa,支持 opc.tcp、SecurityPolicy None、匿名或用户名密码、会话、批量 Value 读写、NodeId 点表、JSON 配置和虚拟 Server 联调。