From ace5504b3c18d3ea463d61dac5d3a0e50285cdf8 Mon Sep 17 00:00:00 2001 From: dubin <dubin> Date: 星期一, 25 八月 2025 22:44:37 +0800 Subject: [PATCH] 联调 --- src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java index a8f51aa..1a8419d 100644 --- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java @@ -183,7 +183,7 @@ if (!staProtocol.isPakMk()) { continue; } - staProtocol.setWorkNo(wrkNo); + staProtocol.setWorkNo(wrkNo);//閫�鍥� 宸ヤ綔鍙�:10000 News.info("{}PLC鍏ュ簱鍥為��锛歿}锛屼换鍔″彿锛歿}", inSta.getStaNo(), errMsg, wrkNo); wrkNo++; staProtocol.setStaNo(inSta.getBackSta().shortValue()); @@ -337,7 +337,7 @@ } } -// News.infoNoLog(""+mark+" - 0"+" - 缁勬墭 ===銆嬫墽琛屽畬鎴�"); + News.infoNoLog(""+mark+" - 0"+" - 缁勬墭 ===銆嬫墽琛屽畬鎴�"); } @@ -1198,14 +1198,16 @@ } else { staProtocol = staProtocol.clone(); } - StaProtocol staProtocol1 = devpThread.getStation().get(crnStn.getStaNo() - 1); +// StaProtocol staProtocol1 = devpThread.getStation().get(crnStn.getStaNo() - 1); + StaProtocol staProtocol1 = devpThread.getStation().get(crnStn.getStaNo() + 1); if (staProtocol1 == null) { News.infoNoLog("" + mark + " - 2" + " - 3" + " - 鍫嗗灈鏈哄嚭搴撶珯淇℃伅(staProtocol!=null缁х画鎵ц,鍚﹀垯寰幆缁堟)锛歴taProtocol=" + staProtocol); break; } else { staProtocol1 = staProtocol1.clone(); } - StaProtocol staProtocol2 = devpThread.getStation().get(crnStn.getStaNo() - 2); +// StaProtocol staProtocol2 = devpThread.getStation().get(crnStn.getStaNo() - 2); + StaProtocol staProtocol2 = devpThread.getStation().get(crnStn.getStaNo() + 2); if (staProtocol2 == null) { News.infoNoLog("" + mark + " - 2" + " - 3" + " - 鍫嗗灈鏈哄嚭搴撶珯淇℃伅(staProtocol!=null缁х画鎵ц,鍚﹀垯寰幆缁堟)锛歴taProtocol=" + staProtocol); break; @@ -1774,7 +1776,7 @@ LedCommand ledCommand = new LedCommand(); ledCommand.setWorkNo(dto.getWorkNo()); ledCommand.setIoType(1); - ledCommand.setTitle("鍏ㄦ澘鍏ュ簱"); + ledCommand.setTitle("绌烘澘鍏ュ簱"); ledCommand.setLocNo(dto.getLocNo()); ledCommand.setStaNo(dto.getStaNo()); commands.add(ledCommand); -- Gitblit v1.9.1