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

1 year ago
#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 暂不支持设置
}
1 year ago
void SimulationController::start() {
SimulationService::ins()->start();
1 year ago
}
1 year ago
void SimulationController::stop() {
SimulationService::ins()->end();
1 year ago
}