diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html index b2c7eb909..adb960c1e 100644 --- a/sdrbase/resources/webapi/doc/html2/index.html +++ b/sdrbase/resources/webapi/doc/html2/index.html @@ -7335,9 +7335,9 @@ margin-bottom: 20px; "format" : "float", "description" : "Squelch level in power dB" }, - "squelchPreRecordTime" : { + "preRecordTime" : { "type" : "integer", - "description" : "Number of seconds to record before spectrum squelch opens" + "description" : "Number of seconds to record before recording is triggered (manual or squelch)" }, "squelchPostRecordTime" : { "type" : "integer", @@ -37608,7 +37608,7 @@ except ApiException as e:
- Generated 2020-07-17T06:28:55.248+02:00 + Generated 2020-07-17T13:32:33.353+02:00
diff --git a/swagger/sdrangel/code/html2/index.html b/swagger/sdrangel/code/html2/index.html index b2c7eb909..adb960c1e 100644 --- a/swagger/sdrangel/code/html2/index.html +++ b/swagger/sdrangel/code/html2/index.html @@ -7335,9 +7335,9 @@ margin-bottom: 20px; "format" : "float", "description" : "Squelch level in power dB" }, - "squelchPreRecordTime" : { + "preRecordTime" : { "type" : "integer", - "description" : "Number of seconds to record before spectrum squelch opens" + "description" : "Number of seconds to record before recording is triggered (manual or squelch)" }, "squelchPostRecordTime" : { "type" : "integer", @@ -37608,7 +37608,7 @@ except ApiException as e:
- Generated 2020-07-17T06:28:55.248+02:00 + Generated 2020-07-17T13:32:33.353+02:00
diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp index 48953de94..b22a1b4d8 100644 --- a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp +++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.cpp @@ -42,8 +42,8 @@ SWGSigMFFileSinkSettings::SWGSigMFFileSinkSettings() { m_spectrum_squelch_mode_isSet = false; spectrum_squelch = 0.0f; m_spectrum_squelch_isSet = false; - squelch_pre_record_time = 0; - m_squelch_pre_record_time_isSet = false; + pre_record_time = 0; + m_pre_record_time_isSet = false; squelch_post_record_time = 0; m_squelch_post_record_time_isSet = false; squelch_recording_enable = 0; @@ -82,8 +82,8 @@ SWGSigMFFileSinkSettings::init() { m_spectrum_squelch_mode_isSet = false; spectrum_squelch = 0.0f; m_spectrum_squelch_isSet = false; - squelch_pre_record_time = 0; - m_squelch_pre_record_time_isSet = false; + pre_record_time = 0; + m_pre_record_time_isSet = false; squelch_post_record_time = 0; m_squelch_post_record_time_isSet = false; squelch_recording_enable = 0; @@ -153,7 +153,7 @@ SWGSigMFFileSinkSettings::fromJsonObject(QJsonObject &pJson) { ::SWGSDRangel::setValue(&spectrum_squelch, pJson["spectrumSquelch"], "float", ""); - ::SWGSDRangel::setValue(&squelch_pre_record_time, pJson["squelchPreRecordTime"], "qint32", ""); + ::SWGSDRangel::setValue(&pre_record_time, pJson["preRecordTime"], "qint32", ""); ::SWGSDRangel::setValue(&squelch_post_record_time, pJson["squelchPostRecordTime"], "qint32", ""); @@ -208,8 +208,8 @@ SWGSigMFFileSinkSettings::asJsonObject() { if(m_spectrum_squelch_isSet){ obj->insert("spectrumSquelch", QJsonValue(spectrum_squelch)); } - if(m_squelch_pre_record_time_isSet){ - obj->insert("squelchPreRecordTime", QJsonValue(squelch_pre_record_time)); + if(m_pre_record_time_isSet){ + obj->insert("preRecordTime", QJsonValue(pre_record_time)); } if(m_squelch_post_record_time_isSet){ obj->insert("squelchPostRecordTime", QJsonValue(squelch_post_record_time)); @@ -310,13 +310,13 @@ SWGSigMFFileSinkSettings::setSpectrumSquelch(float spectrum_squelch) { } qint32 -SWGSigMFFileSinkSettings::getSquelchPreRecordTime() { - return squelch_pre_record_time; +SWGSigMFFileSinkSettings::getPreRecordTime() { + return pre_record_time; } void -SWGSigMFFileSinkSettings::setSquelchPreRecordTime(qint32 squelch_pre_record_time) { - this->squelch_pre_record_time = squelch_pre_record_time; - this->m_squelch_pre_record_time_isSet = true; +SWGSigMFFileSinkSettings::setPreRecordTime(qint32 pre_record_time) { + this->pre_record_time = pre_record_time; + this->m_pre_record_time_isSet = true; } qint32 @@ -425,7 +425,7 @@ SWGSigMFFileSinkSettings::isSet(){ if(m_spectrum_squelch_isSet){ isObjectUpdated = true; break; } - if(m_squelch_pre_record_time_isSet){ + if(m_pre_record_time_isSet){ isObjectUpdated = true; break; } if(m_squelch_post_record_time_isSet){ diff --git a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h index 454f53109..1a2c9f070 100644 --- a/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h +++ b/swagger/sdrangel/code/qt5/client/SWGSigMFFileSinkSettings.h @@ -63,8 +63,8 @@ public: float getSpectrumSquelch(); void setSpectrumSquelch(float spectrum_squelch); - qint32 getSquelchPreRecordTime(); - void setSquelchPreRecordTime(qint32 squelch_pre_record_time); + qint32 getPreRecordTime(); + void setPreRecordTime(qint32 pre_record_time); qint32 getSquelchPostRecordTime(); void setSquelchPostRecordTime(qint32 squelch_post_record_time); @@ -115,8 +115,8 @@ private: float spectrum_squelch; bool m_spectrum_squelch_isSet; - qint32 squelch_pre_record_time; - bool m_squelch_pre_record_time_isSet; + qint32 pre_record_time; + bool m_pre_record_time_isSet; qint32 squelch_post_record_time; bool m_squelch_post_record_time_isSet;