You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
511 B

#include "simulation_controller.h"
void SimulationController::route(const QString &key, const QString &message) {
qDebug() << "form simulation" << key << message;
}
void SimulationController::setStepTime(int stepTime) {
if(stepTime <= 50){
message("DC_TOPIC", "仿真步长不能低于50ms");
}
// TODO 暂不支持设置
}
void SimulationController::start() {
SimulationService::ins()->start();
}
void SimulationController::stop() {
SimulationService::ins()->end();
}