Esempio n. 1
0
 public Chromatogram GetChromatogram( Chromatogram metaChromatogram, ChromatogramList chromatogramList )
 {
     Chromatogram chromatogram = new Chromatogram( metaChromatogram, chromatogramList.chromatogram( metaChromatogram.Index, true ) );
     return chromatogram;
 }
        public void UpdateRow( int rowIndex, ChromatogramList chromatogramList )
        {
            ChromatogramDataSet.ChromatogramTableRow row = ( chromatogramBindingSource[rowIndex] as DataRowView ).Row as ChromatogramDataSet.ChromatogramTableRow;

            if( chromatogramList != null )
            {
                this.chromatogramList[row.Index].ChromatogramList = chromatogramList;
                updateRow( row, this.chromatogramList[row.Index] );
                //dp = rowChromatogram.DataProcessing;
                //row.Tag = rowChromatogram = new Chromatogram( rowChromatogram, s );
                //rowChromatogram.DataProcessing = dp;
            } else
            {
                updateRow( row, this.chromatogramList[row.Index] );
                //s = rowChromatogram.Element;
                //dp = rowChromatogram.DataProcessing;
            }
        }
Esempio n. 3
0
 public Chromatogram GetChromatogram( int index, ChromatogramList chromatogramList )
 {
     return new Chromatogram( this, index, chromatogramList );
 }
Esempio n. 4
0
 public void Dispose()
 {
     if (_spectrumList != null)
         _spectrumList.Dispose();
     _spectrumList = null;
     if (_chromatogramList != null)
         _chromatogramList.Dispose();
     _chromatogramList = null;
     if (_msDataFile != null)
         _msDataFile.Dispose();
     _msDataFile = null;
 }