我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。6 U: O/ d; D: R5 x9 J, e/ X
is# Z( ]7 N( `6 L
rand:real;
7 u' V4 m3 m8 P: c4 { Jdo8 I# i7 V& ]# v8 D& g. W7 M. s
@.serverTime:=Labelpretrial.ProcTime;
& p/ y* V: X$ k1 A1 E0 q/ _ rand:=Z_uniform(1,0,1);6 Z$ Z' }$ i# ~6 V u
if rand>0.0 and rand<=0.15 then 3 d, _, f8 x( j& Y
Labelpretrial.ProcTime:=60*3;0 n+ A7 ]. l+ x# c5 ]
elseif rand>0.15 and rand<=0.5 then
2 Y% _; e) u: L9 A Labelpretrial.ProcTime:=60*4;5 d, G8 I" B. E2 f
elseif rand>0.5 and rand<=0.8 then * i2 @9 s% Z4 q
Labelpretrial.ProcTime:=60*5;: T; @# p6 m/ D0 V9 T+ T
elseif rand>0.8 and rand<=0.95 then $ f f8 o7 \4 a& ~# U( @5 S& F
Labelpretrial.ProcTime:=60*6;
. f' V* z# P6 {- ^; Z* d4 b4 p) p( @, O elseif rand>0.95 and rand<=1 then 5 ~4 _6 f! C! i9 K
Labelpretrial.ProcTime:=60*7;6 O7 X. s& C9 v! r
4 Q2 f5 |8 {; s end;! n, l, u- g% A8 V
end;* I& [% I4 @( H2 u! |3 J' ]: w
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |