|
|
|
|
|
|
|
|
if(ObjectUtil.isEmpty(airWeather) ||ObjectUtil.isEmpty(airWeather.getWth())){ |
|
|
if(ObjectUtil.isEmpty(airWeather) ||ObjectUtil.isEmpty(airWeather.getWth())){ |
|
|
return ""; |
|
|
return ""; |
|
|
} |
|
|
} |
|
|
return "气温:" + airWeather.getWth().getParm().getTmp()+"℃" |
|
|
|
|
|
+ ";湿度:" + airWeather.getWth().getParm().getHum()+"RH" |
|
|
|
|
|
+ ";风速:" + airWeather.getWth().getParm().getWspd()+"M/S" |
|
|
|
|
|
+ ";风向:" + airWeather.getWth().getParm().getWdir(); |
|
|
|
|
|
|
|
|
return "气温:" + airWeather.getWth().getParm().getTmp()/10+"℃" |
|
|
|
|
|
+ ";湿度:" + airWeather.getWth().getParm().getHum()/10+"RH" |
|
|
|
|
|
+ ";风速:" + airWeather.getWth().getParm().getWspd()/10+"M/S" |
|
|
|
|
|
+ ";风向:" + airWeather.getWth().getParm().getWdir() + "°"; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |