1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-12-15 15:33:22 -05:00

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

This commit is contained in:
f4exb 2020-09-11 08:31:48 +02:00
parent 4dfa29a936
commit 6999bb9db1
38 changed files with 122 additions and 122 deletions

View File

@ -4772,7 +4772,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -4889,7 +4889,7 @@ margin-bottom: 20px;
"properties" : {
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -5215,7 +5215,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -5310,7 +5310,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5346,7 +5346,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -6438,7 +6438,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -6523,7 +6523,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -6836,7 +6836,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"tunerGain" : {
"type" : "integer"
@ -7802,7 +7802,7 @@ margin-bottom: 20px;
},
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"frequencyShift" : {
"type" : "integer"
@ -7860,7 +7860,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"frequencyShift" : {
"type" : "integer"
@ -37622,7 +37622,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-09-09T22:58:44.320+02:00
Generated 2020-09-11T08:28:28.211+02:00
</div>
</div>
</div>

View File

@ -350,7 +350,7 @@ LimeSdrInputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float
@ -386,7 +386,7 @@ LimeSdrOutputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float
@ -403,7 +403,7 @@ LimeSdrMIMOReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -350,7 +350,7 @@ LimeSdrInputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float
@ -386,7 +386,7 @@ LimeSdrOutputReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float
@ -403,7 +403,7 @@ LimeSdrMIMOReport:
hwTimestamp:
description: Hardware timestamp
type: integer
format: uint64
format: int64
temperature:
type: number
format: float

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4772,7 +4772,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -4889,7 +4889,7 @@ margin-bottom: 20px;
"properties" : {
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -5215,7 +5215,7 @@ margin-bottom: 20px;
},
"hwTimestamp" : {
"type" : "integer",
"format" : "uint64",
"format" : "int64",
"description" : "Hardware timestamp"
},
"temperature" : {
@ -5310,7 +5310,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -5346,7 +5346,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -6438,7 +6438,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -6523,7 +6523,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"sampleRate" : {
"type" : "integer"
@ -6836,7 +6836,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"tunerGain" : {
"type" : "integer"
@ -7802,7 +7802,7 @@ margin-bottom: 20px;
},
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"frequencyShift" : {
"type" : "integer"
@ -7860,7 +7860,7 @@ margin-bottom: 20px;
"properties" : {
"centerFrequency" : {
"type" : "integer",
"format" : "uint64"
"format" : "int64"
},
"frequencyShift" : {
"type" : "integer"
@ -37622,7 +37622,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-09-09T22:58:44.320+02:00
Generated 2020-09-11T08:28:28.211+02:00
</div>
</div>
</div>

View File

@ -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() {
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) {
::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) {
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;
}

View File

@ -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:
float link_rate;
bool m_link_rate_isSet;
qint32 hw_timestamp;
qint64 hw_timestamp;
bool m_hw_timestamp_isSet;
float temperature;

View File

@ -28,7 +28,7 @@ SWGLimeSdrMIMOReport::SWGLimeSdrMIMOReport(QString* json) {
}
SWGLimeSdrMIMOReport::SWGLimeSdrMIMOReport() {
hw_timestamp = 0;
hw_timestamp = 0L;
m_hw_timestamp_isSet = false;
temperature = 0.0f;
m_temperature_isSet = false;
@ -76,7 +76,7 @@ SWGLimeSdrMIMOReport::~SWGLimeSdrMIMOReport() {
void
SWGLimeSdrMIMOReport::init() {
hw_timestamp = 0;
hw_timestamp = 0L;
m_hw_timestamp_isSet = false;
temperature = 0.0f;
m_temperature_isSet = false;
@ -153,7 +153,7 @@ SWGLimeSdrMIMOReport::fromJson(QString &json) {
void
SWGLimeSdrMIMOReport::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&hw_timestamp, pJson["hwTimestamp"], "qint32", "");
::SWGSDRangel::setValue(&hw_timestamp, pJson["hwTimestamp"], "qint64", "");
::SWGSDRangel::setValue(&temperature, pJson["temperature"], "float", "");
@ -273,12 +273,12 @@ SWGLimeSdrMIMOReport::asJsonObject() {
return obj;
}
qint32
qint64
SWGLimeSdrMIMOReport::getHwTimestamp() {
return hw_timestamp;
}
void
SWGLimeSdrMIMOReport::setHwTimestamp(qint32 hw_timestamp) {
SWGLimeSdrMIMOReport::setHwTimestamp(qint64 hw_timestamp) {
this->hw_timestamp = hw_timestamp;
this->m_hw_timestamp_isSet = true;
}

View File

@ -41,8 +41,8 @@ public:
virtual void fromJsonObject(QJsonObject &json) override;
virtual SWGLimeSdrMIMOReport* fromJson(QString &jsonString) override;
qint32 getHwTimestamp();
void setHwTimestamp(qint32 hw_timestamp);
qint64 getHwTimestamp();
void setHwTimestamp(qint64 hw_timestamp);
float getTemperature();
void setTemperature(float temperature);
@ -105,7 +105,7 @@ public:
virtual bool isSet() override;
private:
qint32 hw_timestamp;
qint64 hw_timestamp;
bool m_hw_timestamp_isSet;
float temperature;

View File

@ -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() {
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) {
::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) {
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;
}

View File

@ -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:
float link_rate;
bool m_link_rate_isSet;
qint32 hw_timestamp;
qint64 hw_timestamp;
bool m_hw_timestamp_isSet;
float temperature;

View File

@ -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() {
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) {
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() {
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;
}

View File

@ -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:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

View File

@ -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() {
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) {
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() {
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;
}

View File

@ -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:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

View File

@ -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() {
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) {
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() {
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;
}

View File

@ -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:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

View File

@ -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() {
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) {
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() {
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;
}

View File

@ -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:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 sample_rate;

View File

@ -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() {
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) {
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() {
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;
}

View File

@ -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:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 tuner_gain;

View File

@ -30,7 +30,7 @@ SWGTestMiStreamSettings::SWGTestMiStreamSettings(QString* json) {
SWGTestMiStreamSettings::SWGTestMiStreamSettings() {
stream_index = 0;
m_stream_index_isSet = false;
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
frequency_shift = 0;
m_frequency_shift_isSet = false;
@ -72,7 +72,7 @@ void
SWGTestMiStreamSettings::init() {
stream_index = 0;
m_stream_index_isSet = false;
center_frequency = 0;
center_frequency = 0L;
m_center_frequency_isSet = false;
frequency_shift = 0;
m_frequency_shift_isSet = false;
@ -140,7 +140,7 @@ void
SWGTestMiStreamSettings::fromJsonObject(QJsonObject &pJson) {
::SWGSDRangel::setValue(&stream_index, pJson["streamIndex"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint32", "");
::SWGSDRangel::setValue(&center_frequency, pJson["centerFrequency"], "qint64", "");
::SWGSDRangel::setValue(&frequency_shift, pJson["frequencyShift"], "qint32", "");
@ -253,12 +253,12 @@ SWGTestMiStreamSettings::setStreamIndex(qint32 stream_index) {
this->m_stream_index_isSet = true;
}
qint32
qint64
SWGTestMiStreamSettings::getCenterFrequency() {
return center_frequency;
}
void
SWGTestMiStreamSettings::setCenterFrequency(qint32 center_frequency) {
SWGTestMiStreamSettings::setCenterFrequency(qint64 center_frequency) {
this->center_frequency = center_frequency;
this->m_center_frequency_isSet = true;
}

View File

@ -44,8 +44,8 @@ public:
qint32 getStreamIndex();
void setStreamIndex(qint32 stream_index);
qint32 getCenterFrequency();
void setCenterFrequency(qint32 center_frequency);
qint64 getCenterFrequency();
void setCenterFrequency(qint64 center_frequency);
qint32 getFrequencyShift();
void setFrequencyShift(qint32 frequency_shift);
@ -99,7 +99,7 @@ private:
qint32 stream_index;
bool m_stream_index_isSet;
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 frequency_shift;

View File

@ -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() {
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) {
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() {
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;
}

View File

@ -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:
virtual bool isSet() override;
private:
qint32 center_frequency;
qint64 center_frequency;
bool m_center_frequency_isSet;
qint32 frequency_shift;