已完成上位机通信代码结构优化

This commit is contained in:
zjk
2025-05-14 21:01:57 +08:00
parent 18f00d70d4
commit b7a624334e
24 changed files with 647 additions and 309 deletions
+2 -3
View File
@@ -3,14 +3,13 @@
// StandbyState实现
void StandbyState::entry() {
PowerManagerFsm::entry();
pm->m_driver.getSTANDBYTable(&pm->m_subDisSysCmd);
// pm->m_CcuColCmd.fcuCmd = FcuCommand::Stop;
// pm->m_CcuColCmd.powerBatCmd = BatteryCommand::Stop;
// 启动流程 仪表电一直设置为启动
pm->m_CcuColCmd.powerBatCmd = BatteryCommand::Start;
pm->workCondition = WorkCondition::STANDBY;
// 依次启动仪表电设备
// 启动设备
pm->m_driver.getSTANDBYTable(&pm->m_subDisSysCmd);
//
LOG_F(INFO, "WorkCondition %d", pm->workCondition);