@Override public String toString() { return "Pump(System:" + (systemActive ? "On" : "Off") + ",Pump:" + (pumpRunning ? "On" : "Off") + ") " + env.toString(); }
public void timeShift() { if (pumpRunning) env.lowerWaterLevel(); if (systemActive) processEnvironment(); }
boolean isMethaneAlarm() { return env.isMethaneLevelCritical(); }
boolean isLowWaterLevel() { return !env.isLowWaterSensorDry(); }