Esempio n. 1
0
 public void SetWeatherData(Shared.WeatherModel model)
 {
     lbCity.Text          = model.location.name;
     lbRegionCountry.Text = "(" + model.location.region + "/" + model.location.country + ")";
     lbTempValue.Text     = model.current.temperature.ToString() + " °C";
     lbWindValue.Text     = model.current.wind_speed.ToString() + " m/s";
     lbMoistureValue.Text = model.current.humidity.ToString() + "%";
 }
Esempio n. 2
0
 public void SetLocation(Shared.WeatherModel model)
 {
     lbCity.Text = model.location.name;
     lbLocationTemperature.Text = model.current.temperature.ToString() + " °C";
     lbLocation.Text            = model.location.name + " / ";
 }