|
|
|
@ -495,7 +495,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static ORGANIZATION_INIT_DATA getByValue(String value) {
|
|
|
|
|
for (ORGANIZATION_INIT_DATA organizationInitData : values()) {
|
|
|
|
|
if (organizationInitData.getValue().equals(value)) {
|
|
|
|
@ -1488,7 +1487,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_INSERT_EXCEL getByValue(int value) {
|
|
|
|
|
for (MES_INSERT_EXCEL mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -1647,7 +1645,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_STATION_BOM_IS_REPEAT getByValue(int value) {
|
|
|
|
|
for (MES_STATION_BOM_IS_REPEAT mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -1846,7 +1843,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_WORK_CELL_TYPE getByValue(int value) {
|
|
|
|
|
for (MES_WORK_CELL_TYPE mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -1904,7 +1900,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_ACTION_TYPE getByValue(int value) {
|
|
|
|
|
for (MES_ACTION_TYPE mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -1952,7 +1947,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_IS_BIND_KEY getByValue(int value) {
|
|
|
|
|
for (MES_IS_BIND_KEY mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -2000,7 +1994,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_REPAIR_STATUS getByValue(int value) {
|
|
|
|
|
for (MES_REPAIR_STATUS mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -2051,7 +2044,6 @@ public class MesEnumUtil {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 根据value返回枚举类型,主要在switch中使用
|
|
|
|
|
public static MES_OPERATE_TYPE getByValue(int value) {
|
|
|
|
|
for (MES_OPERATE_TYPE mesInsertExcel : values()) {
|
|
|
|
|
if (mesInsertExcel.getValue() == value) {
|
|
|
|
@ -3573,8 +3565,8 @@ public class MesEnumUtil {
|
|
|
|
|
PCN_MENU(170, "PCN_MENU", ""),
|
|
|
|
|
PCN_MODULE(180, "PCN_MODULE", ""),
|
|
|
|
|
PCN_LOGOUT(190, "PCN_LOGOUT", ""),
|
|
|
|
|
UPDATE_LOCALE_RES(200, "SYNC_DATA_URL", "LOCALE_RES_URL");
|
|
|
|
|
|
|
|
|
|
UPDATE_LOCALE_RES(200, "SYNC_DATA_URL", "LOCALE_RES_URL"),
|
|
|
|
|
PCN_SYS_LOCALE_LANGUAGE(210, "PCN_SYS_LOCALE_LANGUAGE", "");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
|