|
@ -21,7 +21,6 @@ public class ItemProtocol { |
|
|
public static String item_to_target = "to_target"; |
|
|
public static String item_to_target = "to_target"; |
|
|
public static String item_to_task = "to_task"; |
|
|
public static String item_to_task = "to_task"; |
|
|
public static String item_weight = "weight"; |
|
|
public static String item_weight = "weight"; |
|
|
public static String item_number = "number"; |
|
|
|
|
|
|
|
|
|
|
|
private StandardInspectSiteDeviceDriver driver; |
|
|
private StandardInspectSiteDeviceDriver driver; |
|
|
|
|
|
|
|
@ -53,10 +52,6 @@ public class ItemProtocol { |
|
|
return this.getOpcIntegerValue(item_task); |
|
|
return this.getOpcIntegerValue(item_task); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public int getNumber() { |
|
|
|
|
|
return this.getOpcIntegerValue(item_number); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getToCommand() { |
|
|
public int getToCommand() { |
|
|
return this.getOpcIntegerValue(item_to_command); |
|
|
return this.getOpcIntegerValue(item_to_command); |
|
|
} |
|
|
} |
|
@ -96,7 +91,6 @@ public class ItemProtocol { |
|
|
list.add(new ItemDto(item_move, "光电开关信号", "DB600.B2")); |
|
|
list.add(new ItemDto(item_move, "光电开关信号", "DB600.B2")); |
|
|
list.add(new ItemDto(item_error, "报警信号", "DB600.B6")); |
|
|
list.add(new ItemDto(item_error, "报警信号", "DB600.B6")); |
|
|
list.add(new ItemDto(item_task, "任务号", "DB600.D8")); |
|
|
list.add(new ItemDto(item_task, "任务号", "DB600.D8")); |
|
|
list.add(new ItemDto(item_number, "数量","DB600.D10")); |
|
|
|
|
|
return list; |
|
|
return list; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|