|
发表于 2016-11-1 19:24:59
|
显示全部楼层
应该是0,1,2,不能等于3,是从零开始算的。1 a- w: M! x q5 V! c' o1 `
(attribute: string; oldValue: any)
4 f: B' K/ W$ T$ r# p% S% U5 Uis
4 Y; A4 s+ ~: F0 ]2 p6 J8 Ydo- x1 P; u& s; o! t8 U
if ?.Pause then
; q! `5 ? N" @. c; ~, F ?.CurrIconNo := 1;! v0 a$ S7 e5 J0 d4 i
elseif ?.failed then
( f% I- ?! L" j7 a J ?.CurrIconNo := 2;
) c3 X* J: I: h& v. P8 n else
7 w, }! ~ |" A9 y# [/ E ?.CurrIconNo:=0;
$ D* B* x0 e+ d6 g' W8 _ end;1 N. Y P: P; z+ L- x% D e
end; |
|