|  |  | 
 |  |  | @Data | 
 |  |  | public class CrnProtocol { | 
 |  |  |  | 
 |  |  |     private Integer crnNo; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 1 = 手动模式 | 
 |  |  |      * 2 = 自动模式 | 
 |  |  | 
 |  |  |     public Short walkPos; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 堆垛机任务完成 | 
 |  |  |      */ | 
 |  |  |     public Short taskFinish; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 载货台有物 | 
 |  |  |      */ | 
 |  |  |     public Short loaded; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 异常码(数值显示) | 
 |  |  |      */ | 
 |  |  |     private Short alarm1; | 
 |  |  |  | 
 |  |  |     private Short temp1; | 
 |  |  |  | 
 |  |  | 
 |  |  |         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; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |