[TOC]
简要描述
请求URL
http://47.111.70.10:8091/collector-siot-smb/api/device/deviceDetails
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
id |
是 |
Long |
主键id |
返回示例
{
"isSuccess": true,
"data": {
"id": 24185,
"deviceImei": "122",
"deviceType": null,
"deviceName": "检测设备12",
"parentId": null,
"asCom": null,
"createTime": null,
"lng": null,
"lat": null,
"measPointSeq": null,
"seat": null,
"projectId": null,
"deviceTypeCode": null,
"updateUserId": null,
"pageIndex": 0,
"pageSize": 0,
"voltage":111,
"current":222,
"smbCode": null,
"parentName": null,
"totalityQuantity": 3,
"totalityQualifiedQuantity": 2,
"totalityPercentOfPass": "66.6667",
"todayQuantity": 1,
"todayQualifiedQuantity": 1,
"todayPercentOfPass": "100.0000",
"deviceId": null,
"tacticsIds": null,
"tacticsList": [
{
"id": 1,
"isEnable": 0,
"name": "检测策略007",
"cycle": 500,
"deviationValue": 30,
"sort": 1,
"remarks": "永远都是",
"createTime": "2022-06-13 09:26:44",
"createUserId": 1,
"updateTime": "2022-06-15 22:28:17",
"updateUserId": 2,
"isDeleted": 1
},
{
"id": 2,
"isEnable": 0,
"name": "检测策略1",
"cycle": 1000,
"deviationValue": 30,
"sort": 2,
"remarks": "测试组A02,测试用",
"createTime": "2022-05-13 10:26:44",
"createUserId": 1,
"updateTime": "2022-06-13 09:26:50",
"updateUserId": 2,
"isDeleted": 1
},
{
"id": 3,
"isEnable": 0,
"name": "检测策略3",
"cycle": 200,
"deviationValue": 30,
"sort": 3,
"remarks": "测试组A03,测试用",
"createTime": "2022-06-13 09:26:44",
"createUserId": 1,
"updateTime": "2022-06-13 09:26:50",
"updateUserId": 2,
"isDeleted": 1
},
{
"id": 4,
"isEnable": 0,
"name": "检测策略4",
"cycle": 500,
"deviationValue": 30,
"sort": 4,
"remarks": "测试组A04,测试用",
"createTime": "2022-06-13 09:26:44",
"createUserId": 1,
"updateTime": "2022-06-13 09:26:50",
"updateUserId": 2,
"isDeleted": 1
}
],
"status": "在线",
"name": null,
"runningStatus": "未装夹",
"alterLevel": null,
"updateTime": null,
"channelId": null,
"txjName": null,
"cjName": null,
"jcdAmount": null,
"cjAmount": null,
"alarmStatus": null,
"deviceTypeName": null,
"tag": null,
"projectName": null,
"alterLevelName": null,
"deviceIdOrName": null,
"statusName": null,
"amount": 0,
"createSeatNum": null,
"version": null,
"eventnum": null,
"projectIds": null,
"startTime": null,
"endTime": null,
"deviceIds": null,
"isEnabled": null,
"num": null,
"switchTag": null,
"deviceList": null,
"jobAmount": null,
"alterCount": null,
"timePartition": null,
"statusTag": null,
"eventCount": null,
"domain": null,
"building": null,
"storey": null,
"unit": null,
"contacts": null,
"userName": null,
"defendersName": null,
"defendersDate": null,
"webTag": null,
"alarmCount": 0,
"alarmYclCount": 0,
"alarmWclCount": 0,
"eventTime": null,
"orderBy": null,
"sign": null,
"simIds": null,
"simStatus": null,
"simRemark": null,
"groupId": null,
"sim": null
},
"code": 200,
"msg": "操作成功"
}
返回data参数说明
参数名 |
类型 |
说明 |
id |
Long |
主键id |
deviceName |
String |
设备名称 |
deviceImei |
String |
设备编码 |
status |
String |
设备状态 |
runningStatus |
String |
运行状态 |
tacticsList |
List |
检测策略集合 |
totalityQuantity |
Long |
总检测棒料数 |
totalityQualifiedQuantity |
Long |
总合格棒料数 |
totalityPercentOfPass |
BigDecimal |
总合格率(单位%) |
todayQuantity |
Long |
今日检测棒料数 |
todayQualifiedQuantity |
Long |
今日合格棒料数 |
todayPercentOfPass |
BigDecimal |
今日合格率(单位%) |
voltage |
Double |
输入电压 |
current |
Double |
输入电流 |
返回tacticsList参数说明
参数名 |
类型 |
说明 |
id |
Long |
策略id |
isEnable |
int |
是否启用(0:禁用,1:启用) |
name |
String |
名称 |
cycle |
BigDecimal |
采样周期(ms为单位) |
deviationValue |
BigDecimal |
阈值偏差 |
sort |
Integer |
检查顺序 |
remarks |
String |
备注 |
备注