Beispiel #1
0
        private void Optic_Compensation(DP213_OC_Modes DP213_Objects)
        {
            DP213_Optic_Compensation OC_Set_Mode1 = DP213_Objects.Get_DP213_object(OC_Mode.Mode1);

            if (Is_Conduct_ELVSS_and_Vinit2_OC())
            {
                OC_Set_Mode1.ELVSS_and_Vinit2_Compensation();
            }
            if (Is_Conduct_VREF0_OC())
            {
                OC_Set_Mode1.VREF0_Compensation();
            }
            if (Is_Conduct_Black_OC())
            {
                OC_Set_Mode1.Black_Compensation();
            }
            if (Is_Conduct_AM1_OC())
            {
                OC_Set_Mode1.AM1_Compensation();
            }
            if (Is_AOD_Band_Selected())
            {
                OC_Set_Mode1.AOD_Compensation();
            }
            if (Is_Any_Normal_Band_Selected())
            {
                Main_Compensation(DP213_Objects);
            }
        }
Beispiel #2
0
        private void OC_Finalize(DP213_OC_Modes DP213_Objects)
        {
            int band = 1;

            DP213_Objects.Get_DP213_object(OC_Mode.Mode1).Show_Gradation_Pattern_At_Selected_Band(band);
            f1().OC_Timer_Stop();

            dp213_form().groupBox_OC_Main_Setting.Enabled          = true;
            dp213_form().groupBox_DP213_Mode_Set_Selection.Enabled = true;
            dp213_mornitoring().Dual_RadioButton_All_Enable(true);

            if (IsAll_Mode1234_and_Band0_to_Band11_Compensated())
            {
                f1().GB_Status_AppendText_Nextline("Band0 ~ Band11 have been compensated", Color.Blue);
                f1().GB_Status_AppendText_Nextline("Save this new Gray LUT", Color.Blue);
                init_gray_lut.Save_Updated_Matched_Grays();
            }

            SoundPlayer simpleSound = new SoundPlayer(Directory.GetCurrentDirectory() + "\\wavs\\OK_Sound.wav");

            simpleSound.PlayLooping();
            if (System.Windows.Forms.MessageBox.Show("OC Finishied") == DialogResult.OK)
            {
                simpleSound.Stop();
            }
        }
Beispiel #3
0
        public void Start_OC()
        {
            //DP213_OC_Modes's Constructor
            //0. Storage data initializing (datas = 0)
            //1. Construct OC_Set_Mode1/2/3/4/5/6
            //2. DP213_Dual_Engineering_Mode_Show();
            //3. Set_Mornitoring_Mode_Background_Color() according to OC_Set_Mode's Current_Gamma_Set;
            //4. Set m.All_Band_Gray_Gammas[,,] by_reading_from_gridviews
            //5. Measure/Loopcount/ExtensionApplied Clear
            DP213_OC_Modes DP213_Objects = new DP213_OC_Modes();

            OC_Initialize();
            Optic_Compensation(DP213_Objects);
            Show_CMOTP_GMOTP_CRC_Check_Result(dp213_form().Get_OC_Mode_Set(OC_Mode.Mode1));
            OC_Finalize(DP213_Objects);
            Show_Logs();
        }
Beispiel #4
0
        private void Main_Compensation(DP213_OC_Modes DP213_Objects)
        {
            dp213_mornitoring().Dual_Mode_GridView_Measure_Loopcount_ExtentionApplied_Clear_Without_AOD_Area();

            DP213_Main_Compensation Main_OC = new DP213_Main_Compensation(DP213_Objects);

            Main_OC.Mode123_Compensation();

            if (dp213_form().checkBox_Mode_4_Skip.Checked == false)
            {
                Main_OC.Mode4_Compensation();
            }
            if (dp213_form().checkBox_Mode_5_Skip.Checked == false)
            {
                Main_OC.Mode5_Compensation();
            }
            if (dp213_form().checkBox_Mode_6_Skip.Checked == false)
            {
                Main_OC.Mode6_Compensation();
            }
        }