fix:高度等级报错

This commit is contained in:
2024-08-09 13:57:37 +08:00
parent b9c81052a4
commit d95c863598
2 changed files with 4 additions and 4 deletions

View File

@@ -123,8 +123,8 @@ public class ConveyorWithScannerWeightDeviceDriver extends AbstractOpcDeviceDriv
int to_container_type = 0;
int last_to_container_type = 0;
int to_height_level = 0;
int last_to_height_level = 0;
String to_height_level = null;
String last_to_height_level = null;
//托盘类型
int container_type = 0;

View File

@@ -152,8 +152,8 @@ public class ItemProtocol {
return this.getOpcIntegerValue(item_to_container_type);
}
public int getTo_height_level(){
return this.getOpcIntegerValue(item_to_height_level);
public String getTo_height_level(){
return this.getOpcStringValue(item_to_height_level);
}
Boolean isonline;