From 1c3238b839423098a30ad62407a5c61266c04090 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 03 九月 2020 13:38:17 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/domain/vo/CrnMsgTableVo.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/domain/vo/CrnMsgTableVo.java b/src/main/java/com/zy/asrs/domain/vo/CrnMsgTableVo.java
index 25e5472..072c46c 100644
--- a/src/main/java/com/zy/asrs/domain/vo/CrnMsgTableVo.java
+++ b/src/main/java/com/zy/asrs/domain/vo/CrnMsgTableVo.java
@@ -1,6 +1,9 @@
package com.zy.asrs.domain.vo;
+import com.zy.asrs.utils.Utils;
import lombok.Data;
+
+import java.text.DecimalFormat;
/**
* Created by vincent on 2020-06-02
@@ -38,4 +41,52 @@
// 鍛戒护
private String command = "";
+ // 璧拌閫熷害锛坢/min)
+ private Float xspeed;
+
+ // 鍗囬檷閫熷害锛坢/min)
+ private Float yspeed;
+
+ // 鍙夌墮閫熷害锛坢/min)
+ private Float zspeed;
+
+ // 璧拌璺濈(Km)
+ private Float xdistance;
+
+ // 鍗囬檷璺濈(Km)
+ private Float ydistance;
+
+ // 璧拌鏃堕暱(H)
+ private Float xduration;
+
+ // 鍗囬檷鏃堕暱(H)
+ private Float yduration;
+
+ public void setXspeed(Float xspeed) {
+ this.xspeed = Utils.scale(xspeed);
+ }
+
+ public void setYspeed(Float yspeed) {
+ this.yspeed = Utils.scale(yspeed);
+ }
+
+ public void setZspeed(Float zspeed) {
+ this.zspeed = Utils.scale(zspeed);
+ }
+
+ public void setXdistance(Float xdistance) {
+ this.xdistance = Utils.scale(xdistance);
+ }
+
+ public void setYdistance(Float ydistance) {
+ this.ydistance = Utils.scale(ydistance);
+ }
+
+ public void setXduration(Float xduration) {
+ this.xduration = Utils.scale(xduration);
+ }
+
+ public void setYduration(Float yduration) {
+ this.yduration = Utils.scale(yduration);
+ }
}
--
Gitblit v1.9.1