| | |
| | | staProtocol = staProtocol.clone(); |
| | | } |
| | | |
| | | // // 入出库模式判断 |
| | | if (inSta.getStaNo() == 203 && devpThread.ioModeOf2F != IoModeType.PAKIN_MODE) { |
| | | continue; |
| | | } |
| | | |
| | | // 判断是否满足入库条件 |
| | | if (!staProtocol.isLoading()) { |
| | |
| | | } |
| | | |
| | | // 更新工作档状态为14失败 |
| | | if(crnStn.getStaNo()==1035){ |
| | | wrkMast.setWrkSts(107L); |
| | | }else { |
| | | wrkMast.setWrkSts(14L); |
| | | } |
| | | wrkMast.setCrnEndTime(new Date()); |
| | | if (wrkMastMapper.updateById(wrkMast) != 0) { |
| | | // 复位堆垛机 |
| | |
| | | if (staProtocol.isAutoing() && staDetl.getCanouting() != null && staDetl.getCanouting().equals("Y") |
| | | ) { |
| | | if (slave.getId() == 1 || slave.getId() == 2) { |
| | | if (staProtocol.isLoading() || staProtocol.getWorkNo() != 0 || !staProtocol.isOutEnable()) { |
| | | if (staProtocol.isLoading() || staProtocol.getWorkNo() != 0 ) { |
| | | //if (staProtocol.isLoading() || staProtocol.getWorkNo() != 0 || !staProtocol.isOutEnable()) { |
| | | continue; |
| | | } |
| | | } |