Page 668 - 2
P. 668
}
public class WeatherCondition {
String id;
String meaning;
public WeatherCondition(String id, String meaning) {
this.id = id;
this.meaning = meaning;
}
public String getId() {
return id;
}
public String getMeaning() {
return meaning;
}
}
}
package com.example.jbts201605.today_weather;
import android.content.ContentValues;
/**
* Created by JBTS201605 on 2017-11-28.
*/
public class WeatherToHangeul {
WeatherConditionList mCondition;
ContentValues mData;
WeatherInfo mWeatherInfo;
public WeatherToHangeul(WeatherInfo tData)
{
mCondition = new WeatherConditionList();
mWeatherInfo = tData;
mWeatherInfo.setClouds_Sort(Hangeul_Weather(mWeatherInfo.clouds_Sort));
mWeatherInfo.setWeather_Name(Hangeul_Weather(mWeatherInfo.weather_Number));
mWeatherInfo.setWind_Name(Hangeul_Weather(mWeatherInfo.wind_Name));
}
public WeatherInfo getHangeulWeather()
{
- 668 -