<!-- Air quality -->
<ContentProviderBinder name="weather_aqi" dependency="weather" uriFormat="content://weatherinfo/aqi/%s" uriParas="@city_id" columns="aqi,pm25,pm10,so2,no2,pub_time,src,spot" countName="hasweatherinfo">
<Variable name="aqi" type="int" column="aqi"/>
<Variable name="pm25" type="int" column="pm25"/>
<Variable name="pm10" type="int" column="pm10"/>
<Variable name="so2" type="int" column="so2"/>
<Variable name="no2" type="int" column="no2"/>
</ContentProviderBinder>
</VariableBinders>
<Var name="qualità aria" expression="ifelse(ge(#aqi,0)*lt(#aqi,50),'bla bla',ge(#aqi,50)*lt(#aqi,100),'che ti pare',ge(#aqi,100)*lt(#aqi,150),'minor contamination',ge(#aqi,150)*lt(#aqi,200),'light pollution',ge(#aqi,200)*lt(#aqi,300),'moderate pollution',ge(#aqi,300)*le(#aqi,500),'heavily polluted','blast table')" type="string"/>