国轩石墨棒


棒料详情

[TOC]

简要描述
  • 棒料详情接口
请求URL
  • http://47.111.70.10:8091/collector-siot-smb/api/smb/refinedQuery
请求方式
  • POST
参数
参数名 类型 是否必须 说明
id Long 棒料id
smbCode String 棒料编号
deviceId Long 检测设备id
返回示例
{
    "msg": "操作成功",
    "code": 200,
    "data": {
        "id": 21,
        "smbCode": "23223232323",
        "batchId": null,
        "deviceId": 24185,
        "checkStatus": "通过",
        "checkTime": "2022-06-29 17:50:58",
        "createTime": null,
        "createUserId": null,
        "updateTime": null,
        "updateUserId": null,
        "isDeleted": null,
        "pageIndex": 0,
        "pageSize": 0,
        "contrastSmbItems": null,
        "batchCode": null,
        "deviceName": "无骨鸡爪",
        "name": null,
        "tacticsId": null,
        "tacticsIds": null,
        "tacticsItems": [
            {
                "id": 1,
                "isEnable": null,
                "name": "检测策略1",
                "cycle": null,
                "deviationValue": 30,
                "sort": null,
                "remarks": null,
                "createTime": null,
                "createUserId": null,
                "updateTime": null,
                "updateUserId": null,
                "isDeleted": null,
                "pageIndex": 0,
                "pageSize": 0,
                "items": [
                    {
                        "id": 1,
                        "tacticsId": 1,
                        "sort": 1,
                        "coordinateId1": 1,
                        "coordinateName1": "k1",
                        "coordinateId2": 2,
                        "coordinateName2": "k2",
                        "threshold": 200,
                        "isDeleted": null,
                        "deviationValue": 30,
                        "ids": null,
                        "smbCode": null,
                        "parentSmbCode": null,
                        "dataValue": 300,
                        "deviationRate": 50
                    },
                    {
                        "id": 2,
                        "tacticsId": 1,
                        "sort": 2,
                        "coordinateId1": 3,
                        "coordinateName1": "k3",
                        "coordinateId2": 4,
                        "coordinateName2": "k4",
                        "threshold": 220,
                        "isDeleted": null,
                        "deviationValue": 30,
                        "ids": null,
                        "smbCode": null,
                        "parentSmbCode": null,
                        "dataValue": 310,
                        "deviationRate": 50
                    },
                    {
                        "id": 3,
                        "tacticsId": 1,
                        "sort": 3,
                        "coordinateId1": 5,
                        "coordinateName1": "k5",
                        "coordinateId2": 6,
                        "coordinateName2": "k6",
                        "threshold": 220,
                        "isDeleted": null,
                        "deviationValue": 30,
                        "ids": null,
                        "smbCode": null,
                        "parentSmbCode": null,
                        "dataValue": 220,
                        "deviationRate": 0
                    }
                ],
                "deviceId": 24185,
                "contrastData": [
                    {
                        "smbCode": "Qi"
                    },
                    {
                        "smbCode": "iQ"
                    },
                    {
                        "smbCode": "911"
                    },
                    {
                        "smbCode": "qwq"
                    }
                ],
                "runningStatus": "3",
                "smbCode": "23223232323"
            },
            {
                "id": 2,
                "isEnable": null,
                "name": "检测策略2",
                "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": 1,
                        "coordinateId1": 7,
                        "coordinateName1": "k7",
                        "coordinateId2": 8,
                        "coordinateName2": "k8",
                        "threshold": 220,
                        "isDeleted": null,
                        "deviationValue": 30,
                        "ids": null,
                        "smbCode": null,
                        "parentSmbCode": null,
                        "dataValue": 220,
                        "deviationRate": 0
                    },
                    {
                        "id": 4,
                        "tacticsId": 2,
                        "sort": 2,
                        "coordinateId1": 9,
                        "coordinateName1": "k9",
                        "coordinateId2": 10,
                        "coordinateName2": "k10",
                        "threshold": 220,
                        "isDeleted": null,
                        "deviationValue": 30,
                        "ids": null,
                        "smbCode": null,
                        "parentSmbCode": null,
                        "dataValue": 220,
                        "deviationRate": 0
                    }
                ],
                "deviceId": 24185,
                "contrastData": [
                    {
                        "smbCode": "Qi"
                    },
                    {
                        "smbCode": "iQ"
                    },
                    {
                        "smbCode": "911"
                    },
                    {
                        "smbCode": "qwq"
                    }
                ],
                "runningStatus": "5",
                "smbCode": "23223232323"
            }
        ]
    },
    "isSuccess": true
}
返回data参数说明
参数名 类型 说明
id Long 石磨棒ID
smbCode String 棒料编号
batchCode String 所属批次
checkStatus String 检测状态
deviceName String 检测设备
deviceId Long 检测设备id
name String 检测策略
checkTime String 检测时间
tacticsItems Array 检测策略集合
返回tacticsItems参数说明
参数名 类型 说明
id Long 策略id
deviceId Long 设备id
name String 名称
smbCode String 石磨棒编号
deviationValue BigDecimal 阈值偏差
items List 检测点位集合
contrastData List 对比下拉框数据集合
返回tacticsItems中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 允许偏差率(单位%) 注:拼接%
返回contrastData参数说明
参数名 类型 说明
smbCode String 石磨棒编号
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML