public void SetData(WuLocation location) { currentImage.Hidden = !location.Current; nameLabel.Text = location.Name; timeLabel.Text = location?.LocalTimeString(); tempLabel.Text = location?.TempString(Settings.UomTemperature, true); }
public void SetData(WuLocation location) { conditionLabel.Text = location?.Conditions?.weather; dayLabel.Text = DateTime.Today.DayOfWeek.ToString(); highTempLabel.Text = location?.HighTempString(Settings.UomTemperature); locationLabel.Text = location?.Name; lowTempLabel.Text = location?.LowTempString(Settings.UomTemperature); precipLabel.Text = location.ProbabilityPercipString(); tempLabel.Text = location?.TempString(Settings.UomTemperature, true); todayLabel.Text = "Today"; //precipIcon.Text = null; //wuIcon.Text = null; }
public void SetData(WuLocation location) { nameLabel.Text = location.Name; timeLabel.Text = location?.LocalTimeString(); tempLabel.Text = location?.TempString(Settings.UomTemperature, true); }