internal void EnsurePopulated()
 {
     if (Lights == null)
     {
         Lights = new AircraftConfigurationLights();
     }
     Lights.EnsurePopulated();
     if (Engines == null)
     {
         Engines = new AircraftConfigurationEngines();
     }
     Engines.EnsurePopulated();
     if (!GearDown.HasValue)
     {
         GearDown = true;
     }
     if (!FlapsPercent.HasValue)
     {
         FlapsPercent = 0;
     }
     if (!SpoilersDeployed.HasValue)
     {
         SpoilersDeployed = false;
     }
     if (!OnGround.HasValue)
     {
         OnGround = true;
     }
 }