コード例 #1
0
 public XicMeta(XicMeta copy)
 {
     MzStart = copy.MzStart;
     MzEnd   = copy.MzEnd;
     RtStart = copy.RtStart;
     RtEnd   = copy.RtEnd;
     Filter  = copy.Filter;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
        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;
            }
        }
コード例 #4
0
 public XicUnit()
 {
     Meta           = new XicMeta();
     RetentionTimes = null;
     Intensities    = null;
 }