| | |
| | | public R combBinding(@RequestBody Map<String,Object> map){ |
| | | String barcode = map.get("barcode").toString(); |
| | | String stationCode = map.get("stationCode").toString(); |
| | | agvMobileService.combBinding(barcode,stationCode); |
| | | Short containerType = Short.valueOf(map.get("containerType").toString()); |
| | | agvMobileService.combBinding(barcode,stationCode,containerType); |
| | | return R.ok("托盘绑定站点成功"); |
| | | } |
| | | |
| | |
| | | @Synchronized |
| | | public R pakinEmpty(@RequestBody AgvMobileStartParam params){ |
| | | |
| | | for (AgvMobileStartParam.Pad pad : params.getPad()) { |
| | | workService.emptyPlateIn(pad.getDevNo(),pad.getContainerCode(),pad.getContainerType(), getUserId()); |
| | | for (AgvMobileStartParam.Pda pda : params.getPad()) { |
| | | workService.emptyPlateIn(pda.getDevNo(),pda.getContainerCode(),pda.getContainerType(), getUserId()); |
| | | } |
| | | |
| | | return R.ok(); |
| | |
| | | @Synchronized |
| | | public R pakoutEmpty(@RequestBody AgvMobileStartParam params){ |
| | | |
| | | for (AgvMobileStartParam.Pad pad : params.getPad()) { |
| | | workService.emptyPlateOut(pad.getDevNo(),pad.getContainerType(), getUserId()); |
| | | for (AgvMobileStartParam.Pda pda : params.getPad()) { |
| | | workService.emptyPlateOut(pda.getDevNo(),pda.getContainerType(), getUserId()); |
| | | } |
| | | |
| | | return R.ok(); |