| | |
| | | command.setDestinationPosY(param.getBay()); // 目标库位列 |
| | | command.setDestinationPosZ(param.getLev()); // 目标库位层 |
| | | boolean locSts = isLocSts(param.getRow().toString(), param.getBay().toString(), param.getLev().toString()); |
| | | command.setTraySize(locSts); |
| | | // command.setTraySize(locSts); |
| | | return crnControl(command)?R.ok():R.error(); |
| | | } |
| | | |
| | |
| | | command.setDestinationPosY(param.getBay()); // 目标库位列 |
| | | command.setDestinationPosZ(param.getLev()); // 目标库位层 |
| | | boolean locSts = isLocSts(param.getSourceRow().toString(), param.getSourceBay().toString(), param.getSourceLev().toString()); |
| | | command.setTraySize(locSts); |
| | | // command.setTraySize(locSts); |
| | | return crnControl(command)?R.ok():R.error(); |
| | | } |
| | | |
| | |
| | | if (sourceLoc.getLocType1() != loc.getLocType1()){ |
| | | return R.error("库位类型不一致"); |
| | | } |
| | | command.setTraySize(loc.getLocType1() == 2); |
| | | // command.setTraySize(loc.getLocType1() == 2); |
| | | // VersionUtils.locMoveCheckLocType(sourceLoc, loc); |
| | | return crnControl(command)?R.ok():R.error(); |
| | | } |