|
|
|
@ -728,6 +728,43 @@ public class MesExtEnumUtil {
|
|
|
|
|
return this.description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 零件拉动组-拉动单类型
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(
|
|
|
|
|
shape = JsonFormat.Shape.OBJECT
|
|
|
|
|
)
|
|
|
|
|
public static enum PART_PULL_ORDER_TYPE {
|
|
|
|
|
KITTING_PULL(10, "KITTING拉动");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
private PART_PULL_ORDER_TYPE(int value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String valueOfDescription(int val) {
|
|
|
|
|
String tmp = null;
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < values().length; ++i) {
|
|
|
|
|
if (values()[i].value == val) {
|
|
|
|
|
tmp = values()[i].description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return tmp;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return this.value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return this.description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 物料信息-零件类别
|
|
|
|
|