Esempio n. 1
0
        public void AODOn()
        {
            //mipi.write 0x05 0x39
            byte address = Convert.ToByte("39", 16);

            api.WriteData(address, parameters: null, channel_num);
            api.WriteLine("--AOD On--", Color.Blue);
        }
Esempio n. 2
0
 public void Compensation()
 {
     if (vars.Optic_Compensation_Stop == false && DP213OCSet.Get_IsMain456CompensationApply() == true)
     {
         api.WriteLine("DP213 Main456 Compensation() Start", Color.Blue);
         MainCompensation();
         api.WriteLine("DP213 Main456 Compensation() Finish", Color.Green);
     }
     else
     {
         api.WriteLine("DP213 Main456 Compensation() Skip", Color.Red);
     }
 }
Esempio n. 3
0
 public void Compensation()
 {
     if (vars.Optic_Compensation_Stop == false)
     {
         api.WriteLine("DP213 White(REF0) Compensation() Start", Color.Blue);
         WhiteCompensation();
         api.WriteLine("DP213 White(REF0) Compensation() Finish", Color.Green);
     }
     else
     {
         api.WriteLine("DP213 White(REF0) Compensation() Skip", Color.Red);
     }
 }
Esempio n. 4
0
        private void DisplayPattern(int band, byte GrayVal)
        {
            if (band < DP213_Static.Max_HBM_and_Normal_Band_Amount)
            {
                api.DisplayMonoPattern(new byte[3] {
                    GrayVal, GrayVal, GrayVal
                }, channel_num);
            }
            else
            {
                api.DisplayBoxPattern(new byte[3] {
                    GrayVal, GrayVal, GrayVal
                }, new byte[3] {
                    0, 0, 0
                }, DP213OCSet.Get_AOD_LeftTopPos(), DP213OCSet.Get_AOD_RightBottomPos(), channel_num);
            }

            api.WriteLine("G" + GrayVal + " is applied", Color.Blue);
        }
Esempio n. 5
0
        private void Infinite_Loop_Check_When_Loopcount_Is_Bigger_Than_5(RGB Gamma)
        {
            RGB_Ininite_Loop_Check_Initialize(Gamma);

            if (Is_Infinite_True_Case1())//Added On 200218
            {
                api.WriteLine("Infinite Loop Case 1", Color.Purple);
                IsInfiniteLoop = true;
                InfiniteLoopCount++;
            }
            else if (Is_Infinite_True_Case2())
            {
                api.WriteLine("Infinite Loop Case 2", Color.Blue);
                IsInfiniteLoop = true;
                InfiniteLoopCount++;
            }
            else
            {
                IsInfiniteLoop = false;
            }

            Show_Infinite_and_InfiniteCount();
        }
Esempio n. 6
0
 public void Compensation()
 {
     api.WriteLine("DP253 Black Compensation()");
 }
Esempio n. 7
0
 public void Compensation()
 {
     api.WriteLine("DP253 ELVSS Compensation()");
 }
Esempio n. 8
0
 public void Compensation()
 {
     api.WriteLine("DP253 White Compensation()");
 }
Esempio n. 9
0
 private void Sub_Module_Compensation(CompensationMode comp)
 {
     try { GetICompensation(comp).Compensation(); }
     catch (Exception ex) { api.WriteLine("[Sub_Module_Compensation] : " + ex.Message); }
 }
Esempio n. 10
0
 public void FlashEraseAndWrite()
 {
     if (vars.Optic_Compensation_Stop == false)
     {
         api.WriteLine("DP213 FlashEraseAndWrite() Start", Color.Blue);
         SubFlashEraseAndWrite();
         api.WriteLine("DP213 FlashEraseAndWrite() Finish", Color.Green);
     }
     else
     {
         api.WriteLine("DP213 FlashEraseAndWrite() Skip", Color.Red);
     }
 }
Esempio n. 11
0
 public void Compensation()
 {
     api.WriteLine("DP253 GrayLowRef Compensation()");
 }
Esempio n. 12
0
 public void Compensation()
 {
     api.WriteLine("DP253 Main Compensation()");
 }