yunkong2.yuanqu/io-package.json
2018-11-08 10:34:11 +08:00

86 lines
2.2 KiB
JSON

{
"common": {
"name": "yuanqu",
"version": "0.0.7",
"title": "Yuanqu",
"desc": {
"en": "YQ connection Slave or Master",
"cn": "智慧园区"
},
"license": "MIT",
"platform": "Javascript/Node.js",
"mode": "daemon",
"loglevel": "info",
"messagebox": true,
"icon": "yuanqu.png",
"keywords": [
"Yuanqu"
],
"enabled": true,
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.yuanqu/raw/master/admin/yuanqu.png",
"readme": "https://github.com/yunkong2/yunkong2.yuanqu/blob/master/README.md",
"type": "protocols",
"config": {
"minWidth": 1024,
"width": 1224,
"height": 600
}
},
"native": {
"params": {
"type": "tcp",
"bind": "127.0.0.1",
"port": 502,
"comName": "",
"baudRate": 9600,
"dataBits": 8,
"stopBits": 1,
"parity": "none",
"deviceId": 1,
"timeout": 5000,
"slave": 0,
"poll": 1000,
"recon": 60000,
"maxBlock": 100,
"maxBoolBlock": 128,
"multiDeviceId": false,
"pulsetime": 1000,
"disInputsOffset": 10001,
"coilsOffset": 1,
"inputRegsOffset": 30001,
"holdingRegsOffset": 40001,
"showAliases": true,
"directAddresses": false,
"round": 2,
"doNotRoundAddressToWord": false
},
"yz": [],
"dz": [],
"power": [],
"video": []
},
"instanceObjects": [
{
"_id": "info",
"type": "channel",
"common": {
"name": "Information"
},
"native": {}
},
{
"_id": "info.connection",
"type": "state",
"common": {
"role": "indicator.connected",
"name": "If master connected",
"type": "boolean",
"read": true,
"write": false,
"def": false
},
"native": {}
}
]
}