Browse Source

REST API: chanded uint64 to int64 integer formats. Fixes #624

chirpmodem-v8.0.0
f4exb 6 years ago
parent
commit
308b870063
  1. 18
      sdrbase/resources/webapi/doc/html2/index.html
  2. 4
      sdrbase/resources/webapi/doc/swagger/include/LimeSdr.yaml
  3. 2
      sdrbase/resources/webapi/doc/swagger/include/LocalInput.yaml
  4. 2
      sdrbase/resources/webapi/doc/swagger/include/LocalOutput.yaml
  5. 2
      sdrbase/resources/webapi/doc/swagger/include/RemoteInput.yaml
  6. 2
      sdrbase/resources/webapi/doc/swagger/include/RemoteOutput.yaml
  7. 2
      sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml
  8. 2
      sdrbase/resources/webapi/doc/swagger/include/TestMI.yaml
  9. 2
      sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml
  10. 2
      sdrbase/resources/webapi/doc/swagger/include/TestSourceMI.yaml
  11. 4
      swagger/sdrangel/api/swagger/include/LimeSdr.yaml
  12. 2
      swagger/sdrangel/api/swagger/include/LocalInput.yaml
  13. 2
      swagger/sdrangel/api/swagger/include/LocalOutput.yaml
  14. 2
      swagger/sdrangel/api/swagger/include/RemoteInput.yaml
  15. 2
      swagger/sdrangel/api/swagger/include/RemoteOutput.yaml
  16. 2
      swagger/sdrangel/api/swagger/include/SDRPlay.yaml
  17. 2
      swagger/sdrangel/api/swagger/include/TestSource.yaml
  18. 18
      swagger/sdrangel/code/html2/index.html
  19. 10
      swagger/sdrangel/code/qt5/client/SWGLimeSdrInputReport.cpp
  20. 6
      swagger/sdrangel/code/qt5/client/SWGLimeSdrInputReport.h
  21. 10
      swagger/sdrangel/code/qt5/client/SWGLimeSdrOutputReport.cpp
  22. 6
      swagger/sdrangel/code/qt5/client/SWGLimeSdrOutputReport.h
  23. 10
      swagger/sdrangel/code/qt5/client/SWGLocalInputReport.cpp
  24. 6
      swagger/sdrangel/code/qt5/client/SWGLocalInputReport.h
  25. 10
      swagger/sdrangel/code/qt5/client/SWGLocalOutputReport.cpp
  26. 6
      swagger/sdrangel/code/qt5/client/SWGLocalOutputReport.h
  27. 10
      swagger/sdrangel/code/qt5/client/SWGRemoteInputReport.cpp
  28. 6
      swagger/sdrangel/code/qt5/client/SWGRemoteInputReport.h
  29. 10
      swagger/sdrangel/code/qt5/client/SWGRemoteOutputSettings.cpp
  30. 6
      swagger/sdrangel/code/qt5/client/SWGRemoteOutputSettings.h
  31. 10
      swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.cpp
  32. 6
      swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.h
  33. 10
      swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp
  34. 6
      swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h

18
sdrbase/resources/webapi/doc/html2/index.html

