示例:通过点击事件刷新当天的数据。
<Weather> <Var name="Weather.today.weatherid" expression="999" type="int"/> <Var name="Weather.today.aqivaluetext" expression="'bbb'" type="string"/> <Var name="Weather.today.currentTem" expression="222" type="int"/> <Var name="Weather.today.maxtemp" expression="333" type="int"/> <Var name="Weather.today.mintemp" expression="444" type="int"/> </Weather> <Image x="600" y="500" h="250" w = "260" src="bj.jpg" /> <Button x="600" y="500" h="250" w="260"> <Trigger action="down"> <RefreshWeatherCommand /> </Trigger> </Button>