rev:烘箱温度

This commit is contained in:
2025-06-11 16:55:45 +08:00
parent dfcaeea731
commit d97e61912e
3 changed files with 5 additions and 2 deletions

View File

@@ -146,7 +146,9 @@ public class HongXiangConveyorDeviceDriver extends AbstractOpcDeviceDriver imple
action = this.itemProtocol.getItem_action();
error = this.itemProtocol.getItem_error();
door = this.itemProtocol.getItem_door();
temperature = this.itemProtocol.getItem_temperature();
if (this.itemProtocol.getItem_temperature() != -1){
temperature = this.itemProtocol.getItem_temperature();
}
countdown_house = this.itemProtocol.getItem_countdown_house();
countdown_min = this.itemProtocol.getItem_countdown_min();
countdown_sec = this.itemProtocol.getItem_countdown_sec();

View File

@@ -139,7 +139,7 @@ public class ItemProtocol {
setIsonline(true);
return value;
}
return 0;
return -1;
}

View File

@@ -489,6 +489,7 @@ public class PlugPullDeviceSiteDeviceDriver extends AbstractOpcDeviceDriver impl
this.writing(map);
requireSucess = false;
message = "套管完成失败,重量为0";
return;
}
}