我要怎么样操作才能让singleproc根据我设置的method语句来操作?我把singleproc中时间选项里面的处理时间改成0,然后应用,系统就会按照我设置的method中的语句的第一句话的时间来操作。我在method中设置的语句是这样的。$ }; c# ~/ o8 Q0 |4 ^4 o+ @
is I* ] R/ q5 |- j( z
rand:real;4 r( N+ T" W N) T
do1 t" P& J, G4 f- \3 }3 t
@.serverTime:=Labelpretrial.ProcTime;5 J- H, E, r D1 f& }1 h6 M" J
rand:=Z_uniform(1,0,1);
" m1 F: c, X( x+ H7 s: o+ B% z p+ O if rand>0.0 and rand<=0.15 then
0 C8 d' Q/ c8 M# {, O( G0 G; L Labelpretrial.ProcTime:=60*3;; I: u- k, F! f' r' b: h& H
elseif rand>0.15 and rand<=0.5 then
( t3 G1 Q8 g# Z Labelpretrial.ProcTime:=60*4;
" w, S" C, G. V9 {* p6 }# | elseif rand>0.5 and rand<=0.8 then - l1 v: ~# e, x- p8 W" K
Labelpretrial.ProcTime:=60*5;* e7 t' k! C- O( |) H( r. ?
elseif rand>0.8 and rand<=0.95 then
) Y5 f8 n/ d8 _ Labelpretrial.ProcTime:=60*6;
- @2 P. v3 r6 L( k9 d% b) T& f elseif rand>0.95 and rand<=1 then
; Y) B) s# Z# z/ c! F/ ^3 f, ~' T9 o7 P Labelpretrial.ProcTime:=60*7;
6 D$ z, E U9 R: g5 ? 4 T+ |) a5 a5 |; {% w' Y9 B* I& N5 a
end;0 g @9 _, P6 l! `
end;+ Z) T( v6 ]2 j; X0 q' f, A
系统就会按照第一个时间3分钟来自动生成处理时间,我该怎么办? |