mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 12:51:49 -05:00
Update Sky Map yaml
This commit is contained in:
parent
203a983565
commit
4b227f73b8
@ -14727,6 +14727,31 @@ margin-bottom: 20px;
|
|||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "Whether to track the specified source plugin"
|
"description" : "Whether to track the specified source plugin"
|
||||||
},
|
},
|
||||||
|
"latitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float",
|
||||||
|
"description" : "Latitude in decimal degrees (North positive) of observation/antenna location"
|
||||||
|
},
|
||||||
|
"longitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"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",
|
||||||
|
"description" : "Antenna half-power beam width in degrees"
|
||||||
|
},
|
||||||
|
"useMyPosition" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float",
|
||||||
|
"description" : "Use My Position instead of latitude/longitude settings"
|
||||||
|
},
|
||||||
"title" : {
|
"title" : {
|
||||||
"type" : "string"
|
"type" : "string"
|
||||||
},
|
},
|
||||||
@ -58643,7 +58668,7 @@ except ApiException as e:
|
|||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-02-08T12:36:55.592+01:00
|
Generated 2024-02-12T10:33:45.606+01:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -30,6 +30,26 @@ SkyMapSettings:
|
|||||||
track:
|
track:
|
||||||
description: "Whether to track the specified source plugin"
|
description: "Whether to track the specified source plugin"
|
||||||
type: integer
|
type: integer
|
||||||
|
latitude:
|
||||||
|
description: "Latitude in decimal degrees (North positive) of observation/antenna location"
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
|
longitude:
|
||||||
|
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
|
||||||
|
format: float
|
||||||
|
useMyPosition:
|
||||||
|
description: "Use My Position instead of latitude/longitude settings"
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
rgbColor:
|
rgbColor:
|
||||||
|
@ -30,6 +30,26 @@ SkyMapSettings:
|
|||||||
track:
|
track:
|
||||||
description: "Whether to track the specified source plugin"
|
description: "Whether to track the specified source plugin"
|
||||||
type: integer
|
type: integer
|
||||||
|
latitude:
|
||||||
|
description: "Latitude in decimal degrees (North positive) of observation/antenna location"
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
|
longitude:
|
||||||
|
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
|
||||||
|
format: float
|
||||||
|
useMyPosition:
|
||||||
|
description: "Use My Position instead of latitude/longitude settings"
|
||||||
|
type: number
|
||||||
|
format: float
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
rgbColor:
|
rgbColor:
|
||||||
|
@ -14727,6 +14727,31 @@ margin-bottom: 20px;
|
|||||||
"type" : "integer",
|
"type" : "integer",
|
||||||
"description" : "Whether to track the specified source plugin"
|
"description" : "Whether to track the specified source plugin"
|
||||||
},
|
},
|
||||||
|
"latitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float",
|
||||||
|
"description" : "Latitude in decimal degrees (North positive) of observation/antenna location"
|
||||||
|
},
|
||||||
|
"longitude" : {
|
||||||
|
"type" : "number",
|
||||||
|
"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",
|
||||||
|
"description" : "Antenna half-power beam width in degrees"
|
||||||
|
},
|
||||||
|
"useMyPosition" : {
|
||||||
|
"type" : "number",
|
||||||
|
"format" : "float",
|
||||||
|
"description" : "Use My Position instead of latitude/longitude settings"
|
||||||
|
},
|
||||||
"title" : {
|
"title" : {
|
||||||
"type" : "string"
|
"type" : "string"
|
||||||
},
|
},
|
||||||
@ -58643,7 +58668,7 @@ except ApiException as e:
|
|||||||
</div>
|
</div>
|
||||||
<div id="generator">
|
<div id="generator">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
Generated 2024-02-08T12:36:55.592+01:00
|
Generated 2024-02-12T10:33:45.606+01:00
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,6 +48,16 @@ SWGSkyMapSettings::SWGSkyMapSettings() {
|
|||||||
m_source_isSet = false;
|
m_source_isSet = false;
|
||||||
track = 0;
|
track = 0;
|
||||||
m_track_isSet = false;
|
m_track_isSet = false;
|
||||||
|
latitude = 0.0f;
|
||||||
|
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;
|
||||||
|
use_my_position = 0.0f;
|
||||||
|
m_use_my_position_isSet = false;
|
||||||
title = nullptr;
|
title = nullptr;
|
||||||
m_title_isSet = false;
|
m_title_isSet = false;
|
||||||
rgb_color = 0;
|
rgb_color = 0;
|
||||||
@ -92,6 +102,16 @@ SWGSkyMapSettings::init() {
|
|||||||
m_source_isSet = false;
|
m_source_isSet = false;
|
||||||
track = 0;
|
track = 0;
|
||||||
m_track_isSet = false;
|
m_track_isSet = false;
|
||||||
|
latitude = 0.0f;
|
||||||
|
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;
|
||||||
|
use_my_position = 0.0f;
|
||||||
|
m_use_my_position_isSet = false;
|
||||||
title = new QString("");
|
title = new QString("");
|
||||||
m_title_isSet = false;
|
m_title_isSet = false;
|
||||||
rgb_color = 0;
|
rgb_color = 0;
|
||||||
@ -130,6 +150,11 @@ SWGSkyMapSettings::cleanup() {
|
|||||||
delete source;
|
delete source;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(title != nullptr) {
|
if(title != nullptr) {
|
||||||
delete title;
|
delete title;
|
||||||
}
|
}
|
||||||
@ -177,6 +202,16 @@ SWGSkyMapSettings::fromJsonObject(QJsonObject &pJson) {
|
|||||||
|
|
||||||
::SWGSDRangel::setValue(&track, pJson["track"], "qint32", "");
|
::SWGSDRangel::setValue(&track, pJson["track"], "qint32", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&latitude, pJson["latitude"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&longitude, pJson["longitude"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&altitude, pJson["altitude"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&hpbw, pJson["hpbw"], "float", "");
|
||||||
|
|
||||||
|
::SWGSDRangel::setValue(&use_my_position, pJson["useMyPosition"], "float", "");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
|
::SWGSDRangel::setValue(&title, pJson["title"], "QString", "QString");
|
||||||
|
|
||||||
::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
|
::SWGSDRangel::setValue(&rgb_color, pJson["rgbColor"], "qint32", "");
|
||||||
@ -239,6 +274,21 @@ SWGSkyMapSettings::asJsonObject() {
|
|||||||
if(m_track_isSet){
|
if(m_track_isSet){
|
||||||
obj->insert("track", QJsonValue(track));
|
obj->insert("track", QJsonValue(track));
|
||||||
}
|
}
|
||||||
|
if(m_latitude_isSet){
|
||||||
|
obj->insert("latitude", QJsonValue(latitude));
|
||||||
|
}
|
||||||
|
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));
|
||||||
|
}
|
||||||
|
if(m_use_my_position_isSet){
|
||||||
|
obj->insert("useMyPosition", QJsonValue(use_my_position));
|
||||||
|
}
|
||||||
if(title != nullptr && *title != QString("")){
|
if(title != nullptr && *title != QString("")){
|
||||||
toJsonValue(QString("title"), title, obj, QString("QString"));
|
toJsonValue(QString("title"), title, obj, QString("QString"));
|
||||||
}
|
}
|
||||||
@ -367,6 +417,56 @@ SWGSkyMapSettings::setTrack(qint32 track) {
|
|||||||
this->m_track_isSet = true;
|
this->m_track_isSet = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGSkyMapSettings::getLatitude() {
|
||||||
|
return latitude;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGSkyMapSettings::setLatitude(float latitude) {
|
||||||
|
this->latitude = latitude;
|
||||||
|
this->m_latitude_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGSkyMapSettings::getLongitude() {
|
||||||
|
return longitude;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGSkyMapSettings::setLongitude(float longitude) {
|
||||||
|
this->longitude = longitude;
|
||||||
|
this->m_longitude_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGSkyMapSettings::getAltitude() {
|
||||||
|
return altitude;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGSkyMapSettings::setAltitude(float altitude) {
|
||||||
|
this->altitude = altitude;
|
||||||
|
this->m_altitude_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGSkyMapSettings::getHpbw() {
|
||||||
|
return hpbw;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGSkyMapSettings::setHpbw(float hpbw) {
|
||||||
|
this->hpbw = hpbw;
|
||||||
|
this->m_hpbw_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
float
|
||||||
|
SWGSkyMapSettings::getUseMyPosition() {
|
||||||
|
return use_my_position;
|
||||||
|
}
|
||||||
|
void
|
||||||
|
SWGSkyMapSettings::setUseMyPosition(float use_my_position) {
|
||||||
|
this->use_my_position = use_my_position;
|
||||||
|
this->m_use_my_position_isSet = true;
|
||||||
|
}
|
||||||
|
|
||||||
QString*
|
QString*
|
||||||
SWGSkyMapSettings::getTitle() {
|
SWGSkyMapSettings::getTitle() {
|
||||||
return title;
|
return title;
|
||||||
@ -482,6 +582,21 @@ SWGSkyMapSettings::isSet(){
|
|||||||
if(m_track_isSet){
|
if(m_track_isSet){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
if(m_latitude_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_longitude_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_altitude_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_hpbw_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
|
if(m_use_my_position_isSet){
|
||||||
|
isObjectUpdated = true; break;
|
||||||
|
}
|
||||||
if(title && *title != QString("")){
|
if(title && *title != QString("")){
|
||||||
isObjectUpdated = true; break;
|
isObjectUpdated = true; break;
|
||||||
}
|
}
|
||||||
|
@ -73,6 +73,21 @@ public:
|
|||||||
qint32 getTrack();
|
qint32 getTrack();
|
||||||
void setTrack(qint32 track);
|
void setTrack(qint32 track);
|
||||||
|
|
||||||
|
float getLatitude();
|
||||||
|
void setLatitude(float latitude);
|
||||||
|
|
||||||
|
float getLongitude();
|
||||||
|
void setLongitude(float longitude);
|
||||||
|
|
||||||
|
float getAltitude();
|
||||||
|
void setAltitude(float altitude);
|
||||||
|
|
||||||
|
float getHpbw();
|
||||||
|
void setHpbw(float hpbw);
|
||||||
|
|
||||||
|
float getUseMyPosition();
|
||||||
|
void setUseMyPosition(float use_my_position);
|
||||||
|
|
||||||
QString* getTitle();
|
QString* getTitle();
|
||||||
void setTitle(QString* title);
|
void setTitle(QString* title);
|
||||||
|
|
||||||
@ -131,6 +146,21 @@ private:
|
|||||||
qint32 track;
|
qint32 track;
|
||||||
bool m_track_isSet;
|
bool m_track_isSet;
|
||||||
|
|
||||||
|
float latitude;
|
||||||
|
bool m_latitude_isSet;
|
||||||
|
|
||||||
|
float longitude;
|
||||||
|
bool m_longitude_isSet;
|
||||||
|
|
||||||
|
float altitude;
|
||||||
|
bool m_altitude_isSet;
|
||||||
|
|
||||||
|
float hpbw;
|
||||||
|
bool m_hpbw_isSet;
|
||||||
|
|
||||||
|
float use_my_position;
|
||||||
|
bool m_use_my_position_isSet;
|
||||||
|
|
||||||
QString* title;
|
QString* title;
|
||||||
bool m_title_isSet;
|
bool m_title_isSet;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user