谢谢Focuson, 的确我们可以用英文论坛中提供的方法。也就是在Equation 中写入如下公式
9 T' o. K! s7 P# V8 p
" ^1 Z. G4 l% }4 Jif (SLStringGet("ordertype2", ordertype2)=="AB") delay=RandomCalculate(16,0.33,0.53,0);+ n2 S- a0 A; w' H0 X7 K
if (SLStringGet("ordertype2", ordertype2)=="BC") delay=RandomCalculate(16,0.67,0.73,0);
. t4 m6 T5 o9 }' A f7 q' Q$ T1 W9 [if (SLStringGet("ordertype2", ordertype2)=="AC") delay=RandomCalculate(16,0.47,0.6,0);, J* E0 |/ j; q8 B$ {
if (SLStringGet("ordertype2", ordertype2)=="ABC") delay=RandomCalculate(16,0.73,0.93,0);( L3 k2 K$ n$ b
, @8 q- O2 F# F% ^& t# Z6 E请注意,我把order type 2 这个属性 改成中间没有空格的变量 ordertype2. 如果一个属性要用在Equation 中,这个变量不要包含空格,否则会出错。 |