| | |
| | | |
| | | OutputQueue.CRN.offer(MessageFormat.format("【{0}】[id:{1}] <<<<< 实时数据更新成功",DateUtils.convert(new Date()), slave.getId())); |
| | | |
| | | // if (crnProtocol.getStatusType().equals(CrnStatusType.WAITING)) { |
| | | // if (resetFlag) { |
| | | // if (melsecMcNet.Write("D2218", 1).IsSuccess) { |
| | | // resetFlag = false; |
| | | // } |
| | | // } |
| | | // } |
| | | // 复位信号 |
| | | if (crnProtocol.getStatusType().equals(CrnStatusType.WAITING)) { |
| | | if (resetFlag) { |
| | | if (melsecMcNet.Write("D2218", 1).IsSuccess) { |
| | | resetFlag = false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | // 根据实时信息更新数据库 |
| | | // BasCrnpService basCrnpService = SpringUtils.getBean(BasCrnpService.class); |