kopia lustrzana https://github.com/magicbug/Cloudlog
				
				
				
			Update AO-123 settings for LoTW
							rodzic
							
								
									83dd417539
								
							
						
					
					
						commit
						21df52575f
					
				| 
						 | 
				
			
			@ -22,7 +22,7 @@ $config['migration_enabled'] = TRUE;
 | 
			
		|||
|
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
$config['migration_version'] = 190;
 | 
			
		||||
$config['migration_version'] = 191;
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
|--------------------------------------------------------------------------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -994,6 +994,7 @@ class Lotw extends CI_Controller {
 | 
			
		|||
			"TEVEL8"	=>	"TEVEL-8",
 | 
			
		||||
			"INSPR7"	=> "INSPIRE-SAT 7",
 | 
			
		||||
			"SONATE"	=> "SONATE-2",
 | 
			
		||||
			'AO-123'	=> "ASRTU-1",
 | 
			
		||||
		);
 | 
			
		||||
 | 
			
		||||
		return array_search(strtoupper($satname),$arr,true);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,18 @@
 | 
			
		|||
<?php
 | 
			
		||||
defined('BASEPATH') or exit('No direct script access allowed');
 | 
			
		||||
 | 
			
		||||
class Migration_rename_reupload_ao123 extends CI_Migration
 | 
			
		||||
{
 | 
			
		||||
	public function up()
 | 
			
		||||
	{
 | 
			
		||||
        $this->db->set('COL_SAT_NAME', 'AO-123');
 | 
			
		||||
        $this->db->set('COL_LOTW_QSL_SENT', 'N');
 | 
			
		||||
        $this->db->where('COL_SAT_NAME', 'ASRTU-1');
 | 
			
		||||
        $this->db->update($this->config->item('table_name'));
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public function down()
 | 
			
		||||
	{
 | 
			
		||||
        // Not Possible
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -119,6 +119,18 @@
 | 
			
		|||
         ]
 | 
			
		||||
      }
 | 
			
		||||
   },
 | 
			
		||||
   "AO-123":{
 | 
			
		||||
      "Modes":{
 | 
			
		||||
         "U/V":[
 | 
			
		||||
            {
 | 
			
		||||
               "Uplink_Mode":"FM",
 | 
			
		||||
               "Uplink_Freq":"145850000",
 | 
			
		||||
               "Downlink_Mode":"FM",
 | 
			
		||||
               "Downlink_Freq":"435400000"
 | 
			
		||||
            }
 | 
			
		||||
         ]
 | 
			
		||||
      }
 | 
			
		||||
   },
 | 
			
		||||
   "CAS-4A":{
 | 
			
		||||
      "Modes":{
 | 
			
		||||
         "U/V":[
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue