From 67e7f1b71a1c4cb7b84e3b60f5ad6827dc68dfbb Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Tue, 30 Apr 2024 10:49:03 +0200 Subject: [PATCH] added tuner control --- .../grid/grid_active_rig_control.vue | 21 +++++++++++++++++++ freedata_gui/src/js/api.js | 7 +++++++ freedata_gui/src/js/eventHandler.js | 2 +- freedata_gui/src/js/radioHandler.ts | 1 + freedata_gui/src/store/stateStore.js | 3 ++- freedata_server/radio_manager.py | 5 +++++ freedata_server/server.py | 3 +-- 7 files changed, 38 insertions(+), 4 deletions(-) diff --git a/freedata_gui/src/components/grid/grid_active_rig_control.vue b/freedata_gui/src/components/grid/grid_active_rig_control.vue index fda5aacb..46e9c5c5 100644 --- a/freedata_gui/src/components/grid/grid_active_rig_control.vue +++ b/freedata_gui/src/components/grid/grid_active_rig_control.vue @@ -5,6 +5,7 @@ import { setRadioParametersFrequency, setRadioParametersMode, setRadioParametersRFLevel, + setRadioParametersTuner, } from "../../js/api"; setActivePinia(pinia); @@ -22,6 +23,11 @@ function set_radio_parameter_mode() { function set_radio_parameter_rflevel() { setRadioParametersRFLevel(state.rf_level); } + +function set_radio_parameter_auto_tuner() { + console.log(state.tuner) + setRadioParametersTuner(state.tuner); +}