19 #ifndef SWGFCDProSettings_H_ 20 #define SWGFCDProSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint64 getCenterFrequency();
46 void setCenterFrequency(qint64 center_frequency);
48 qint32 getLOppmTenths();
49 void setLOppmTenths(qint32 l_oppm_tenths);
51 qint32 getLnaGainIndex();
52 void setLnaGainIndex(qint32 lna_gain_index);
54 qint32 getRfFilterIndex();
55 void setRfFilterIndex(qint32 rf_filter_index);
57 qint32 getLnaEnhanceIndex();
58 void setLnaEnhanceIndex(qint32 lna_enhance_index);
60 qint32 getBandIndex();
61 void setBandIndex(qint32 band_index);
63 qint32 getMixerGainIndex();
64 void setMixerGainIndex(qint32 mixer_gain_index);
66 qint32 getMixerFilterIndex();
67 void setMixerFilterIndex(qint32 mixer_filter_index);
69 qint32 getBiasCurrentIndex();
70 void setBiasCurrentIndex(qint32 bias_current_index);
72 qint32 getModeIndex();
73 void setModeIndex(qint32 mode_index);
75 qint32 getGain1Index();
76 void setGain1Index(qint32 gain1_index);
78 qint32 getRcFilterIndex();
79 void setRcFilterIndex(qint32 rc_filter_index);
81 qint32 getGain2Index();
82 void setGain2Index(qint32 gain2_index);
84 qint32 getGain3Index();
85 void setGain3Index(qint32 gain3_index);
87 qint32 getGain4Index();
88 void setGain4Index(qint32 gain4_index);
90 qint32 getIfFilterIndex();
91 void setIfFilterIndex(qint32 if_filter_index);
93 qint32 getGain5Index();
94 void setGain5Index(qint32 gain5_index);
96 qint32 getGain6Index();
97 void setGain6Index(qint32 gain6_index);
99 qint32 getLog2Decim();
100 void setLog2Decim(qint32 log2_decim);
103 void setFcPos(qint32 fc_pos);
106 void setDcBlock(qint32 dc_block);
108 qint32 getIqCorrection();
109 void setIqCorrection(qint32 iq_correction);
111 qint32 getTransverterMode();
112 void setTransverterMode(qint32 transverter_mode);
114 qint64 getTransverterDeltaFrequency();
115 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
117 QString* getFileRecordName();
118 void setFileRecordName(QString* file_record_name);
120 qint32 getUseReverseApi();
121 void setUseReverseApi(qint32 use_reverse_api);
123 QString* getReverseApiAddress();
124 void setReverseApiAddress(QString* reverse_api_address);
126 qint32 getReverseApiPort();
127 void setReverseApiPort(qint32 reverse_api_port);
129 qint32 getReverseApiDeviceIndex();
130 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
133 virtual bool isSet()
override;
qint32 bias_current_index
QString * file_record_name
bool m_transverter_delta_frequency_isSet
qint32 reverse_api_device_index
bool m_reverse_api_port_isSet
bool m_use_reverse_api_isSet
bool m_l_oppm_tenths_isSet
bool m_mixer_filter_index_isSet
bool m_bias_current_index_isSet
bool m_rf_filter_index_isSet
QString * reverse_api_address
bool m_iq_correction_isSet
bool m_lna_enhance_index_isSet
bool m_rc_filter_index_isSet
bool m_center_frequency_isSet
qint32 mixer_filter_index
bool m_file_record_name_isSet
bool m_transverter_mode_isSet
bool m_mixer_gain_index_isSet
qint64 transverter_delta_frequency
bool m_reverse_api_address_isSet
bool m_reverse_api_device_index_isSet
bool m_lna_gain_index_isSet
bool m_if_filter_index_isSet