Repository navigation
Releases
v1.2.0
稳定性与数据准确性更新。完整变更见 CHANGELOG。
重点修复
- 输入退出密码后进程不退出、残留进程继续连接 PLC;Alt+F4 可以绕过退出密码
- 看门狗无法结束卡死的主程序
- 握手模式断线重连后丢失断线期间的件数;PLC 能连上但读不了时每秒反复重连几十次
- 分钟聚合漏数导致本周 / 本月 / 本年累计偏少(升级时自动用原始数据补全)
- 新增班次或应用模板后班次没有班组,这些班次的产量被丢弃
- 同一年再次归档会覆盖之前的归档和清库前备份
- 窗口小于 1920×1080 时界面被截断;2K / 4K 屏字太小
升级说明
- 升级后首次启动会自动执行数据库迁移 v3、v4,数据量大时这次启动会慢一些
- 班组配置页里每个班次都需要选择班组才能保存
- 班次切换检测间隔默认改为 1 秒(
Shift:CheckIntervalMs)
下载
下方的 ProductionDashboard-v1.2.0-win-x64.zip 由 GitHub Actions 在发布后自动构建并附加(约几分钟)。解压后按现场修改 appsettings.json,双击 ProductionDashboard.exe 即可运行,无需安装 .NET。
A stability and data-accuracy release. See the CHANGELOG for every change.
Highlights
- The process kept running after the correct exit password and kept polling the PLC; Alt+F4 bypassed the exit password
- The watchdog could not kill a hung main program
- Handshake mode lost the parts counted while disconnected; a PLC that accepted connections but failed reads caused dozens of reconnects per second
- Gaps in minute aggregation undercounted the week / month / year totals (backfilled from raw data on upgrade)
- New shifts added manually or from a template had no team, so their output was discarded
- Archiving the same year again overwrote the earlier archive and pre-purge backup
- The UI was cut off below 1920×1080 and looked tiny on 2K / 4K screens
Upgrade notes
- The first start after upgrading runs database migrations v3 and v4; with a large database this start takes longer
- Every shift on the configuration page needs a team before saving
- The shift-change check interval now defaults to 1 second (
Shift:CheckIntervalMs)
Download
ProductionDashboard-v1.2.0-win-x64.zip below is built and attached by GitHub Actions a few minutes after publishing. Unzip it, edit appsettings.json for the site and run ProductionDashboard.exe. No .NET installation needed.
v1.1.0 · 首次发布 / Initial release
通用生产统计大屏:Siemens S7 PLC 完成信号实时计数,班次 / 班组归属,本小时至本年 5 维看板,班次结束自动导出 Excel。
A general-purpose production statistics wall display: real-time counting of Siemens S7 PLC completion signals, shift and team attribution, hour-to-year dashboards, and automatic Excel export.
下载 / Download
ProductionDashboard-v1.1.0-win-x64.zip(见下方 Assets,发布后由 GitHub Actions 自动构建并附加 / see Assets below, built and attached automatically by GitHub Actions)
- Windows 10 / 11 x64,无需安装 .NET / no .NET installation needed
- 解压后按现场修改
appsettings.json(PLC IP、工厂名),双击ProductionDashboard.exe运行 / Unzip, editappsettings.jsonfor the site (PLC IP, factory name), then runProductionDashboard.exe ⚠️ 默认口令仅供测试,部署前请用环境变量Display__ExitPassword/Display__LeaderPassword设置强口令 / The default passwords are for testing only; set strong ones through these environment variables before deployment
主要功能 / Highlights
- Edge(上升沿 + 去抖)与 Handshake(零漏读)两种 PLC 采样模式 / Edge (rising edge + debounce) and Handshake (zero missed counts) PLC sampling
- 本小时 / 今日 / 本周 / 本月 / 本年 5 维看板,含目标完成度与趋势对比 / Five dashboard dimensions with target completion and trends
- 班次与班组完全可配置,倒班后产量跟班组走 / Fully configurable shifts and teams; output stays with the team after a swap
- 断电续传、跨年归档、看门狗自恢复、审计日志 / Resume after power loss, yearly archiving, watchdog self-recovery, audit log
- 深色 / 浅色主题 / Dark and light themes
文档 / Docs
README · English README · 架构与开发规范 / Architecture · 更新日志 / Changelog