Exemplo n.º 1
0
 public static DP213_OC_Offset getInstance()
 {
     if (instance == null)
     {
         instance = new DP213_OC_Offset();
     }
     return(instance);
 }
Exemplo n.º 2
0
 public void Set_All_Band_Set_AM1_By_Applying_Offset(RGB New_AM1)
 {
     RGB[,] AM1_Offset = DP213_OC_Offset.getInstance().getAM1Offset();
     for (int band = 0; band < DP213_Static.Max_HBM_and_Normal_Band_Amount; band++)
     {
         Set_Band_Set_AM1(Gamma_Set.Set1, band, New_AM1 + AM1_Offset[band, 0]);
         Set_Band_Set_AM1(Gamma_Set.Set2, band, New_AM1 + AM1_Offset[band, 1]);
         Set_Band_Set_AM1(Gamma_Set.Set3, band, New_AM1 + AM1_Offset[band, 2]);
         Set_Band_Set_AM1(Gamma_Set.Set4, band, New_AM1 + AM1_Offset[band, 3]);
         Set_Band_Set_AM1(Gamma_Set.Set5, band, New_AM1 + AM1_Offset[band, 4]);
         Set_Band_Set_AM1(Gamma_Set.Set6, band, New_AM1 + AM1_Offset[band, 5]);
     }
 }