From 5aa831dffdfb0ca524362e8d649c28babc681ece Mon Sep 17 00:00:00 2001 From: cpT <1@123> Date: 星期一, 30 六月 2025 16:43:18 +0800 Subject: [PATCH] #改造 --- src/main/java/com/zy/core/model/command/CrnCommand.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/core/model/command/CrnCommand.java b/src/main/java/com/zy/core/model/command/CrnCommand.java index e04212a..219a53c 100644 --- a/src/main/java/com/zy/core/model/command/CrnCommand.java +++ b/src/main/java/com/zy/core/model/command/CrnCommand.java @@ -16,6 +16,7 @@ // 鍫嗗灈鏈哄彿 private Integer crnNo = 0; + private Integer laneNo = 0; // 浠诲姟瀹屾垚纭浣� private Short ackFinish = 0; @@ -82,6 +83,7 @@ private Short onlineWrk3 = 0; //鎭㈠鑱旀満浠诲姟 private Short onlineWrk4 = 0; + private Short reset = 0; // 浠诲姟纭 0锛氭湭纭 1锛氬凡纭 private Short command = 0; @@ -121,4 +123,13 @@ System.out.println("绀兼嫓"); System.out.println(mm); } + + public String getNowTask() { + String souLoc = this.getSourcePosX() + "鎺�" + this.getSourcePosY() + "鍒�" + this.getSourcePosZ() + "灞�"; + String endLoc = this.getDestinationPosX() + "鎺�" + this.getDestinationPosY() + "鍒�" + this.getDestinationPosY() + "灞�"; + + return "浠诲姟鍙�:"+this.taskNo+";璧风偣:"+souLoc+";缁堢偣:"+endLoc+";妯″紡:"+this.taskModeType.name(); + } + + } -- Gitblit v1.9.1