| | |
| | | staProtocol.setAgvTypeSign((short)0); |
| | | staProtocol.setStaNo(basDevp.getDevNo().shortValue()); |
| | | MessageQueue.offer(SlaveType.Devp, 1, new Task(4, staProtocol)); |
| | | }else if (basDevp.getAgvTargetPlace()!=0){ |
| | | } |
| | | if (basDevp.getAgvTargetPlace()!=0){ |
| | | basDevp.setAgvStartPlace(0); |
| | | basDevpService.updateById(basDevp); |
| | | } |
| | | }else { |
| | | if (basDevp.getAgvTargetPlace()!=0){ |
| | | staProtocol.setAgvTypeSign((short)1); |
| | | staProtocol.setStaNo(basDevp.getDevNo().shortValue()); |
| | | MessageQueue.offer(SlaveType.Devp, 1, new Task(4, staProtocol)); |
| | | } |
| | | }else { |
| | | if (basDevp.getAgvTargetPick()!=0){ |
| | | basDevp.setAgvStartPick(0); |
| | | basDevpService.updateById(basDevp); |
| | | }else if (basDevp.getAgvTargetPlace()!=0){ |
| | | basDevp.setAgvStartPlace(0); |
| | | basDevpService.updateById(basDevp); |
| | | } |
| | | } |