Ejemplo n.º 1
0
        /// <summary>
        /// Loads counter set from CurrentRun, or resets if blank
        /// </summary>
        private void InitCounterSet()
        {
            var currentRound = GetCurrentRound();

            _roundCounter = RoundHeatCounterSet.CreateCounterSetFor(currentRound);
            if (CurrentRun != null)
            {
                _roundCounter.SetValuesFromString(CurrentRun);
            }
            CurrentRun = _roundCounter.ToString();
        }
Ejemplo n.º 2
0
 internal void SetRoundCounter(TournamentCounterSet counter)
 {
     _roundCounter = counter;
     CurrentRun    = _roundCounter.ToString();
 }