mirror of https://github.com/f4exb/sdrangel.git
Regenerate swagger files
This commit is contained in:
parent
304f0ea89a
commit
7b6bbe88f3
|
@ -12701,6 +12701,15 @@ margin-bottom: 20px;
|
||||||
"format" : "int64",
|
"format" : "int64",
|
||||||
"description" : "channel center frequency shift from baseband center in Hz"
|
"description" : "channel center frequency shift from baseband center in Hz"
|
||||||
},
|
},
|
||||||
|
"frequencyMode" : {
|
||||||
|
"type" : "integer",
|
||||||
|
"description" : "(0 for Offset, 1 for Absolute)"
|
||||||
|
},
|
||||||
|
"frequency" : {
|
||||||
|
"type" : "integer",
|
||||||
|
"format" : "int64",
|
||||||
|
"description" : "Channel center frequency"
|
||||||
|
},
|
||||||
"rfBandwidth" : {
|
"rfBandwidth" : {
|
||||||
"type" : "number",
|
"type" : "number",
|
||||||
"format" : "float",
|
"format" : "float",
|
||||||
|
@ -12712,7 +12721,7 @@ margin-bottom: 20px;
|
||||||
},
|
},
|
||||||
"modulation" : {
|
"modulation" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB"
|
"description" : "0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB, 4 - JJY"
|
||||||
},
|
},
|
||||||
"timezone" : {
|
"timezone" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
|
@ -58943,7 +58952,7 @@ except ApiException as e:
|
||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-04-06T20:04:32.029+02:00
|
Generated 2024-04-07T17:52:28.367+02:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,6 +5,13 @@ RadioClockSettings:
|
||||||
description: channel center frequency shift from baseband center in Hz
|
description: channel center frequency shift from baseband center in Hz
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
frequencyMode:
|
||||||
|
description: (0 for Offset, 1 for Absolute)
|
||||||
|
type: integer
|
||||||
|
frequency:
|
||||||
|
description: Channel center frequency
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
rfBandwidth:
|
rfBandwidth:
|
||||||
description: channel RF bandwidth in Hz
|
description: channel RF bandwidth in Hz
|
||||||
type: number
|
type: number
|
||||||
|
@ -13,7 +20,7 @@ RadioClockSettings:
|
||||||
type: number
|
type: number
|
||||||
format: float
|
format: float
|
||||||
modulation:
|
modulation:
|
||||||
description: 0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB
|
description: 0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB, 4 - JJY
|
||||||
type: integer
|
type: integer
|
||||||
timezone:
|
timezone:
|
||||||
description: 0 - Broadcast, 1 - Local, 2 - UTC
|
description: 0 - Broadcast, 1 - Local, 2 - UTC
|
||||||
|
|
|
@ -12701,6 +12701,15 @@ margin-bottom: 20px;
|
||||||
"format" : "int64",
|
"format" : "int64",
|
||||||
"description" : "channel center frequency shift from baseband center in Hz"
|
"description" : "channel center frequency shift from baseband center in Hz"
|
||||||
},
|
},
|
||||||
|
"frequencyMode" : {
|
||||||
|
"type" : "integer",
|
||||||
|
"description" : "(0 for Offset, 1 for Absolute)"
|
||||||
|
},
|
||||||
|
"frequency" : {
|
||||||
|
"type" : "integer",
|
||||||
|
"format" : "int64",
|
||||||
|
"description" : "Channel center frequency"
|
||||||
|
},
|
||||||
"rfBandwidth" : {
|
"rfBandwidth" : {
|
||||||
"type" : "number",
|
"type" : "number",
|
||||||
"format" : "float",
|
"format" : "float",
|
||||||
|
@ -12712,7 +12721,7 @@ margin-bottom: 20px;
|
||||||
},
|
},
|
||||||
"modulation" : {
|
"modulation" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB"
|
"description" : "0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB, 4 - JJY"
|
||||||
},
|
},
|
||||||
"timezone" : {
|
"timezone" : {
|
||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
|
@ -58943,7 +58952,7 @@ except ApiException as e:
|
||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-04-06T20:04:32.029+02:00
|
Generated 2024-04-07T17:52:28.367+02:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -30,6 +30,10 @@ SWGRadioClockSettings::SWGRadioClockSettings(QString* json) {
|
||||||
SWGRadioClockSettings::SWGRadioClockSettings() {
|
SWGRadioClockSettings::SWGRadioClockSettings() {
|
||||||
input_frequency_offset = 0L;
|
input_frequency_offset = 0L;
|
||||||
m_input_frequency_offset_isSet = false;
|
m_input_frequency_offset_isSet = false;
|
||||||
|
frequency_mode = 0;
|
||||||
|
m_frequency_mode_isSet = false;
|
||||||
|
frequency = 0L;
|
||||||
|
m_frequency_isSet = false;
|
||||||
rf_bandwidth = 0.0f;
|
rf_bandwidth = 0.0f;
|
||||||
m_rf_bandwidth_isSet = false;
|
m_rf_bandwidth_isSet = false;
|
||||||
threshold = 0.0f;
|
threshold = 0.0f;
|
||||||
|
@ -70,6 +74,10 @@ void
|
||||||
SWGRadioClockSettings::init() {
|
SWGRadioClockSettings::init() {
|
||||||
input_frequency_offset = 0L;
|
input_frequency_offset = 0L;
|
||||||
m_input_frequency_offset_isSet = false;
|
m_input_frequency_offset_isSet = false;
|
||||||
|
frequency_mode = 0;
|
||||||
|
m_frequency_mode_isSet = false;
|
||||||
|
frequency = 0L;
|
||||||
|
m_frequency_isSet = false;
|
||||||
rf_bandwidth = 0.0f;
|
rf_bandwidth = 0.0f;
|
||||||
m_rf_bandwidth_isSet = false;
|
m_rf_bandwidth_isSet = false;
|
||||||
threshold = 0.0f;
|
threshold = 0.0f;
|
||||||
|
@ -110,6 +118,8 @@ SWGRadioClockSettings::cleanup() {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(title != nullptr) {
|
if(title != nullptr) {
|
||||||
delete title;
|
delete title;
|
||||||
}
|
}
|
||||||
|
@ -145,6 +155,10 @@ void
|
||||||
SWGRadioClockSettings::fromJsonObject(QJsonObject &pJson) {
|
SWGRadioClockSettings::fromJsonObject(QJsonObject &pJson) {
|
||||||
::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint64", "");
|
::SWGSDRangel::setValue(&input_frequency_offset, pJson["inputFrequencyOffset"], "qint64", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&frequency_mode, pJson["frequencyMode"], "qint32", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&frequency, pJson["frequency"], "qint64", "");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&rf_bandwidth, pJson["rfBandwidth"], "float", "");
|
::SWGSDRangel::setValue(&rf_bandwidth, pJson["rfBandwidth"], "float", "");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&threshold, pJson["threshold"], "float", "");
|
::SWGSDRangel::setValue(&threshold, pJson["threshold"], "float", "");
|
||||||
|
@ -194,6 +208,12 @@ SWGRadioClockSettings::asJsonObject() {
|
||||||
if(m_input_frequency_offset_isSet){
|
if(m_input_frequency_offset_isSet){
|
||||||
obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset));
|
obj->insert("inputFrequencyOffset", QJsonValue(input_frequency_offset));
|
||||||
}
|
}
|
||||||
|
if(m_frequency_mode_isSet){
|
||||||
|
obj->insert("frequencyMode", QJsonValue(frequency_mode));
|
||||||
|
}
|
||||||
|
if(m_frequency_isSet){
|
||||||
|
obj->insert("frequency", QJsonValue(frequency));
|
||||||
|
}
|
||||||
if(m_rf_bandwidth_isSet){
|
if(m_rf_bandwidth_isSet){
|
||||||
obj->insert("rfBandwidth", QJsonValue(rf_bandwidth));
|
obj->insert("rfBandwidth", QJsonValue(rf_bandwidth));
|
||||||
}
|
}
|
||||||
|
@ -253,6 +273,26 @@ SWGRadioClockSettings::setInputFrequencyOffset(qint64 input_frequency_offset) {
|
||||||
this->m_input_frequency_offset_isSet = true;
|
this->m_input_frequency_offset_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qint32
|
||||||
|
SWGRadioClockSettings::getFrequencyMode() {
|
||||||
|
return frequency_mode;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGRadioClockSettings::setFrequencyMode(qint32 frequency_mode) {
|
||||||
|
this->frequency_mode = frequency_mode;
|
||||||
|
this->m_frequency_mode_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
qint64
|
||||||
|
SWGRadioClockSettings::getFrequency() {
|
||||||
|
return frequency;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGRadioClockSettings::setFrequency(qint64 frequency) {
|
||||||
|
this->frequency = frequency;
|
||||||
|
this->m_frequency_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
float
|
float
|
||||||
SWGRadioClockSettings::getRfBandwidth() {
|
SWGRadioClockSettings::getRfBandwidth() {
|
||||||
return rf_bandwidth;
|
return rf_bandwidth;
|
||||||
|
@ -411,6 +451,12 @@ SWGRadioClockSettings::isSet(){
|
||||||
if(m_input_frequency_offset_isSet){
|
if(m_input_frequency_offset_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
if(m_frequency_mode_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_frequency_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
if(m_rf_bandwidth_isSet){
|
if(m_rf_bandwidth_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,12 @@ public:
|
||||||
qint64 getInputFrequencyOffset();
|
qint64 getInputFrequencyOffset();
|
||||||
void setInputFrequencyOffset(qint64 input_frequency_offset);
|
void setInputFrequencyOffset(qint64 input_frequency_offset);
|
||||||
|
|
||||||
|
qint32 getFrequencyMode();
|
||||||
|
void setFrequencyMode(qint32 frequency_mode);
|
||||||
|
|
||||||
|
qint64 getFrequency();
|
||||||
|
void setFrequency(qint64 frequency);
|
||||||
|
|
||||||
float getRfBandwidth();
|
float getRfBandwidth();
|
||||||
void setRfBandwidth(float rf_bandwidth);
|
void setRfBandwidth(float rf_bandwidth);
|
||||||
|
|
||||||
|
@ -100,6 +106,12 @@ private:
|
||||||
qint64 input_frequency_offset;
|
qint64 input_frequency_offset;
|
||||||
bool m_input_frequency_offset_isSet;
|
bool m_input_frequency_offset_isSet;
|
||||||
|
|
||||||
|
qint32 frequency_mode;
|
||||||
|
bool m_frequency_mode_isSet;
|
||||||
|
|
||||||
|
qint64 frequency;
|
||||||
|
bool m_frequency_isSet;
|
||||||
|
|
||||||
float rf_bandwidth;
|
float rf_bandwidth;
|
||||||
bool m_rf_bandwidth_isSet;
|
bool m_rf_bandwidth_isSet;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue