Change RTTY75 mode on ADIF import to RTTY
这个提交包含在:
		
							父节点
							
								
									67e99779ac
								
							
						
					
					
						当前提交
						00c4ad494c
					
				
					共有  1 个文件被更改,包括 10 次插入 和 1 次删除
				
			
		|  | @ -760,6 +760,15 @@ class Logbook_model extends CI_Model { | ||||||
|                 $srx = null; |                 $srx = null; | ||||||
|         } |         } | ||||||
|          |          | ||||||
|  |         // Filter Modes if not apart of ADIF spec
 | ||||||
|  |         if($record['mode'] == "RTTY75") { | ||||||
|  |             // Set RTTY75 to just RTTY
 | ||||||
|  |                 $mode = "RTTY";  | ||||||
|  |         } else { | ||||||
|  |             // If no other rules just plain mode that adif includes
 | ||||||
|  |                 $mode = $record['mode']; | ||||||
|  |         } | ||||||
|  |          | ||||||
| 
 | 
 | ||||||
|         $this->db->where('COL_CALL', $record['call']); |         $this->db->where('COL_CALL', $record['call']); | ||||||
|         $this->db->where('COL_TIME_ON', $time_on); |         $this->db->where('COL_TIME_ON', $time_on); | ||||||
|  | @ -774,7 +783,7 @@ class Logbook_model extends CI_Model { | ||||||
|                'COL_CALL' => strtoupper($record['call']), |                'COL_CALL' => strtoupper($record['call']), | ||||||
|                'COL_BAND' => $band, |                'COL_BAND' => $band, | ||||||
|                'COL_FREQ' => $freq, |                'COL_FREQ' => $freq, | ||||||
|                'COL_MODE' => $record['mode'], |                'COL_MODE' => $mode, | ||||||
|                'COL_RST_RCVD' => $rst_rx, |                'COL_RST_RCVD' => $rst_rx, | ||||||
|                'COL_RST_SENT' => $rst_tx, |                'COL_RST_SENT' => $rst_tx, | ||||||
|                'COL_NAME' => $name, |                'COL_NAME' => $name, | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用