19 #ifndef SWGXtrxInputSettings_H_ 20 #define SWGXtrxInputSettings_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 getDevSampleRate();
49 void setDevSampleRate(qint32 dev_sample_rate);
51 qint32 getLog2HardDecim();
52 void setLog2HardDecim(qint32 log2_hard_decim);
55 void setDcBlock(qint32 dc_block);
57 qint32 getIqCorrection();
58 void setIqCorrection(qint32 iq_correction);
60 qint32 getLog2SoftDecim();
61 void setLog2SoftDecim(qint32 log2_soft_decim);
64 void setLpfBw(qint32 lpf_bw);
67 void setGain(qint32 gain);
69 qint32 getNcoEnable();
70 void setNcoEnable(qint32 nco_enable);
72 qint32 getNcoFrequency();
73 void setNcoFrequency(qint32 nco_frequency);
75 qint32 getAntennaPath();
76 void setAntennaPath(qint32 antenna_path);
79 void setGainMode(qint32 gain_mode);
82 void setLnaGain(qint32 lna_gain);
85 void setTiaGain(qint32 tia_gain);
88 void setPgaGain(qint32 pga_gain);
91 void setExtClock(qint32 ext_clock);
93 qint32 getExtClockFreq();
94 void setExtClockFreq(qint32 ext_clock_freq);
97 void setPwrmode(qint32 pwrmode);
99 QString* getFileRecordName();
100 void setFileRecordName(QString* file_record_name);
102 qint32 getUseReverseApi();
103 void setUseReverseApi(qint32 use_reverse_api);
105 QString* getReverseApiAddress();
106 void setReverseApiAddress(QString* reverse_api_address);
108 qint32 getReverseApiPort();
109 void setReverseApiPort(qint32 reverse_api_port);
111 qint32 getReverseApiDeviceIndex();
112 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
115 virtual bool isSet()
override;