TorqueWrench/config.json

34 lines
1005 B
JSON
Raw Permalink Normal View History

2026-01-19 16:59:52 +08:00
{
2026-02-26 16:39:29 +08:00
"api": {
"base_url": "http://localhost:5000",
"description": "后端API服务地址例如http://localhost:5000 或 http://192.168.1.100:5000"
},
2026-01-19 16:59:52 +08:00
"wrench": {
2026-01-24 02:54:01 +08:00
"host": "127.0.0.1",
2026-01-19 16:59:52 +08:00
"port": 7888,
"timeout": 30,
"address": 1,
"auto_reconnect": true,
"max_reconnect_attempts": 3,
"description": "扳手连接配置auto_reconnect=自动重连max_reconnect_attempts=最大重连次数"
},
"test_mode": {
"enabled": true,
"description": "测试模式:失败也算成功,用于无钉子测试"
},
"bolt_default_config": {
"mode": 1,
"torque_tolerance": 0.10,
"angle_min": 1,
"angle_max": 360,
"description": "螺栓默认配置mode=1(M1扭矩模式), torque_tolerance=10%, angle_min=1度, angle_max=360度"
},
"default_parameters": {
"product_id": "0000000000",
"station_name": "11111111111111111111",
"employee_id": "2222222222",
"tool_sn": "0000000000",
"controller_sn": "3333333333"
}
}