#
Junjie
1 天以前 707f8db2227a6031f230e35895ea1c5f7ff03bd6
src/main/java/com/zy/core/network/fake/ZyRgvFakeConnect.java
@@ -37,6 +37,7 @@
    @Override
    public boolean disconnect() {
        try { executor.shutdownNow(); } catch (Exception ignore) {}
        return true;
    }
@@ -120,11 +121,17 @@
            status.setRgvPos(currentTrackSiteNo);
            sleep(1000);
            if (Thread.currentThread().isInterrupted()) {
                return;
            }
        }
        status.setStatus(RgvStatusType.PUTTING.id);
        status.setLoaded(1);
        sleep(1000);
        if (Thread.currentThread().isInterrupted()) {
            return;
        }
        for (int i = 0; i < targetNavigateNodes.size(); i++) {
            NavigateNode navigateNode = targetNavigateNodes.get(i);
@@ -133,9 +140,15 @@
            status.setRgvPos(currentTrackSiteNo);
            sleep(1000);
            if (Thread.currentThread().isInterrupted()) {
                return;
            }
        }
        sleep(1000);
        if (Thread.currentThread().isInterrupted()) {
            return;
        }
        status.setStatus(RgvStatusType.WAITING.id);
    }
@@ -181,6 +194,9 @@
            status.setRgvPos(currentTrackSiteNo);
            sleep(1000);
            if (Thread.currentThread().isInterrupted()) {
                return;
            }
        }
        status.setStatus(RgvStatusType.WAITING.id);
    }
@@ -194,7 +210,7 @@
        try {
            Thread.sleep(ms);
        } catch (InterruptedException e) {
            e.printStackTrace();
            Thread.currentThread().interrupt();
        }
    }
}
}