From ed265ddfb8f08f69af064a9adf65fcbf06289ffe Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期二, 11 二月 2025 14:07:54 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/impl/NyShuttleThread.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
index 52f5643..79eb4e1 100644
--- a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
+++ b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
@@ -120,6 +120,9 @@
 //                    //灏忚溅绌洪棽涓旀湁璺戝簱绋嬪簭
 //                    shuttleAction.moveLoc(slave.getId());
 
+                    //婕旂ず妯″紡
+                    shuttleAction.demo(slave.getId());
+
                     Thread.sleep(200);
                 } catch (Exception e) {
                     e.printStackTrace();
@@ -804,6 +807,19 @@
     }
 
     @Override
+    public boolean enableDemo(boolean enable) {
+        shuttleProtocol.setDemo(enable);
+        return true;
+    }
+
+    @Override
+    public boolean offerSystemMsg(String format, Object... arguments) {
+        String msg = News.replace(format, arguments);
+        shuttleProtocol.setSystemMsg(msg);
+        return true;
+    }
+
+    @Override
     public ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes) {
         NavigateMapData navigateMapData = SpringUtils.getBean(NavigateMapData.class);
         NyShuttleHttpCommand httpStandard = getHttpStandard(slave.getId(), taskNo);

--
Gitblit v1.9.1