public XicMeta(XicMeta copy) { MzStart = copy.MzStart; MzEnd = copy.MzEnd; RtStart = copy.RtStart; RtEnd = copy.RtEnd; Filter = copy.Filter; }
public XicUnit(double mzStart, double mzEnd, double?rtStart, double?rtEnd, string filter) { Meta = new XicMeta(); Meta.MzStart = mzStart; Meta.MzEnd = mzEnd; Meta.RtStart = rtStart; Meta.RtEnd = rtEnd; Meta.Filter = filter; }
public XicUnit(XicUnit copy) { Meta = new XicMeta(copy.Meta); if (copy.RetentionTimes != null) { if (copy.RetentionTimes is string) { RetentionTimes = (string)copy.RetentionTimes; } else { ArrayList x = new ArrayList(); foreach (double d in (ArrayList)copy.RetentionTimes) { x.Add(d); } RetentionTimes = x; } } else { RetentionTimes = null; } if (copy.Intensities != null) { if (copy.Intensities is string) { Intensities = (string)copy.Intensities; } else { ArrayList y = new ArrayList(); foreach (double d in (ArrayList)copy.Intensities) { y.Add(d); } Intensities = y; } } else { Intensities = null; } }
public XicUnit() { Meta = new XicMeta(); RetentionTimes = null; Intensities = null; }