Exemplo n.º 1
0
            protected override async Task interimActionAsync()
            {
                for (int i = SmoothedData.Count; i < VectorProvider.LoggedData.Count; i++)
                {
                    SmoothedData.Add(VectorProvider.LoggedData[i]);
                }

                PeakFinder.ConsiderAllAvailable(); // Will cause FindBestSequence() to fire, if indeed it has (now) found one.
            }
Exemplo n.º 2
0
 protected override bool nextStageCriterion()
 {
     ProcessedData.Add(Evasion.ProcessData(Provider));
     Timestamps.Add(Timestamps.LastOrDefault() + Provider.Interval);
     return(Stopwatch.Elapsed >= Incoming.AcquisitionTime);
 }