| | |
| | | |
| | | public enum CrnStatusType { |
| | | |
| | | NONE(-1, "离线"), |
| | | IDLE(0, "空闲"), |
| | | FETCH_MOVING(1, "取货行走"), |
| | | FETCH_WAITING(2, "取货等待"), |
| | | FETCHING(3, "取货中"), |
| | | PUT_MOVING(4, "放货走行"), |
| | | PUT_WAITING(5, "放货等待"), |
| | | PUTTING(6, "放货中"), |
| | | ORIGIN_GO(7, "回原点"), |
| | | ORIGIN_BACK(8, "回反原点"), |
| | | MOVING(9, "走行中"), |
| | | WAITING(10, "任务完成等待WCS确认"), |
| | | PAUSE(11, "任务暂停"), |
| | | SOS(99, "报警"), |
| | | // NONE(-1, "离线"), |
| | | // IDLE(0, "空闲"), |
| | | // FETCH_MOVING(1, "取货行走"), |
| | | // FETCH_WAITING(2, "取货等待"), |
| | | // FETCHING(3, "取货中"), |
| | | // PUT_MOVING(4, "放货走行"), |
| | | // PUT_WAITING(5, "放货等待"), |
| | | // PUTTING(6, "放货中"), |
| | | // ORIGIN_GO(7, "回原点"), |
| | | // ORIGIN_BACK(8, "回反原点"), |
| | | // MOVING(9, "走行中"), |
| | | // WAITING(10, "任务完成等待WCS确认"), |
| | | // PAUSE(11, "任务暂停"), |
| | | // SOS(99, "报警"), |
| | | // ; |
| | | |
| | | IDLE(0, "空闲,无任务"), |
| | | NONE_MOVING(1, "无货行走"), |
| | | FETCHING(2, "取货"), |
| | | MOVING(3, "有货行走"), |
| | | PUTTING(4, "放货"), |
| | | PUT_COMPLETE(5, "放货完成"), |
| | | ; |
| | | |
| | | public Integer id; |
| | |
| | | return type; |
| | | } |
| | | } |
| | | return NONE; |
| | | return null; |
| | | } |
| | | |
| | | public static CrnStatusType get(CrnStatusType type) { |