plc数据类型修改

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

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

Loading…
Cancel
Save