| | |
| | | } |
| | | CrnCommand crnCommand = new CrnCommand(); |
| | | crnCommand.setAckFinish((short)1); |
| | | crnCommand.setLaneNo(crnProtocol.getLaneNo()); |
| | | if (write(crnCommand)) { |
| | | resetFlag = false; |
| | | } |
| | |
| | | } |
| | | try{ |
| | | BasErrLogService basErrLogService = SpringUtils.getBean(BasErrLogService.class); |
| | | BasErrLog basErrLog = new BasErrLog(command,"","非异常,任务下发记录"); |
| | | BasErrLog basErrLog = new BasErrLog(command,"","任务下发记录"); |
| | | if (!basErrLogService.insert(basErrLog)) { |
| | | log.error("堆垛机plc异常记录失败 ===>> [id:{}] [error:{}]", slave.getId(), "任务下发记录失败"); |
| | | } |