yunkong2.yuanqu/io-package.json

91 lines
2.3 KiB
JSON
Raw Permalink Normal View History

2018-11-08 00:13:53 +08:00
{
"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",
2018-11-14 09:47:13 +08:00
"readme": "https://git.spacen.net/yunkong2/yunkong2.yuanqu/blob/master/README.md",
2018-11-08 00:13:53 +08:00
"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
},
2018-11-09 20:15:12 +08:00
"config": [],
2018-11-08 00:59:38 +08:00
"yz": [],
2018-11-08 10:34:11 +08:00
"dz": [],
"power": [],
2018-11-14 09:47:13 +08:00
"video": [],
"ludeng": [],
"dianti":[]
2018-11-08 00:13:53 +08:00
},
"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": {}
}
]
}