修改了上电操作
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user