if not flag.prepare or type(flag.prepare)~='number' then flag.prepare=0 end
if condition.busy and condition.busy>20 and job.prepare and job.prepare~=test and flag.prepare>0 then flag.prepare=4 end
if condition.busy and condition.busy==0 and job.prepare and job.prepare~=test and flag.prepare>0 then flag.prepare=flag.prepare+5 end
if job.prepare==duHhe_start or job.prepare==duCjiang_start then flag.prepare=0 end
if flag.prepare>4 then flag.prepare=0 end