文档
测试
POST
wechat/wxDevice/searchSensors

请求参数

参数名
类型
描述
必填
pageNum
Integer
页数
必填
pageSize
Integer
分页条数
必填
proStructureno
string
车间编号
必填
proGetwayno
string
网关编号
可选
proSensor
string
设备名称
可选
proSensorno
string
设备编号
可选
proGetway
string
网关名称
可选

请求示例

```json { "pageNum":"1", "pageSize":"10", "proStructureno":"W5164289", "proGetwayno":"", "proSensor":"", "proSensorno":"" } ```

响应参数

参数名
类型
描述
必填
data
object
分页数据
必填
success
number
0:获得数据成功;1:获取失败
必填

响应示例

```json { "data": { "pageNum": 1, "pageSize": 5, "size": 3, "orderBy": null, "startRow": 1, "endRow": 3, "total": 3, "pages": 1, "list": [ { "id": 1, "proGetwayno": "G3168940", "proSensorno": "rjt", "proSensor": "设备一", "classify": null, "agreementCode": null, "type": null, "createAt": null, "createBy": null, "feedback": null, "fsagreement": null, "ffagreement": null, "alarmUplimit": null, "alarmDownlimit": null, "newdata": null, "getTime": null, "updatedBy": null, "updatedAt": null, "sagreement": null, "status": "1", "startPos": null, "dataNumber": null, "dataLength": null, "standard": null, "sdkDeviceid": null }, { "id": 21, "proGetwayno": "G3168940", "proSensorno": "1", "proSensor": "灵鸽板卡1", "classify": "0", "agreementCode": "A65729", "type": "灵鸽", "createAt": "2020-02-17 12:03:02", "createBy": "admin", "feedback": null, "fsagreement": null, "ffagreement": null, "alarmUplimit": null, "alarmDownlimit": null, "newdata": "120.00|0.00|50.00|30.09|0.97|0.00|0.00|0.00|0.00|117.00|0.00|150.00|1.00|60.01|111.00|10.00|0.00|0.20|0.00|0.86|8.00|256|512|5|0|0|1000", "getTime": "2020-02-21 14:43:40", "updatedBy": null, "updatedAt": null, "sagreement": "01 03 00 01 00 38 15 D8", "status": "1", "startPos": null, "dataNumber": null, "dataLength": null, "standard": null, "sdkDeviceid": 46 }, { "id": 22, "proGetwayno": "G3168940", "proSensorno": "2", "proSensor": "灵鸽板卡2", "classify": "0", "agreementCode": "A65729", "type": "灵鸽", "createAt": "2020-02-17 12:03:45", "createBy": "admin", "feedback": null, "fsagreement": null, "ffagreement": null, "alarmUplimit": null, "alarmDownlimit": null, "newdata": "114.50|0.00|80.00|10.02|0.98|0.00|0.00|0.00|61612.03|117.00|0.00|150.00|3.00|60.20|88.50|10.00|0.00|0.10|0.00|0.85|8.00|256|512|30|0|0|1500", "getTime": "2020-02-21 14:43:40", "updatedBy": null, "updatedAt": null, "sagreement": "02 03 00 01 00 38 15 EB", "status": "1", "startPos": null, "dataNumber": null, "dataLength": null, "standard": null, "sdkDeviceid": 47 } ], "firstPage": 1, "prePage": 0, "nextPage": 0, "lastPage": 1, "isFirstPage": true, "isLastPage": true, "hasPreviousPage": false, "hasNextPage": false, "navigatePages": 8, "navigatepageNums": [1] }, "success": 0 } ```