启动仿真线程
(self)
| 578 | return self |
| 579 | |
| 580 | def start_simulation(self): |
| 581 | """启动仿真线程""" |
| 582 | self.running = True |
| 583 | self.simulation_thread = threading.Thread(target=self._simulation_loop, daemon=True) |
| 584 | self.simulation_thread.start() |
| 585 | |
| 586 | def _simulation_loop(self): |
| 587 | """仿真主循环""" |
no outgoing calls
no test coverage detected