34 lines
768 B
JSON
34 lines
768 B
JSON
|
|
{
|
||
|
|
"$schema": "../schemas/plugin.schema.json",
|
||
|
|
"name": "transport-manager",
|
||
|
|
"title": "通讯管理",
|
||
|
|
"version": "1.0.0",
|
||
|
|
"author": "GCS Team",
|
||
|
|
"description": "管理串口、UDP、TCP 等多种通讯传输方式",
|
||
|
|
"minEngineVersion": "2.0.0",
|
||
|
|
"library": "builtin",
|
||
|
|
"entryPoint": "TransportManagerPlugin",
|
||
|
|
"activationEvents": [
|
||
|
|
"onStartup"
|
||
|
|
],
|
||
|
|
"contributes": {
|
||
|
|
"transports": [
|
||
|
|
{
|
||
|
|
"id": "serial",
|
||
|
|
"label": "串口",
|
||
|
|
"params": ["port", "baud", "dataBits", "stopBits", "parity"]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "udp",
|
||
|
|
"label": "UDP",
|
||
|
|
"params": ["host", "port", "localPort"]
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "tcp",
|
||
|
|
"label": "TCP Client",
|
||
|
|
"params": ["host", "port"]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|