[TOC]
简要描述
请求URL
http://47.111.70.10:8091/collector-siot-smb/api/smb/selectCellData
请求方式
参数
参数名 |
类型 |
是否必须 |
说明 |
id |
Long |
是 |
策略id |
smbCode |
String |
是 |
棒料编号 |
deviceId |
Long |
是 |
检测设备id |
cell |
String |
是 |
单元格名称,例(A) |
value |
Long |
是 |
时间段对应的value值,例(1) |
返回示例
{
"msg": "操作成功",
"code": 200,
"data": {
"id": null,
"smbCode": null,
"batchId": null,
"deviceId": null,
"checkStatus": null,
"checkTime": null,
"createTime": null,
"createUserId": null,
"updateTime": null,
"updateUserId": null,
"isDeleted": null,
"pageIndex": 0,
"pageSize": 0,
"contrastSmbItems": null,
"batchCode": null,
"deviceName": null,
"name": null,
"tacticsId": null,
"tacticsIds": null,
"tacticsItems": null,
"voltage": null,
"current": null,
"record": null,
"cellList": [
{
"cell": "A",
"r": 0.005,
"q": 150,
"u": 0.05,
"qw": 0,
"i": 10
},
{
"cell": "B",
"r": 0.005,
"q": 150,
"u": 0.05,
"qw": 0,
"i": 10
},
{
"cell": "C",
"r": 0.005,
"q": 150,
"u": 0.05,
"qw": 0,
"i": 10
}
],
"potentialVoltageList": {
"id": 1,
"isEnable": 1,
"name": "全点位测试",
"cycle": 500,
"deviationValue": 30,
"sort": 1,
"remarks": "检测策略001",
"createTime": "2022-06-13 17:26:44",
"createUserId": 1,
"updateTime": "2022-08-11 11:35:42",
"updateUserId": 2,
"isDeleted": 1,
"pageIndex": 0,
"pageSize": 0,
"items": [
{
"id": 254,
"tacticsId": 1,
"sort": 1,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 9,
"coordinateName2": "9",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-1",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 255,
"tacticsId": 1,
"sort": 2,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 10,
"coordinateName2": "10",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-2",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 256,
"tacticsId": 1,
"sort": 3,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 11,
"coordinateName2": "11",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-3",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 257,
"tacticsId": 1,
"sort": 4,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 12,
"coordinateName2": "12",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-4",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 258,
"tacticsId": 1,
"sort": 5,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 13,
"coordinateName2": "13",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-5",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 259,
"tacticsId": 1,
"sort": 6,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 14,
"coordinateName2": "14",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-6",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 260,
"tacticsId": 1,
"sort": 7,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 15,
"coordinateName2": "15",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-7",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 261,
"tacticsId": 1,
"sort": 8,
"coordinateId1": 1,
"coordinateName1": "1",
"coordinateId2": 16,
"coordinateName2": "16",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-1",
"coordinateCell2": "B-8",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 262,
"tacticsId": 1,
"sort": 9,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 9,
"coordinateName2": "9",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-1",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 263,
"tacticsId": 1,
"sort": 10,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 10,
"coordinateName2": "10",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-2",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 264,
"tacticsId": 1,
"sort": 11,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 11,
"coordinateName2": "11",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-3",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 265,
"tacticsId": 1,
"sort": 12,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 12,
"coordinateName2": "12",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-4",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 266,
"tacticsId": 1,
"sort": 13,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 13,
"coordinateName2": "13",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-5",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 267,
"tacticsId": 1,
"sort": 14,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 14,
"coordinateName2": "14",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-6",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 268,
"tacticsId": 1,
"sort": 15,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 15,
"coordinateName2": "15",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-7",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
},
{
"id": 269,
"tacticsId": 1,
"sort": 16,
"coordinateId1": 2,
"coordinateName1": "2",
"coordinateId2": 16,
"coordinateName2": "16",
"threshold": 30,
"isDeleted": 1,
"coordinateCell1": "A-2",
"coordinateCell2": "B-8",
"cell": "A",
"ids": null,
"smbCode": null,
"line": null,
"coordinateName": null,
"parentSmbCode": null,
"dataValue": 0.041,
"deviationRate": 0,
"deviationValue": 30
}
],
"deviceId": null,
"contrastData": null,
"runningStatus": null,
"smbCode": null,
"cell": null,
"value": null
},
"timingList": [
"2022-08-18 15:51:24",
"2022-08-18 15:52:35",
"2022-08-18 15:53:33"
],
"dataList": [
{
"cell": "A",
"r": 0.004,
"q": 120,
"u": 0.04,
"qw": 0,
"i": 10
},
{
"cell": "A",
"r": 0.005,
"q": 150,
"u": 0.05,
"qw": 0,
"i": 10
},
{
"cell": "A",
"r": 0.005,
"q": 150,
"u": 0.05,
"qw": 0,
"i": 10
}
]
},
"isSuccess": true
}
返回data参数说明
参数名 |
类型 |
说明 |
cellList |
List |
所有单元格集合 |
potentialVoltageList |
对象 |
点位电压集合 |
timingList |
Array |
x轴时间段数组例:["2022-08-18","2022-08-19"] |
dataList |
List |
y轴数据集合 |
返回potentialVoltageList中items集合的参数说明
参数名 |
类型 |
说明 |
id |
Long |
点位id |
Long |
long |
策略id |
dataValue |
BigDecimal |
电压值 |
threshold |
BigDecimal |
阈值 |
deviationRate |
BigDecimal |
实际偏差率(单位%) |
deviationValue |
BigDecimal |
允许偏差率(单位%) |
coordinateCell1 |
String |
点位1 |
coordinateCell2 |
String |
点位2 |
返回cellList参数说明
参数名 |
类型 |
说明 |
cell |
String |
单元格名称 |
U |
BigDecimal |
电压 |
I |
BigDecimal |
电流 |
R |
BigDecimal |
电阻 |
Q |
BigDecimal |
热值 |
Qw |
BigDecimal |
热值/功率(Q/W) |
返回dataList参数说明
参数名 |
类型 |
说明 |
cell |
String |
单元格名称 |
U |
BigDecimal |
电压 |
I |
BigDecimal |
电流 |
R |
BigDecimal |
电阻 |
Q |
BigDecimal |
热值 |
Qw |
BigDecimal |
热值/功率(Q/W) |
备注