| | |
| | | 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 |
| | |
| | | // 命令 |
| | | private String command = ""; |
| | | |
| | | // 走行速度(m/min) |
| | | private Float xspeed; |
| | | |
| | | // 升降速度(m/min) |
| | | private Float yspeed; |
| | | |
| | | // 叉牙速度(m/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); |
| | | } |
| | | } |