Zeus.Abstractions 0.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Zeus.Abstractions --version 0.4.0
                    
NuGet\Install-Package Zeus.Abstractions -Version 0.4.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.Abstractions" Version="0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zeus.Abstractions" Version="0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Zeus.Abstractions" />
                    
Project file
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.Abstractions --version 0.4.0
                    
#r "nuget: Zeus.Abstractions, 0.4.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.Abstractions@0.4.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.Abstractions&version=0.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Zeus.Abstractions&version=0.4.0
                    
Install as a Cake Tool

Zeus

居于奥林匹斯,统御每一台设备。

面向 .NET 的上位机开发框架。通信、协议、点表和生命周期由框架处理;WinForms、WPF 和控制台都可以作为界面。

把复杂留给 Zeus,把简单留给用户。

await using var app = ZeusHost.Create(builder =>
{
    builder.AddVirtualChannel("meter");
    // 有硬件时:builder.AddSerialPort("meter", "COM3", 115200);
});
await app.StartAsync();

按功能选择程序集:

包 版本 用途
Zeus.Abstractions nuget 通道、设备、点表与宿主契约
Zeus.Runtime nuget 运行时内核:通道状态机、设备基类与点表
Zeus.Hosting nuget 宿主与采集循环
Zeus.Communications nuget 串口 / TCP / UDP 客户端与服务端 / 虚拟通道
Zeus.Protocols.Framing nuget 自定义帧
Zeus.Protocols.Modbus nuget Modbus RTU/TCP
Zeus.Configuration nuget JSON 工程配置
Zeus.Presentation.Abstractions nuget UI 无关绑定抽象
Zeus.Presentation.WinForms nuget WinForms 绑定
Zeus.Presentation.Wpf nuget WPF 绑定

点表支持最近成功采样历史、报警限,以及按点名写回可写点,适合在界面上直接显示当前值、采集错误和高低报,并下发设定值。

0.4 起支持 Modbus 功能码 17、UDP 服务端、ChannelTraceLogger 与 BindEnabled;0.3 起可写点走 Points.WriteAsync;0.2 起宿主停止后可再次启动,通道故障默认自动重连,运行中可增删通道与设备,JSON 监视会同步拓扑。

0.2 起宿主停止后可再次启动;通道故障默认自动重连;运行中可增删通道与设备;JSON 监视会同步拓扑。

通道支持 PacketTraced 报文追踪事件与 ChannelTraceBuffer 滚动内存记录器,可直接接入通信诊断窗口或现场故障快照。

手册:docs.greekmythology.cn · QQ 群:771421105

Product 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.

NuGet packages (18)

Showing the top 5 NuGet packages that depend on Zeus.Abstractions:

Package Downloads
Zeus.Runtime

Zeus 运行时内核:通道状态机、设备基类与点表。UI 无关。包标识为 Zeus.Runtime,因 nuget.org 上 Zeus.Core 已被占用。

Zeus.Hosting

Zeus 宿主:ZeusHost.Create、可再次启动的生命周期、运行中增删与周期采集循环。

Zeus.Communications

Zeus 传输层:串口、TCP/UDP 客户端与服务端、可挂从站应答器的虚拟通道。

Zeus.Configuration

Zeus JSON 工程配置:装载通道/设备/点表,并热更新采集、重连与拓扑。不引用协议实现,请同时引用所用协议包。

Zeus.Protocols.Framing

Zeus 自定义帧:粘包拆包、长度域、校验与请求-响应会话。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.20.1 521 8/28/2026
0.20.0 425 8/25/2026
0.19.0 433 8/24/2026
0.18.0 470 8/21/2026
0.17.0 468 8/21/2026
0.16.0 462 8/20/2026
0.15.0 441 8/19/2026
0.14.0 447 8/19/2026
0.13.0 380 8/18/2026
0.12.0 383 8/18/2026
0.11.0 346 8/18/2026
0.10.0 361 8/18/2026
0.9.0 353 8/18/2026
0.8.0 336 8/18/2026
0.7.0 319 8/17/2026
0.6.0 297 8/17/2026
0.5.0 282 8/17/2026
0.4.0 242 8/14/2026
0.3.0 241 8/14/2026
0.2.0 243 8/14/2026
Loading failed

0.4.0:新增 Modbus 功能码 17 读写多个保持寄存器;新增 UDP 服务端通道与 JSON type udp-server;新增 ChannelTraceLogger 结构化报文日志;WinForms/WPF 新增 BindEnabled。