修改了上电操作

This commit is contained in:
zjk
2025-06-24 10:45:37 +08:00
parent 035205101b
commit 45fdc455e9
15 changed files with 3982 additions and 1888 deletions
+7 -2
View File
@@ -102,7 +102,12 @@ class PowerManger : public AppCastingMOOSApp
unsigned int m_faultNum;
Driver m_driver; //设备表处理
unsigned char m_leakage;
// std::string m_pmEvent; // 状态机事件描述
//============================Device Option================================
std::queue<DeviceSwitchCmd> m_deviceCmdQuenue;
mutable std::mutex m_deviceCmdMutex;
void pushDeviceCommand(DeviceSwitchCmd cmd);
bool popDeviceCommand(DeviceSwitchCmd &cmd);
bool isDeviceCmdEmpty() const;
//===========================CONFIG========================================
long m_lPort;
unsigned int m_nReceiveBufferSizeKB;
@@ -113,7 +118,7 @@ class PowerManger : public AppCastingMOOSApp
int connectState;
//=============================过程函数======================================
void initControlCmd();
public:
// CMOOSThread m_FsmThread;
LowerCommManager* m_lowerCommManager;