From 54fc241d1a44ec21a6994ce0ae37ec7b22d3e748 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期四, 09 十月 2025 16:46:09 +0800
Subject: [PATCH] #和得服务器
---
src/main/java/com/zy/core/MainProcess.java | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java
index 16f3094..1502c9b 100644
--- a/src/main/java/com/zy/core/MainProcess.java
+++ b/src/main/java/com/zy/core/MainProcess.java
@@ -37,8 +37,8 @@
thread = new Thread(this::crnAndDevRun);
thread.start();
-// armThread = new Thread(this::roboticArmDispatch);
-// armThread.start();
+ armThread = new Thread(this::roboticArmDispatch);
+ armThread.start();
}
private void crnAndDevRun() {
while (!Thread.currentThread().isInterrupted()) {
@@ -90,9 +90,9 @@
// mainService.outOfDevp(11);
- if (i>10){
+ if (i>2){
//绌烘墭鐩樿嚜鍔ㄥ嚭搴�
- mainService.autoEmptyOut();
+// mainService.autoEmptyOut();
//绌烘墭鐩樿嚜鍔ㄥ叆搴�
mainService.autoEmptyIn();
i=0;
@@ -132,11 +132,15 @@
try{
//RGV灏忚溅鍑哄叆搴撳彇璐т笅鍙�
mainService.rgvIoExecute(11);
+ if(k > 3){
+ mainService.rgvOutExecute();
+ k = 0;
+ }
}catch (Exception e){
log.error("RGV ===>> 灏忚溅浠诲姟浣滀笟涓嬪彂寮傚父"+e);
}
- //瀹屾垚灏忚溅浠诲姟
- mainService.rgvCompleteWrkMastSta();
+// //瀹屾垚灏忚溅浠诲姟
+ mainService.rgvTaskComplete();
//宸ヤ綅绉诲姩
// mainService.rgvStaMove();
--
Gitblit v1.9.1