19 #ifndef SWGDSDDemodReport_H_ 20 #define SWGDSDDemodReport_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 float getChannelPowerDb();
46 void setChannelPowerDb(
float channel_power_db);
48 qint32 getAudioSampleRate();
49 void setAudioSampleRate(qint32 audio_sample_rate);
51 qint32 getChannelSampleRate();
52 void setChannelSampleRate(qint32 channel_sample_rate);
55 void setSquelch(qint32 squelch);
57 qint32 getPllLocked();
58 void setPllLocked(qint32 pll_locked);
61 void setSlot1On(qint32 slot1_on);
64 void setSlot2On(qint32 slot2_on);
66 QString* getSyncType();
67 void setSyncType(QString* sync_type);
70 void setInLevel(qint32 in_level);
72 qint32 getCarierPosition();
73 void setCarierPosition(qint32 carier_position);
75 qint32 getZeroCrossingPosition();
76 void setZeroCrossingPosition(qint32 zero_crossing_position);
79 void setSyncRate(qint32 sync_rate);
81 QString* getStatusText();
82 void setStatusText(QString* status_text);
85 virtual bool isSet()
override;
bool m_channel_power_db_isSet
bool m_audio_sample_rate_isSet
bool m_carier_position_isSet
qint32 channel_sample_rate
bool m_zero_crossing_position_isSet
qint32 zero_crossing_position
bool m_channel_sample_rate_isSet