private void Filter_Executed(object sender, ExecutedRoutedEventArgs e) { serTest = this.DataContext as SerialConnTest; TryCatch(() => { serTest.RCUCom.SetConfigFilter(); }); }
private void SetConfigVCO_Executed(object sender, ExecutedRoutedEventArgs e) { serTest = this.DataContext as SerialConnTest; TryCatch(() => { serTest.RCUCom.SetConfigVCO(); }); }
private void ADCFreq_Executed(object sender, ExecutedRoutedEventArgs e) { serTest = this.DataContext as SerialConnTest; serTest.RCUCom.ADCSampleRateIndex = (UInt32)cbFreqAdc.SelectedIndex; TryCatch(() => { serTest.RCUCom.SetADCSampleRate(); }); }
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; }