private void EnqueueNext(double data)
 {
     DataCollector.Enqueue(data);
     if (DataCollector.Count > CollectorSize)
     {
         DataCollector.Dequeue();
     }
 }