public bool CheckRecalculatePeaks(PeptideFileAnalysisData that) { if (!Equals(AutoFindPeak, that.AutoFindPeak)) { return(true); } return(false); }
public PeptideFileAnalysisData(PeptideFileAnalysisData peptideFileAnalysisData) { MsDataFileId = peptideFileAnalysisData.MsDataFileId; ValidationStatus = peptideFileAnalysisData.ValidationStatus; Note = peptideFileAnalysisData.Note; ChromatogramStartTime = peptideFileAnalysisData.ChromatogramStartTime; ChromatogramEndTime = peptideFileAnalysisData.ChromatogramEndTime; AutoFindPeak = peptideFileAnalysisData.AutoFindPeak; Peaks = peptideFileAnalysisData.Peaks; ChromatogramSetId = peptideFileAnalysisData.ChromatogramSetId; PsmTimes = peptideFileAnalysisData.PsmTimes; ChromatogramSet = peptideFileAnalysisData.ChromatogramSet; }
protected bool Equals(PeptideFileAnalysisData other) { return(MsDataFileId == other.MsDataFileId && ChromatogramStartTime.Equals(other.ChromatogramStartTime) && ChromatogramEndTime.Equals(other.ChromatogramEndTime) && AutoFindPeak.Equals(other.AutoFindPeak) && Peaks.Equals(other.Peaks) && ChromatogramSetId == other.ChromatogramSetId && Equals(PsmTimes, other.PsmTimes) && Equals(ChromatogramSet, other.ChromatogramSet) && Equals(ValidationStatus, other.ValidationStatus) && Equals(Note, other.Note)); }
public bool CheckDirty(PeptideFileAnalysisData that) { if (ReferenceEquals(this, that)) { return(false); } if (!Equals(MsDataFileId, that.MsDataFileId) || !Equals(ChromatogramStartTime, that.ChromatogramStartTime) || !Equals(ChromatogramEndTime, that.ChromatogramEndTime) || !Equals(AutoFindPeak, that.AutoFindPeak) || !Equals(ValidationStatus, that.ValidationStatus) || !Equals(Note, that.Note)) { return(true); } if (!AutoFindPeak && !Equals(Peaks, that.Peaks)) { return(true); } return(false); }
protected bool Equals(PeptideFileAnalysisData other) { return MsDataFileId == other.MsDataFileId && ChromatogramStartTime.Equals(other.ChromatogramStartTime) && ChromatogramEndTime.Equals(other.ChromatogramEndTime) && AutoFindPeak.Equals(other.AutoFindPeak) && Peaks.Equals(other.Peaks) && ChromatogramSetId == other.ChromatogramSetId && Equals(PsmTimes, other.PsmTimes) && Equals(ChromatogramSet, other.ChromatogramSet) && Equals(ValidationStatus, other.ValidationStatus) && Equals(Note, other.Note); }
public bool CheckRecalculatePeaks(PeptideFileAnalysisData that) { if (!Equals(AutoFindPeak, that.AutoFindPeak)) { return true; } return false; }
public bool CheckDirty(PeptideFileAnalysisData that) { if (ReferenceEquals(this, that)) { return false; } if (!Equals(MsDataFileId, that.MsDataFileId) || !Equals(ChromatogramStartTime, that.ChromatogramStartTime) || !Equals(ChromatogramEndTime, that.ChromatogramEndTime) || !Equals(AutoFindPeak, that.AutoFindPeak) || !Equals(ValidationStatus, that.ValidationStatus) || !Equals(Note, that.Note)) { return true; } if (!AutoFindPeak && !Equals(Peaks, that.Peaks)) { return true; } return false; }
public RawRowData(PeptideFileAnalysisData peptideFileAnalysisData) { _peptideFileAnalysisData = peptideFileAnalysisData; }