Ejemplo n.º 1
0
 public void CopyTo(Quant_Inference qa)
 {
     qa.type_peptide_ratio             = this.type_peptide_ratio;
     qa.type_protein_ratio_calculation = this.type_protein_ratio_calculation;
     qa.type_unique_peptide_only       = this.type_unique_peptide_only;
     qa.threshold_score_interference   = this.threshold_score_interference;
     qa.threshold_score_intensity      = this.threshold_score_intensity;
     qa.type_get_group = this.type_get_group;
 }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (obj.GetType() != this.GetType())
            {
                return(false);
            }
            Quant_Inference q_infer = obj as Quant_Inference;

            if ((System.Object)q_infer == null)
            {
                return(false);
            }
            if (this.type_peptide_ratio != q_infer.type_peptide_ratio)
            {
                return(false);
            }
            if (this.type_protein_ratio_calculation != q_infer.type_protein_ratio_calculation)
            {
                return(false);
            }
            if (this.type_unique_peptide_only != q_infer.type_unique_peptide_only)
            {
                return(false);
            }
            if (this.threshold_score_interference != q_infer.threshold_score_interference)
            {
                return(false);
            }
            if (this.threshold_score_intensity != q_infer.threshold_score_intensity)
            {
                return(false);
            }
            if (this.type_get_group != q_infer.type_get_group)
            {
                return(false);
            }
            return(true);
        }