Esempio n. 1
0
 public void copyTo(pParse_Advanced pa)
 {
     pa.isolation_width         = this.isolation_width;
     pa.mix_spectra             = this.mix_spectra;
     pa.model                   = this.model;
     pa.threshold               = this.threshold;
     pa.max_charge              = this.max_charge;
     pa.mz_tolerance            = this.mz_tolerance;
     pa.max_mass                = this.max_mass;
     pa.sn_ratio                = this.sn_ratio;
     pa.mz_decimal_index        = this.mz_decimal_index;
     pa.mz_decimal              = this.mz_decimal;
     pa.intensity_decimal       = this.intensity_decimal;
     pa.intensity_decimal_index = this.intensity_decimal_index;
 }
Esempio n. 2
0
        //public void Reset()   //reset
        //{

        //}

        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            pParse_Advanced pa = obj as pParse_Advanced;

            if ((System.Object)pa == null)
            {
                return(false);
            }
            if (isolation_width != pa.isolation_width)
            {
                return(false);
            }
            if (this.mix_spectra != pa.mix_spectra)
            {
                return(false);
            }
            if (this.model != pa.model)
            {
                return(false);
            }
            if (this.threshold != pa.threshold)
            {
                return(false);
            }
            if (this.max_charge != pa.max_charge)
            {
                return(false);
            }
            if (this.mz_tolerance != pa.mz_tolerance)
            {
                return(false);
            }
            if (this.max_mass != pa.max_mass)
            {
                return(false);
            }
            if (this.sn_ratio != pa.sn_ratio)
            {
                return(false);
            }
            if (this.mz_decimal_index != pa.mz_decimal_index)
            {
                return(false);
            }
            if (this.mz_decimal != pa.mz_decimal)
            {
                return(false);
            }
            if (this.intensity_decimal_index != pa.intensity_decimal_index)
            {
                return(false);
            }
            if (this.intensity_decimal != pa.intensity_decimal)
            {
                return(false);
            }

            return(true);
        }