Files
neuron/plugin_param_schema.json
T
2021-10-26 10:07:15 +00:00

112 lines
1.6 KiB
JSON

{
"plugins": [
"mqtt-plugin",
"modbus-tcp-plugin",
"opcua-plugin"
],
"mqtt-plugin": {
"params": [
"host",
"port"
],
"host": {
"name": "host",
"description": "mqtt broker host",
"type": "string",
"valid": {
"length": 30
}
},
"port": {
"name": "port",
"description": "mqtt broker port",
"type": "int",
"default": 1883,
"valid": {
"min": 1024,
"max": 65535
}
}
},
"opcua-plugin": {
"tag_type": [
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"params": [
"host",
"port"
],
"host": {
"name": "host",
"description": "opcua server host",
"type": "string",
"valid": {
"length": 30
}
},
"port": {
"name": "port",
"description": "opcua server port",
"type": "int",
"default": 4840,
"valid": {
"min": 1024,
"max": 65535
}
}
},
"modbus-tcp-plugin": {
"tag_type": [
4,
5,
7,
8,
9,
11,
14
],
"params": [
"host",
"port",
"server_mode"
],
"host": {
"name": "host",
"description": "local ip in server mode, remote device ip in client mode",
"type": "string",
"valid": {
"length": 30
}
},
"port": {
"name": "port",
"description": "local port in server mode, remote device port in client mode",
"type": "int",
"default": 502,
"valid": {
"min": 1,
"max": 65535
}
},
"connection_mode": {
"name": "connection mode",
"description": "false means neuron as the client, true means neuron as the server",
"type": "bool",
"default": false,
"valid": {}
}
}
}