| | |
| | | return R.error("穿梭车不在线"); |
| | | } |
| | | ShuttleProtocol shuttleProtocol = shuttleThread.getStatus(); |
| | | if (Utils.getLev(shuttleProtocol.getCurrentLocNo()) != Utils.getLev(param.getDestSite())) { |
| | | if (Utils.getLev(shuttleProtocol.getCurrentLocNo()) != Utils.getLev(param.getDestLoc())) { |
| | | return R.error("穿梭车和目标位置不在同一楼层"); |
| | | } |
| | | |
| | |
| | | task.setPriority(priority); |
| | | task.setOriginSite(null); |
| | | task.setOriginLoc(null); |
| | | task.setDestSite(param.getDestSite()); |
| | | task.setDestSite(param.getDestLoc()); |
| | | task.setDestLoc(null); |
| | | task.setIoTime(new Date()); |
| | | task.setStartTime(new Date()); |