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

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