From c358b8f0d81d1c36f5356361bf0c1b4010e28c3e Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期日, 28 四月 2024 10:43:35 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java index e4becd3..e1df620 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java @@ -403,7 +403,9 @@ @Override public synchronized boolean reset(ShuttleCommand command) { - return false; + this.shuttleProtocol.setTaskNo(0); + this.shuttleProtocol.setProtocolStatus(ShuttleProtocolStatusType.IDLE); + return true; } @Override @@ -591,7 +593,7 @@ } @Override - public ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed) { + public ShuttleCommand getMoveCommand(Integer taskNo, String startCodeNum, String distCodeNum, Integer allDistance, Integer runDirection, Integer runSpeed, List<NavigateNode> nodes) { HashMap<String, Object> body = new HashMap<>(); body.put("messageName", "runOrder"); body.put("msgTime", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); -- Gitblit v1.9.1