Merge branch 'dev' of i3-IMPP/i3plus-pojo into test

yun-zuoyi
陆卫豪 6 years ago committed by nancy.li
commit 0fad1e4df5

@ -3073,6 +3073,39 @@ public class MesEnumUtil {
}
}
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ONLINE_SEND_TYPE {
PLC("PLC", "PLC"),
DB("DB", "DB");
private String value;
private String description;
ONLINE_SEND_TYPE(String value, String description) {
this.value = value;
this.description = description;
}
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(String val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* WC_CHECK_TYPE 线
*/

Loading…
Cancel
Save