Ejemplo n.º 1
0
        //根据用户点击的pNovol答案进行标注
        public void refresh_pNovol(Pnovo_Result result)
        {
            refresh_clear();
            string        sq    = result.SQ;
            List <double> bmass = result.get_all_bMass();
            List <double> ymass = result.get_all_yMass();

            this.MS2_help_denovol_pNovo = new MS2_Help_Denovol_pNovol();
            add_pNovol_annotation(bmass, result, 0);
            add_pNovol_annotation(ymass, result, 1);
        }
Ejemplo n.º 2
0
 public void refresh_clear()
 {
     this.MS2_help_denovol.arrow_mass0 = 0.0;
     this.MS2_help_denovol_history.Clear();
     this.MS2_help_denovol.all_annotation.Clear();
     this.MS2_help_denovol.arrow_annotation.Clear();
     this.MS2_help_denovol.arrow_annotation_last.Clear();
     this.MS2_help_denovol.arrow_mass.Clear();
     this.MS2_help_denovol.all_series_index.Clear();
     this.MS2_help_denovol.all_series_index2.Clear();
     this.MS2_help_denovol.arrowMass_to_index.Clear();
     this.MS2_help_denovol_pNovo = new MS2_Help_Denovol_pNovol();
     this.b_series.Clear();
     this.y_series.Clear();
     this.current_color = default_color;
     for (int i = 0; i < this.MS2_help_denovol.all_series.Count; ++i)
     {
         ((LineSeries)this.MS2_help_denovol.all_series[i]).Color = OxyColors.Transparent;
     }
 }