if d_temp>=2000.0 then tempcolor:=3;//红色
if (d_temp<2000) and (d_temp>=1000) then tempcolor:=45;//
if (d_temp<1000) and (d_temp>=700) then tempcolor:=38;//
if (d_temp<700) and (d_temp>=300) then tempcolor:=6;//
if (d_temp<300) and (d_temp>=100) then tempcolor:=50;//
if (d_temp<100) then tempcolor:=15;//
myworkbook.worksheets[1].range['a'+inttostr(i),'AH'+inttostr(i)].interior.colorindex:=tempcolor;