public WorkTimerController(
     WorkTimerEvents events,
     ITimeService timeService,
     IWorkController workController)
 {
     _events                = events;
     _timeService           = timeService;
     _workController        = workController;
     _events.OnWorkStarted += _events_OnWorkStarted;
     _events.OnWorkStoped  += _events_OnWorkStoped;
 }
示例#2
0
 public LockedController(
     IWorkController workController,
     WorkTimerEvents events,
     IQuickActionController quickActionController,
     ITimeService timeService)
 {
     _workController         = workController;
     _events                 = events;
     _quickActionController  = quickActionController;
     _timeService            = timeService;
     events.OnSessionLocked += Events_OnSessionLocked;
     events.OnSessionUnlock += Events_OnSessionUnlock;
 }
示例#3
0
 public WorkController(ITimeService realTimeService, WorkTimerEvents events)
 {
     _realTimeService = realTimeService;
     _events          = events;
 }