谢谢Focuson, 的确我们可以用英文论坛中提供的方法。也就是在Equation 中写入如下公式, M9 S4 S$ p8 j) |! n% o0 V
4 d" Z1 q* d7 }( W$ t! H# `0 {if (SLStringGet("ordertype2", ordertype2)=="AB") delay=RandomCalculate(16,0.33,0.53,0);. q9 N; e; g( Q1 I
if (SLStringGet("ordertype2", ordertype2)=="BC") delay=RandomCalculate(16,0.67,0.73,0);
' ~5 P' Q+ `1 ?8 Eif (SLStringGet("ordertype2", ordertype2)=="AC") delay=RandomCalculate(16,0.47,0.6,0);
3 B$ N* \. I; ?1 dif (SLStringGet("ordertype2", ordertype2)=="ABC") delay=RandomCalculate(16,0.73,0.93,0);
4 P& m% }3 H3 i# B: Q( I, V. h/ G- S
6 [; z; u: }+ k; _ j6 [2 y7 I请注意,我把order type 2 这个属性 改成中间没有空格的变量 ordertype2. 如果一个属性要用在Equation 中,这个变量不要包含空格,否则会出错。 |