public void TakeAction(bool isWarn, Candidate candidate) { if (isWarn) { candidate.IsWarned = true; } else { candidate.IsStopped = true; GetLastLevelandShuttle(Level.IndexOf(CurrentLevel), Shuttle); candidate.Result = $"{LastLevel} - {LastShuttle}"; if (Candidates.All(x => x.IsStopped == true)) { is_stopWatchRunning = false; nextShuttleValue = new TimeSpan(0, 0, 0); } } }