修改了故障消息的判断

This commit is contained in:
2023-11-29 17:03:20 +08:00
parent ee9c51be03
commit 8f72553752

View File

@@ -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"))