コード例 #1
0
        /// <summary>
        /// After gathering the ground station data asynchronously, it will attempt to
        /// send the data to be reverse geocoded to find out what country the staion is in.
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">Contains the results from the NASA web service</param>
        private void getAllGroundStationsOnlineCompleted(object sender, getAllGroundStationsCompletedEventArgs e)
        {
            // Assign the retrieved data into variable result
            groundStationDescription[] result = e.Result;

            // For each ground station reverse geocode it
            for (int x = 0; x < result.Length; x++)
            {
                this.reverseGeocode(result[x].name, result[x].id, new Location(result[x].latitude, result[x].longitude));
            }
        }
コード例 #2
0
        /// <summary>
        /// After gathering the ground station data asynchronously, it will attempt to 
        /// send the data to be reverse geocoded to find out what country the staion is in.
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">Contains the results from the NASA web service</param>
        private void getAllGroundStationsOnlineCompleted(object sender, getAllGroundStationsCompletedEventArgs e)
        {
            // Assign the retrieved data into variable result
            groundStationDescription[] result = e.Result;

            // For each ground station reverse geocode it
            for (int x = 0; x < result.Length; x++)
            {
                this.reverseGeocode(result[x].name, result[x].id, new Location(result[x].latitude, result[x].longitude));
            }
        }