| | |
| | | map.put("forkLift", forkLiftProtocols); |
| | | map.put("lift", liftProtocols); |
| | | |
| | | apiLogService.insert(new ApiLog( |
| | | null |
| | | , "获取设备状态" |
| | | , "/deviceStatus" |
| | | , null |
| | | , null |
| | | , null |
| | | , null |
| | | , JSON.toJSONString(map) |
| | | , null |
| | | , null |
| | | , 1 |
| | | , new Date() |
| | | , null |
| | | , null |
| | | )); |
| | | |
| | | return R.ok().add(map); |
| | | } |
| | | |
| | | @RequestMapping("/liftDeviceOriginData") |
| | | // @OpenApiLog(memo = "获取提升机原始数据") |
| | | public R getLiftDeviceOriginData() { |
| | | HashMap<Integer, String> map = new HashMap<>(); |
| | | |
| | |
| | | |
| | | map.put(device.getDeviceNo(), liftThread.getRealtimeOriginData()); |
| | | } |
| | | |
| | | apiLogService.insert(new ApiLog( |
| | | null |
| | | , "获取提升机原始数据" |
| | | , "/liftDeviceOriginData" |
| | | , null |
| | | , null |
| | | , null |
| | | , null |
| | | , JSON.toJSONString(map) |
| | | , null |
| | | , null |
| | | , 1 |
| | | , new Date() |
| | | , null |
| | | , null |
| | | )); |
| | | |
| | | return R.ok().add(map); |
| | | } |
| | |
| | | map.put("locNo", locMast.getLocNo()); |
| | | map.put("locSts", locMast.getLocSts()); |
| | | |
| | | apiLogService.insert(new ApiLog( |
| | | null |
| | | , "获取指定库位信息" |
| | | , "/getLocInformation" |
| | | , null |
| | | , null |
| | | , null |
| | | , JSON.toJSONString(param) |
| | | , JSON.toJSONString(map) |
| | | , null |
| | | , null |
| | | , 1 |
| | | , new Date() |
| | | , null |
| | | , null |
| | | )); |
| | | |
| | | return R.ok().add(map); |
| | | } |
| | | |
| | |
| | | map.put("locSts", locMast.getLocSts()); |
| | | list.add(map); |
| | | } |
| | | |
| | | apiLogService.insert(new ApiLog( |
| | | null |
| | | , "获取全部库位信息" |
| | | , "/getAllLocInformation" |
| | | , null |
| | | , null |
| | | , null |
| | | , null |
| | | , JSON.toJSONString(list) |
| | | , null |
| | | , null |
| | | , 1 |
| | | , new Date() |
| | | , null |
| | | , null |
| | | )); |
| | | |
| | | return R.ok().add(list); |
| | | } |