#
Administrator
2 天以前 f071edb869770c51249d1b06e535da91863a8362
src/main/java/com/zy/core/network/real/ZyCrnRealConnect.java
@@ -138,6 +138,22 @@
            if (commandTaskMode.equals(CrnTaskModeType.RESET.id)) {
                commandTaskNo = 0;
                commandTaskMode = 0;
                if (!Cools.isEmpty(command.getLocNo())){
                    OperateResult resultAck = siemensNet.Write("DB110." + command.getIndex() * 2, command.getValue());
                    if (resultAck.IsSuccess) {
                        Integer index = command.getIndex()*2 + 200;
                        OperateResult resultAck1 = siemensNet.Write("DB110." + index, command.getValue());
                        if (resultAck1.IsSuccess) {
                            News.info("库位橙色按钮命令下发[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue());
                        } else {
                            News.error("库位白色灯命令下发失败[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue());
                        }
                        News.info("库位白色灯命令下发[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue());
                    } else {
                        News.error("库位白色灯命令下发失败[locNo:{}] >>>>> {}", command.getLocNo(), command.getValue());
                    }
                }
            }
            short[] array = new short[9];