PmuSim v0.9.0
PmuSim — PMU 主站模拟器 / PMU Master Station Simulator
🇨🇳 中国大陆用户: 首次从旧版升级若失败, 请直接从镜像下载安装包 (新版本起更新检查会自动走 proxy):
https://ghfast.top/https://github.com/Karl-Dai/PmuSim/releases/latest
🌍 Users in mainland China: if the in-app updater fails on first upgrade from a previous version, download installers from the mirror above (later versions will auto-fallback through proxies).
下载 / Downloads
下方资产里按平台选择 / Pick the asset for your platform below.
主站 PmuSim — PMU Master Station
| 平台 / Platform | 文件名 / Asset |
|---|---|
| macOS Apple Silicon | PmuSim_0.9.0_aarch64.dmg |
| macOS Intel | PmuSim_0.9.0_x64.dmg |
| Windows x64 (NSIS) | PmuSim_0.9.0_x64-setup.exe |
| Windows x64 (MSI) | PmuSim_0.9.0_x64_en-US.msi |
| Windows ARM64 (NSIS) | PmuSim_0.9.0_arm64-setup.exe |
| Linux AppImage | PmuSim_0.9.0_amd64.AppImage |
| Linux deb | PmuSim_0.9.0_amd64.deb |
| Linux rpm | PmuSim-0.9.0-1.x86_64.rpm |
子站 PmuSub — PMU Substation (data sender)
| 平台 / Platform | 文件名 / Asset |
|---|---|
| macOS Apple Silicon | PmuSub_0.9.0_aarch64.dmg |
| macOS Intel | PmuSub_0.9.0_x64.dmg |
| Windows x64 (NSIS) | PmuSub_0.9.0_x64-setup.exe |
| Windows x64 (MSI) | PmuSub_0.9.0_x64_en-US.msi |
| Linux AppImage | PmuSub_0.9.0_amd64.AppImage |
| Linux deb | PmuSub_0.9.0_amd64.deb |
| Linux rpm | PmuSub-0.9.0-1.x86_64.rpm |
Highlights / 亮点
- 🎛️ 主站速率下拉新增「10 Hz」合法档位:补齐 IEEE C37.118 对 50Hz 系统的标准上送率,从此下拉不再从 25Hz 直接跳到 200Hz,常用的低速率一键可选 / New "10 Hz" legal entry in the master's rate dropdown: it fills in the standard IEEE C37.118 reporting rate for 50 Hz systems, so the dropdown no longer jumps straight from 25 Hz to 200 Hz — the common low rate is now one pick away.
- ⚙️ 与 25/50/100/200 同等走正常路径:选中即下发 CFG-2(PERIOD=500),无确认框、无「异常」标签,readback 回显
(10.0Hz);后端/watch/readback/i18n/默认档位零改动,纯靠既有链路 / It flows through the normal path exactly like 25/50/100/200: picking it pushes a CFG-2 (PERIOD=500) with no confirm dialog and no "abnormal" tag, and the readback shows(10.0Hz). Backend, watcher, readback, i18n and the default rate are all unchanged — it rides the existing path. - 🧪 新增对称无头组件回归测试,全量前端测试 12/12 通过 / Added a symmetric headless component regression test; the full frontend suite is 12/12 green.
Added 新增
- 主站速率下拉新增
10 Hz合法档位,置于最前(顺序10 / 25 / 50 / 100 / 200 / 0(异常)),映射 CFG-2PERIOD=500(hzToPeriod(10)=round(5000/10)=500)。10Hz 落入既有正常档位的applyNormalRate防抖路径:streaming 时实时下发 CFG-2,未连接时由后续握手带下去,不触发 0Hz 的异常确认框 / New10 Hzlegal entry in the master rate dropdown, placed first (order10 / 25 / 50 / 100 / 200 / 0(abnormal)), mapping to CFG-2PERIOD=500(hzToPeriod(10)=round(5000/10)=500). 10 Hz falls into the existing normal-rateapplyNormalRatedebounce path: it pushes a CFG-2 live while streaming and is carried into the next handshake while disconnected, never triggering the 0 Hz abnormal confirm dialog.
Tests 测试
- 在既有
frontend/tests/config-info-panel.0hz.test.ts追加一条 vitest 用例(复用其invoke/askmock 与脚手架,DRY):streaming 时选 10Hz → 不弹确认框,且下发send_cfg2_cmd(period:null)+send_cfg2(period:500);TDD 先红后绿,vue-tsc通过,全量前端测试 12/12 通过 / Added one vitest case to the existingfrontend/tests/config-info-panel.0hz.test.ts(reusing itsinvoke/askmocks and scaffolding, DRY): selecting 10 Hz while streaming fires no confirm dialog and issuessend_cfg2_cmd(period:null)+send_cfg2(period:500); written test-first (red→green),vue-tscpasses, full frontend suite 12/12 green.
macOS 首次启动 / First launch on macOS
首次双击 .app 会被 Gatekeeper 拦截("Apple 无法验证…")。放行: 打开
系统设置 → 隐私与安全性, 滚到底点 仍要打开; 或终端执行
xattr -dr com.apple.quarantine "/Applications/PmuSim.app"。
First launch is blocked by Gatekeeper ("Apple could not verify…"). To allow:
System Settings → Privacy & Security, scroll to bottom, click Open Anyway; or
run xattr -dr com.apple.quarantine "/Applications/PmuSim.app" in Terminal.
完整变更历史 / Full changelog: CHANGELOG.md
之前版本 / Previous releases: https://github.com/Karl-Dai/PmuSim/releases