| | |
| | | public CrnStatusType statusType; |
| | | |
| | | /** |
| | | * 状态枚举 |
| | | */ |
| | | public CrnStatusType statusTypeTwo; |
| | | |
| | | /** |
| | | * 堆垛机当前列号 |
| | | */ |
| | | public Short bay; |
| | |
| | | this.liftPos = CrnLiftPosType.get(type).id.shortValue(); |
| | | } |
| | | |
| | | public void setStatus(Short status){ |
| | | public void setStatus(Short status) { |
| | | this.status = status; |
| | | this.statusType = CrnStatusType.get(status); |
| | | } |
| | | |
| | | public void setStatus(CrnStatusType type){ |
| | | public void setStatus(CrnStatusType type) { |
| | | this.statusType = type; |
| | | this.status = CrnStatusType.get(type).id.shortValue(); |
| | | } |
| | | |
| | | public void setStatusTwo(Short status) { |
| | | this.statusTwo = status; |
| | | this.statusTypeTwo = CrnStatusType.get(status); |
| | | } |
| | | |
| | | public void setStatusTwo(CrnStatusType type) { |
| | | this.statusTypeTwo = type; |
| | | this.statusTwo = CrnStatusType.get(type).id.shortValue(); |
| | | } |
| | | |
| | | public Short getTemp1() { |
| | |
| | | |
| | | /** |
| | | * 最近一次入出库类型 |
| | | * I:入库 |
| | | * O:出库 |
| | | * I:入库 |
| | | * O:出库 |
| | | */ |
| | | private String lastIo = "I"; |
| | | |
| | | |
| | | public BasCrnp toSqlModel(BasCrnp basCrnp){ |
| | | if (alarm!=null) { |
| | | public BasCrnp toSqlModel(BasCrnp basCrnp) { |
| | | if (alarm != null) { |
| | | basCrnp.setCrnErr(alarm.longValue()); |
| | | } |
| | | basCrnp.setWrkNo(taskNo.intValue()); |
| | |
| | | public void setzSpeed(Short zSpeed) { |
| | | this.zSpeed = Float.valueOf(zSpeed); |
| | | } |
| | | |
| | | public void setzSpeedTwo(Short zSpeedTwo) { |
| | | this.zSpeedTwo = Float.valueOf(zSpeedTwo); |
| | | } |