TorqueWrench/config.json

34 lines
1005 B
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"api": {
"base_url": "http://localhost:5000",
"description": "后端API服务地址例如http://localhost:5000 或 http://192.168.1.100:5000"
},
"wrench": {
"host": "127.0.0.1",
"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"
}
}