protected override void OnStart() { Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; _copierFileService = new CopierFileService(this); _executionService = new ExecutionService(this); if (_copierFileService.CanProcessFile) { Timer.Start(_defaultTimerInterval); ChartObjects.DrawText(CopierTextObjectName, "Signal Receiver is running...", StaticPosition.TopRight, Colors.Yellow); } else Stop(); }
protected override void OnStart() { Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; _copierFileService = new CopierFileService(this); _executionService = new ExecutionService(this); if (_copierFileService.CanProcessFile) { Timer.Start(_defaultTimerInterval); ChartObjects.DrawText(CopierTextObjectName, "Signal Receiver is running...", StaticPosition.TopRight, Colors.Yellow); } else { Stop(); } }