A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
绿灯行:C>A,COLORGREEN;
红灯停:C<B,COLORRED;
黄灯观望:A>=C AND C>=B,COLORYELLOW ;
STICKLINE(C>A,0,2,8,0),COLORGREEN,LINETHICK2;
STICKLINE(C<B,0,2,8,0),COLORRED,LINETHICK2;
STICKLINE(A>=C AND C>=B,0,2,8,0),COLORYELLOW,LINETHICK2;