| | |
| | | public SteLocaType locaType; |
| | | |
| | | /** |
| | | * 当前位置 1,近点,2远点,3A点,4B点 |
| | | */ |
| | | public Short locaStart; |
| | | |
| | | public SteLocaType locaStartType; |
| | | |
| | | /** |
| | | * 当前位置 1,近点,2远点,3A点,4B点 |
| | | */ |
| | | public Short locaEnd; |
| | | |
| | | public SteLocaType locaEndType; |
| | | |
| | | /** |
| | | * 近点距离 |
| | | */ |
| | | public Double closer; |
| | |
| | | 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); |