| | |
| | | hour = "24";
|
| | | }
|
| | | map.put("time", Integer.valueOf(hour));
|
| | | if (forecastMap.get("result") != null) {
|
| | | values.add(forecastMap.get("result").toString().replace("\"", ""));
|
| | | if (forecastMap.get("O3") != null) {
|
| | | values.add(forecastMap.get("O3").toString().replace("\"", ""));
|
| | | } else {
|
| | | values.add("");
|
| | | }
|
| | |
| | | hour = "24";
|
| | | }
|
| | | map.put("time", Integer.valueOf(hour));
|
| | | if (forecastMap.get("result") != null) {
|
| | | values.add(forecastMap.get("result").toString().replace("\"", ""));
|
| | | if (forecastMap.get("O3") != null) {
|
| | | values.add(forecastMap.get("O3").toString().replace("\"", ""));
|
| | | } else {
|
| | | values.add("");
|
| | | }
|
| | |
| | | hashMap.put("SO2C", "");
|
| | | hashMap.put("NO2C", "");
|
| | | hashMap.put("COC", "");
|
| | | if (forecastMap.get("O3C") == null) {
|
| | | hashMap.put("O3C", "");
|
| | | }
|
| | | hashMap.put("PM25C", "");
|
| | | hashMap.put("PM10C", "");
|
| | | hashMap.put("city", parameters.get("name").toString());
|