mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-23 18:52:28 -04:00
Regnerate swagger files
This commit is contained in:
parent
0a19722ece
commit
ddcd08ba15
@ -3802,6 +3802,11 @@ margin-bottom: 20px;
|
|||||||
"format" : "float",
|
"format" : "float",
|
||||||
"description" : "min power received in channel (dB)"
|
"description" : "min power received in channel (dB)"
|
||||||
},
|
},
|
||||||
|
"channelPowerPulseDB" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float",
|
||||||
|
"description" : "pulse power received in channel (dB)"
|
||||||
|
},
|
||||||
"channelSampleRate" : {
|
"channelSampleRate" : {
|
||||||
"type" : "integer"
|
"type" : "integer"
|
||||||
}
|
}
|
||||||
@ -3860,7 +3865,7 @@ margin-bottom: 20px;
|
|||||||
"$ref" : "#/definitions/RollupState"
|
"$ref" : "#/definitions/RollupState"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description" : "ChannelDemod"
|
"description" : "ChannelPower"
|
||||||
};
|
};
|
||||||
defs.ChannelReport = {
|
defs.ChannelReport = {
|
||||||
"required" : [ "direction" ],
|
"required" : [ "direction" ],
|
||||||
@ -58860,7 +58865,7 @@ except ApiException as e:
|
|||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-03-13T15:31:43.924+01:00
|
Generated 2024-03-13T16:45:40.518+01:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ChannelPowerSettings:
|
ChannelPowerSettings:
|
||||||
description: ChannelDemod
|
description: ChannelPower
|
||||||
properties:
|
properties:
|
||||||
inputFrequencyOffset:
|
inputFrequencyOffset:
|
||||||
type: integer
|
type: integer
|
||||||
@ -52,5 +52,9 @@ ChannelPowerReport:
|
|||||||
description: min power received in channel (dB)
|
description: min power received in channel (dB)
|
||||||
type: number
|
type: number
|
||||||
format: float
|
format: float
|
||||||
|
channelPowerPulseDB:
|
||||||
|
description: pulse power received in channel (dB)
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
channelSampleRate:
|
channelSampleRate:
|
||||||
type: integer
|
type: integer
|
||||||
|
@ -3802,6 +3802,11 @@ margin-bottom: 20px;
|
|||||||
"format" : "float",
|
"format" : "float",
|
||||||
"description" : "min power received in channel (dB)"
|
"description" : "min power received in channel (dB)"
|
||||||
},
|
},
|
||||||
|
"channelPowerPulseDB" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float",
|
||||||
|
"description" : "pulse power received in channel (dB)"
|
||||||
|
},
|
||||||
"channelSampleRate" : {
|
"channelSampleRate" : {
|
||||||
"type" : "integer"
|
"type" : "integer"
|
||||||
}
|
}
|
||||||
@ -3860,7 +3865,7 @@ margin-bottom: 20px;
|
|||||||
"$ref" : "#/definitions/RollupState"
|
"$ref" : "#/definitions/RollupState"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"description" : "ChannelDemod"
|
"description" : "ChannelPower"
|
||||||
};
|
};
|
||||||
defs.ChannelReport = {
|
defs.ChannelReport = {
|
||||||
"required" : [ "direction" ],
|
"required" : [ "direction" ],
|
||||||
@ -58860,7 +58865,7 @@ except ApiException as e:
|
|||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-03-13T15:31:43.924+01:00
|
Generated 2024-03-13T16:45:40.518+01:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -34,6 +34,8 @@ SWGChannelPowerReport::SWGChannelPowerReport() {
|
|||||||
m_channel_power_max_db_isSet = false;
|
m_channel_power_max_db_isSet = false;
|
||||||
channel_power_min_db = 0.0f;
|
channel_power_min_db = 0.0f;
|
||||||
m_channel_power_min_db_isSet = false;
|
m_channel_power_min_db_isSet = false;
|
||||||
|
channel_power_pulse_db = 0.0f;
|
||||||
|
m_channel_power_pulse_db_isSet = false;
|
||||||
channel_sample_rate = 0;
|
channel_sample_rate = 0;
|
||||||
m_channel_sample_rate_isSet = false;
|
m_channel_sample_rate_isSet = false;
|
||||||
}
|
}
|
||||||
@ -50,6 +52,8 @@ SWGChannelPowerReport::init() {
|
|||||||
m_channel_power_max_db_isSet = false;
|
m_channel_power_max_db_isSet = false;
|
||||||
channel_power_min_db = 0.0f;
|
channel_power_min_db = 0.0f;
|
||||||
m_channel_power_min_db_isSet = false;
|
m_channel_power_min_db_isSet = false;
|
||||||
|
channel_power_pulse_db = 0.0f;
|
||||||
|
m_channel_power_pulse_db_isSet = false;
|
||||||
channel_sample_rate = 0;
|
channel_sample_rate = 0;
|
||||||
m_channel_sample_rate_isSet = false;
|
m_channel_sample_rate_isSet = false;
|
||||||
}
|
}
|
||||||
@ -60,6 +64,7 @@ SWGChannelPowerReport::cleanup() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SWGChannelPowerReport*
|
SWGChannelPowerReport*
|
||||||
@ -79,6 +84,8 @@ SWGChannelPowerReport::fromJsonObject(QJsonObject &pJson) {
|
|||||||
|
|
||||||
::SWGSDRangel::setValue(&channel_power_min_db, pJson["channelPowerMinDB"], "float", "");
|
::SWGSDRangel::setValue(&channel_power_min_db, pJson["channelPowerMinDB"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&channel_power_pulse_db, pJson["channelPowerPulseDB"], "float", "");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&channel_sample_rate, pJson["channelSampleRate"], "qint32", "");
|
::SWGSDRangel::setValue(&channel_sample_rate, pJson["channelSampleRate"], "qint32", "");
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -106,6 +113,9 @@ SWGChannelPowerReport::asJsonObject() {
|
|||||||
if(m_channel_power_min_db_isSet){
|
if(m_channel_power_min_db_isSet){
|
||||||
obj->insert("channelPowerMinDB", QJsonValue(channel_power_min_db));
|
obj->insert("channelPowerMinDB", QJsonValue(channel_power_min_db));
|
||||||
}
|
}
|
||||||
|
if(m_channel_power_pulse_db_isSet){
|
||||||
|
obj->insert("channelPowerPulseDB", QJsonValue(channel_power_pulse_db));
|
||||||
|
}
|
||||||
if(m_channel_sample_rate_isSet){
|
if(m_channel_sample_rate_isSet){
|
||||||
obj->insert("channelSampleRate", QJsonValue(channel_sample_rate));
|
obj->insert("channelSampleRate", QJsonValue(channel_sample_rate));
|
||||||
}
|
}
|
||||||
@ -143,6 +153,16 @@ SWGChannelPowerReport::setChannelPowerMinDb(float channel_power_min_db) {
|
|||||||
this->m_channel_power_min_db_isSet = true;
|
this->m_channel_power_min_db_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGChannelPowerReport::getChannelPowerPulseDb() {
|
||||||
|
return channel_power_pulse_db;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGChannelPowerReport::setChannelPowerPulseDb(float channel_power_pulse_db) {
|
||||||
|
this->channel_power_pulse_db = channel_power_pulse_db;
|
||||||
|
this->m_channel_power_pulse_db_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
qint32
|
qint32
|
||||||
SWGChannelPowerReport::getChannelSampleRate() {
|
SWGChannelPowerReport::getChannelSampleRate() {
|
||||||
return channel_sample_rate;
|
return channel_sample_rate;
|
||||||
@ -167,6 +187,9 @@ SWGChannelPowerReport::isSet(){
|
|||||||
if(m_channel_power_min_db_isSet){
|
if(m_channel_power_min_db_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
if(m_channel_power_pulse_db_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
if(m_channel_sample_rate_isSet){
|
if(m_channel_sample_rate_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
@ -50,6 +50,9 @@ public:
|
|||||||
float getChannelPowerMinDb();
|
float getChannelPowerMinDb();
|
||||||
void setChannelPowerMinDb(float channel_power_min_db);
|
void setChannelPowerMinDb(float channel_power_min_db);
|
||||||
|
|
||||||
|
float getChannelPowerPulseDb();
|
||||||
|
void setChannelPowerPulseDb(float channel_power_pulse_db);
|
||||||
|
|
||||||
qint32 getChannelSampleRate();
|
qint32 getChannelSampleRate();
|
||||||
void setChannelSampleRate(qint32 channel_sample_rate);
|
void setChannelSampleRate(qint32 channel_sample_rate);
|
||||||
|
|
||||||
@ -66,6 +69,9 @@ private:
|
|||||||
float channel_power_min_db;
|
float channel_power_min_db;
|
||||||
bool m_channel_power_min_db_isSet;
|
bool m_channel_power_min_db_isSet;
|
||||||
|
|
||||||
|
float channel_power_pulse_db;
|
||||||
|
bool m_channel_power_pulse_db_isSet;
|
||||||
|
|
||||||
qint32 channel_sample_rate;
|
qint32 channel_sample_rate;
|
||||||
bool m_channel_sample_rate_isSet;
|
bool m_channel_sample_rate_isSet;
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
/*
|
/*
|
||||||
* SWGChannelPowerSettings.h
|
* SWGChannelPowerSettings.h
|
||||||
*
|
*
|
||||||
* ChannelDemod
|
* ChannelPower
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SWGChannelPowerSettings_H_
|
#ifndef SWGChannelPowerSettings_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user