Beispiel #1
0
        private static void storeLatLong(string latitude, string longitude, string wNumber)
        {
            var ourDbStore = new DbStore();

            try
            {
                double tempLatitude  = Convert.ToDouble(MakeCleanCoord(latitude, "lat"));
                double tempLongitude = Convert.ToDouble(MakeCleanCoord(longitude, "long"));
                int    tempWnumber   = Convert.ToInt32(wNumber);

                ourDbStore.StoreLatLong(tempLatitude, tempLongitude, tempWnumber);
            }
            catch (Exception storeLatLongException)
            {
                Debug.WriteLine(storeLatLongException.ToString());
            }
        }