public ChromFileInfo(MsDataFileUri filePath) : base(new ChromFileInfoId()) { ChorusUrl chorusUrl = filePath as ChorusUrl; if (null != chorusUrl) { FileWriteTime = chorusUrl.FileWriteTime; RunStartTime = chorusUrl.RunStartTime; filePath = chorusUrl.SetFileWriteTime(null).SetRunStartTime(null); } FilePath = filePath; InstrumentInfoList = new MsInstrumentConfigInfo[0]; }
public bool Equals(MsInstrumentConfigInfo other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Model, Model) && Equals(other.Ionization, Ionization) && Equals(other.Analyzer, Analyzer) && Equals(other.Detector, Detector); }