|
|
@ -19,7 +19,8 @@ public class ItemProtocol { |
|
|
|
public static String item_task = "task"; |
|
|
|
public static String item_weight = "weight"; |
|
|
|
public static String item_material_type = "material_type"; |
|
|
|
public static String item_barcode = "barcode"; |
|
|
|
public static String item_sub_tray = "sub_tray"; |
|
|
|
public static String item_mother_tray = "mother_tray"; |
|
|
|
public static String item_to_command = "to_command"; |
|
|
|
public static String item_to_target = "to_target"; |
|
|
|
public static String item_to_task = "to_task"; |
|
|
@ -59,8 +60,12 @@ public class ItemProtocol { |
|
|
|
public int getMaterialType() { |
|
|
|
return this.getOpcIntegerValue(item_material_type); |
|
|
|
} |
|
|
|
public int getBarcode() { |
|
|
|
return this.getOpcIntegerValue(item_barcode); |
|
|
|
public int getSubTray() { |
|
|
|
return this.getOpcIntegerValue(item_sub_tray); |
|
|
|
} |
|
|
|
|
|
|
|
public int getMotherTray() { |
|
|
|
return this.getOpcIntegerValue(item_mother_tray); |
|
|
|
} |
|
|
|
|
|
|
|
public int getToCommand() { |
|
|
@ -105,7 +110,8 @@ public class ItemProtocol { |
|
|
|
list.add(new ItemDto(item_task, "任务号", "DB600.D4")); |
|
|
|
list.add(new ItemDto(item_weight, "重量", "DB600.D4")); |
|
|
|
list.add(new ItemDto(item_material_type, "物料类型", "DB600.D4")); |
|
|
|
list.add(new ItemDto(item_barcode, "条码", "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_error, "报警信号", "DB600.B5")); |
|
|
|
return list; |
|
|
|
} |
|
|
|