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); } } }
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); }
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); }
protected void Band_Gray255_RGB_Compensation(OC_Mode mode, int band) { cmd.DBV_Setting(ocparam.GetDBV(band).ToString("X3")); RGBSubCompensation(mode, band, gray: 0); }