public static void InitializeGPWSFunctions() { if (plane == null && lander == null) // call once { plane = new GpwsPlane(); Settings.PlaneConfig = plane as IPlaneConfig; lander = new GpwsLander(); Settings.LanderConfig = lander as ILanderConfig; } }