我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。
7 x( e8 ], u9 {is1 n7 w: J$ a3 D4 a. {* n; _8 ~+ C
rand:real;: Y; o! a* }9 S* L% {7 ^2 C
do
$ Z7 Z" K0 u+ D0 B @.serverTime:=Labelpretrial.ProcTime;0 p& X/ B8 U& }8 _0 ]" L" b8 w/ `* C
rand:=Z_uniform(1,0,1);
& D3 a3 s# }2 } if rand>0.0 and rand<=0.15 then `3 S1 R8 S3 |( Z. g
Labelpretrial.ProcTime:=60*3;6 w$ J: ^7 L% {7 [: y7 b
elseif rand>0.15 and rand<=0.5 then ; F# | M) ~" |" Y: {
Labelpretrial.ProcTime:=60*4;6 } @; M6 e1 l4 s. y) i
elseif rand>0.5 and rand<=0.8 then 7 r- N- h( y# q: @% J* d* M. O9 N9 v
Labelpretrial.ProcTime:=60*5;
: O, J! n$ Q$ k! S* k( K- G elseif rand>0.8 and rand<=0.95 then 7 o' m! Y* s" N# d0 {0 z. o
Labelpretrial.ProcTime:=60*6;
6 s' c0 c; A+ ~ elseif rand>0.95 and rand<=1 then ! @% r5 q( ]& \3 g# q
Labelpretrial.ProcTime:=60*7;
0 j& P7 u5 q, B: v ; W* W1 V6 o! V: _. i) ^
end;& Q J) P% s" n# p% P( W
end;/ y% W" I/ n- Y7 \# Y
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |