MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / stop_scenario

Method stop_scenario

simcore/framework/src/api/python/txsim_module.py:207–209  ·  view source on GitHub ↗
(self, reason)

Source from the content-addressed store, hash-verified

205 self.data, _pystr2cstr(topic), payload, len(payload))
206 # 停止仿真
207 def stop_scenario(self, reason):
208 _StepHelper.FUNC_STOP_SCENARIO(self.cbs[3])(
209 self.data, _pystr2cstr(reason))
210 # 获取仿真时间
211 def timestamp(self):
212 return _StepHelper.FUNC_TIMESTAMP(self.cbs[4])(self.data)

Callers 1

on_stepMethod · 0.80

Calls 1

_pystr2cstrFunction · 0.85

Tested by

no test coverage detected