372 lines
13 KiB
JSON
372 lines
13 KiB
JSON
{
|
|
"msg": "操作成功",
|
|
"code": 200,
|
|
"data": {
|
|
"deviceId": 233,
|
|
"deviceName": "多路控制器60",
|
|
"productId": 138,
|
|
"productName": "多路控制器",
|
|
"deviceType": null,
|
|
"tenantId": 1,
|
|
"tenantName": "admin",
|
|
"serialNumber": "868408060169451",
|
|
"firmwareVersion": 1.1,
|
|
"status": 4,
|
|
"isShadow": 0,
|
|
"isSimulate": 0,
|
|
"rssi": -57,
|
|
"thingsModelValue": null,
|
|
"activeTime": "2025-04-22",
|
|
"createTime": null,
|
|
"gwDevCode": null,
|
|
"locationWay": 3,
|
|
"imgUrl": "",
|
|
"isOwner": null,
|
|
"subDeviceCount": null,
|
|
"slaveId": null,
|
|
"transport": null,
|
|
"protocolCode": null,
|
|
"deptName": null,
|
|
"alertCount": null,
|
|
"guid": null,
|
|
"thingsModels": [
|
|
{
|
|
"id": "remark_ch3",
|
|
"name": "备注_通道3",
|
|
"value": "奥特曼3",
|
|
"shadow": "奥特曼3",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "string",
|
|
"falseText": "",
|
|
"trueText": "",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 10,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 951,
|
|
"ts": "2025-04-29 14:37:37"
|
|
},
|
|
{
|
|
"id": "remark_ch4",
|
|
"name": "备注_通道4",
|
|
"value": "奥特曼4",
|
|
"shadow": "奥特曼4",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "string",
|
|
"falseText": "",
|
|
"trueText": "",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 10,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 952,
|
|
"ts": "2025-04-29 14:37:37"
|
|
},
|
|
{
|
|
"id": "cfg_param",
|
|
"name": "定时配置",
|
|
"value": "JSON={\"shedule\":[{\"time_s\":49858,\"sw1_s\":1,\"sw2_s\":1,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":49939,\"sw1_s\":0,\"sw2_s\":1,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":50077,\"sw1_s\":0,\"sw2_s\":0,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":50196,\"sw1_s\":0,\"sw2_s\":0,\"sw3_s\":0,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":50330,\"sw1_s\":0,\"sw2_s\":0,\"sw3_s\":0,\"sw4_s\":0,\"week\":\"1111111\"},{\"time_s\":52736,\"sw1_s\":1,\"sw2_s\":1,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"}]}",
|
|
"shadow": "JSON={\"shedule\":[{\"time_s\":49858,\"sw1_s\":1,\"sw2_s\":1,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":49939,\"sw1_s\":0,\"sw2_s\":1,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":50077,\"sw1_s\":0,\"sw2_s\":0,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":50196,\"sw1_s\":0,\"sw2_s\":0,\"sw3_s\":0,\"sw4_s\":1,\"week\":\"1111111\"},{\"time_s\":50330,\"sw1_s\":0,\"sw2_s\":0,\"sw3_s\":0,\"sw4_s\":0,\"week\":\"1111111\"},{\"time_s\":52736,\"sw1_s\":1,\"sw2_s\":1,\"sw3_s\":1,\"sw4_s\":1,\"week\":\"1111111\"}]}",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "string",
|
|
"falseText": "",
|
|
"trueText": "",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 4096,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 947,
|
|
"ts": "2025-04-29 14:38:08"
|
|
},
|
|
{
|
|
"id": "sw_ch2",
|
|
"name": "开关状态_通道2",
|
|
"value": "0",
|
|
"shadow": "0",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "bool",
|
|
"falseText": "关闭",
|
|
"trueText": "打开",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 1024,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 944,
|
|
"ts": "2025-04-29 14:52:50"
|
|
},
|
|
{
|
|
"id": "sw_ch3",
|
|
"name": "开关状态_通道3",
|
|
"value": "0",
|
|
"shadow": "0",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "bool",
|
|
"falseText": "关闭",
|
|
"trueText": "打开",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 1024,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 945,
|
|
"ts": "2025-04-29 14:52:50"
|
|
},
|
|
{
|
|
"id": "power_mv",
|
|
"name": "电源电压",
|
|
"value": "12.1",
|
|
"shadow": "12.1",
|
|
"isMonitor": 1,
|
|
"isHistory": 1,
|
|
"isChart": 1,
|
|
"isReadonly": 1,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "decimal",
|
|
"falseText": "",
|
|
"trueText": "",
|
|
"min": 0,
|
|
"max": 20,
|
|
"step": 0.1,
|
|
"unit": "v",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 1024,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 948,
|
|
"ts": "2025-04-25 13:41:26"
|
|
},
|
|
{
|
|
"id": "remark_ch1",
|
|
"name": "备注_通道1",
|
|
"value": "1",
|
|
"shadow": "1",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "string",
|
|
"falseText": "",
|
|
"trueText": "",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 10,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 949,
|
|
"ts": "2025-04-29 14:37:37"
|
|
},
|
|
{
|
|
"id": "remark_ch2",
|
|
"name": "备注_通道2",
|
|
"value": "2",
|
|
"shadow": "2",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "string",
|
|
"falseText": "",
|
|
"trueText": "",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 10,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 950,
|
|
"ts": "2025-04-29 14:37:37"
|
|
},
|
|
{
|
|
"id": "sw_ch4",
|
|
"name": "开关状态_通道4",
|
|
"value": "0",
|
|
"shadow": "0",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "bool",
|
|
"falseText": "关闭",
|
|
"trueText": "打开",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 1024,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 946,
|
|
"ts": "2025-04-29 14:52:50"
|
|
},
|
|
{
|
|
"id": "sw_ch1",
|
|
"name": "开关状态_通道1",
|
|
"value": "0",
|
|
"shadow": "0",
|
|
"isMonitor": 0,
|
|
"isHistory": 1,
|
|
"isChart": 0,
|
|
"isReadonly": 0,
|
|
"isApp": 0,
|
|
"order": 0,
|
|
"type": 1,
|
|
"datatype": {
|
|
"type": "bool",
|
|
"falseText": "关闭",
|
|
"trueText": "打开",
|
|
"min": 0,
|
|
"max": 100,
|
|
"step": 1,
|
|
"unit": "",
|
|
"arrayType": "",
|
|
"arrayCount": 0,
|
|
"arrayIndex": null,
|
|
"showWay": null,
|
|
"maxLength": 1024,
|
|
"enumList": null,
|
|
"params": null,
|
|
"arrayParams": null
|
|
},
|
|
"isSharePerm": 0,
|
|
"modelId": 943,
|
|
"ts": "2025-04-29 14:52:50"
|
|
}
|
|
],
|
|
"stringList": [],
|
|
"integerList": [],
|
|
"decimalList": [],
|
|
"enumList": [],
|
|
"arrayList": [],
|
|
"boolList": [],
|
|
"readOnlyList": []
|
|
}
|
|
} |