加载背景时,仿真的运行图已加载才发布运行图重载事件
This commit is contained in:
parent
2e6c06c0cc
commit
078a49471e
@ -635,7 +635,9 @@ public class GroupSimulationServiceImpl implements GroupSimulationService {
|
|||||||
storageSimulation.recover2Simulation(simulation);
|
storageSimulation.recover2Simulation(simulation);
|
||||||
atsMessageCollectAndDispatcher.collectAllAndSend(simulation);
|
atsMessageCollectAndDispatcher.collectAllAndSend(simulation);
|
||||||
simulationLifeCycleService.resume(simulation);
|
simulationLifeCycleService.resume(simulation);
|
||||||
this.applicationContext.publishEvent(new SimulationRunPlanReloadEvent(this, simulation));
|
if (simulation.isPlanLoaded()) {
|
||||||
|
this.applicationContext.publishEvent(new SimulationRunPlanReloadEvent(this, simulation));
|
||||||
|
}
|
||||||
this.applicationContext.publishEvent(new SimulationScenesReloadEvent(this, simulation));
|
this.applicationContext.publishEvent(new SimulationScenesReloadEvent(this, simulation));
|
||||||
atsMessageCollectAndDispatcher.syncTime(simulation);
|
atsMessageCollectAndDispatcher.syncTime(simulation);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user