1
Administrator
2025-07-11 9c75abec22f0d4695f676fcb0e00dc832701c80c
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -778,19 +778,19 @@
        if (slave.getId() == 1 && this.ioModeOf2F1 != null) {
            if (!siemensS7Net.Write("DB105.10", this.ioModeOf2F1.id).IsSuccess) {
                OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线2F2入出库模式失败。输送线plc编号={1}", slave.getId()));
                OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线2F1入出库模式失败。输送线plc编号={1}", slave.getId()));
                log.error("写入输送线2F1入出库模式失败。输送线plc编号={}", slave.getId());
            }
        }
        if (slave.getId() == 1 && this.ioModeOf2F2 != null) {
            if (!siemensS7Net.Write("DB105.12", this.ioModeOf2F2.id).IsSuccess) {
                OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线3F1入出库模式失败。输送线plc编号={1}", slave.getId()));
                OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线2F2入出库模式失败。输送线plc编号={1}", slave.getId()));
                log.error("写入输送线2F2入出库模式失败。输送线plc编号={}", slave.getId());
            }
        }
        if (slave.getId() == 1 && this.ioModeOf2F3 != null) {
            if (!siemensS7Net.Write("DB105.14", this.ioModeOf2F3.id).IsSuccess) {
                OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线3F2入出库模式失败。输送线plc编号={1}", slave.getId()));
                OutputQueue.DEVP.offer(MessageFormat.format("【{0}】写入输送线2F3入出库模式失败。输送线plc编号={1}", slave.getId()));
                log.error("写入输送线2F3入出库模式失败。输送线plc编号={}", slave.getId());
            }
        }