mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
73 lines
971 B
JSON
73 lines
971 B
JSON
{
|
|
"plugins": [
|
|
"test-plugin"
|
|
],
|
|
"test-plugin": {
|
|
"tag_type": [
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
14
|
|
],
|
|
"params": [
|
|
"host",
|
|
"port",
|
|
"mode",
|
|
"baud_rate",
|
|
"real_param"
|
|
],
|
|
"host": {
|
|
"name": "host",
|
|
"description": "host",
|
|
"type": "string",
|
|
"default": "127.0.0.1",
|
|
"valid": {
|
|
"length": 30
|
|
}
|
|
},
|
|
"port": {
|
|
"name": "port",
|
|
"description": "port",
|
|
"type": "int",
|
|
"default": 502,
|
|
"valid": {
|
|
"min": 1024,
|
|
"max": 65535
|
|
}
|
|
},
|
|
"mode": {
|
|
"name": "mode",
|
|
"description": "mode",
|
|
"type": "bool",
|
|
"default": false,
|
|
"valid": {}
|
|
},
|
|
"baud_rate": {
|
|
"name": "baud rate",
|
|
"description": "port",
|
|
"type": "int",
|
|
"default": 9600,
|
|
"valid": {
|
|
"value": [
|
|
9600,
|
|
112800
|
|
]
|
|
}
|
|
},
|
|
"real_param": {
|
|
"name": "real param",
|
|
"description": "real",
|
|
"type": "real",
|
|
"default": 11.22,
|
|
"valid": {
|
|
"min": 1.1,
|
|
"max": 20.2
|
|
}
|
|
}
|
|
}
|
|
} |