添加喷涂不良类型枚举

yun-zuoyi
宋军超 5 years ago
parent ddaedf49ee
commit d372256a68

@ -5310,7 +5310,8 @@ public class MesEnumUtil {
BOARD_ORG_HOUR_OEE("BOARD_ORG_HOUR_OEE", " 工厂小时OEE"),
BOARD_WORK_CELL_STATUS("BOARD_WORK_CELL_STATUS", " 工位状态监听看板"),
BOARD_HNC_WC_CAPACITY("BOARD_HNC_WC_CAPACITY", " 生产线产能看板"),
BOARD_MGN_CAPACITY("BOARD_MGN_CAPACITY", "产能看板");
BOARD_MGN_CAPACITY("BOARD_MGN_CAPACITY", "产能看板"),
BOARD_MGN_STATISTICS("BOARD_MGN_STATISTICS", "天津系统看板");
private String code;
private String description;
@ -7830,26 +7831,26 @@ public class MesEnumUtil {
POLISHING("POLISHING", " 抛光"),
DETERMIND("DETERMIND", " 待定");
private String code;
private String value;
private String description;
DEFECT_TYPE_CODE(String code, String description) {
this.code = code;
DEFECT_TYPE_CODE(String value, String description) {
this.value = value;
this.description = description;
}
public String getCode() {
return code;
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(String code) {
public static String valueOfDescription(String value) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(code)) {
if (values()[i].value.equals(value)) {
tmp = values()[i].description;
}
}

Loading…
Cancel
Save