opt: 仙工驱动监控页面实现国际化,NDC反馈行架还原

This commit is contained in:
yanps
2024-07-02 17:24:26 +08:00
parent d795315fe1
commit f9fc6e8a50
10 changed files with 142 additions and 141 deletions

View File

@@ -25,6 +25,12 @@ public class ItemProtocol {
public static String item_error = "error";
//任务号
public static String item_task = "task";
//货叉上叠盘数量
public static String item_s_quantity = "s_quantity";
//货叉下叠盘数量
public static String item_x_quantity = "x_quantity";
//叠盘总数量
public static String item_quantity = "quantity";
//下发命令
public static String item_to_command = "to_command";
@@ -74,6 +80,18 @@ public class ItemProtocol {
return this.getOpcIntegerValue(item_task);
}
public int getS_quantity() {
return this.getOpcIntegerValue(item_s_quantity);
}
public int getX_quantity() {
return this.getOpcIntegerValue(item_x_quantity);
}
public int getQuantity() {
return this.getOpcIntegerValue(item_quantity);
}
public int getTo_command() {
return this.getOpcIntegerValue(item_to_command);
}
@@ -142,6 +160,9 @@ public class ItemProtocol {
list.add(new ItemDto(item_carrier_direction, "托盘方向", "DB600.B4"));
list.add(new ItemDto(item_error, "报警信号", "DB600.B6"));
list.add(new ItemDto(item_task, "任务号", "DB600.D10"));
list.add(new ItemDto(item_s_quantity, "货叉上叠盘数量", "DB600.D12"));
list.add(new ItemDto(item_x_quantity, "货叉下叠盘数量", "DB600.D14"));
list.add(new ItemDto(item_quantity, "叠盘总数量", "DB600.D16"));
return list;
}