要在模型中创建实体和事件的自定义观察者,请使用simevents。SimulationObserver
对象。
simevents。SimulationObserver |
接口创建模型的自定义观察者SimEvents块 |
使用sievents观察实体。SimulationObserver类
这个例子展示了如何使用simevents。SimulationObserver
对象计算实体离开并获取离开时间戳。
使用SimulationObserver类来监控sievents模型
要创建一个观察者,请创建一个派生自simevents。SimulationObserver
对象。