Skip to content

feat(measure): 增加 Auto Generator On - #69

Merged
mingtaojin merged 5 commits into
mainfrom
feature/measure-auto-generator-on
Nov 20, 2026
Merged

mingtaojin merged 5 commits into
mainfrom
feature/measure-auto-generator-on

Conversation

@mingtaojin

Copy link
Copy Markdown
Contributor

改了什么,为什么 / What changed and why

Refs #42

测量人员现在可以在 Measurement Control 中勾选 Auto Generator On,让 Generator 随实际采集轮次启停。FFT、Octave、Sound Quality、Sound Level Meter 和 Vibration 支持此选项,默认关闭,历史配置只读。

  • 定时测量在等待期间保持原有输出状态。重复测量逐轮启停,同步成员共享输出,最后一个自动控制轮次结束后关闭。
  • 起播失败会中止测量会话。关闭失败会报告并强制重试一次,保留已完成结果。测量期间仍可手动关闭 Generator 或修改参数。

怎么验证的 / How it was verified

  • 最新 main 基线上的 258 项前端定向测试通过。框架边界、暂存 Vue 和文档策略检查通过。
  • 同步前的功能版本通过 135 项 Java 定向测试。最新基线上的复跑正在执行。
  • Windows Electron 验证了 FFT 选项保存、刷新后恢复和还原初始值。物理输出启停和采样与起播的时差仍待实测。

影响 / Impact

设备先启动输入采样。正式测量等待 Generator 起播确认后接收开场帧,该帧可能含有起播前的样本。开关为关闭时,测量不发出自动 Generator 命令。

贡献授权 / Contribution license

  • 我已阅读并同意 OpenTest 社区许可协议第 11 条“社区贡献” / I have read and agree to section 11, Community Contributions, of the OpenTest Community License

@mingtaojin
mingtaojin requested a review from a team November 19, 2026 10:53
@mingtaojin
mingtaojin merged commit 151435d into main Nov 20, 2026
11 of 12 checks passed
@mingtaojin
mingtaojin deleted the feature/measure-auto-generator-on branch November 20, 2026 02:02
@mingtaojin mingtaojin linked an issue Nov 20, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[需求] 增加Auto Generator功能

3 participants