一般在根目录下的setting.json下配置节点:
(也可以在同名目录下setting.json配置)
"MyProcess": {
"mqtt": {
"login": "/admin/mqtt/login.ds",
"topic": "/admin/mqtt/topic.ds",
"close": "/admin/mqtt/close.ds"
},
"Modbus": {
"process": "/admin/订阅控制.ds()",
"close": "/admin/kaifeng/back/close.ds"
},
"gd": {
"process": "/admin/ship/script/process.ds",
"close": "/admin/kaifeng/back/close.ds"
}
}
对交通行业主要采用的2种协议通过自定义配置完成。
其他协议配置