可以在程序里设定unplanned或者paused=true,档满足某个条件时可以unplanned或者paused=false,当然这是在source不被ShiftCalendar调用的情况下。也可以在出口程序上添加if 条件 then @.move end;用来控制entity的移动,这样当不满足条件时entity就不会移动了,在其他程序里控制if 条件 then source.mu.move(目的地); end;这样就又可以运行了。 ...
可以在程序里设定unplanned或者paused=true,档满足某个条件时可以unplanned或者paused=false,当然这是在source不被ShiftCalendar调用的情况下。也可以在出口程序上添加if 条件 then @.move end;用来控制entity的移动,这样当不满足条件时entity就不会移动了,在其他程序里控制if 条件 then source.mu.move(目的地); end;这样就又可以运行了。
他问的不是这个问题。。。。。。。。。。。/ y6 r9 J. V$ \, } g3 q+ E3 M" p G
" \( `) D, n. L5 U" R1 M4 f; C0 C
method控制不了source生成entity。如果你想控制source生成entity,可以在source里选择deliver table的time of creation方法,在你产生source生成entity命令的method位置写入deliver table的数据就行了。