POST https://{Endpoint}/usrCloud/dev/slave/getTemplateSlaves Content-Type: application/json { "deviceTemplateId": 2638, "pageNo": 1, "pageSize": 100, "token": "eyJhbGciOiJIUzI1NiJ9..." }
Content-Type: application/json { "status": 0, "data": { "total": 3, "list": [ { "id": 2396, "userId": 32509, "deviceTemplateId": 2638, "slaveIndex": "1", "slaveName": "未命名_从机名称_63", "slaveAddr": "1", "slaveIp": "125.26.36.5", "slavePort": 255, "createDt": "2020-03-09 08:36:55", "updateDt": "2020-03-09 09:24:53", "creator": 32509, "updator": 32509, "comIdx": 1, "relProtocolId": 4, "weight": 0, "deviceTemplateProtocolGroupList": [ { "id": 4, "pageNo": 1, "pageSize": 10, "title": "Modbus", "titleEn": "Modbus", "sort": 4, "type": 0, "createDt": "2019-05-31 14:09:12", "updateDt": "2019-12-24 15:41:37", "creator": 2, "updator": 2, "children": [ { "id": 7, "pageNo": 1, "pageSize": 10, "title": "ModbusTCP", "titleEn": "ModbusTCP", "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": 4, "pageNo": 1, "pageSize": 10, "sort": 1, "type": 0, "createDt": "2019-05-31 09:05:43", "updateDt": "2019-05-31 09:05:45", "creator": 2, "updator": 2, "children": [], "relProtocolGroupId": 7, "name": "边缘采集", "snSeriesModel": "0", "slaveType": 2, "datapointType": 3, "recommendContent": "", "pollingMethod": 1, "nameForDevice": "mb-tcp", "category": ",1,", "groupOrProtocolType": 1 } ], "total": 1, "groupOrProtocolType": 0 } ], "groupOrProtocolType": 0 } ] } ], "pageNum": 1, "pageSize": 100 }, "info": "ok", "status": 0 }
您的需求提交成功,我们会尽快与您联系。
感谢您的反馈!