Zeus.Hosting 0.13.0

dotnet add package Zeus.Hosting --version 0.13.0
                    
NuGet\Install-Package Zeus.Hosting -Version 0.13.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.Hosting" Version="0.13.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zeus.Hosting" Version="0.13.0" />
                    
Directory.Packages.props
<PackageReference Include="Zeus.Hosting" />
                    
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.Hosting --version 0.13.0
                    
#r "nuget: Zeus.Hosting, 0.13.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.Hosting@0.13.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.Hosting&version=0.13.0
                    
Install as a Cake Addin
#tool nuget:?package=Zeus.Hosting&version=0.13.0
                    
Install as a Cake Tool

Zeus

NuGet Downloads .NET License: MIT

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

面向 .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 downloads 通道、设备、点表与宿主契约
Zeus.Runtime nuget downloads 运行时内核:通道状态机、设备基类与点表
Zeus.Hosting nuget downloads 宿主与采集循环
Zeus.Communications nuget downloads 串口 / TCP / UDP 客户端与服务端 / 虚拟通道
Zeus.Protocols.Framing nuget downloads 自定义帧
Zeus.Protocols.Modbus nuget downloads Modbus RTU/TCP/ASCII
Zeus.Protocols.Mc nuget downloads Mitsubishi MC 1E/3E/4E Binary/ASCII,3E/4E 随机读写
Zeus.Protocols.S7 nuget downloads Siemens S7 TCP,读写 DB/I/Q/M 区常用类型
Zeus.Protocols.Fins nuget downloads Omron FINS UDP/TCP,读写 CIO/WR/HR/AR/DM/EM/TIM-CNT 区
Zeus.Protocols.HostLink nuget downloads Omron Host Link ASCII,读写 CIO/LR/HR/AR/DM 区
Zeus.Protocols.Mewtocol nuget downloads Panasonic MEWTOCOL-COM,读写 DT/LD/FL 数据寄存器和 X/Y/R/L 接点字
Zeus.Protocols.EtherNetIp nuget downloads Allen-Bradley EtherNet/IP CIP,读写标量标签与 CIP 属性
Zeus.Protocols.Dlt645 nuget downloads DL/T 645-2007 电能表,读写 BCD 数据项与原始数据项
Zeus.Protocols.Iec104 nuget downloads IEC 60870-5-104,支持总召唤、单点命令和常用测量/设点类型
Zeus.Configuration nuget downloads JSON 工程配置
Zeus.Presentation.Abstractions nuget downloads UI 无关绑定抽象、PointBindingSource 与点表快照绑定
Zeus.Presentation.WinForms nuget downloads WinForms 绑定、点表报警色与写回按钮绑定
Zeus.Presentation.Wpf nuget downloads WPF 绑定、点表报警色与写回按钮绑定

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

0.13 起支持 IEC 60870-5-104、总召唤、单点命令、常用测量/设点类型、虚拟站与 JSON 配置;0.12 起支持 DL/T 645-2007 电能表、BCD 数据项、原始数据项、虚拟表计与 JSON 配置;0.11 起支持 Modbus ASCII、LRC 校验、虚拟从站与 JSON 配置;0.10 起支持 Panasonic MEWTOCOL-COM、DT/LD/FL 数据寄存器、X/Y/R/L 接点字、虚拟 PLC 与 JSON 配置;0.9 起支持 Omron Host Link ASCII、CIO/LR/HR/AR/DM 字区读写、虚拟 PLC 与 JSON 配置;0.8 起支持 Allen-Bradley EtherNet/IP CIP、标签读写、CIP 属性访问、虚拟 PLC 与 JSON 配置;0.7 起支持 Omron FINS UDP/TCP、FINS/TCP 节点地址握手、FINS 虚拟 PLC 与 JSON 配置;0.6 起支持点表 PointBindingSourcePointHistoryBindingSource、快照绑定、历史绑定、报警色绑定和写回按钮绑定;0.5 起支持 TCP 服务端、Mitsubishi MC、Siemens S7 TCP 与虚拟 PLC;0.4 起支持 Modbus 功能码 17、UDP 服务端、ChannelTraceLoggerBindEnabled;0.3 起可写点走 Points.WriteAsync;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 (14)

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

Package Downloads
Zeus.Communications

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

Zeus.Protocols.Framing

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

Zeus.Protocols.Modbus

Zeus Modbus RTU/TCP/ASCII 客户端、内存从站与声明式点表采集。

Zeus.Presentation.Wpf

Zeus WPF 适配器:AttachZeus、BindTo、AsBindingSource 与 Dispatcher 封送。

Zeus.Presentation.WinForms

Zeus WinForms 适配器:AttachZeus、BindTo 与 UI 线程封送。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.13.0 6 8/18/2026
0.12.0 11 8/18/2026
0.11.0 8 8/18/2026
0.10.0 28 8/18/2026
0.9.0 50 8/18/2026
0.8.0 56 8/18/2026
0.7.0 85 8/17/2026
0.6.0 81 8/17/2026
0.5.0 87 8/17/2026
0.4.0 90 8/14/2026
0.3.0 99 8/14/2026
0.2.0 85 8/14/2026
0.1.0 94 8/14/2026
0.1.0-preview 80 8/13/2026

0.13.0:新增 IEC 60870-5-104 协议栈,支持 STARTDT、总召唤、单点命令、归一化/标度化/短浮点设点、虚拟站、点表采集、JSON 配置与示例。