Example #1
0
        private void SetStageSettings()
        {
            if (rbStage1.Checked)
            {
                btnTest_1.Enabled = true;
                btnTest_2.Enabled = true;
                btnTest_3.Enabled = true;
                btnTest_4.Enabled = true;
                btnTest_5.Enabled = true;
                btnTest_6.Enabled = true;

                btnTest_1.Text = "GPSR";
                btnTest_2.Text = "Manipulation and Object Recognition";
                btnTest_3.Text = "Navigation Test";
                btnTest_4.Text = "Person Recognition Test";
                btnTest_5.Text = "RoboZoo";
                btnTest_6.Text = "Speech Recognition && Audio Detection";

                stageToPerform = StageToPerform.StageI;
            }
            else if (rbStage2.Checked)
            {
                btnTest_1.Enabled = true;
                btnTest_2.Enabled = true;
                btnTest_3.Enabled = true;
                btnTest_4.Enabled = true;
                btnTest_5.Enabled = false;
                btnTest_6.Enabled = false;

                btnTest_1.Text = "Open Challenge";
                btnTest_2.Text = "Restaurant";
                btnTest_3.Text = "Robo-Nurse";
                btnTest_4.Text = "Wake Me Up Test";

                stageToPerform = StageToPerform.StageII;
            }
            else if (rbStageFinals.Checked)
            {
                btnTest_1.Enabled = false;
                btnTest_2.Enabled = false;
                btnTest_3.Enabled = false;
                btnTest_4.Enabled = false;
                btnTest_5.Enabled = false;
                btnTest_6.Enabled = true;

                btnTest_6.Text = "¡¡¡ FINAL TEST !!!!";

                stageToPerform = StageToPerform.Finals;
            }
        }
Example #2
0
        private void SetStageSettings()
        {
            if (rbStage1.Checked)
            {
                btnTest_1.Enabled = true;
                btnTest_2.Enabled = true;
                btnTest_3.Enabled = true;
                btnTest_4.Enabled = true;
                btnTest_5.Enabled = true;
                btnTest_6.Enabled = true;

                btnTest_1.Text = "GPSR";
                btnTest_2.Text = "Manipulation and Object Recognition";
                btnTest_3.Text = "Navigation Test";
                btnTest_4.Text = "Person Recognition Test";
                btnTest_5.Text = "RoboZoo";
                btnTest_6.Text = "Speech Recognition && Audio Detection";

                stageToPerform = StageToPerform.StageI;
            }
            else if (rbStage2.Checked)
            {
                btnTest_1.Enabled = true;
                btnTest_2.Enabled = true;
                btnTest_3.Enabled = true;
                btnTest_4.Enabled = true;
                btnTest_5.Enabled = false;
                btnTest_6.Enabled = false;

                btnTest_1.Text = "Open Challenge";
                btnTest_2.Text = "Restaurant";
                btnTest_3.Text = "Robo-Nurse";
                btnTest_4.Text = "Wake Me Up Test";

                stageToPerform = StageToPerform.StageII;
            }
            else if (rbStageFinals.Checked)
            {
                btnTest_1.Enabled = false;
                btnTest_2.Enabled = false;
                btnTest_3.Enabled = false;
                btnTest_4.Enabled = false;
                btnTest_5.Enabled = false;
                btnTest_6.Enabled = true;

                btnTest_6.Text = "¡¡¡ FINAL TEST !!!!";

                stageToPerform = StageToPerform.Finals;
            }
        }