Explorar el Código

修复bug:未赋值m_strActuatorName;

scbc.sat2 hace 5 años
padre
commit
52f1de906f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SATService/SATService/SATExecutor.cpp

+ 1 - 1
SATService/SATService/SATExecutor.cpp

@@ -135,7 +135,7 @@ bool CSATExecutor::Login(std::string user, std::string password, std::string act
 	m_stLoginReq.strStorage = "";
 	m_stLoginReq.strConnectTime = "";
 	// 执行器名称;
-	m_stLoginReq.strExecuteName = m_strActuatorName;
+	m_stLoginReq.strExecuteName = m_strActuatorName = actuator;
 	if ( Global::g_vtMac.size() )
 		m_stLoginReq.strMAC = Global::g_vtMac[0].szMacAddress; // 取第一个MAC地址;
 	else