mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-03-25 13:49:52 -04:00
Update Sky Map yaml
This commit is contained in:
parent
2e389d2607
commit
c93444a75a
@ -14663,6 +14663,11 @@ margin-bottom: 20px;
|
||||
"format" : "float",
|
||||
"description" : "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
},
|
||||
"altitude" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Altitude in metres of observation/antenna location"
|
||||
},
|
||||
"azimuth" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
@ -14772,6 +14777,11 @@ margin-bottom: 20px;
|
||||
"format" : "float",
|
||||
"description" : "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
},
|
||||
"altitude" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Altitude in metres of observation/antenna location"
|
||||
},
|
||||
"hpbw" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
@ -14806,6 +14816,11 @@ margin-bottom: 20px;
|
||||
"format" : "float",
|
||||
"description" : "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
},
|
||||
"altitude" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Altitude in metres of observation/antenna location"
|
||||
},
|
||||
"hpbw" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
@ -58628,7 +58643,7 @@ except ApiException as e:
|
||||
</div>
|
||||
<div id="generator">
|
||||
<div class="content">
|
||||
Generated 2024-02-08T12:07:33.630+01:00
|
||||
Generated 2024-02-08T12:36:55.592+01:00
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -70,6 +70,10 @@ SkyMapReport:
|
||||
description: "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
altitude:
|
||||
description: "Altitude in metres of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
azimuth:
|
||||
description: "The azimuth angle in degrees to the target"
|
||||
type: number
|
||||
@ -109,6 +113,10 @@ SkyMapTarget:
|
||||
description: "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
altitude:
|
||||
description: "Altitude in metres of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
hpbw:
|
||||
description: "Antenna half-power beam width in degrees"
|
||||
type: number
|
||||
|
@ -70,6 +70,10 @@ SkyMapReport:
|
||||
description: "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
altitude:
|
||||
description: "Altitude in metres of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
azimuth:
|
||||
description: "The azimuth angle in degrees to the target"
|
||||
type: number
|
||||
@ -109,6 +113,10 @@ SkyMapTarget:
|
||||
description: "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
altitude:
|
||||
description: "Altitude in metres of observation/antenna location"
|
||||
type: number
|
||||
format: float
|
||||
hpbw:
|
||||
description: "Antenna half-power beam width in degrees"
|
||||
type: number
|
||||
|
@ -14663,6 +14663,11 @@ margin-bottom: 20px;
|
||||
"format" : "float",
|
||||
"description" : "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
},
|
||||
"altitude" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Altitude in metres of observation/antenna location"
|
||||
},
|
||||
"azimuth" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
@ -14772,6 +14777,11 @@ margin-bottom: 20px;
|
||||
"format" : "float",
|
||||
"description" : "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
},
|
||||
"altitude" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Altitude in metres of observation/antenna location"
|
||||
},
|
||||
"hpbw" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
@ -14806,6 +14816,11 @@ margin-bottom: 20px;
|
||||
"format" : "float",
|
||||
"description" : "Longitude in decimal degrees (East positive) of observation/antenna location"
|
||||
},
|
||||
"altitude" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Altitude in metres of observation/antenna location"
|
||||
},
|
||||
"hpbw" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
@ -58628,7 +58643,7 @@ except ApiException as e:
|
||||
</div>
|
||||
<div id="generator">
|
||||
<div class="content">
|
||||
Generated 2024-02-08T12:07:33.630+01:00
|
||||
Generated 2024-02-08T12:36:55.592+01:00
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -38,6 +38,8 @@ SWGSkyMapReport::SWGSkyMapReport() {
|
||||
m_latitude_isSet = false;
|
||||
longitude = 0.0f;
|
||||
m_longitude_isSet = false;
|
||||
altitude = 0.0f;
|
||||
m_altitude_isSet = false;
|
||||
azimuth = 0.0f;
|
||||
m_azimuth_isSet = false;
|
||||
elevation = 0.0f;
|
||||
@ -62,6 +64,8 @@ SWGSkyMapReport::init() {
|
||||
m_latitude_isSet = false;
|
||||
longitude = 0.0f;
|
||||
m_longitude_isSet = false;
|
||||
altitude = 0.0f;
|
||||
m_altitude_isSet = false;
|
||||
azimuth = 0.0f;
|
||||
m_azimuth_isSet = false;
|
||||
elevation = 0.0f;
|
||||
@ -82,6 +86,7 @@ SWGSkyMapReport::cleanup() {
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
SWGSkyMapReport*
|
||||
@ -105,6 +110,8 @@ SWGSkyMapReport::fromJsonObject(QJsonObject &pJson) {
|
||||
|
||||
::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&azimuth, pJson["azimuth"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&elevation, pJson["elevation"], "float", "");
|
||||
@ -142,6 +149,9 @@ SWGSkyMapReport::asJsonObject() {
|
||||
if(m_longitude_isSet){
|
||||
obj->insert("longitude", QJsonValue(longitude));
|
||||
}
|
||||
if(m_altitude_isSet){
|
||||
obj->insert("altitude", QJsonValue(altitude));
|
||||
}
|
||||
if(m_azimuth_isSet){
|
||||
obj->insert("azimuth", QJsonValue(azimuth));
|
||||
}
|
||||
@ -205,6 +215,16 @@ SWGSkyMapReport::setLongitude(float longitude) {
|
||||
this->m_longitude_isSet = true;
|
||||
}
|
||||
|
||||
float
|
||||
SWGSkyMapReport::getAltitude() {
|
||||
return altitude;
|
||||
}
|
||||
void
|
||||
SWGSkyMapReport::setAltitude(float altitude) {
|
||||
this->altitude = altitude;
|
||||
this->m_altitude_isSet = true;
|
||||
}
|
||||
|
||||
float
|
||||
SWGSkyMapReport::getAzimuth() {
|
||||
return azimuth;
|
||||
@ -255,6 +275,9 @@ SWGSkyMapReport::isSet(){
|
||||
if(m_longitude_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
if(m_altitude_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
if(m_azimuth_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
|
@ -57,6 +57,9 @@ public:
|
||||
float getLongitude();
|
||||
void setLongitude(float longitude);
|
||||
|
||||
float getAltitude();
|
||||
void setAltitude(float altitude);
|
||||
|
||||
float getAzimuth();
|
||||
void setAzimuth(float azimuth);
|
||||
|
||||
@ -85,6 +88,9 @@ private:
|
||||
float longitude;
|
||||
bool m_longitude_isSet;
|
||||
|
||||
float altitude;
|
||||
bool m_altitude_isSet;
|
||||
|
||||
float azimuth;
|
||||
bool m_azimuth_isSet;
|
||||
|
||||
|
@ -36,6 +36,8 @@ SWGSkyMapTarget::SWGSkyMapTarget() {
|
||||
m_latitude_isSet = false;
|
||||
longitude = 0.0f;
|
||||
m_longitude_isSet = false;
|
||||
altitude = 0.0f;
|
||||
m_altitude_isSet = false;
|
||||
hpbw = 0.0f;
|
||||
m_hpbw_isSet = false;
|
||||
date_time = nullptr;
|
||||
@ -56,6 +58,8 @@ SWGSkyMapTarget::init() {
|
||||
m_latitude_isSet = false;
|
||||
longitude = 0.0f;
|
||||
m_longitude_isSet = false;
|
||||
altitude = 0.0f;
|
||||
m_altitude_isSet = false;
|
||||
hpbw = 0.0f;
|
||||
m_hpbw_isSet = false;
|
||||
date_time = new QString("");
|
||||
@ -69,6 +73,7 @@ SWGSkyMapTarget::cleanup() {
|
||||
|
||||
|
||||
|
||||
|
||||
if(date_time != nullptr) {
|
||||
delete date_time;
|
||||
}
|
||||
@ -93,6 +98,8 @@ SWGSkyMapTarget::fromJsonObject(QJsonObject &pJson) {
|
||||
|
||||
::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&hpbw, pJson["hpbw"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&date_time, pJson["dateTime"], "QString", "QString");
|
||||
@ -125,6 +132,9 @@ SWGSkyMapTarget::asJsonObject() {
|
||||
if(m_longitude_isSet){
|
||||
obj->insert("longitude", QJsonValue(longitude));
|
||||
}
|
||||
if(m_altitude_isSet){
|
||||
obj->insert("altitude", QJsonValue(altitude));
|
||||
}
|
||||
if(m_hpbw_isSet){
|
||||
obj->insert("hpbw", QJsonValue(hpbw));
|
||||
}
|
||||
@ -175,6 +185,16 @@ SWGSkyMapTarget::setLongitude(float longitude) {
|
||||
this->m_longitude_isSet = true;
|
||||
}
|
||||
|
||||
float
|
||||
SWGSkyMapTarget::getAltitude() {
|
||||
return altitude;
|
||||
}
|
||||
void
|
||||
SWGSkyMapTarget::setAltitude(float altitude) {
|
||||
this->altitude = altitude;
|
||||
this->m_altitude_isSet = true;
|
||||
}
|
||||
|
||||
float
|
||||
SWGSkyMapTarget::getHpbw() {
|
||||
return hpbw;
|
||||
@ -212,6 +232,9 @@ SWGSkyMapTarget::isSet(){
|
||||
if(m_longitude_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
if(m_altitude_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
if(m_hpbw_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
|
@ -54,6 +54,9 @@ public:
|
||||
float getLongitude();
|
||||
void setLongitude(float longitude);
|
||||
|
||||
float getAltitude();
|
||||
void setAltitude(float altitude);
|
||||
|
||||
float getHpbw();
|
||||
void setHpbw(float hpbw);
|
||||
|
||||
@ -76,6 +79,9 @@ private:
|
||||
float longitude;
|
||||
bool m_longitude_isSet;
|
||||
|
||||
float altitude;
|
||||
bool m_altitude_isSet;
|
||||
|
||||
float hpbw;
|
||||
bool m_hpbw_isSet;
|
||||
|
||||
|
@ -36,6 +36,8 @@ SWGSkyMapTarget_2::SWGSkyMapTarget_2() {
|
||||
m_latitude_isSet = false;
|
||||
longitude = 0.0f;
|
||||
m_longitude_isSet = false;
|
||||
altitude = 0.0f;
|
||||
m_altitude_isSet = false;
|
||||
hpbw = 0.0f;
|
||||
m_hpbw_isSet = false;
|
||||
date_time = nullptr;
|
||||
@ -56,6 +58,8 @@ SWGSkyMapTarget_2::init() {
|
||||
m_latitude_isSet = false;
|
||||
longitude = 0.0f;
|
||||
m_longitude_isSet = false;
|
||||
altitude = 0.0f;
|
||||
m_altitude_isSet = false;
|
||||
hpbw = 0.0f;
|
||||
m_hpbw_isSet = false;
|
||||
date_time = new QString("");
|
||||
@ -69,6 +73,7 @@ SWGSkyMapTarget_2::cleanup() {
|
||||
|
||||
|
||||
|
||||
|
||||
if(date_time != nullptr) {
|
||||
delete date_time;
|
||||
}
|
||||
@ -93,6 +98,8 @@ SWGSkyMapTarget_2::fromJsonObject(QJsonObject &pJson) {
|
||||
|
||||
::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&hpbw, pJson["hpbw"], "float", "");
|
||||
|
||||
::SWGSDRangel::setValue(&date_time, pJson["dateTime"], "QString", "QString");
|
||||
@ -125,6 +132,9 @@ SWGSkyMapTarget_2::asJsonObject() {
|
||||
if(m_longitude_isSet){
|
||||
obj->insert("longitude", QJsonValue(longitude));
|
||||
}
|
||||
if(m_altitude_isSet){
|
||||
obj->insert("altitude", QJsonValue(altitude));
|
||||
}
|
||||
if(m_hpbw_isSet){
|
||||
obj->insert("hpbw", QJsonValue(hpbw));
|
||||
}
|
||||
@ -175,6 +185,16 @@ SWGSkyMapTarget_2::setLongitude(float longitude) {
|
||||
this->m_longitude_isSet = true;
|
||||
}
|
||||
|
||||
float
|
||||
SWGSkyMapTarget_2::getAltitude() {
|
||||
return altitude;
|
||||
}
|
||||
void
|
||||
SWGSkyMapTarget_2::setAltitude(float altitude) {
|
||||
this->altitude = altitude;
|
||||
this->m_altitude_isSet = true;
|
||||
}
|
||||
|
||||
float
|
||||
SWGSkyMapTarget_2::getHpbw() {
|
||||
return hpbw;
|
||||
@ -212,6 +232,9 @@ SWGSkyMapTarget_2::isSet(){
|
||||
if(m_longitude_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
if(m_altitude_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
if(m_hpbw_isSet){
|
||||
isObjectUpdated = true; break;
|
||||
}
|
||||
|
@ -54,6 +54,9 @@ public:
|
||||
float getLongitude();
|
||||
void setLongitude(float longitude);
|
||||
|
||||
float getAltitude();
|
||||
void setAltitude(float altitude);
|
||||
|
||||
float getHpbw();
|
||||
void setHpbw(float hpbw);
|
||||
|
||||
@ -76,6 +79,9 @@ private:
|
||||
float longitude;
|
||||
bool m_longitude_isSet;
|
||||
|
||||
float altitude;
|
||||
bool m_altitude_isSet;
|
||||
|
||||
float hpbw;
|
||||
bool m_hpbw_isSet;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user