102 lines
2.9 KiB
JSON
102 lines
2.9 KiB
JSON
|
|
{
|
||
|
|
"grafana": {
|
||
|
|
"dashboards": "dataanalysis",
|
||
|
|
"host": "127.0.0.1",
|
||
|
|
"password": "admin",
|
||
|
|
"port": "3000",
|
||
|
|
"token": "eyJrIjoiamRQd3dtM3I1eU0zWThweXdpRmU3a0JwWFp5NWMzc0ciLCJuIjoiMjAweSIsImlkIjoxfQ==",
|
||
|
|
"username": "admin"
|
||
|
|
},
|
||
|
|
"influxdbs": [
|
||
|
|
{
|
||
|
|
"name": "本地influxdb",
|
||
|
|
"bucket": "weather_bucket",
|
||
|
|
"host": "127.0.0.1",
|
||
|
|
"org": "TGZZ",
|
||
|
|
"orgid": "9e5a13c578562409",
|
||
|
|
"token": "SKWWnKQ4-PVIeGTwDiAnqQXWPYZ2TJl5Nx_c1D22YuD8DREOTOSHsTcJOKNAN3aUcxkTxGrD_yEWAAWFIETAcw==",
|
||
|
|
"password": "tgzz2023",
|
||
|
|
"port": "8086",
|
||
|
|
"username": "TGZZ"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"name": "远程influxdb",
|
||
|
|
"bucket": "agr_bucket",
|
||
|
|
"host": "192.168.8.200",
|
||
|
|
"org": "agr_org",
|
||
|
|
"orgid": "8808fd4d23e2f6fd",
|
||
|
|
"password": "12345678",
|
||
|
|
"port": "8086",
|
||
|
|
"username": "agr"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"influxdbName": "本地influxdb",
|
||
|
|
"log": {
|
||
|
|
"backupcount": 7,
|
||
|
|
"console": true,
|
||
|
|
"enable": true,
|
||
|
|
"journal": true,
|
||
|
|
"level": "DEBUG",
|
||
|
|
"logpath": "",
|
||
|
|
"name": "runtime.log",
|
||
|
|
"when": "D"
|
||
|
|
},
|
||
|
|
"project": {
|
||
|
|
"base_path": "d:/data",
|
||
|
|
"git_path": "C:/Program Files/Git/mingw64/bin/git.exe",
|
||
|
|
"platform_path1": "d:/platformData/Base",
|
||
|
|
"platform_path2": "d:/platformData/Application"
|
||
|
|
},
|
||
|
|
"interfaceList": [
|
||
|
|
{
|
||
|
|
"id": "de190ed4-7e12-48c7-8c2a-9fbf88de85a0",
|
||
|
|
"name": "testhttp",
|
||
|
|
"type": "http",
|
||
|
|
"attrs": {
|
||
|
|
"auto": "",
|
||
|
|
"baudrate": "9600",
|
||
|
|
"port": "",
|
||
|
|
"bytesize": "8",
|
||
|
|
"parity": "",
|
||
|
|
"stopbits": "1"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "b5a36a8e-85de-4e73-bcc6-1a8bfbe427c2",
|
||
|
|
"name": "1",
|
||
|
|
"type": "tcp",
|
||
|
|
"attrs": {
|
||
|
|
"auto": "true",
|
||
|
|
"ip": "192.168.8.82",
|
||
|
|
"port": "8800",
|
||
|
|
"role": "客户端"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "4c0afa96-0422-4365-829c-21fb154d3452",
|
||
|
|
"name": "2",
|
||
|
|
"type": "serial",
|
||
|
|
"attrs": {
|
||
|
|
"auto": "false",
|
||
|
|
"baudrate": "9600",
|
||
|
|
"port": "COM4",
|
||
|
|
"parity": "Space",
|
||
|
|
"bytesize": "6",
|
||
|
|
"stopbits": "2"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "08edac77-cbc1-44d3-bd07-4ebc81f8428a",
|
||
|
|
"name": "2",
|
||
|
|
"type": "tbus_ns",
|
||
|
|
"attrs": {
|
||
|
|
"auto": "false",
|
||
|
|
"baudrate": "9600",
|
||
|
|
"port": "COM5",
|
||
|
|
"parity": "Even",
|
||
|
|
"bytesize": "7",
|
||
|
|
"stopbits": "1.5"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|