public Route FindRoute(
            string icao, string rwy, SidCollection sidCol,
            IReadOnlyList <string> sids, int wptIndex)
        {
            var editor  = wptList.GetEditor();
            var handler = new SidHandler(icao, sidCol, wptList, editor, airportList);

            return(finder.FindRoute(
                       new OrigInfo(rwy, sids, handler),
                       wptIndex,
                       editor));
        }
        public Route FindRoute(
            string origIcao,
            string origRwy,
            SidCollection sidCol,
            IReadOnlyList <string> sids,
            string destIcao,
            string destRwy,
            StarCollection starCol,
            IReadOnlyList <string> stars)
        {
            var editor      = wptList.GetEditor();
            var sidHandler  = new SidHandler(origIcao, sidCol, wptList, editor, airportList);
            var starHandler = new StarHandler(destIcao, starCol, wptList, editor, airportList);

            return(finder.FindRoute(
                       new OrigInfo(origRwy, sids, sidHandler),
                       new DestInfo(destRwy, stars, starHandler),
                       editor));
        }
Exemple #3
0
 public OrigInfo(string Rwy, IReadOnlyList <string> Sids, SidHandler Handler)
 {
     this.Rwy     = Rwy;
     this.Sids    = Sids;
     this.Handler = Handler;
 }