[TOC]
简要描述
请求URL
http://47.111.70.10:8091/collector-siot-smb/api/smb/contrastTactics
请求方式
参数
参数名 |
类型 |
是否必须 |
说明 |
smbCode |
String |
是 |
对比棒料编号 |
deviceId |
Long |
是 |
检测设备id |
tacticsId |
Long |
是 |
检测策略id |
contrastSmbItems |
String[] |
是 |
被比对棒料编号数组 |
返回示例
{
"msg": "操作成功",
"code": 200,
"data": [
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 3,
"coordinateName1": "K6",
"coordinateId2": 4,
"coordinateName2": "K4",
"threshold": 220,
"isDeleted": null,
"deviationValue": 30,
"ids": null,
"smbCode": "11232,22",
"parentSmbCode": null,
"dataValue": 310,
"deviationRate": 50
},
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 3,
"coordinateName1": "K6",
"coordinateId2": 4,
"coordinateName2": "K4",
"threshold": 220,
"isDeleted": null,
"deviationValue": 30,
"ids": null,
"smbCode": "iQ",
"parentSmbCode": "11232,22",
"dataValue": 310,
"deviationRate": 50
},
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 3,
"coordinateName1": "K6",
"coordinateId2": 4,
"coordinateName2": "K4",
"threshold": 220,
"isDeleted": null,
"deviationValue": 30,
"ids": null,
"smbCode": "Qi",
"parentSmbCode": "11232,22",
"dataValue": 310,
"deviationRate": 50
},
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 1,
"coordinateName1": "K1",
"coordinateId2": 2,
"coordinateName2": "K2",
"threshold": 220,
"isDeleted": null,
"deviationValue": 30,
"ids": null,
"smbCode": "11232,22",
"parentSmbCode": null,
"dataValue": 310,
"deviationRate": 50
},
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 1,
"coordinateName1": "K1",
"coordinateId2": 2,
"coordinateName2": "K2",
"threshold": 240,
"isDeleted": null,
"deviationValue": 20,
"ids": null,
"smbCode": "iQ",
"parentSmbCode": "11232,22",
"dataValue": 320,
"deviationRate": 50
},
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 1,
"coordinateName1": "K1",
"coordinateId2": 2,
"coordinateName2": "K2",
"threshold": 220,
"isDeleted": null,
"deviationValue": 30,
"ids": null,
"smbCode": "Qi",
"parentSmbCode": "11232,22",
"dataValue": 310,
"deviationRate": 50
},
{
"id": 2,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 5,
"coordinateName1": "K5",
"coordinateId2": 2,
"coordinateName2": "K2",
"threshold": 220,
"isDeleted": null,
"deviationValue": 30,
"ids": null,
"smbCode": "11232,22",
"parentSmbCode": null,
"dataValue": 310,
"deviationRate": 50
}
],
"isSuccess": true
}
返回data集合参数说明
参数名 |
类型 |
说明 |
id |
Long |
点位id |
Long |
long |
策略id |
coordinateId1 |
long |
点位ID1 |
coordinateName1 |
String |
点位名称1 |
sort |
Long |
序号 |
coordinateId2 |
long |
点位ID2 |
parentSmbCode |
String |
父级石磨棒编号(标识区分) |
coordinateName2 |
String |
点位名称2 |
dataValue |
BigDecimal |
数据值(单位V) 注:拼接V |
threshold |
BigDecimal |
阈值(单位V) 注:拼接V |
deviationRate |
BigDecimal |
实际偏差率(单位%) 注:拼接% |
deviationValue |
BigDecimal |
允许偏差率(单位%) 注:拼接% |
备注