public WorkOrderViewModel() { _workOrderRepository = new WorkOrderSQLServer(); _timeManagementRepository = new TimeManagementSQLServer(); StartButton = new DelegateCommand(StartButtonExecute); TimeButton = new DelegateCommand(TimeButtonExecute); Time2Button = new DelegateCommand(Time2ButtonExecute); _timeRecorder = new TimeManagementServices(_timeManagementRepository.GetWorks()); _displayTimer = new TimeDisplayTimer(new TimerCallback(TimeTest)); _displayTimer.Start(); }
static AutoWaitModeChangeTimer() { _timer = new Timer(Callback); _timeManagementRepository = new TimeManagementSQLServer(); _timeRecorder = new TimeManagementServices(_timeManagementRepository.GetWorks()); }