| | |
| | | package com.zy.core.model.protocol; |
| | | |
| | | import com.zy.asrs.entity.BasCrnp; |
| | | import com.zy.entity.BasCrnp; |
| | | import com.zy.core.enums.CrnForkPosType; |
| | | import com.zy.core.enums.CrnLiftPosType; |
| | | import com.zy.core.enums.CrnModeType; |
| | |
| | | */ |
| | | @Data |
| | | public class CrnProtocol { |
| | | |
| | | private Integer crnNo; |
| | | |
| | | /** |
| | | * 1 = 手动模式 |
| | |
| | | */ |
| | | public Float yDuration; |
| | | |
| | | // /** |
| | | // * 任务接收 |
| | | // */ |
| | | // public Short taskReceive; |
| | | |
| | | public void setMode(Short mode) { |
| | | this.mode = mode; |
| | | this.modeType = CrnModeType.get(mode); |
| | |
| | | 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; |
| | | } |
| | | |
| | | } |