Ejemplo n.º 1
0
 private void initialize()
 {
     if (cCOMM == null)
     {
         cCOMM = new COMM();
         cCOMM.iStation_ID_Characters    = new int[4];
         cCOMM.iStation_ID_Characters[0] = 23; // X
         cCOMM.iStation_ID_Characters[1] = 10; // K
         cCOMM.iStation_ID_Characters[2] = 18; // S
         cCOMM.iStation_ID_Characters[3] = 15; // P
         cCOMM.buildStationID();
         sStation_ID = cCOMM.sStation_ID;
         dFrequency  = cCOMM.getFrequency();
     }
     if (cNav_Master == null)
     {
         cNav_Master = new NAVmaster();
     }
     if (cADM == null)
     {
         cADM = new AirDataModule();
     }
     ProcessorPowerRequired = 50.0 * W_Per_Charge;
     BroadcastPowerRequired = 10.0 * W_Per_Charge;
     cADM.initialize();
     iLastMetarUpdateTime = -1;
     dTime = 0.0;
 }
Ejemplo n.º 2
0
 public void nextFrequency()
 {
     cCOMM.incrementChannel();
     dFrequency = cCOMM.getFrequency();
 }