From da1c0be7b573ca68fef10f9627bb4225bb327a2d Mon Sep 17 00:00:00 2001
From: hmpc <hmpc>
Date: 星期一, 04 十一月 2024 13:35:49 +0800
Subject: [PATCH] *
---
src/main/java/com/zy/core/MainProcess.java | 18 ++++++------------
1 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java
index 21c9218..f5ea417 100644
--- a/src/main/java/com/zy/core/MainProcess.java
+++ b/src/main/java/com/zy/core/MainProcess.java
@@ -37,16 +37,6 @@
thread = new Thread(() -> {
while (!Thread.currentThread().isInterrupted()) {
try {
- i++; if (i>5) i=0;
- j++; if (j>5) j=0;
- k++;
- if (k>13) {
- k=0;
- l++;
- if (l>3) l=0;
- }
-
-
// 闂撮殧
Thread.sleep(1000);
@@ -55,14 +45,18 @@
continue;
}
//鏇存柊浣嶇疆淇℃伅
+ mainService.updateStePositionNearby();
+
mainService.updateStePosition();
// 浠诲姟涓嬪彂
mainService.DevpTaskNoRun();
- // 浠诲姟涓嬪彂
- mainService.loopSteCharge();
+ // 浠诲姟瀹屾垚
+ mainService.rgvCompleteWrkMastSta();
+ //鏇存柊浣嶇疆淇℃伅
+ mainService.updateStePosition();
} catch (Exception e) {
e.printStackTrace();
--
Gitblit v1.9.1