| | |
| | | // p to p |
| | | MACHINE_P_MOVE("PToP"), |
| | | // 异常 |
| | | MACHINE_ERROR("异常"), |
| | | MACHINE_ERROR("Аномалия"), |
| | | // 自动 |
| | | MACHINE_AUTO("自动"), |
| | | MACHINE_AUTO("Автоматически"), |
| | | // 非自动/手动 |
| | | MACHINE_UN_AUTO("非自动"), |
| | | MACHINE_UN_AUTO("Неавтоматический"), |
| | | ; |
| | | |
| | | private String desc; |
| | |
| | | |
| | | public static CrnStatusType process(Integer ioType){ |
| | | if (ioType>100) { |
| | | return MACHINE_PAKIN; |
| | | } else if (ioType < 100 && ioType!=3 && ioType!=6 && ioType!=11) { |
| | | return MACHINE_PAKOUT; |
| | | } else if (ioType < 100 && ioType!=3 && ioType!=6 && ioType!=11) { |
| | | return MACHINE_PAKIN; |
| | | } else if (ioType == 3) { |
| | | return MACHINE_SITE_MOVE; |
| | | } else if (ioType == 11) { |