Пример #1
0
 private void copy_denovol_history()
 {
     if (this.MS2_help_denovol_history.Count > 0)
     {
         MS2_Help_Denovol mhd = this.MS2_help_denovol_history.Last();
         if (mhd.all_annotation.Count == this.MS2_help_denovol.all_annotation.Count)
         {
             return;
         }
     }
     this.MS2_help_denovol_history.Add(new MS2_Help_Denovol(this.MS2_help_denovol));
 }
Пример #2
0
 public MS2_Help_Denovol(MS2_Help_Denovol ms2_help_denvol)
 {
     this.all_series            = new List <Series>(ms2_help_denvol.all_series);
     this.all_series_index      = new List <int>(ms2_help_denvol.all_series_index);
     this.all_series_index2     = new List <int>(ms2_help_denvol.all_series_index2);
     this.all_annotation        = new List <Annotation>(ms2_help_denvol.all_annotation);
     this.arrow_annotation      = new List <Annotation>(ms2_help_denvol.arrow_annotation);
     this.arrow_annotation_last = new List <Annotation>(ms2_help_denvol.arrow_annotation_last);
     this.arrow_mass            = new List <double>(ms2_help_denvol.arrow_mass);
     this.arrow_mass0           = ms2_help_denvol.arrow_mass0;
     this.arrowMass_to_index    = new System.Collections.Hashtable(ms2_help_denvol.arrowMass_to_index);
 }
Пример #3
0
        public void refresh_back()
        {
            this.isBack = true;
            if (this.MS2_help_denovol_history.Count <= 1)
            {
                return;
            }
            MS2_Help_Denovol mhd = this.MS2_help_denovol_history.Last();

            this.MS2_help_denovol_history.Remove(mhd);
            mhd = new MS2_Help_Denovol(this.MS2_help_denovol_history.Last());
            this.MS2_help_denovol = mhd;
        }