public void ShowClock()
 {
     _stateHandler.SetState(new StateDTO
     {
         Time      = 10,
         StateCode = StateCode.ShowClock,
         NextState = StateCode.ShowClock
     });
     _threadHandler.StartThread();
 }
        public void TestConnection()
        {
            _stateHandler.SetState(new StateDTO
            {
                Time      = 10,
                StateCode = StateCode.TestConnection,
                NextState = StateCode.ShowClock
            });

            _threadHandler.StartThread();
        }