mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-25 04:54:22 -04:00
API: added histogram and waterfall markers to spectrum settings
This commit is contained in:
@@ -6150,6 +6150,18 @@ margin-bottom: 20px;
|
||||
"wsSpectrumPort" : {
|
||||
"type" : "integer",
|
||||
"description" : "port on which the websocket server is listening"
|
||||
},
|
||||
"histogramMarkers" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"$ref" : "#/definitions/SpectrumHistogramMarker"
|
||||
}
|
||||
},
|
||||
"waterfallMarkers" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"$ref" : "#/definitions/SpectrumWaterfallMarker"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description" : "GLSpectrumGUI settings"
|
||||
@@ -11770,6 +11782,32 @@ margin-bottom: 20px;
|
||||
}
|
||||
},
|
||||
"description" : "SoapySDR"
|
||||
};
|
||||
defs.SpectrumHistogramMarker = {
|
||||
"properties" : {
|
||||
"frequency" : {
|
||||
"type" : "number",
|
||||
"format" : "float"
|
||||
},
|
||||
"power" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Fixed power mark"
|
||||
},
|
||||
"markerType" : {
|
||||
"type" : "integer",
|
||||
"description" : "Marker type\n * 0 - Fixed power\n * 1 - Current power\n * 2 - Max power\n"
|
||||
},
|
||||
"markerColor" : {
|
||||
"type" : "integer",
|
||||
"description" : "Color in 8 bit RGB serie"
|
||||
},
|
||||
"show" : {
|
||||
"type" : "integer",
|
||||
"description" : "Boolean - Marker display state\n * 0 - Hidden\n * 1 - Visible\n"
|
||||
}
|
||||
},
|
||||
"description" : "Spectrum histogram marker settings"
|
||||
};
|
||||
defs.SpectrumServer = {
|
||||
"properties" : {
|
||||
@@ -11802,6 +11840,28 @@ margin-bottom: 20px;
|
||||
"type" : "integer"
|
||||
}
|
||||
}
|
||||
};
|
||||
defs.SpectrumWaterfallMarker = {
|
||||
"properties" : {
|
||||
"frequency" : {
|
||||
"type" : "number",
|
||||
"format" : "float"
|
||||
},
|
||||
"time" : {
|
||||
"type" : "number",
|
||||
"format" : "float",
|
||||
"description" : "Time shift in seconds"
|
||||
},
|
||||
"markerColor" : {
|
||||
"type" : "integer",
|
||||
"description" : "Color in 8 bit RGB serie"
|
||||
},
|
||||
"show" : {
|
||||
"type" : "integer",
|
||||
"description" : "Boolean - Marker display state\n * 0 - Hidden\n * 1 - Visible\n"
|
||||
}
|
||||
},
|
||||
"description" : "Spectrum waterfall marker settings"
|
||||
};
|
||||
defs.StarTrackerActions = {
|
||||
"properties" : {
|
||||
@@ -51883,7 +51943,7 @@ except ApiException as e:
|
||||
</div>
|
||||
<div id="generator">
|
||||
<div class="content">
|
||||
Generated 2022-01-09T04:50:11.883+01:00
|
||||
Generated 2022-01-15T03:12:23.419+01:00
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,50 @@
|
||||
SpectrumHistogramMarker:
|
||||
description: Spectrum histogram marker settings
|
||||
properties:
|
||||
frequency:
|
||||
type: number
|
||||
format: float
|
||||
power:
|
||||
type: number
|
||||
format: float
|
||||
description: Fixed power mark
|
||||
markerType:
|
||||
type: integer
|
||||
description: >
|
||||
Marker type
|
||||
* 0 - Fixed power
|
||||
* 1 - Current power
|
||||
* 2 - Max power
|
||||
markerColor:
|
||||
type: integer
|
||||
description: Color in 8 bit RGB serie
|
||||
show:
|
||||
type: integer
|
||||
description: >
|
||||
Boolean - Marker display state
|
||||
* 0 - Hidden
|
||||
* 1 - Visible
|
||||
|
||||
SpectrumWaterfallMarker:
|
||||
description: Spectrum waterfall marker settings
|
||||
properties:
|
||||
frequency:
|
||||
type: number
|
||||
format: float
|
||||
time:
|
||||
type: number
|
||||
format: float
|
||||
description: Time shift in seconds
|
||||
markerColor:
|
||||
type: integer
|
||||
description: Color in 8 bit RGB serie
|
||||
show:
|
||||
type: integer
|
||||
description: >
|
||||
Boolean - Marker display state
|
||||
* 0 - Hidden
|
||||
* 1 - Visible
|
||||
|
||||
GLSpectrum:
|
||||
description: GLSpectrumGUI settings
|
||||
properties:
|
||||
@@ -74,3 +121,11 @@ GLSpectrum:
|
||||
wsSpectrumPort:
|
||||
description: port on which the websocket server is listening
|
||||
type: integer
|
||||
histogramMarkers:
|
||||
type: array
|
||||
items:
|
||||
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumHistogramMarker"
|
||||
waterfallMarkers:
|
||||
type: array
|
||||
items:
|
||||
$ref: "/doc/swagger/include/GLSpectrum.yaml#/SpectrumWaterfallMarker"
|
||||
|
||||
Reference in New Issue
Block a user