18 lines
518 B
C++
18 lines
518 B
C++
#include "PowerManagerFsm.hpp"
|
|
|
|
// FloatAdjust实现
|
|
void FloatAdjust::react(MasterCommandEvent const &) {
|
|
PowerManagerFsm::handelPowerCmd();
|
|
PowerManagerFsm::handleModCmd();
|
|
PowerManagerFsm::handleWorkCmd();
|
|
}
|
|
|
|
void FloatAdjust::entry() {
|
|
PowerManagerFsm::entry();
|
|
pm->workCondition = WorkCondition::CHANING;
|
|
handleCuriseWork();
|
|
pm->workCondition = WorkCondition::BUOYANCY_ADJUST;
|
|
LOG_F(INFO, "进入浮调模式");
|
|
pm->m_systemData->setSystemInfo("INFO:已进入浮调模式");
|
|
}
|