internal SCANwaypoint(StationaryPointParameter p) { way = reflectWaypoint(p); if (way != null) { band = FlightBand.NONE; root = p.Root; param = p; name = way.name; longitude = SCANUtil.fixLonShift(way.longitude); latitude = SCANUtil.fixLatShift(way.latitude); landingTarget = false; } }
internal static Waypoint FinePrintStationaryWaypointObject(StationaryPointParameter p) { Waypoint w = null; try { w = (Waypoint)_FinePrintStationaryWaypoint.GetValue(p); } catch (Exception e) { SCANUtil.SCANlog("Error in detecting FinePrint Stationary Waypoint object: {0}", e); } return w; }
private Waypoint reflectWaypoint(StationaryPointParameter p) { if (SCANmainMenuLoader.FinePrintStationaryWaypoint) return SCANreflection.FinePrintStationaryWaypointObject(p); return null; }