[TOC]
简要描述
请求URL
http://47.111.70.10:8091/collector-siot-smb/api/openMethod/checkUp
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
deviceId |
是 |
Long |
设备id |
smbCode |
是 |
String |
石墨棒编号 |
runningStatus |
是 |
String |
检查状态 (3)检查中 |
createUserId |
是 |
Long |
石墨棒编号 |
返回示例
{
"isSuccess": true,
"data": {
"tacticsList": [
{
"id": 1,
"isEnable": null,
"name": "检测策略1",
"cycle": null,
"deviationValue": 30,
"sort": null,
"smbCode": "123qwe",
"remarks": null,
"createTime": '2022-08-28 12:13:14 ',
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"items": [
{
"id": 1,
"tacticsId": 1,
"sort": null,
"coordinateId1": 1,
"coordinateName1": "k1",
"coordinateId2": 2,
"coordinateName2": "k2",
"threshold": 200,
"isDeleted": null,
"ids": null,
"dataValue": 300,
"deviationRate": 50,
"deviationValue": 30
},
{
"id": 2,
"tacticsId": 1,
"sort": null,
"coordinateId1": 3,
"coordinateName1": "k3",
"coordinateId2": 4,
"coordinateName2": "k4",
"threshold": 220,
"isDeleted": null,
"ids": null,
"dataValue": 310,
"deviationRate": 50,
"deviationValue": 30
},
{
"id": 2,
"tacticsId": 1,
"sort": null,
"coordinateId1": 3,
"coordinateName1": "k3",
"coordinateId2": 4,
"coordinateName2": "k4",
"threshold": 220,
"isDeleted": null,
"ids": null,
"dataValue": 310,
"deviationRate": 50,
"deviationValue": 30
}
],
"deviceId": 24171,
"runningStatus": "3"
},
{
"id": 2,
"isEnable": null,
"name": "检测策略2",
"smbCode": "456rty",
"cycle": null,
"deviationValue": null,
"sort": null,
"remarks": null,
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"items": [
{
"id": 4,
"tacticsId": 2,
"sort": null,
"coordinateId1": 7,
"coordinateName1": "k7",
"coordinateId2": 8,
"coordinateName2": "k8",
"threshold": 220,
"isDeleted": null,
"ids": null,
"dataValue": 220,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 4,
"tacticsId": 2,
"sort": null,
"coordinateId1": 9,
"coordinateName1": "k9",
"coordinateId2": 10,
"coordinateName2": "k10",
"threshold": 220,
"isDeleted": null,
"ids": null,
"dataValue": 220,
"deviationRate": 0,
"deviationValue": 30
}
],
"deviceId": 24171,
"runningStatus": "5"
}
],
"alarmList": [
{
"id": 1,
"tacticsId": 1,
"sort": null,
"coordinateId1": 1,
"coordinateName1": "k1",
"coordinateId2": 2,
"coordinateName2": "k2",
"threshold": 200,
"isDeleted": null,
"ids": null,
"dataValue": 300,
"deviationRate": 50,
"deviationValue": 30
},
{
"id": 2,
"tacticsId": 1,
"sort": null,
"coordinateId1": 3,
"coordinateName1": "k3",
"coordinateId2": 4,
"coordinateName2": "k4",
"threshold": 220,
"isDeleted": null,
"ids": null,
"dataValue": 310,
"deviationRate": 50,
"deviationValue": 30
}
]
},
"code": 0,
"msg": null
}
返回data参数说明
参数名 |
类型 |
说明 |
tacticsList |
List |
策略集合 |
alarmList |
List |
报警点位数据集合 |
返回tacticsList参数说明
参数名 |
类型 |
说明 |
id |
Long |
策略id |
|
createTime |
String |
检测时间 |
deviceId |
Long |
设备id |
name |
String |
名称 |
smbCode |
String |
石磨棒编号 |
deviationValue |
BigDecimal |
阈值偏差 |
runningStatus |
String |
运行状态(1.待测试2.未装夹3.检测中4.不通过5.通过) |
items |
List |
检测点位集合 |
返回tacticsList中items的参数说明
参数名 |
类型 |
说明 |
id |
Long |
点位id |
Long |
long |
策略id |
coordinateId1 |
long |
点位ID1 |
coordinateName1 |
String |
点位名称1 |
coordinateId2 |
long |
点位ID2 |
sort |
Long |
序号 |
coordinateName2 |
String |
点位名称2 |
dataValue |
BigDecimal |
数据值(单位V) 注:拼接V |
threshold |
BigDecimal |
阈值(单位V) 注:拼接V |
deviationRate |
BigDecimal |
实际偏差率(单位%) 注:拼接% |
deviationValue |
BigDecimal |
允许偏差率(单位%) 注:拼接% |
返回alarmList的参数说明
参数名 |
类型 |
说明 |
id |
Long |
点位id |
Long |
long |
策略id |
coordinateId1 |
long |
点位ID1 |
sort |
Long |
序号 |
coordinateName1 |
String |
点位名称1 |
coordinateId2 |
long |
点位ID2 |
coordinateName2 |
String |
点位名称2 |
dataValue |
BigDecimal |
数据值(单位V) 注:拼接V |
threshold |
BigDecimal |
阈值(单位V) 注:拼接V |
deviationRate |
BigDecimal |
实际偏差率(单位%) 注:拼接% |
deviationValue |
BigDecimal |
允许偏差率(单位%) 注:拼接% |
备注