plc数据类型修改

yun-zuoyi
joke.wang 5 years ago
parent 52e0d840af
commit f357293ca5

@ -5741,16 +5741,18 @@ public class MesEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PLC_DATA_TYPE { public enum PLC_DATA_TYPE {
STRING("10", "String", "字符串"),
INT("int", "数字"), BOOLEAN("20","Boolean", "布尔"),
STRING("string", "字符串"), WORD("30", "Word", "整形-Word"),
BOOLEAN("boolean", "布尔"); DWORD("40","Dword", "整形-DWord");
private String value; private String value;
private String code;
private String description; private String description;
PLC_DATA_TYPE(String value, String description) { PLC_DATA_TYPE(String value, String code,String description) {
this.value = value; this.value = value;
this.code = code;
this.description = description; this.description = description;
} }

Loading…
Cancel
Save