POST https://openapi.mp.usr.cn/usrCloud/dev/slave/getTemplateSlaves Content-Type: application/json { "deviceTemplateId": 105222, "pageNo": 1, "pageSize": 100, "isNeedJson": 0 }
Content-Type: application/json { "status": 0, "data": { "total": 1, "list": [ { "id": 130197, "userId": 23598, "deviceTemplateId": 105222, "slaveIndex": "1", "slaveName": "未命名_从机名称_23", "slaveAddr": "1", "slaveIp": "192.168.1.111", "slavePort": 102, "createDt": "2022-01-26 16:27:33", "updateDt": "2022-01-26 16:27:34", "creator": 23598, "updator": 23598, "comIdx": 1, "relProtocolId": 6, "weight": 0, "promoteStatus": 0, "encrypted": 0, "deviceTemplateProtocolGroupList": [ { "id": 4, "pageNo": 1, "pageSize": 10, "title": "Modbus", "titleEn": "Modbus", "sort": 2, "type": 0, "createDt": "2019-05-31 14:09:12", "updateDt": "2021-08-28 11:51:27", "creator": 2, "updator": 63562, "children": [ { "id": 6, "pageNo": 1, "pageSize": 10, "title": "ModbusRTU", "titleEn": "ModbusRTU", "parentId": 4, "parentIds": ",4,", "type": 0, "createDt": "2019-12-18 10:03:51", "updateDt": "2019-12-18 10:03:51", "creator": 2, "updator": 2, "children": [ { "id": 6, "pageNo": 1, "pageSize": 10, "sort": 1, "type": 0, "createDt": "2019-05-31 09:05:43", "updateDt": "2020-12-01 10:24:23", "creator": 2, "updator": 71032, "children": [], "relProtocolGroupId": 6, "name": "边缘计算", "snSeriesModel": "0", "slaveType": 1, "datapointType": 3, "recommendContent": "", "pollingMethod": 1, "nameForDevice": "mb-rtu", "category": ",1,", "groupOrProtocolType": 1, "brand": "智泽", "brandEn": "ZhiZe", "encrypted": 0 } ], "total": 1, "groupOrProtocolType": 0 } ], "groupOrProtocolType": 0 } ], "status": 0, "addUpdateDt": true } ], "pageNum": 1, "pageSize": 100, "size": 1, "startRow": 1, "endRow": 1, "pages": 1, "prePage": 0, "nextPage": 0, "isFirstPage": true, "isLastPage": true, "hasPreviousPage": false, "hasNextPage": false, "navigatePages": 8, "navigatepageNums": [ 1 ], "navigateFirstPage": 1, "navigateLastPage": 1, "firstPage": 1, "lastPage": 1 }, "info": "ok" }
您的需求提交成功,我们会尽快与您联系。
感谢您的反馈!