Example #1
0
        private void Model_PCRCyclerTempChanged(double temperature)
        {
            graphTemps.Add(new TemperaturePoint(temperature, ++graphTempsCount));

            pcrplotter.Dispatcher.Invoke(
                (Action)(() =>
                {
                    graphTemps.Add(new TemperaturePoint(temperature, ++graphTempsCount));
                }
                )
                );
        }
Example #2
0
 private void Model_PCRCyclerTempChanged(double temperature, double power, bool controlling, bool transitioning)
 {
     plotter.Dispatcher.Invoke(
         (Action)(() =>
     {
         graphTemps.Add(new TemperaturePoint(temperature, ++graphTempsCount));
     }
                  )
         );
 }