Added Transmit Power field to QSO panel under Station power is defined in watts

这个提交包含在:
Peter Goodhall 2020-04-13 16:47:58 +01:00
父节点 8aae7299fc
当前提交 6bc90c8dc6
共有 4 个文件被更改,包括 10 次插入3 次删除

查看文件

@ -61,7 +61,8 @@ class QSO extends CI_Controller {
'sat_mode' => $this->input->post('sat_mode'),
'prop_mode' => $this->input->post('prop_mode'),
'radio' => $this->input->post('radio'),
'station_profile_id' => $this->input->post('station_profile')
'station_profile_id' => $this->input->post('station_profile'),
'transmit_power' => $this->input->post('transmit_power')
);
// ];

查看文件

@ -93,7 +93,7 @@ class Logbook_model extends CI_Model {
'COL_A_INDEX' => null,
'COL_AGE' => null,
'COL_TEN_TEN' => null,
'COL_TX_PWR' => null,
'COL_TX_PWR' => trim($this->input->post('transmit_power')),
'COL_STX' => null,
'COL_SRX' => null,
'COL_NR_BURSTS' => null,

查看文件

@ -187,6 +187,12 @@
<label for="frequency_rx">Frequency (RX)</label>
<input type="text" class="form-control" id="frequency_rx" name="freq_display_rx" value="<?php echo $this->session->userdata('freq_rx'); ?>" />
</div>
<div class="form-group">
<label for="transmit_power">Transmit Power (Watts)</label>
<input type="number" step="0.001" class="form-control" id="transmit_power" name="transmit_power" value="<?php echo $this->session->userdata('transmit_power'); ?>" />
<small id="powerHelp" class="form-text text-muted">Power is in watts only include numbers in the input.</small>
</div>
</div>
<!-- General Items -->

查看文件

@ -199,7 +199,7 @@
<?php if($row->COL_TX_PWR) { ?>
<tr>
<td>Station Transmit Power</td>
<td><?php echo $row->COL_TX_PWR; ?></td>
<td><?php echo $row->COL_TX_PWR; ?>w</td>
</tr>
<?php } ?>