protected ServiceWorker(IBaseData baseData) { State = ServiceWorkerState.Initializing; BaseData = baseData; SystemConfig = baseData.SystemConfig; Country = baseData.Country; _notificationService = baseData.GetNotificationService(); TestStatus = baseData.RunInTestMode; _testTime = DateTime.Now; State = ServiceWorkerState.Initialized; }