谢谢Focuson, 的确我们可以用英文论坛中提供的方法。也就是在Equation 中写入如下公式4 O% i6 r }* L# P7 N% |" F8 D% B7 R
1 e3 O) ]1 u5 t1 {' z' u/ h- ?/ jif (SLStringGet("ordertype2", ordertype2)=="AB") delay=RandomCalculate(16,0.33,0.53,0);: l0 @1 \2 {# q7 v Z* e q
if (SLStringGet("ordertype2", ordertype2)=="BC") delay=RandomCalculate(16,0.67,0.73,0);9 p0 Y$ C# X0 P8 ~
if (SLStringGet("ordertype2", ordertype2)=="AC") delay=RandomCalculate(16,0.47,0.6,0);
3 t) o, O+ |: H, f7 h5 dif (SLStringGet("ordertype2", ordertype2)=="ABC") delay=RandomCalculate(16,0.73,0.93,0);% }2 r; A3 T* e+ W7 J
4 K" h9 L8 q# j3 i! W6 @请注意,我把order type 2 这个属性 改成中间没有空格的变量 ordertype2. 如果一个属性要用在Equation 中,这个变量不要包含空格,否则会出错。 |