进行了水面端测试
This commit is contained in:
@@ -62,6 +62,7 @@ class PowerManger : public AppCastingMOOSApp
|
||||
|
||||
public:
|
||||
void updateTime(){m_current_time = MOOSTime();}
|
||||
unsigned char getFaultLevel();
|
||||
//数据库
|
||||
// SQLiteDB* m_db;
|
||||
bool writeDataToDB();
|
||||
@@ -85,14 +86,13 @@ class PowerManger : public AppCastingMOOSApp
|
||||
disSysBreakerList m_currentDisBreakerState; //配电断路器状态
|
||||
DriverTable m_currentDriverState;
|
||||
DriverTable m_subDisSysState;
|
||||
|
||||
int m_depth;
|
||||
MissionState m_missionState;
|
||||
//===========================STATE=========================================
|
||||
unsigned char workCondition;
|
||||
unsigned char currentMod;
|
||||
unsigned char powerState;
|
||||
unsigned char falutLevel;
|
||||
unsigned char faultLevel;
|
||||
vector<unsigned int> faultCode;
|
||||
unsigned int soc;
|
||||
unsigned int sustainableTime;
|
||||
@@ -125,7 +125,6 @@ class PowerManger : public AppCastingMOOSApp
|
||||
|
||||
//==================================================================================
|
||||
int checkError();
|
||||
bool shutdown();
|
||||
|
||||
bool sendNotification(const std::string& key, const std::string& value) {
|
||||
return Notify(key, value);
|
||||
|
||||
Reference in New Issue
Block a user