From e14a4372b6bd4a38e40a3a68bde32350d96071ab Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期四, 15 一月 2026 13:11:56 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/network/fake/ZyStationFakeSegConnect.java | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/src/main/java/com/zy/core/network/fake/ZyStationFakeSegConnect.java b/src/main/java/com/zy/core/network/fake/ZyStationFakeSegConnect.java
index a493189..4530d45 100644
--- a/src/main/java/com/zy/core/network/fake/ZyStationFakeSegConnect.java
+++ b/src/main/java/com/zy/core/network/fake/ZyStationFakeSegConnect.java
@@ -50,32 +50,6 @@
@Override
public boolean connect() {
- Thread checkThread = new Thread(() -> {
- while (true) {
- try {
- for (Map.Entry<Integer, List<ZyStationStatusEntity>> entry : deviceStatusMap.entrySet()) {
- List<ZyStationStatusEntity> stationList = entry.getValue();
- for (ZyStationStatusEntity statusEntity : stationList) {
- if (statusEntity.isAutoing()
- && statusEntity.isLoading()
- && statusEntity.getTaskNo() > 0
- && !statusEntity.isRunBlock()
- && !statusEntity.getStationId().equals(statusEntity.getTargetStaNo())) {
- BlockingQueue<StationCommand> commands = taskQueues.get(statusEntity.getTaskNo());
- if (commands == null) {
- statusEntity.setRunBlock(true);
- }
- }
- }
- }
-
- Thread.sleep(100);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- });
- // checkThread.start();
return true;
}
--
Gitblit v1.9.1