| | |
| | | IDLE(0, "空闲"), |
| | | MOVING(1, "作业中"), |
| | | SOS(2, "报警"), |
| | | WAITING(3, "任务完成等待WCS确认"), |
| | | WAITING(10, "等待确认"), |
| | | OFF_LINE(-1, "未知"), |
| | | OTHER(100, "其它"), |
| | | */ |
| | | public Short status; |
| | | |
| | |
| | | /** |
| | | * 满电 |
| | | */ |
| | | public Boolean fullCharge; |
| | | public Boolean fullCharge = false; |
| | | |
| | | /** |
| | | * 低电量 |
| | |
| | | |
| | | /** |
| | | * 当前位置 1,近点,2远点,3A点,4B点 |
| | | * NONE(0, "未知"), |
| | | * POINT20(20, "A面平移车"), |
| | | * POINT21(21, "硫化罐A端"), |
| | | * POINT22(22, "硫化罐B端"), |
| | | * POINT23(23, "B面平移车"), |
| | | * POINT24(24, "水槽A端"), |
| | | * POINT25(25, "水槽B端"), |
| | | * POINT26(26, "B端输送线"), |
| | | */ |
| | | public Short loca; |
| | | |
| | | public SteLocaType locaType; |
| | | |
| | | /** |
| | | * 当前位置 1,近点,2远点,3A点,4B点 |
| | | */ |
| | | public Short locaStart; |
| | | |
| | | public SteLocaType locaStartType; |
| | | |
| | | /** |
| | | * 当前位置 1,近点,2远点,3A点,4B点 |
| | | */ |
| | | public Short locaEnd; |
| | | |
| | | public SteLocaType locaEndType; |
| | | |
| | | /** |
| | | * 近点距离 |
| | |
| | | this.loca = SteLocaType.get(type).id.shortValue(); |
| | | } |
| | | |
| | | public void setLocaStart(Short locaStart){ |
| | | this.locaStart = locaStart; |
| | | this.locaStartType = SteLocaType.get(locaStart); |
| | | } |
| | | |
| | | public void setLocaStart(SteLocaType type){ |
| | | this.locaStartType = type; |
| | | this.locaStart = SteLocaType.get(type).id.shortValue(); |
| | | } |
| | | |
| | | public void setLocaEnd(Short locaEnd){ |
| | | this.locaEnd = locaEnd; |
| | | this.locaEndType = SteLocaType.get(locaEnd); |
| | | } |
| | | |
| | | public void setLocaEnd(SteLocaType type){ |
| | | this.locaEndType = type; |
| | | this.locaEnd = SteLocaType.get(type).id.shortValue(); |
| | | } |
| | | |
| | | public void setHisTaskStatus(Short hisTaskStatus){ |
| | | this.hisTaskStatus = hisTaskStatus; |
| | | this.hisTaskStatusType = SteHisTaskStatusType.get(hisTaskStatus); |