Exemplo n.º 1
0
        public FreePracticeViewModel()
        {
            _freePractice   = new FreePractice();
            _arduinoService = Container.Resolve <IArduinoService>();

            EndFreePracticeCommand = new EndFreePracticeCommand(this);

            _arduinoService.UpdateTimes += OnUpdateTimes;

            _arduinoService.StartSession();
        }
Exemplo n.º 2
0
 public void StartResumeRace()
 {
     _arduinoService.StartSession();
     _raceTimer.Start();
 }