コード例 #1
0
 void ProcessRunConfigValue(IStressDataProvider provider)
 {
     provider.BatchKey = _batchAccountKey;
     provider.HubOwnerConectionString = _hubOwnerConnectionString;
     provider.EventHubEndpoint        = _eventHubEndpoint;
     provider.BatchUrl = _batchServiceUrl;
     provider.StorageAccountConectionString = _storageAccountConnectionString;
     provider.Run();
 }
コード例 #2
0
        void ProcessRunConfigValue(IStressDataProvider provider)
        {
            provider.BatchKey = _batchAccountKey;
            provider.HubOwnerConectionString = _hubOwnerConnectionString;
            provider.EventHubConectionString = _eventHubConnectionString;
            provider.BatchUrl = _batchServiceUrl;
            provider.StorageAccountConectionString = _storageAccountConnectionString;
            provider.Run();

            DeviceLines               = new ObservableCollection <MyLine>();
            MessageLines              = new ObservableCollection <MyLine>();
            _deviceNumberBuffer       = new Queue <double>();
            _messageNumberBuffer      = new Queue <double>();
            _refreshDataTimer.Enabled = true;
        }
コード例 #3
0
 void ProcessRunConfigValue()
 {
     if (CanStartCreate)
     {
         StartLableVisibility   = Visibility.Visible;
         CanStartCreate         = false;
         CanStartMonitor        = false;
         _dataProvider.BatchKey = _batchAccountKey;
         _dataProvider.HubOwnerConectionString = _hubOwnerConnectionString;
         _dataProvider.EventHubEndpoint        = _eventHubEndpoint;
         _dataProvider.BatchUrl = _batchServiceUrl;
         _dataProvider.StorageAccountConectionString = _storageAccountConnectionString;
         _dataProvider.Run();
     }
 }