@ -4236,7 +4236,7 @@ margin-bottom: 20px; @@ -4236,7 +4236,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -4380,7 +4380,7 @@ margin-bottom: 20px; @@ -4380,7 +4380,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -4475,7 +4475,7 @@ margin-bottom: 20px; @@ -4475,7 +4475,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -4511,7 +4511,7 @@ margin-bottom: 20px; @@ -4511,7 +4511,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5443,7 +5443,7 @@ margin-bottom: 20px; @@ -5443,7 +5443,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5528,7 +5528,7 @@ margin-bottom: 20px; @@ -5528,7 +5528,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5841,7 +5841,7 @@ margin-bottom: 20px; @@ -5841,7 +5841,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"tunerGain" : {
"type" : "integer"
@ -6486,7 +6486,7 @@ margin-bottom: 20px; @@ -6486,7 +6486,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"frequencyShift" : {
"type" : "integer"
@ -33319,7 +33319,7 @@ except ApiException as e: @@ -33319,7 +33319,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-08-27T07:43:19.609+02:00
Generated 2020-09-10T15:07:12.501+02:00
</div>
</div>
</div>

4
sdrbase/resources/webapi/doc/swagger/include/LimeSdr.yaml

@ -143,7 +143,7 @@ LimeSdrInputReport: @@ -143,7 +143,7 @@ LimeSdrInputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float
@ -179,7 +179,7 @@ LimeSdrOutputReport: @@ -179,7 +179,7 @@ LimeSdrOutputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float

2
sdrbase/resources/webapi/doc/swagger/include/LocalInput.yaml

@ -20,6 +20,6 @@ LocalInputReport: @@ -20,6 +20,6 @@ LocalInputReport:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer

2
sdrbase/resources/webapi/doc/swagger/include/LocalOutput.yaml

@ -16,6 +16,6 @@ LocalOutputReport: @@ -16,6 +16,6 @@ LocalOutputReport:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer

2
sdrbase/resources/webapi/doc/swagger/include/RemoteInput.yaml

@ -36,7 +36,7 @@ RemoteInputReport: @@ -36,7 +36,7 @@ RemoteInputReport:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer
bufferRWBalance:

2
sdrbase/resources/webapi/doc/swagger/include/RemoteOutput.yaml

@ -3,7 +3,7 @@ RemoteOutputSettings: @@ -3,7 +3,7 @@ RemoteOutputSettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer
txDelay:

2
sdrbase/resources/webapi/doc/swagger/include/SDRPlay.yaml

@ -3,7 +3,7 @@ SDRPlaySettings: @@ -3,7 +3,7 @@ SDRPlaySettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
tunerGain:
type: integer
LOppmTenths:

2
sdrbase/resources/webapi/doc/swagger/include/TestMI.yaml

@ -27,7 +27,7 @@ definitions: @@ -27,7 +27,7 @@ definitions:
type: integer
centerFrequency:
type: integer
format: uint64
format: int64
frequencyShift:
type: integer
sampleRate:

2
sdrbase/resources/webapi/doc/swagger/include/TestSource.yaml

@ -3,7 +3,7 @@ TestSourceSettings: @@ -3,7 +3,7 @@ TestSourceSettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
frequencyShift:
type: integer
sampleRate:

2
sdrbase/resources/webapi/doc/swagger/include/TestSourceMI.yaml

@ -3,7 +3,7 @@ TestSourceMISettings: @@ -3,7 +3,7 @@ TestSourceMISettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
frequencyShift:
type: integer
sampleRate:

4
swagger/sdrangel/api/swagger/include/LimeSdr.yaml

@ -143,7 +143,7 @@ LimeSdrInputReport: @@ -143,7 +143,7 @@ LimeSdrInputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float
@ -179,7 +179,7 @@ LimeSdrOutputReport: @@ -179,7 +179,7 @@ LimeSdrOutputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float

2
swagger/sdrangel/api/swagger/include/LocalInput.yaml

@ -20,6 +20,6 @@ LocalInputReport: @@ -20,6 +20,6 @@ LocalInputReport:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer

2
swagger/sdrangel/api/swagger/include/LocalOutput.yaml

@ -16,6 +16,6 @@ LocalOutputReport: @@ -16,6 +16,6 @@ LocalOutputReport:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer

2
swagger/sdrangel/api/swagger/include/RemoteInput.yaml

@ -36,7 +36,7 @@ RemoteInputReport: @@ -36,7 +36,7 @@ RemoteInputReport:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer
bufferRWBalance:

2
swagger/sdrangel/api/swagger/include/RemoteOutput.yaml

@ -3,7 +3,7 @@ RemoteOutputSettings: @@ -3,7 +3,7 @@ RemoteOutputSettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
sampleRate:
type: integer
txDelay:

2
swagger/sdrangel/api/swagger/include/SDRPlay.yaml

@ -3,7 +3,7 @@ SDRPlaySettings: @@ -3,7 +3,7 @@ SDRPlaySettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
tunerGain:
type: integer
LOppmTenths:

2
swagger/sdrangel/api/swagger/include/TestSource.yaml

@ -3,7 +3,7 @@ TestSourceSettings: @@ -3,7 +3,7 @@ TestSourceSettings:
properties:
centerFrequency:
type: integer
format: uint64
format: int64
frequencyShift:
type: integer
sampleRate:

18
swagger/sdrangel/code/html2/index.html

@ -4236,7 +4236,7 @@ margin-bottom: 20px; @@ -4236,7 +4236,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -4380,7 +4380,7 @@ margin-bottom: 20px; @@ -4380,7 +4380,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -4475,7 +4475,7 @@ margin-bottom: 20px; @@ -4475,7 +4475,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -4511,7 +4511,7 @@ margin-bottom: 20px; @@ -4511,7 +4511,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5443,7 +5443,7 @@ margin-bottom: 20px; @@ -5443,7 +5443,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5528,7 +5528,7 @@ margin-bottom: 20px; @@ -5528,7 +5528,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5841,7 +5841,7 @@ margin-bottom: 20px; @@ -5841,7 +5841,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"tunerGain" : {
"type" : "integer"
@ -6486,7 +6486,7 @@ margin-bottom: 20px; @@ -6486,7 +6486,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"frequencyShift" : {
"type" : "integer"
@ -33319,7 +33319,7 @@ except ApiException as e: @@ -33319,7 +33319,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-08-27T07:43:19.609+02:00
Generated 2020-09-10T15:07:12.501+02:00
</div>
</div>
</div>

10
swagger/sdrangel/code/qt5/client/SWGLimeSdrInputReport.cpp

@ -44,7 +44,7 @@ SWGLimeSdrInputReport::SWGLimeSdrInputReport() { @@ -44,7 +44,7 @@ SWGLimeSdrInputReport::SWGLimeSdrInputReport() {
m_dropped_packets_count_isSet = false;
link_rate = 0.0f;
m_link_rate_isSet = false;
hw_timestamp = 0;
hw_timestamp = 0L;
m_hw_timestamp_isSet = false;
temperature = 0.0f;
m_temperature_isSet = false;
@ -76,7 +76,7 @@ SWGLimeSdrInputReport::init() { @@ -76,7 +76,7 @@ SWGLimeSdrInputReport::init() {
m_dropped_packets_count_isSet = false;
link_rate = 0.0f;
m_link_rate_isSet = false;
hw_timestamp = 0;
hw_timestamp = 0L;
m_hw_timestamp_isSet = false;
temperature = 0.0f;
m_temperature_isSet = false;
@ -129,7 +129,7 @@ SWGLimeSdrInputReport::fromJsonObject(QJsonObject &pJson) { @@ -129,7 +129,7 @@ SWGLimeSdrInputReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&link_rate, pJson["linkRate"], "float", "");
::SWGSDRangel::setValue(&hw_timestamp, pJson["hwTimestamp"], "qint32", "");
::SWGSDRangel::setValue(&hw_timestamp, pJson["hwTimestamp"], "qint64", "");
::SWGSDRangel::setValue(&temperature, pJson["temperature"], "float", "");
@ -273,12 +273,12 @@ SWGLimeSdrInputReport::setLinkRate(float link_rate) { @@ -273,12 +273,12 @@ SWGLimeSdrInputReport::setLinkRate(float link_rate) {
this->m_link_rate_isSet = true;
}
qint32
qint64
SWGLimeSdrInputReport::getHwTimestamp() {
return hw_timestamp;
}
void
SWGLimeSdrInputReport::setHwTimestamp(qint32 hw_timestamp) {
SWGLimeSdrInputReport::setHwTimestamp(qint64 hw_timestamp) {
this->hw_timestamp = hw_timestamp;
this->m_hw_timestamp_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGLimeSdrInputReport.h

@ -65,8 +65,8 @@ public: @@ -65,8 +65,8 @@ public:
float getLinkRate();
void setLinkRate(float link_rate);
qint32 getHwTimestamp();
void setHwTimestamp(qint32 hw_timestamp);
qint64 getHwTimestamp();
void setHwTimestamp(qint64 hw_timestamp);
float getTemperature();
void setTemperature(float temperature);
@ -105,7 +105,7 @@ private: @@ -105,7 +105,7 @@ private:
float link_rate;
bool m_link_rate_isSet;
qint32 hw_timestamp;
qint64 hw_timestamp;
bool m_hw_timestamp_isSet;
float temperature;

10
swagger/sdrangel/code/qt5/client/SWGLimeSdrOutputReport.cpp

@ -44,7 +44,7 @@ SWGLimeSdrOutputReport::SWGLimeSdrOutputReport() { @@ -44,7 +44,7 @@ SWGLimeSdrOutputReport::SWGLimeSdrOutputReport() {
m_dropped_packets_count_isSet = false;
link_rate = 0.0f;
m_link_rate_isSet = false;
hw_timestamp = 0;
hw_timestamp = 0L;
m_hw_timestamp_isSet = false;
temperature = 0.0f;
m_temperature_isSet = false;
@ -76,7 +76,7 @@ SWGLimeSdrOutputReport::init() { @@ -76,7 +76,7 @@ SWGLimeSdrOutputReport::init() {
m_dropped_packets_count_isSet = false;
link_rate = 0.0f;
m_link_rate_isSet = false;
hw_timestamp = 0;
hw_timestamp = 0L;
m_hw_timestamp_isSet = false;
temperature = 0.0f;
m_temperature_isSet = false;
@ -129,7 +129,7 @@ SWGLimeSdrOutputReport::fromJsonObject(QJsonObject &pJson) { @@ -129,7 +129,7 @@ SWGLimeSdrOutputReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&link_rate, pJson["linkRate"], "float", "");
::SWGSDRangel::setValue(&hw_timestamp, pJson["hwTimestamp"], "qint32", "");
::SWGSDRangel::setValue(&hw_timestamp, pJson["hwTimestamp"], "qint64", "");
::SWGSDRangel::setValue(&temperature, pJson["temperature"], "float", "");
@ -273,12 +273,12 @@ SWGLimeSdrOutputReport::setLinkRate(float link_rate) { @@ -273,12 +273,12 @@ SWGLimeSdrOutputReport::setLinkRate(float link_rate) {
this->m_link_rate_isSet = true;
}
qint32
qint64
SWGLimeSdrOutputReport::getHwTimestamp() {
return hw_timestamp;
}
void
SWGLimeSdrOutputReport::setHwTimestamp(qint32 hw_timestamp) {
SWGLimeSdrOutputReport::setHwTimestamp(qint64 hw_timestamp) {
this->hw_timestamp = hw_timestamp;
this->m_hw_timestamp_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGLimeSdrOutputReport.h

@ -65,8 +65,8 @@ public: @@ -65,8 +65,8 @@ public:
float getLinkRate();
void setLinkRate(float link_rate);
qint32 getHwTimestamp();
void setHwTimestamp(qint32 hw_timestamp);
qint64 getHwTimestamp();
void setHwTimestamp(qint64 hw_timestamp);
float getTemperature();
void setTemperature(float temperature);
@ -105,7 +105,7 @@ private: @@ -105,7 +105,7 @@ private:
float link_rate;
bool m_link_rate_isSet;
qint32 hw_timestamp;
qint64 hw_timestamp;
bool m_hw_timestamp_isSet;
float temperature;

10
swagger/sdrangel/code/qt5/client/SWGLocalInputReport.cpp

@ -28,7 +28,7 @@ SWGLocalInputReport::SWGLocalInputReport(QString* json) { @@ -28,7 +28,7 @@ SWGLocalInputReport::SWGLocalInputReport(QString* json) {
}
SWGLocalInputReport::SWGLocalInputReport() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -40,7 +40,7 @@ SWGLocalInputReport::~SWGLocalInputReport() { @@ -40,7 +40,7 @@ SWGLocalInputReport::~SWGLocalInputReport() {
void
SWGLocalInputReport::init() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -63,7 +63,7 @@ SWGLocalInputReport::fromJson(QString &json) { @@ -63,7 +63,7 @@ SWGLocalInputReport::fromJson(QString &json) {
void
SWGLocalInputReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&sample_rate, pJson["sampleRate"], "qint32", "");
@ -93,12 +93,12 @@ SWGLocalInputReport::asJsonObject() { @@ -93,12 +93,12 @@ SWGLocalInputReport::asJsonObject() {
return obj;
}
qint32
qint64
SWGLocalInputReport::getCenterFrequency() {
return center_frequency;
}
void
SWGLocalInputReport::setCenterFrequency(qint32 center_frequency) {
SWGLocalInputReport::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGLocalInputReport.h

@ -41,8 +41,8 @@ public: @@ -41,8 +41,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGLocalInputReport* fromJson(QString &jsonString) override;
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getSampleRate();
void setSampleRate(qint32 sample_rate);
@ -51,7 +51,7 @@ public: @@ -51,7 +51,7 @@ public:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

10
swagger/sdrangel/code/qt5/client/SWGLocalOutputReport.cpp

@ -28,7 +28,7 @@ SWGLocalOutputReport::SWGLocalOutputReport(QString* json) { @@ -28,7 +28,7 @@ SWGLocalOutputReport::SWGLocalOutputReport(QString* json) {
}
SWGLocalOutputReport::SWGLocalOutputReport() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -40,7 +40,7 @@ SWGLocalOutputReport::~SWGLocalOutputReport() { @@ -40,7 +40,7 @@ SWGLocalOutputReport::~SWGLocalOutputReport() {
void
SWGLocalOutputReport::init() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -63,7 +63,7 @@ SWGLocalOutputReport::fromJson(QString &json) { @@ -63,7 +63,7 @@ SWGLocalOutputReport::fromJson(QString &json) {
void
SWGLocalOutputReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&sample_rate, pJson["sampleRate"], "qint32", "");
@ -93,12 +93,12 @@ SWGLocalOutputReport::asJsonObject() { @@ -93,12 +93,12 @@ SWGLocalOutputReport::asJsonObject() {
return obj;
}
qint32
qint64
SWGLocalOutputReport::getCenterFrequency() {
return center_frequency;
}
void
SWGLocalOutputReport::setCenterFrequency(qint32 center_frequency) {
SWGLocalOutputReport::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGLocalOutputReport.h

@ -41,8 +41,8 @@ public: @@ -41,8 +41,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGLocalOutputReport* fromJson(QString &jsonString) override;
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getSampleRate();
void setSampleRate(qint32 sample_rate);
@ -51,7 +51,7 @@ public: @@ -51,7 +51,7 @@ public:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

10
swagger/sdrangel/code/qt5/client/SWGRemoteInputReport.cpp

@ -28,7 +28,7 @@ SWGRemoteInputReport::SWGRemoteInputReport(QString* json) { @@ -28,7 +28,7 @@ SWGRemoteInputReport::SWGRemoteInputReport(QString* json) {
}
SWGRemoteInputReport::SWGRemoteInputReport() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -48,7 +48,7 @@ SWGRemoteInputReport::~SWGRemoteInputReport() { @@ -48,7 +48,7 @@ SWGRemoteInputReport::~SWGRemoteInputReport() {
void
SWGRemoteInputReport::init() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -85,7 +85,7 @@ SWGRemoteInputReport::fromJson(QString &json) { @@ -85,7 +85,7 @@ SWGRemoteInputReport::fromJson(QString &json) {
void
SWGRemoteInputReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&sample_rate, pJson["sampleRate"], "qint32", "");
@ -135,12 +135,12 @@ SWGRemoteInputReport::asJsonObject() { @@ -135,12 +135,12 @@ SWGRemoteInputReport::asJsonObject() {
return obj;
}
qint32
qint64
SWGRemoteInputReport::getCenterFrequency() {
return center_frequency;
}
void
SWGRemoteInputReport::setCenterFrequency(qint32 center_frequency) {
SWGRemoteInputReport::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGRemoteInputReport.h

@ -42,8 +42,8 @@ public: @@ -42,8 +42,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGRemoteInputReport* fromJson(QString &jsonString) override;
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getSampleRate();
void setSampleRate(qint32 sample_rate);
@ -64,7 +64,7 @@ public: @@ -64,7 +64,7 @@ public:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

10
swagger/sdrangel/code/qt5/client/SWGRemoteOutputSettings.cpp

@ -28,7 +28,7 @@ SWGRemoteOutputSettings::SWGRemoteOutputSettings(QString* json) { @@ -28,7 +28,7 @@ SWGRemoteOutputSettings::SWGRemoteOutputSettings(QString* json) {
}
SWGRemoteOutputSettings::SWGRemoteOutputSettings() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -64,7 +64,7 @@ SWGRemoteOutputSettings::~SWGRemoteOutputSettings() { @@ -64,7 +64,7 @@ SWGRemoteOutputSettings::~SWGRemoteOutputSettings() {
void
SWGRemoteOutputSettings::init() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
sample_rate = 0;
m_sample_rate_isSet = false;
@ -129,7 +129,7 @@ SWGRemoteOutputSettings::fromJson(QString &json) { @@ -129,7 +129,7 @@ SWGRemoteOutputSettings::fromJson(QString &json) {
void
SWGRemoteOutputSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&sample_rate, pJson["sampleRate"], "qint32", "");
@ -219,12 +219,12 @@ SWGRemoteOutputSettings::asJsonObject() { @@ -219,12 +219,12 @@ SWGRemoteOutputSettings::asJsonObject() {
return obj;
}
qint32
qint64
SWGRemoteOutputSettings::getCenterFrequency() {
return center_frequency;
}
void
SWGRemoteOutputSettings::setCenterFrequency(qint32 center_frequency) {
SWGRemoteOutputSettings::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGRemoteOutputSettings.h

@ -42,8 +42,8 @@ public: @@ -42,8 +42,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGRemoteOutputSettings* fromJson(QString &jsonString) override;
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getSampleRate();
void setSampleRate(qint32 sample_rate);
@ -88,7 +88,7 @@ public: @@ -88,7 +88,7 @@ public:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

10
swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.cpp

@ -28,7 +28,7 @@ SWGSDRPlaySettings::SWGSDRPlaySettings(QString* json) { @@ -28,7 +28,7 @@ SWGSDRPlaySettings::SWGSDRPlaySettings(QString* json) {
}
SWGSDRPlaySettings::SWGSDRPlaySettings() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
tuner_gain = 0;
m_tuner_gain_isSet = false;
@ -76,7 +76,7 @@ SWGSDRPlaySettings::~SWGSDRPlaySettings() { @@ -76,7 +76,7 @@ SWGSDRPlaySettings::~SWGSDRPlaySettings() {
void
SWGSDRPlaySettings::init() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
tuner_gain = 0;
m_tuner_gain_isSet = false;
@ -155,7 +155,7 @@ SWGSDRPlaySettings::fromJson(QString &json) { @@ -155,7 +155,7 @@ SWGSDRPlaySettings::fromJson(QString &json) {
void
SWGSDRPlaySettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&tuner_gain, pJson["tunerGain"], "qint32", "");
@ -275,12 +275,12 @@ SWGSDRPlaySettings::asJsonObject() { @@ -275,12 +275,12 @@ SWGSDRPlaySettings::asJsonObject() {
return obj;
}
qint32
qint64
SWGSDRPlaySettings::getCenterFrequency() {
return center_frequency;
}
void
SWGSDRPlaySettings::setCenterFrequency(qint32 center_frequency) {
SWGSDRPlaySettings::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGSDRPlaySettings.h

@ -42,8 +42,8 @@ public: @@ -42,8 +42,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGSDRPlaySettings* fromJson(QString &jsonString) override;
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getTunerGain();
void setTunerGain(qint32 tuner_gain);
@ -106,7 +106,7 @@ public: @@ -106,7 +106,7 @@ public:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 tuner_gain;

10
swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.cpp

@ -28,7 +28,7 @@ SWGTestSourceSettings::SWGTestSourceSettings(QString* json) { @@ -28,7 +28,7 @@ SWGTestSourceSettings::SWGTestSourceSettings(QString* json) {
}
SWGTestSourceSettings::SWGTestSourceSettings() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
frequency_shift = 0;
m_frequency_shift_isSet = false;
@ -76,7 +76,7 @@ SWGTestSourceSettings::~SWGTestSourceSettings() { @@ -76,7 +76,7 @@ SWGTestSourceSettings::~SWGTestSourceSettings() {
void
SWGTestSourceSettings::init() {
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
frequency_shift = 0;
m_frequency_shift_isSet = false;
@ -155,7 +155,7 @@ SWGTestSourceSettings::fromJson(QString &json) { @@ -155,7 +155,7 @@ SWGTestSourceSettings::fromJson(QString &json) {
void
SWGTestSourceSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&frequency_shift, pJson["frequencyShift"], "qint32", "");
@ -275,12 +275,12 @@ SWGTestSourceSettings::asJsonObject() { @@ -275,12 +275,12 @@ SWGTestSourceSettings::asJsonObject() {
return obj;
}
qint32
qint64
SWGTestSourceSettings::getCenterFrequency() {
return center_frequency;
}
void
SWGTestSourceSettings::setCenterFrequency(qint32 center_frequency) {
SWGTestSourceSettings::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

6
swagger/sdrangel/code/qt5/client/SWGTestSourceSettings.h

@ -42,8 +42,8 @@ public: @@ -42,8 +42,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGTestSourceSettings* fromJson(QString &jsonString) override;
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getFrequencyShift();
void setFrequencyShift(qint32 frequency_shift);
@ -106,7 +106,7 @@ public: @@ -106,7 +106,7 @@ public:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 frequency_shift;

Loading…
Cancel
Save