Beispiel #1
0
        /// <param name="Add_C_SFDO">This function will add Custom Simple_Frequency_Data_Object to the custom list simple_Frequency_Data_Objects</param>
        public void Add_C_SFDO()
        {
            Simple_Frequency_Data_Object obj = new Simple_Frequency_Data_Object(SFX, SFF);

            obj.Id = simple_Frequency_Data_Objects.Count;
            simple_Frequency_Data_Objects.Add(obj);
            SFX              = 0;
            SFF              = 0;
            isCustom_SFD     = true;
            f_total          = 0;
            fx_total         = 0;
            CSFDM_Result     = 0;
            isCalculated_SFD = false;
        }
Beispiel #2
0
 /// <param name="Generate_Simple_Freq_D">This function will crate mock data for the table</param>
 /// <returns>Mock Data</returns>
 public void Generate_Simple_Freq_D()
 {
     simple_Frequency_Data_Objects.Clear();
     btn_s_f_text = "Reset Data";
     for (int i = 0; i <= 10; i++)
     {
         Simple_Frequency_Data_Object obj =
             new Simple_Frequency_Data_Object(i, RandomNumber(20, 200));
         obj.Id = i;
         simple_Frequency_Data_Objects.Add(obj);
     }
     f_total          = 0;
     f_total          = 0;
     CSFDM_Result     = 0;
     isRandom_SFD     = true;
     isCalculated_SFD = false;
 }