示例#1
0
 public ManagedDataSource( DataSource source )
 {
     this.source = source;
     spectrumListForm = new SpectrumListForm();
     spectrumProcessingForm = new SpectrumProcessingForm();
     chromatogramListForm = new ChromatogramListForm();
     graphInfoMap = new GraphInfoMap();
 }
示例#2
0
        public void updateGraph( bool clearOverlays )
        {
            if( clearOverlays )
                currentOverlays.Clear();

            showData( currentGraphItem, false );
            DataSource primaryDataSource = currentDataSource;
            foreach( RefPair<DataSource, GraphItem> overlayDataPair in currentOverlays )
            {
                currentDataSource = overlayDataPair.first;
                showData( overlayDataPair.second, true );
            }
            currentDataSource = primaryDataSource;
        }
示例#3
0
 public void ShowDataOverlay( DataSource dataSource, GraphItem dataItem )
 {
     currentOverlays.Add( new RefPair<DataSource, GraphItem>( dataSource, dataItem ) );
     currentDataSource = dataSource;
     currentGraphItem = dataItem;
     showData( dataItem, true );
 }
示例#4
0
 public void ShowData( DataSource dataSource, GraphItem dataItem )
 {
     currentOverlays.Clear();
     currentDataSource = dataSource;
     currentGraphItem = dataItem;
     showData( dataItem, false );
 }