#include "PowerManagerFsm.hpp" // RemoteControl实现 void RemoteControl::react(MasterCommandEvent const &){ PowerManagerFsm::handelPowerCmd(); PowerManagerFsm::handleModCmd(); PowerManagerFsm::handleWorkCmd(); } void RemoteControl::entry() { PowerManagerFsm::entry(); pm->workCondition = WorkCondition::REMOTE_CONTROL; LOG_F(INFO, "进入遥控工况"); }