public void InitializePickFlightEngine()
 {
     VmFpkEngine e = new VmFpkEngine(VmAirportData.Default.AirportInputData.FlightNestScheduledFlightFile);
     e.LogoBitmap = LogoBitmap;
     e.SpacerBitmap = SpacerBitmap;
     e.ModuleBitmap = ModuleBitmap;
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmFpkEngine engine = (VmFpkEngine)pe;
             Flight = engine.Flight;
             ShowFlightDestinationNestInfoPanel();
         };
     e.Instructions = Instructions;
     _pickFlightEngine = e;
 }
示例#2
0
 //# __________ PROTOCOL :: PRIVATE (ENGINES) __________ #//
 public VmFpkEngine GetStageFlightEngine()
 {
     VmFpkEngine e = new VmFpkEngine(VmAirportData.Default.AirportInputData.ScheduledFlightFile);
     e.LogoBitmap = LogoBitmap;
     e.SpacerBitmap = SpacerBitmap;
     e.ModuleBitmap = ModuleBitmap;
     e.DoExitDelegate =
         delegate(VmPickerEngine pe)
         {
             VmFpkEngine engine = (VmFpkEngine)pe;
             StagingFlight = engine.Flight;
             ShowFirstScanItemPanel();
         };
     // kludge (err) - Language
     e.Instructions = VmLanguage.Default.GetReceivingChooseFlightInstructions();
     return e;
 }
示例#3
0
 public VmFpkEngine GetStageFlightEngine()
 {
     if( _stageFlightEngine == null )
     {
         VmFpkEngine e = new VmFpkEngine(VmAirportData.Default.AirportInputData.ScheduledFlightFile);
         e.InitializeFromParentEngine(this);
         e.DoExitDelegate =
             delegate(VmPickerEngine pe)
             {
                 VmFpkEngine engine = (VmFpkEngine)pe;
                 _locationBasedAssignmentHistory.SetStagedFlight(Scan.SortingLocationCode, engine.Flight);
                 HandleScan(Tag);
             };
         // kludge (err) - Language
         e.Instructions = VmLanguage.Default.GetReceivingChooseFlightInstructions();
         _stageFlightEngine = e;
     }
     return _stageFlightEngine;
 }