PTT/config/config.json

65 lines
1.6 KiB
JSON

{
"application": {
"name": "采集箱出厂测试工具",
"version": "1.0.0",
"company": "Your Company",
"language": "zh_CN"
},
"serial": {
"default_baudrate": 115200,
"default_timeout": 1.0,
"auto_detect_ports": true,
"retry_count": 3
},
"ssh": {
"default_username": "torizon",
"default_port": 22,
"connection_timeout": 10,
"keepalive_interval": 30
},
"network": {
"eth0": {
"connection_name": "ETH-H0",
"ip": "192.168.0.3",
"netmask": "255.255.255.0",
"gateway": "192.168.0.1",
"dns": "8.8.8.8",
"ethtool": {
"speed": 100,
"duplex": "full",
"autoneg": "off"
}
},
"eth1": {
"connection_name": "ETH-H1",
"ip": "10.0.5.232",
"netmask": "255.255.255.0",
"gateway": "10.0.5.1",
"dns": "8.8.8.8"
}
},
"paths": {
"database": "data/production_test.db",
"logs": "logs/",
"templates": "resources/templates/",
"backup": "backup/",
"exports": "exports/"
},
"security": {
"password_min_length": 16,
"master_key_file": "security/master.key.enc",
"password_history_count": 5,
"auto_lock_timeout": 300
},
"testing": {
"default_timeout": 30,
"max_retries": 2,
"continue_on_failure": false
},
"ui": {
"theme": "default",
"font_size": 10,
"show_line_numbers": true,
"auto_scroll_logs": true
}
}