-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.json
More file actions
70 lines (70 loc) · 2.01 KB
/
test.json
File metadata and controls
70 lines (70 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"projectId": "45d6sa4d5",
"projectName": "modbus串口采集",
"status": "disable",
"script": "scrivsn6uykv",
"configFile": "deviceConfig.json",
"process": "addDevice",
"interface": "tty",
"connectConfig": {
"plugins": "modbus-client",
"baudrate": "19200",
"dataBits": "8",
"parity": "None",
"stopBit": "1",
"sync": "是",
"period": "3000",
"timeout": "3000",
"timeLiness": "300"
},
"acquisition": [
{
"id": "qq",
"name": "温湿度传感器",
"key": "1",
"prot": "5555",
"ip": "127.0.0.1",
"datas": [
{
"id": "advantech",
"name": "温度数据",
"dataType": "uint16 AB",
"mod": "r",
"registerNum": "1",
"registerType": "Holding Registers",
"script": "温度数据/10",
"startPos": "1"
}
]
},
{
"id": "aaaaa",
"name": "温湿度传感器",
"key": "1",
"prot": "5555",
"ip": "127.0.0.1",
"datas": [
{
"id": "zzz",
"name": "温度数据",
"dataType": "uint16 AB",
"mod": "r",
"registerNum": "1",
"registerType": "Holding Registers",
"script": "温度数据/10",
"startPos": "1"
},
{
"id": "abc",
"name": "温度数据",
"dataType": "uint16 AB",
"mod": "r",
"registerNum": "1",
"registerType": "Holding Registers",
"script": "温度数据/10",
"startPos": "1"
}
]
}
]
}