Exemplo n.º 1
0
 /* Transforming from data object to WeatherData object */
 public static void ExtractWeatherData(DataClass data, WeatherForecast WeatherData)
 {
     WeatherData.temp        = data.main.temp;
     WeatherData.winddegrees = data.wind.deg;
     WeatherData.weather     = data.weather[0].main;
 }