public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::OpenWeatherFinal.Models.WeekForecastModel)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::OpenWeatherFinal.Models.WeekForecastModel obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_Precipitation(obj.Precipitation, phase); this.Update_Clouds(obj.Clouds, phase); this.Update_Humidity(obj.Humidity, phase); this.Update_Pressure(obj.Pressure, phase); this.Update_Date(obj.Date, phase); this.Update_WeatherDescription(obj.WeatherDescription, phase); this.Update_Sunset(obj.Sunset, phase); this.Update_Sunrise(obj.Sunrise, phase); this.Update_TempMin(obj.TempMin, phase); this.Update_TempMax(obj.TempMax, phase); } } }