我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。
! @. {0 q6 }% q0 His
& s9 p/ X5 E8 c# z; h, _: N rand:real;' l$ o- q$ O! B
do
& V+ u6 m5 c X& s0 C9 ?( x ~ @.serverTime:=Labelpretrial.ProcTime;
, u7 s: X3 z/ o9 J+ i x rand:=Z_uniform(1,0,1);
$ w" u. `4 E" k4 N* K7 G$ i if rand>0.0 and rand<=0.15 then ) @% o) `4 \) \. r2 U3 I
Labelpretrial.ProcTime:=60*3;4 k8 G* Q: E$ O% x
elseif rand>0.15 and rand<=0.5 then N4 C) B9 [( n8 F8 W
Labelpretrial.ProcTime:=60*4;
1 i j# _2 b; S& G+ D" {) A elseif rand>0.5 and rand<=0.8 then
3 c7 E C3 `! }0 w) k Labelpretrial.ProcTime:=60*5;6 T2 `- R8 F$ v- b# |
elseif rand>0.8 and rand<=0.95 then 1 d, |4 C) H4 O7 }0 ]
Labelpretrial.ProcTime:=60*6;
7 L, n* c1 w5 @ l/ h0 | elseif rand>0.95 and rand<=1 then $ {0 O' z! A+ B' \8 G3 E% T$ A' ~
Labelpretrial.ProcTime:=60*7;; b' e R) B4 H: Z7 s$ Z
, j5 D" n+ s' A0 G( _
end;
$ ~: @8 \# g* {; L2 ?/ [1 H5 yend;& ^+ h$ e ~* C0 {
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |