From 153ab7259290179957c1cfa36b5c2e6b6da587c4 Mon Sep 17 00:00:00 2001
From: dubin <dubin>
Date: 星期六, 23 八月 2025 15:29:52 +0800
Subject: [PATCH] 联调
---
src/main/java/com/zy/core/model/protocol/CrnProtocol.java | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/core/model/protocol/CrnProtocol.java b/src/main/java/com/zy/core/model/protocol/CrnProtocol.java
index b56dcb0..895c754 100644
--- a/src/main/java/com/zy/core/model/protocol/CrnProtocol.java
+++ b/src/main/java/com/zy/core/model/protocol/CrnProtocol.java
@@ -187,6 +187,11 @@
*/
public Float yDuration;
+ /**
+ * 涓婁竴娆℃寚浠や笅鍙戞椂闂�
+ */
+ private Long lastCommandTime = System.currentTimeMillis();
+
public void setMode(Short mode) {
this.mode = mode;
this.modeType = CrnModeType.get(mode);
@@ -250,4 +255,33 @@
basCrnp.setWrkNo(taskNo.intValue());
return basCrnp;
}
+
+ public void setxSpeed(float xSpeed) {
+ this.xSpeed = xSpeed;
+ }
+
+ public void setySpeed(float ySpeed) {
+ this.ySpeed = ySpeed;
+ }
+
+ public void setzSpeed(float zSpeed) {
+ this.zSpeed = zSpeed;
+ }
+
+ public void setxDistance(float xDistance) {
+ this.xDistance = xDistance;
+ }
+
+ public void setyDistance(float yDistance) {
+ this.yDistance = yDistance;
+ }
+
+ public void setxDuration(float xDuration) {
+ this.xDuration = xDuration;
+ }
+
+ public void setyDuration(float yDuration) {
+ this.yDuration = yDuration;
+ }
+
}
--
Gitblit v1.9.1