Add power field to CAT interface

This commit is contained in:
phl0
2022-04-06 14:50:24 +02:00
parent e173d202b9
commit 7ef299c869
7 changed files with 76 additions and 5 deletions

View File

@@ -91,6 +91,8 @@
$uplink_freq = $row->uplink_freq;
$downlink_freq = $row->downlink_freq;
$power = $row->power;
// Check Mode
if(strtoupper($row->uplink_mode) == "FMN"){
$mode = "FM";
@@ -119,6 +121,8 @@
$uplink_freq = $row->frequency;
$downlink_freq = "";
$power = $row->power;
// Check Mode
if(strtoupper($row->mode) == "FMN"){
$mode = "FM";
@@ -148,6 +152,7 @@
"mode" => $mode,
"satmode" => $sat_mode,
"satname" => $sat_name,
"power" => $power,
"updated_minutes_ago" => $updated_at,
), JSON_PRETTY_PRINT);
}