Explorar o código

Z991239-5490 #comment 取RTA映射搞反了

oilyang hai 1 ano
pai
achega
bc92c8a789
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Module/include/DevFSMCommBase.hpp

+ 1 - 1
Module/include/DevFSMCommBase.hpp

@@ -798,7 +798,7 @@ public:
 			, funPath.GetData(), devApi.GetData(), SpStrError(m_errPkgEx.errCode), csErrMsg);
 		CSimpleStringA csErrMsgWithReturnCode = CSimpleStringA::Format("{\"returnCode\":%d, \"context\":\"%s\", \"errMsg\":\"%s\"}", errCode, csErrMsg.GetData()).GetData();
 		CSimpleStringA tmpRTA(true), tmpDesc(true);
-		if (this->GetEntityBase()->GetFunction()->GetVTMErrMsg(dwCode, tmpRTA, tmpDesc) != Error_Succeed)
+		if (this->GetEntityBase()->GetFunction()->GetVTMErrMsg(dwCode, tmpDesc, tmpRTA) != Error_Succeed)
 			tmpRTA = CSimpleStringA::Format("%d", dwCode);//if map failed, use dwCode instead
 		if (bInBusiness) {
 			LogError(Severity_High, m_errPkgEx.errCode, dwCode, alarmMsg.GetData());