|
@ -25,7 +25,7 @@ public class ItemProtocol { |
|
|
public static String item_to_vehicle_code = "to_vehicle_code"; |
|
|
public static String item_to_vehicle_code = "to_vehicle_code"; |
|
|
public static String item_to_vehicle_type = "to_vehicle_type"; |
|
|
public static String item_to_vehicle_type = "to_vehicle_type"; |
|
|
public static String item_to_is_package = "to_is_package"; |
|
|
public static String item_to_is_package = "to_is_package"; |
|
|
public static String item_to_is_weight = "to_is_weight"; |
|
|
public static String item_is_weight = "is_weight"; |
|
|
public static String item_material = "material"; |
|
|
public static String item_material = "material"; |
|
|
public static String item_barcode = "barcode"; |
|
|
public static String item_barcode = "barcode"; |
|
|
public static String item_to_target = "to_target"; |
|
|
public static String item_to_target = "to_target"; |
|
@ -59,7 +59,7 @@ public class ItemProtocol { |
|
|
|
|
|
|
|
|
public int getTask() { return this.getOpcIntegerValue(item_task); } |
|
|
public int getTask() { return this.getOpcIntegerValue(item_task); } |
|
|
|
|
|
|
|
|
public int getWeight() { return this.getOpcIntegerValue(item_to_is_weight);} |
|
|
public int getWeight() { return this.getOpcIntegerValue(item_is_weight);} |
|
|
|
|
|
|
|
|
public int getMove() { |
|
|
public int getMove() { |
|
|
return this.getOpcIntegerValue(item_move); |
|
|
return this.getOpcIntegerValue(item_move); |
|
@ -134,7 +134,7 @@ public class ItemProtocol { |
|
|
list.add(new ItemDto(item_ioaction, "进出信号", "DB51.B4")); |
|
|
list.add(new ItemDto(item_ioaction, "进出信号", "DB51.B4")); |
|
|
list.add(new ItemDto(item_error, "报警信号", "DB51.B5")); |
|
|
list.add(new ItemDto(item_error, "报警信号", "DB51.B5")); |
|
|
list.add(new ItemDto(item_task, "任务号", "DB51.D6")); |
|
|
list.add(new ItemDto(item_task, "任务号", "DB51.D6")); |
|
|
list.add(new ItemDto(item_to_is_weight, "重量", "DB51.D10")); |
|
|
list.add(new ItemDto(item_is_weight, "重量", "DB51.D10")); |
|
|
list.add(new ItemDto(item_material, "物料", "DB51.STRING14.50")); |
|
|
list.add(new ItemDto(item_material, "物料", "DB51.STRING14.50")); |
|
|
list.add(new ItemDto(item_barcode, "条码", "DB51.W66")); |
|
|
list.add(new ItemDto(item_barcode, "条码", "DB51.W66")); |
|
|
return list; |
|
|
return list; |
|
|