Exemplo n.º 1
0
        public void SetLocation(WeatherUnderground.location location)
        {
            LocationName    = string.Format("{0}, {1}", location.city, location.state);
            LocationCountry = location.country;
            LocationQuery   = location.query;

            LocationLat  = double.Parse(location.lat);
            LocationLong = double.Parse(location.lon);

            LocationTZ_Long = location.tz_unix;
        }
Exemplo n.º 2
0
 public LocationQueryViewModel(WeatherUnderground.location location)
 {
     SetLocation(location);
 }