可以在程序里设定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;这样就又可以运行了。