mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Advanced Logbook] Added antenna azimuth and elevation columns
This commit is contained in:
@@ -84,6 +84,8 @@ class QSO
|
||||
|
||||
private string $stationpower;
|
||||
private float $distance;
|
||||
private string $antennaazimuth;
|
||||
private string $antennaelevation;
|
||||
|
||||
private string $measurement_base;
|
||||
|
||||
@@ -273,6 +275,8 @@ class QSO
|
||||
|
||||
$this->stationpower = $data['COL_TX_PWR'] ?? '';
|
||||
$this->distance = (float)$data['COL_DISTANCE'] ?? 0;
|
||||
$this->antennaazimuth = $data['COL_ANT_AZ'] ?? '';
|
||||
$this->antennaelevation = $data['COL_ANT_EL'] ?? '';
|
||||
|
||||
if ($CI->session->userdata('user_measurement_base') == NULL) {
|
||||
$measurement_base = $CI->config->item('measurement_base');
|
||||
@@ -1222,7 +1226,9 @@ class QSO
|
||||
'profilename' => $this->profilename,
|
||||
'stationpower' => $this->stationpower,
|
||||
'distance' => $this->getFormattedDistance(),
|
||||
'region' => $this->region
|
||||
'region' => $this->region,
|
||||
'antennaelevation' => $this->antennaelevation,
|
||||
'antennaazimuth' => $this->antennaazimuth
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user