From d79673313b141ecee499ee0946879572661c5b70 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期二, 02 八月 2022 15:33:06 +0800 Subject: [PATCH] # --- src/main/java/com/zy/core/thread/SteThread.java | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/core/thread/SteThread.java b/src/main/java/com/zy/core/thread/SteThread.java index dd6640a..db370d0 100644 --- a/src/main/java/com/zy/core/thread/SteThread.java +++ b/src/main/java/com/zy/core/thread/SteThread.java @@ -17,7 +17,6 @@ import com.zy.core.cache.OutputQueue; import com.zy.core.enums.SlaveType; import com.zy.core.enums.SteStatusType; -import com.zy.core.enums.SteTaskModeType; import com.zy.core.model.SteSlave; import com.zy.core.model.Task; import com.zy.core.model.command.SteCommand; @@ -27,7 +26,6 @@ import java.text.MessageFormat; import java.util.Date; -import java.util.Random; /** * shuttle 绌挎杞︾嚎绋� @@ -294,9 +292,7 @@ if (result != null && result.IsSuccess) { // 缁存姢鏁版嵁搴撴帓鍒楀眰 if (!steProtocol.getWaiting()) { - this.lastRow = command.getRow().intValue(); - this.lastBay = command.getBay().intValue(); - this.lastLev = command.getLev().intValue(); + this.modifyPos(command.getRow().intValue(), command.getBay().intValue(), command.getLev().intValue()); } log.info("绌挎杞﹀懡浠や笅鍙慬id:{}] >>>>> {}", slave.getId(), JSON.toJSON(command)); -- Gitblit v1.9.1