sige 1 year ago
parent
commit
465fcd1ed5
  1. 10
      src/src/main/java/com/my/graphiteDigesterBg/resource/ResHeatingTubeRackSlotManager.java

10
src/src/main/java/com/my/graphiteDigesterBg/resource/ResHeatingTubeRackSlotManager.java

@ -87,4 +87,14 @@ public class ResHeatingTubeRackSlotManager extends DiResourceManagerBase {
public ResHeatingTubeRackSlot getErrorSlot() {
return this.slots.get(this.errorSlotIndex);
}
// get slot at liquid plate
public ResHeatingTubeRackSlot getSlotAtLiquidPlate() {
for (ResHeatingTubeRackSlot slot : this.slots) {
if (slot.rackPosition.equals(ResHeatingTubeRackSlot.LOCATION_LIQUID_PLATE)) {
return slot;
}
}
return null;
}
}
Loading…
Cancel
Save