Пример #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 );
 }