public ObtainWeatherData(WeatherData wd) { string rawWeatherData = DownloadWeatherData(getWeatherURL(wd)); ArrayList parsedWeatherData = ParseWeatherData(rawWeatherData); wd.InitializeWeatherGraph(DefineRows(parsedWeatherData), DefineRowsColumns(parsedWeatherData)); // InsertHeaderData(parsedWeatherData); // wd.InitializeWeatherGraph(); StoreWeatherData(wd, parsedWeatherData); DisplayAllWeatherData(wd); }
public ObtainWeatherData(WeatherData wd, object o) { Console.WriteLine("Zip: " + getWeatherURL(wd)); string rawWeatherData = DownloadWeatherData(getWeatherURL(wd)); ArrayList parsedWeatherData = ParseWeatherData(rawWeatherData); wd.InitializeWeatherGraph(DefineRows(parsedWeatherData), DefineRowsColumns(parsedWeatherData)); // InsertHeaderData(parsedWeatherData); // wd.InitializeWeatherGraph(); StoreWeatherData(wd, parsedWeatherData); // GetAllWeatherData(wd); }