void ApplySettingsButtonClick(object sender, RoutedEventArgs e)
        {
            AsynchronousCollectionSettings sett;

            if (sett1Check.IsChecked.Value)
            {
                sett = AsynchronousCollectionSettingsFactory.CreateOnDemandRequestDataModeSettings((int)requestDataRateEd.Value);
            }
            else
            {
                sett = AsynchronousCollectionSettingsFactory.CreateInBackgroundThreadRequestDataModeSettings((int)requestDataRateEd.Value);
            }
            DataSourceManager.Uninitialize();
            DataSourceManager.Settings = sett;
            DataSourceManager.Initialize();
        }
 public DataSourceManagerBase()
 {
     Settings = AsynchronousCollectionSettingsFactory.CreateOnDemandRequestDataModeSettings();
 }