cl
16 小时以前 ab08f2e28057e226ba42b3268ed36ac489cef34e
src/main/java/com/zy/core/thread/SiemensDevpThread.java
@@ -238,6 +238,28 @@
                    staProtocol.setPakMk(true);
                }
            }
            // 100、101、122 站点 StaProtocol 全量监测日志(2026-03-25 之后不再打印)
            if (result.IsSuccess) {
                try {
                    Calendar cutoff = Calendar.getInstance();
                    cutoff.set(2026, Calendar.MARCH, 25, 0, 0, 0);
                    cutoff.set(Calendar.MILLISECOND, 0);
                    if (System.currentTimeMillis() < cutoff.getTimeInMillis()) {
                        String time = DateUtils.convert(new Date());
                        for (int staNo : new int[]{100, 101, 122}) {
                            StaProtocol p = station.get(staNo);
                            if (p != null) {
                                String msg = String.format("[%s] %s 站点编号=%s 工作号=%s 目标站=%s 自动=%s 有物=%s 可入=%s 可出=%s 空板信号=%s 满托盘=%s 高度=%s 锁定标记=%s 报警=%s",
                                        staNo, time, p.getSiteId(), p.getWorkNo(), p.getStaNo(), p.isAutoing(), p.isLoading(), p.isInEnable(), p.isOutEnable(),
                                        p.isEmptyMk(), p.isFullPlt(), p.getLocHeight(), p.isPakMk(), p.getError());
                                log.info("站点监测 {}", msg);
                            }
                        }
                    }
                } catch (Exception e) {
                    log.warn("站点监测日志打印异常", e);
                }
            }
        }
        //任务信息反馈