| | |
| | | package com.mes.taskcache.controller; |
| | | |
| | | import com.mes.edgglasstask.entity.request.IdentWornRequest; |
| | | import cn.hutool.json.JSONObject; |
| | | import com.mes.damage.entity.request.DamageRequest; |
| | | import com.mes.edgstoragecage.entity.vo.CutDrawingVO; |
| | | import com.mes.edgstoragecage.service.EdgStorageCageDetailsService; |
| | | import com.mes.taskcache.service.TaskCacheService; |
| | |
| | | |
| | | @ApiOperation("识别显示:当前版图,需要当前卧式理片设备id、上片线路") |
| | | @PostMapping("/queryCurrentCutDrawing") |
| | | public Result queryCurrentCutDrawing(int deviceId, int stationCell) { |
| | | List<CutDrawingVO> cutDrawingVOS = edgStorageCageDetailsService.queryCurrentCutDrawing(deviceId, stationCell); |
| | | return Result.build(200, "成功", cutDrawingVOS); |
| | | public Result<JSONObject> queryCurrentCutDrawing(int deviceId, int stationCell) { |
| | | JSONObject jsonObject = edgStorageCageDetailsService.queryCurrentCutDrawing(deviceId, stationCell); |
| | | return Result.build(200, "成功", jsonObject); |
| | | } |
| | | |
| | | @ApiOperation("识别操作: 破损/拿走 参数(ID,功能[9:拿走,8:破损])") |
| | | @PostMapping("/identControls") |
| | | public Result<String> identControls(@RequestBody @Validated IdentWornRequest request) { |
| | | public Result<String> identControls(@RequestBody @Validated DamageRequest request) { |
| | | return Result.build(200, "成功", edgStorageCageDetailsService.identControls(request)); |
| | | } |
| | | |