private void MIWorkSwitch_Click(object sender, RoutedEventArgs e) { ConfigureParsecSettings.ConfigureParsec(Properties.Resources.WorkParsecSettings); var msg = RebootParsec.BootupParsec(); txtMsgStatus.Text = msg; }
private void btnApplyParsecSettings_Click(object sender, RoutedEventArgs e) { if (rdDefaultHomeParsec.IsChecked == true) { //reboot parsec with /* * app_run_level = 3 * encoder_bitrate = 50 * encoder_vbv_max = 1500 * encoder_min_bitrate = 40 */ ConfigureParsecSettings.ConfigureParsec(Properties.Resources.HomeParsecSettings); var msg = RebootParsec.BootupParsec(); txtMsgStatus.Text = msg; } else if (rdSlowerHomeParsec.IsChecked == true) { //reboot parsec with /* * app_run_level = 3 * encoder_bitrate = 50 * encoder_vbv_max = 1500 * encoder_min_bitrate = 10 */ ConfigureParsecSettings.ConfigureParsec(Properties.Resources.HomeSlowerParsecSettings); var msg = RebootParsec.BootupParsec(); txtMsgStatus.Text = msg; } else if (rdWorkParsec.IsChecked == true) { //reboot parsec with /* * app_run_level = 3 * encoder_bitrate = 50 #encoder_vbv_max = 1500 #encoder_min_bitrate = 40 */ ConfigureParsecSettings.ConfigureParsec(Properties.Resources.WorkParsecSettings); var msg = RebootParsec.BootupParsec(); txtMsgStatus.Text = msg; } else { txtMsgStatus.Text = "Select a choice from above."; } }