|
@ -18,7 +18,6 @@ public class ItemProtocol { |
|
|
public static String item_error = "error"; |
|
|
public static String item_error = "error"; |
|
|
public static String item_task = "task"; |
|
|
public static String item_task = "task"; |
|
|
public static String item_weight = "weight"; |
|
|
public static String item_weight = "weight"; |
|
|
public static String item_material_type = "material_type"; |
|
|
|
|
|
public static String item_sub_tray = "sub_tray"; |
|
|
public static String item_sub_tray = "sub_tray"; |
|
|
public static String item_mother_tray = "mother_tray"; |
|
|
public static String item_mother_tray = "mother_tray"; |
|
|
public static String item_to_command = "to_command"; |
|
|
public static String item_to_command = "to_command"; |
|
@ -57,9 +56,6 @@ public class ItemProtocol { |
|
|
public int getWeight() { |
|
|
public int getWeight() { |
|
|
return this.getOpcIntegerValue(item_weight); |
|
|
return this.getOpcIntegerValue(item_weight); |
|
|
} |
|
|
} |
|
|
public int getMaterialType() { |
|
|
|
|
|
return this.getOpcIntegerValue(item_material_type); |
|
|
|
|
|
} |
|
|
|
|
|
public int getSubTray() { |
|
|
public int getSubTray() { |
|
|
return this.getOpcIntegerValue(item_sub_tray); |
|
|
return this.getOpcIntegerValue(item_sub_tray); |
|
|
} |
|
|
} |
|
@ -109,7 +105,6 @@ public class ItemProtocol { |
|
|
list.add(new ItemDto(item_action, "取放信号", "DB600.B3")); |
|
|
list.add(new ItemDto(item_action, "取放信号", "DB600.B3")); |
|
|
list.add(new ItemDto(item_task, "任务号", "DB600.D4")); |
|
|
list.add(new ItemDto(item_task, "任务号", "DB600.D4")); |
|
|
list.add(new ItemDto(item_weight, "重量", "DB600.D4")); |
|
|
list.add(new ItemDto(item_weight, "重量", "DB600.D4")); |
|
|
list.add(new ItemDto(item_material_type, "物料类型", "DB600.D4")); |
|
|
|
|
|
list.add(new ItemDto(item_sub_tray, "子托盘条码", "DB600.D4")); |
|
|
list.add(new ItemDto(item_sub_tray, "子托盘条码", "DB600.D4")); |
|
|
list.add(new ItemDto(item_mother_tray, "母托盘条码", "DB600.D4")); |
|
|
list.add(new ItemDto(item_mother_tray, "母托盘条码", "DB600.D4")); |
|
|
list.add(new ItemDto(item_error, "报警信号", "DB600.B5")); |
|
|
list.add(new ItemDto(item_error, "报警信号", "DB600.B5")); |
|
|