Esempio n. 1
0
 private void Filter_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     TryCatch(() =>
     {
         serTest.RCUCom.SetConfigFilter();
     });
 }
Esempio n. 2
0
 private void SetConfigVCO_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     TryCatch(() =>
     {
         serTest.RCUCom.SetConfigVCO();
     });
 }
Esempio n. 3
0
 private void ADCFreq_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.RCUCom.ADCSampleRateIndex = (UInt32)cbFreqAdc.SelectedIndex;
     TryCatch(() =>
     {
         serTest.RCUCom.SetADCSampleRate();
     });
 }
Esempio n. 4
0
 private void ADCFreq_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.RCUCom.ADCSampleRateIndex = (UInt32)cbFreqAdc.SelectedIndex;
     TryCatch(() =>
     {
         serTest.RCUCom.SetADCSampleRate();
     });
 }
Esempio n. 5
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     cbFreqAdc.SelectedIndex = (int)serTest.RCUCom.ADCSampleRateIndex;
 }
Esempio n. 6
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     cbFreqAdc.SelectedIndex = (int)serTest.RCUCom.ADCSampleRateIndex;
 }
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.ProgressChanged += setProgressValue;
 }
Esempio n. 8
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     serTest = this.DataContext as SerialConnTest;
     serTest.ProgressChanged += setProgressValue;
 }