机台状态

接口描述
  • 机台状态
请求URL
  • https://erp.konmeit.com/erp/index.php/board/device
请求方式
参数
参数名 必选 类型 说明
返回示例
{
    "code": 1000,
    "msg": "操作成功",
    "data": {
        "list": [
            {
                "id": "13",
                "DeviceId": "000001",
                "DeviceStatus": "999",
                "DeviceCode": "0"
            },
            {
                "id": "48",
                "DeviceId": "000021",
                "DeviceStatus": "999",
                "DeviceCode": "0"
            },
            {
                "id": "46",
                "DeviceId": "000034",
                "DeviceStatus": "999",
                "DeviceCode": "0"
            },
            {
                "id": "47",
                "DeviceId": "000039",
                "DeviceStatus": "999",
                "DeviceCode": "0"
            },
            {
                "id": "8",
                "DeviceId": "F00001",
                "DeviceStatus": "999",
                "DeviceCode": "0"
            },
            {
                "id": "6",
                "DeviceId": "K00001",
                "DeviceStatus": "999",
                "DeviceCode": "1"
            },
            {
                "id": "45",
                "DeviceId": "KMT001",
                "DeviceStatus": "999",
                "DeviceCode": "0"
            },
            {
                "id": "11",
                "DeviceId": "L00001",
                "DeviceStatus": "999",
                "DeviceCode": "1"
            },
            {
                "id": "12",
                "DeviceId": "S00001",
                "DeviceStatus": "999",
                "DeviceCode": "2"
            },
            {
                "id": "10",
                "DeviceId": "S00002",
                "DeviceStatus": "999",
                "DeviceCode": "2"
            },
            {
                "id": "9",
                "DeviceId": "Y00002",
                "DeviceStatus": "999",
                "DeviceCode": "2"
            },
            {
                "id": "7",
                "DeviceId": "Y00003",
                "DeviceStatus": "999",
                "DeviceCode": "2"
            }
        ],
        "status": {
            "count": 12,
            "offline": 12,
            "online": 0,
            "work": 0,
            "free": 0,
            "breakdown": 0,
            "adjustment": 0
        }
    }
}
返回参数 data 说明
参数名 类型 说明
list array 机台列表部分
id int 列表ID
DeviceId string 设备编号
DeviceStatus int 设备状态代码
DeviceCode int 0离线 1停止 2运转 3调机
status array 机台状态部分
count int 机台总数
offline int 离线数量
online int 在线数量
work int 运转数量
free int 空闲数量
breakdown int 故障数量
adjustment int 调机数量
备注
  • 参考 MES 大屏看板