Zeus.Presentation.WinForms
0.20.1
dotnet add package Zeus.Presentation.WinForms --version 0.20.1
NuGet\Install-Package Zeus.Presentation.WinForms -Version 0.20.1
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.Presentation.WinForms" Version="0.20.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zeus.Presentation.WinForms" Version="0.20.1" />
<PackageReference Include="Zeus.Presentation.WinForms" />
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.Presentation.WinForms --version 0.20.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Zeus.Presentation.WinForms, 0.20.1"
#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.Presentation.WinForms@0.20.1
#: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.Presentation.WinForms&version=0.20.1
#tool nuget:?package=Zeus.Presentation.WinForms&version=0.20.1
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-windows7.0 is compatible. net9.0-windows 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-windows7.0
- Zeus.Hosting (>= 0.20.1)
- Zeus.Presentation.Abstractions (>= 0.20.1)
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.1 | 135 | 8/28/2026 |
| 0.20.0 | 129 | 8/25/2026 |
| 0.19.0 | 121 | 8/24/2026 |
| 0.18.0 | 116 | 8/21/2026 |
| 0.17.0 | 121 | 8/21/2026 |
| 0.16.0 | 124 | 8/20/2026 |
| 0.15.0 | 117 | 8/19/2026 |
| 0.14.0 | 121 | 8/19/2026 |
| 0.13.0 | 116 | 8/18/2026 |
| 0.12.0 | 110 | 8/18/2026 |
| 0.11.0 | 121 | 8/18/2026 |
| 0.10.0 | 115 | 8/18/2026 |
| 0.9.0 | 125 | 8/18/2026 |
| 0.8.0 | 116 | 8/18/2026 |
| 0.7.0 | 122 | 8/17/2026 |
| 0.6.0 | 119 | 8/17/2026 |
| 0.5.0 | 124 | 8/17/2026 |
| 0.4.0 | 119 | 8/14/2026 |
| 0.3.0 | 122 | 8/14/2026 |
| 0.2.0 | 113 | 8/14/2026 |
Loading failed
0.20.1:修复取消与协议超时区分、运行期拓扑回滚、报警搁置/解除抑制、点表时间戳刷新、通道/点表/报警/注册表/重连事件隔离与 TCP 服务端广播取消语义。