我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。; Y" Y1 N8 d/ V+ q
is T4 }6 e9 s" z7 ?# Z: d2 R& N
rand:real;
& \1 w8 E$ [) N7 Q8 M, W* e7 H$ ^do' M& P% B `. Z# W- W
@.serverTime:=Labelpretrial.ProcTime;
7 J& S4 |4 ~5 i- h& |0 @ rand:=Z_uniform(1,0,1);( @+ }' b% _" K5 ]) b1 y+ v/ s
if rand>0.0 and rand<=0.15 then + d/ J1 a2 V$ \2 m
Labelpretrial.ProcTime:=60*3;! i4 `, J! x7 _& N6 ?0 }
elseif rand>0.15 and rand<=0.5 then
" h) s1 j4 T: N$ S1 H Labelpretrial.ProcTime:=60*4;
, b. `! C; u- ^5 r' g elseif rand>0.5 and rand<=0.8 then
+ q9 k8 Z, {) c8 h$ h# {9 m Labelpretrial.ProcTime:=60*5;+ u: r0 r! S! @2 K
elseif rand>0.8 and rand<=0.95 then
( t& J. X1 o9 K Labelpretrial.ProcTime:=60*6;- Z* o( _& a% v
elseif rand>0.95 and rand<=1 then
( l) n0 } l- S, l3 K" N: `) t Labelpretrial.ProcTime:=60*7;
8 O% R) p1 K& s* f / l, y7 N% i7 w. D- H
end;0 J. ]' M5 f; P) k) q
end;. b8 ^) I' F; |1 Z3 Q# d8 R; K% M
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |