From 39acba539a8dded2d7204b66c157e9fd3b268073 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 18 七月 2025 08:18:05 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/MainProcess.java | 22 ++++++++-------------- 1 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java index ca39fb5..325ed47 100644 --- a/src/main/java/com/zy/core/MainProcess.java +++ b/src/main/java/com/zy/core/MainProcess.java @@ -5,11 +5,9 @@ import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import javax.annotation.PreDestroy; -import java.util.ArrayList; /** * WCS涓绘祦绋� @@ -70,19 +68,15 @@ // 鍏朵粬 ===>> LED鏄剧ず鍣ㄥ浣嶏紝鏄剧ず榛樿淇℃伅 mainService.ledReset(10); - mainService.outOfDevp(11); + // RGV ===>> 鎵ц瀵筊GV鎿嶄綔 + mainService.rgvExecute(11); + // RGV ===>> 鎵ц瀵筊GV宸ヤ綔妗g殑瀹屾垚鎿嶄綔 + mainService.rgvFinished(12); - //绌烘墭鐩樿嚜鍔ㄥ嚭搴� -// mainService.autoEmptyOut(); -// //绌烘墭鐩樿嚜鍔ㄥ叆搴� -// mainService.autoEmptyIn(); - - // 鍏朵粬 ===>> 鍏ュ嚭搴撴ā寮忓垏鎹� - i++; - if (i > 1) { - mainService.ioConvert(); - i = 0; - } + //鍫嗗灈鏈烘棤浠诲姟涓ゅ垎閽燂紝鍥炲叆搴撳彛寰呮満 + mainService.crnMove(); + //鍫嗗灈鏈烘湁鍏ュ簱浠诲姟鏃讹紝鍥炲叆搴撳彛寰呮満 + mainService.crnMoveByInTask(); } catch (Exception e) { e.printStackTrace(); -- Gitblit v1.9.1