Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ///OpenFileDialog opdata = new OpenFileDialog();
            Auto_Test_Thread ATT = new Auto_Test_Thread();

            Auto_Test_Thread.P338_Control PG_Control = new Auto_Test_Thread.P338_Control();
            PG_Control.P338_Loop_Command(false);
            PG_Control.Clock_Alway_Switch(false);
            PG_Control.Eotp_Switch(false);
            textBox1.Text = "done";
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            OpenFileDialog picture_path = new OpenFileDialog();

            if (picture_path.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            Auto_Test_Thread ATT = new Auto_Test_Thread();

            Auto_Test_Thread.P338_Control PG_Control = new Auto_Test_Thread.P338_Control();

            /*
             * ATT.SEND_Video_mode(picture_path.FileName);
             * PG_Control.PG_Stop();
             * Thread.Sleep(5000);
             * ATT.Video_mode_Setting(1080, 30, 30, 30, 2160, 8, 9, 10);
             * ATT.SEND_Video_mode(picture_path.FileName);
             */
            ATT.Set_Video_Auto_Condition(4, 1100, 1080, 60, 60, 60, 2160, 8, 8, 8, 24, 60, picture_path.FileName);
            ATT.Video_Auto_thread(1);
        }