feat: DG430 V2.0.3 — 波动测试模式 前端+后端同步
edc_server: - dg430.py: 新增0xB4解析; 0x4C扩展6字段(向后兼容) - models.py: tb_fixture_param DDL + upsert 新增6字段 - handlers.py: parse_loop 添加0xB4处理; 0x4C传参扩展 edc-web: - fixture.py: build_4b_packet() 新增6个波动参数 - models.py: upsert_fixture_param 字段列表扩展 - fixture.html: 新增波动测试参数输入区(6字段) - fixture.js: getFormParams/fillForm/saveToDb/sendConfig 全部扩展
This commit is contained in:
@@ -417,6 +417,7 @@ def upsert_fixture_param(dnt_id: int, **kwargs):
|
||||
fields = [
|
||||
"Addr", "DevType", "TestMode", "RestDis", "MinusDis",
|
||||
"SensMin", "SensMax", "FreMin", "FreMax", "PeakMin", "PeakMax",
|
||||
"FarTol", "NearTol", "StepTol", "BackForth", "NearStay", "FarStay",
|
||||
]
|
||||
if existing:
|
||||
sets = ", ".join(f"`{f}`=%s" for f in fields)
|
||||
|
||||
Reference in New Issue
Block a user