| | |
| | | return Result.success(map); |
| | | } |
| | | |
| | | // 切换PLC获取二维码方式 |
| | | // 更改笼子数量 |
| | | @PostMapping("/UpdateStroageCageByCell") |
| | | public Result UpdateStroageCageByCell(Integer cell, Integer num) { |
| | | return storageCageService.UpdateStroageCageByCell(cell, num); |
| | | } |
| | | @PostMapping("/AddOutGlass") |
| | | public Result AddOutGlass(Integer cell, Integer glasstype) { |
| | | return storageCageService.AddOutGlass(cell,glasstype); |
| | | } |
| | | |
| | | |
| | | // 手动完成任务 |
| | | @PostMapping("/FinishTask") |
| | | public Result FinishTask(Integer id) { |
| | | return storageCageService.FinishTask(); |
| | | } |
| | | // 手动结束任务 |
| | | @PostMapping("/TerminateTask") |
| | | public Result TerminateTask(Integer id) { |
| | | return storageCageService.TerminateTask(id); |
| | | } |
| | | |
| | | // 查询玻璃信息 |
| | | @PostMapping("/SelectGlassInfo") |