| | |
| | | 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") |
| | |
| | | |
| | | // 开始工程 |
| | | @PostMapping("/StartChange") |
| | | public Result StartChange(String flowcard,int orderstate) { |
| | | public Result StartChange(String flowcard,Integer orderstate) { |
| | | return storageCageService.StartChange(flowcard,orderstate); |
| | | } |
| | | // 开始/暂停出片队列 |
| | | @PostMapping("/UpdateOutTask") |
| | | public Result UpdateOutTask(Integer id,Integer state) { |
| | | return storageCageService.UpdateOutTask(id,state); |
| | | } |
| | | |
| | | // 重新测量 |
| | |
| | | System.out.println("控制器:" + num); |
| | | return storageCageService.deleteTasks(num); |
| | | } |
| | | |
| | | //删除出片队列 |
| | | @PostMapping("/DeleteOutTask") |
| | | public Result DeleteOutTask(Integer id) { |
| | | System.out.println("控制器:" + id); |
| | | return storageCageService.DeleteOutTask(id); |
| | | } |
| | | |
| | | // 保存膜系设置 |
| | | @PostMapping("/SaveMeasure") |
| | | public Result SaveMeasure(String films, Integer thickness) { |