Пример #1
0
        public void SetKBVS()
        {
            this.Airport          = new AirportData.OurAirports.Airport();
            this.Airport.Position = new BasicGeoposition()
            {
                Latitude  = 48.4709014893,
                Longitude = -122.42099762
            };


            //48.4641,-122.424    48.4686,-122.414
            IRunway rwy1 = new AirportData.OurAirports.Runway()
            {
                End1 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude  = 48.4641,
                        Longitude = -122.424
                    }
                },

                End2 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude  = 48.4686,
                        Longitude = -122.414
                    }
                }
            };

            //48.4778,-122.431    48.4689,-122.413
            IRunway rwy2 = new AirportData.OurAirports.Runway()
            {
                End1 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude  = 48.4778,
                        Longitude = -122.431
                    }
                },

                End2 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude  = 48.4689,
                        Longitude = -122.413
                    }
                }
            };

            var runways = new List <IRunway>(2);

            runways.Add(rwy1);
            runways.Add(rwy2);
        }
Пример #2
0
        public void SetKBVS()
        {
            this.Airport = new AirportData.OurAirports.Airport();
            this.Airport.Position = new BasicGeoposition()
            {
                Latitude = 48.4709014893,
                Longitude = -122.42099762
            };

            //48.4641,-122.424    48.4686,-122.414
            IRunway rwy1 = new AirportData.OurAirports.Runway()
            {
                End1 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude = 48.4641,
                        Longitude = -122.424
                    }
                },

                End2 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude = 48.4686,
                        Longitude = -122.414
                    }
                }
            };

            //48.4778,-122.431    48.4689,-122.413
            IRunway rwy2 = new AirportData.OurAirports.Runway()
            {
                End1 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude = 48.4778,
                        Longitude = -122.431
                    }
                },

                End2 = new RunwayEnd()
                {
                    Position = new BasicGeoposition()
                    {
                        Latitude = 48.4689,
                        Longitude = -122.413
                    }
                }
            };

            var runways = new List<IRunway>(2);
            runways.Add(rwy1);
            runways.Add(rwy2);
        }