修改:运行图初始化bug
This commit is contained in:
parent
2ddb1c38c5
commit
92c572fad4
@ -543,7 +543,9 @@ public class Simulation extends club.joylink.rtss.simulation.Simulation<Simulati
|
|||||||
*/
|
*/
|
||||||
public void reset() {
|
public void reset() {
|
||||||
init();
|
init();
|
||||||
this.buildParams.getRunPlan().init();
|
if (this.buildParams != null && this.buildParams.getRunPlan() != null) {
|
||||||
|
this.buildParams.getRunPlan().init();
|
||||||
|
}
|
||||||
this.repository.reset();
|
this.repository.reset();
|
||||||
this.getSimulationMembers().forEach(member -> member.setCommand(null));
|
this.getSimulationMembers().forEach(member -> member.setCommand(null));
|
||||||
this.planRunning = false;
|
this.planRunning = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user