Exemplo n.º 1
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);
 }
Exemplo n.º 2
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);
        }