|  |  |  | 
|---|
|  |  |  | * 1 = 货叉在左侧 | 
|---|
|  |  |  | * 2 = 货叉在右侧 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Short forkPos; | 
|---|
|  |  |  | public Short forkPos = -1; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public CrnForkPosType forkPosType; | 
|---|
|  |  |  | public CrnForkPosType forkPosType = CrnForkPosType.NONE; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 当前载货台位置 | 
|---|
|  |  |  | * 0 = 下定位 | 
|---|
|  |  |  | * 1 = 上定位 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Short liftPos; | 
|---|
|  |  |  | public Short liftPos = -1; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public CrnLiftPosType liftPosType; | 
|---|
|  |  |  | public CrnLiftPosType liftPosType = CrnLiftPosType.ERROR; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 走行在定位 | 
|---|
|  |  |  | * 0 = 在定位 | 
|---|
|  |  |  | * 1 = 不在定位 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Short walkPos; | 
|---|
|  |  |  | public Short walkPos = 0; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 拨指位置 | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机垂直故障代码(数值显示) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer alarm1; | 
|---|
|  |  |  | private Integer alarm1 = 0; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机水平故障代码(数值显示) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer alarm2; | 
|---|
|  |  |  | private Integer alarm2 = 0;; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机货叉故障代码(数值显示) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer alarm3; | 
|---|
|  |  |  | private Integer alarm3 = 0;; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机状态故障代码(数值显示) | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer alarm4; | 
|---|
|  |  |  | private Integer alarm4 = 0;; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 异常1 | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * X行走线速度m/min | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Float xSpeed; | 
|---|
|  |  |  | private Float xSpeed = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * Y行走线速度m/min | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Float ySpeed; | 
|---|
|  |  |  | private Float ySpeed = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * Z行走线速度m/min | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Float zSpeed; | 
|---|
|  |  |  | private Float zSpeed = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机累计走行距离km | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Float xDistance; | 
|---|
|  |  |  | public Float xDistance = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机累计升降距离km | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Float yDistance; | 
|---|
|  |  |  | public Float yDistance = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 堆垛机累计走行时长h | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Float xDuration; | 
|---|
|  |  |  | public Float xDuration = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | /**w | 
|---|
|  |  |  | * 堆垛机累计升降时长h | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Float yDuration; | 
|---|
|  |  |  | public Float yDuration = 0F; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void setMode(Short mode) { | 
|---|
|  |  |  | this.mode = mode; | 
|---|