fix:高度等级报错
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user