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() + "%"; }
public void SetLocation(Shared.WeatherModel model) { lbCity.Text = model.location.name; lbLocationTemperature.Text = model.current.temperature.ToString() + " °C"; lbLocation.Text = model.location.name + " / "; }