我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。, L9 ]6 Z2 l8 h# `# s8 U" F3 w
is& f+ n* l7 q; A" P- Z$ d
rand:real;
7 l& a! s* z2 J) Q9 @, j7 A, H2 ado
7 d. X9 n O8 n3 O @.serverTime:=Labelpretrial.ProcTime;
+ k0 K* W2 n0 i/ {6 ^6 d* d' G rand:=Z_uniform(1,0,1);
: k o& _- _4 D7 x* U5 w if rand>0.0 and rand<=0.15 then
) g6 I9 h, w6 ^) ~5 G# f9 q Labelpretrial.ProcTime:=60*3;
' n: K* T+ H+ u& v; m' T elseif rand>0.15 and rand<=0.5 then * Z0 H s4 k" s- g
Labelpretrial.ProcTime:=60*4;
+ H+ K4 {) x2 F0 |5 Q% v5 H elseif rand>0.5 and rand<=0.8 then
2 O! R, R: B/ u3 d5 W# o Labelpretrial.ProcTime:=60*5;
5 N6 M+ F; a1 X' i elseif rand>0.8 and rand<=0.95 then
1 q# S- \& V, s5 t: G9 l c. V Labelpretrial.ProcTime:=60*6;
' M4 ^5 `/ b1 Y* c% ?6 u elseif rand>0.95 and rand<=1 then
. G* ?$ h6 z9 r. P# n/ | Labelpretrial.ProcTime:=60*7;
( |8 B9 L Z: z 1 H( y- U( m* j6 h. g/ x
end;
& x8 X- O' }0 q2 Pend;' r0 D ~4 l& ]7 c
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |