Ejemplo n.º 1
0
        //  Public Methods
        #region PublicMethods

        /// <summary>
        /// Start async task to run data processing
        /// </summary>
        public async Task StartRealTimeProcessingAsync()
        {
            await StopRealTimeProcessingAsyncAsync();

            FilteredData.RemoveAll();

            // fire off the run tasks
            CancelTokenSource = new CancellationTokenSource();
            MonitorRunTask    = RunSignalFilteringAsync(CancelTokenSource.Token);

            Log?.Invoke(this, new LogEventArgs(Name, this, "StartMonitorAsync", $"Started signal filtering for {Name}.", LogLevel.INFO));
        }