public IActionResult Drain() { if (!_aquaPinController.IsFillActive && !_aquaPinController.IsDrainActive && !_aquaPinController.IsPumpActive) { _aquaPinController.Drain(); } return(Ok()); }
/// <summary> /// Manual override for the Water Change sequence /// </summary> public void WaterChange() { _waterLevelTimer.Change(Timeout.Infinite, Timeout.Infinite); _aquaPinController.Drain(); _waterChangeTimer.Change(TimeSpan.Zero, _waterLevelCheckInterval); }