Exemple #1
0
 protected void SingleBand_RGB_Compensation(OC_Mode mode, int band)
 {
     cmd.DBV_Setting(ocparam.GetDBV(band).ToString("X3"));
     for (int gray = 0; gray < DP213_Static.Max_Gray_Amount && vars.Optic_Compensation_Stop == false; gray++)
     {
         if (IsNotSkipTarget(band, gray))
         {
             RGBSubCompensation(mode, band, gray);
         }
         else
         {
             Set_and_Send_Gamma_If_OC_Skip(mode, band, gray);
         }
     }
 }
Exemple #2
0
 private void Black_OC_Initalize(int band)
 {
     cmd.DBV_Setting(ocparam.GetDBV(band).ToString("X3"));
     api.DisplayMonoPattern(new byte[] { 0, 0, 0 }, channel_num);
     Set_and_Send_AM0(DP213OCSet.Get_BlackCompensation_OCMode(), band, new RGB(0));
     Thread.Sleep(300);
 }
Exemple #3
0
        private void Mode123_Gray_OC(int band)
        {
            cmd.DBV_Setting(ocparam.GetDBV(band).ToString("X3"));

            for (int gray = 0; gray < DP213_Static.Max_Gray_Amount && vars.Optic_Compensation_Stop == false; gray++)
            {
                if (IsNotSkipTarget(band, gray))
                {
                    SubMode123Compensation(band, gray);
                }
                else
                {
                    Set_and_Send_Gamma_If_OC_Skip(band, gray);
                }
            }

            Ifneeded_CopyAndSend_Mode123toMode456(band);
        }
Exemple #4
0
 protected void Band_Gray255_RGB_Compensation(OC_Mode mode, int band)
 {
     cmd.DBV_Setting(ocparam.GetDBV(band).ToString("X3"));
     RGBSubCompensation(mode, band, gray: 0);
 }