| | |
| | | */ |
| | | private boolean backHpFlag = false; |
| | | |
| | | private Integer errId = 0; |
| | | |
| | | public SiemensCrnThread(CrnSlave slave) { |
| | | this.slave = slave; |
| | | } |
| | |
| | | BasCrnErrorLog basCrnErrorLogs; |
| | | basCrnErrorLogs = crnProtocol.toSqlModelError(); |
| | | BasCrnErrorLogService basCrnErrorLogService = SpringUtils.getBean(BasCrnErrorLogService.class); |
| | | basCrnErrorLogService.insert(basCrnErrorLogs); |
| | | if(basCrnErrorLogService.insert(basCrnErrorLogs)){ |
| | | crnProtocol.setUuid(basCrnErrorLogs.getId().toString()); |
| | | } |
| | | crnProtocol.setWriteMk(false); |
| | | } catch (Exception ignore) { |
| | | log.error(ignore.getMessage()); |