修改了故障消息的判断
This commit is contained in:
@@ -139,8 +139,8 @@ bool TaskManger::OnNewMail(MOOSMSG_LIST &NewMail)
|
||||
Json::Value j;
|
||||
Json::Reader a;
|
||||
a.parse(msg_str,j);
|
||||
int fault_level = j["FaultLevel"].asInt();
|
||||
if(fault_level != 0)
|
||||
// int fault_level = j["FaultLevel"].asInt();
|
||||
if(j["FaultLevel"] != NULL)
|
||||
{
|
||||
state = FAULT;
|
||||
if(!j["FaultMsgs"].isMember("uMission_status_fault"))
|
||||
|
||||
Reference in New Issue
Block a user