我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。. @$ t8 O2 i3 ?6 U2 V7 V' R( R
is
/ I, v2 k' q! }0 s2 c& J+ ] rand:real;$ t! t* G. Y: }2 s2 F; J
do
: [$ ]) _) U U( e5 ?5 R2 E @.serverTime:=Labelpretrial.ProcTime;- `! J% h6 j1 e
rand:=Z_uniform(1,0,1);4 \3 y+ `8 \" o! d3 e0 h. @
if rand>0.0 and rand<=0.15 then
' G1 j- a4 P6 D) |0 m' z6 M, M Labelpretrial.ProcTime:=60*3;0 r6 K. V/ O, ?8 R+ F
elseif rand>0.15 and rand<=0.5 then
+ I; O( b4 H0 `0 M& K% x, L3 { Labelpretrial.ProcTime:=60*4;& {; g Y2 t9 c. T |8 P
elseif rand>0.5 and rand<=0.8 then
9 U# h" }/ i4 C7 @& e, w; m, Y Labelpretrial.ProcTime:=60*5;' Y9 h/ I: m6 H9 v/ _
elseif rand>0.8 and rand<=0.95 then
$ D1 d! N! F H9 P. ]# j7 r Labelpretrial.ProcTime:=60*6;
# I0 T# p8 e j5 h elseif rand>0.95 and rand<=1 then # p$ P2 g: V1 ]
Labelpretrial.ProcTime:=60*7;
1 x: s/ u- c V/ K $ J* j- l& a% l- N
end;
6 u8 T; Q( ? ~1 G& f! mend;* n+ |; t$ |! ~/ ~: Y& h, A
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |