예제 #1
0
        public void runAnalysis()
        {
            HelixGenModel theModel = ((HelixGen.App)(App.Current)).Model;
            theModel.Analysis();
            //RadioButton_Checked_1(rongjie, new RoutedEventArgs());
            DisplayCurve(2);
            // rongjie. = true;
            Model_evtTempingsStarted();
            for (int i = 0; i < theModel.m_pcr_t.Count; i++)
            {
                Model_PCRCyclerTempChanged(theModel.m_pcr_t.ElementAt(i));

            }
        }
예제 #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            HelixGenModel theModel = ((HelixGen.App)(App.Current)).Model;

            Model_evtPCRReadingsStarted();
            theModel.Analysis();
            for (int i = 0; i < theModel._slope.Count / 4; i++)
            {
                //Model_PCRCyclerTempChanged(theModel._slope.ElementAt(i),0,false,false);
                Model_PCRReadingTaken1(10000 * (theModel._slope.ElementAt(i * 4 + 0)), theModel.m_data_t.ElementAt(i));
                Model_PCRReadingTaken21(10000 * (theModel._slope.ElementAt(i * 4 + 1)), theModel.m_data_t.ElementAt(i));
                Model_PCRReadingTaken31(10000 * (theModel._slope.ElementAt(i * 4 + 2)), theModel.m_data_t.ElementAt(i));
                Model_PCRReadingTaken41(10000 * (theModel._slope.ElementAt(i * 4 + 3)), theModel.m_data_t.ElementAt(i));
            }
            //theModel.m_data_r1.Add(temp_data);
            //for (uint ui = 5; ui <theModel.m_data_t.Count-5 ; ui++)
            //{

            //}
        }