Files
windows-fenjian/assets/config.default.json
T
Ubuntu 4966345424 feat(1.0.75): 同步秤端 v1.0.75 源码(UI 抖动修复 + 严格入库/分拣样本)
来自 入库分拣工作站_源代码_v1.0.75:点商品名抖动的中间帧修复、ui/osk/tablet 调整、严格入库校验、分拣场景样本(review_queue station=picking);版本/安装包/说明同步 1.0.75。注意:本版 confirm_before_submit 恒 True、submit_on_remove 恒 False,1.0.71 的 inbound_auto_submit 账号开关被移除;models/cls 与 data/ 未入库。EXE 由用户侧打包分发,本次只推源码。
2026-12-03 16:26:17 +08:00

112 lines
2.7 KiB
JSON

{
"server": {
"base_url": "http://127.0.0.1:3001/api",
"mock": true
},
"account": {
"username": "demo",
"password": "",
"role": "picker"
},
"scale": {
"simulate": true,
"port": "COM3",
"baudrate": 1200,
"bytesize": 8,
"parity": "N",
"stopbits": 1.0,
"unit": "auto",
"pattern": "",
"poll_cmd": "",
"poll_ms": 500,
"protocol": "generic",
"min_weight_kg": 0.01,
"stable_count": 5,
"stable_tolerance_kg": 0.02,
"tare_cmd": "",
"zero_cmd": "",
"sim_loop_kg": 2.55,
"sim_loop_hold_s": 2.5,
"sim_loop_keep_s": 10.0,
"sim_loop_idle_s": 3.0,
"sim_loop_jitter_kg": 0.05
},
"camera": {
"simulate": true,
"index": 1,
"backend": "dshow",
"auto_pick": true,
"width": 1280,
"height": 720,
"usb_only": true,
"name": "BisonCam,NB Pro"
},
"vision": {
"provider": "doubao",
"api_key": "",
"base_url": "https://ark.cn-beijing.volces.com/api/v3",
"vision_model": "doubao-seed-2-1-pro-260915",
"text_model": "doubao-seed-2-1-pro-260915",
"disable_thinking": true,
"max_tokens": 32,
"timeout": 15,
"recognition_image_max_px": 1280,
"assist": {
"enabled": true,
"ask_cloud_below": 0.98,
"force_confirm": true,
"model": "models/cls/product_cls.onnx",
"classes": "models/cls/classes.json",
"imgsz": 320,
"topk": 3,
"journal_dir": "data/assist",
"auto_update": true,
"update_interval_sec": 21600,
"update_timeout": 180
}
},
"printer": {
"enabled": false,
"type": "tspl",
"printer_name": "HUAWEI CV81-WDMSE-0470",
"width_mm": 50,
"height_mm": 50,
"release_usb": false
},
"flow": {
"auto_submit": true,
"min_scale_kg": 0.01,
"stable_ms": 400,
"stable_delta_kg": 0.03,
"rescan_delta_kg": 0.04,
"unstable_fallback_ms": 2500,
"done_lift_off_kg": 0.2,
"recognize_timeout": 8,
"commit_timeout": 10,
"recognize_cooldown": 30,
"dedup_delta_kg": 0.005,
"frame_stale_ms": 5000,
"tolerance_policy": "block_auto",
"use_scale_stable": true,
"demo_recog": true,
"confirm_before_submit": true,
"submit_on_remove": false,
"inbound_auto_submit": false
},
"capture_dir": "data/snapshots",
"record_file": "data/records_demo.csv",
"snapshot_keep_days": 30,
"ui": {
"mode": "window",
"width": 1440,
"height": 900,
"borderless": false,
"todo_thumb": false,
"todo_group": "none",
"fit_screen": false
},
"devices": {
"auto_detect": true
}
}