|
@@ -22,7 +22,7 @@ Error_manager Locate_communicator::locate_request(message::Locate_request_msg re
|
|
|
* 检查request合法性,以及模块状态
|
|
|
*/
|
|
|
|
|
|
- std::string response_string;
|
|
|
+ /*std::string response_string;
|
|
|
Error_manager code=m_nnxx_client.request(request.SerializeAsString(),response_string,timeout);
|
|
|
|
|
|
if(code==SUCCESS)
|
|
@@ -54,12 +54,14 @@ Error_manager Locate_communicator::locate_request(message::Locate_request_msg re
|
|
|
{
|
|
|
//本模块功能失败的错误,向上抛出
|
|
|
return code;
|
|
|
- }
|
|
|
+ }*/
|
|
|
+
|
|
|
+ return SUCCESS;
|
|
|
}
|
|
|
|
|
|
Error_manager Locate_communicator::create_locate_communicator(std::string str_ip,int port)
|
|
|
{
|
|
|
- Error_manager code=SUCCESS;
|
|
|
+ /*Error_manager code=SUCCESS;
|
|
|
if(mp_locate_communicator==NULL)
|
|
|
{
|
|
|
mp_locate_communicator=new Locate_communicator();
|
|
@@ -70,7 +72,7 @@ Error_manager Locate_communicator::create_locate_communicator(std::string str_ip
|
|
|
} else
|
|
|
{
|
|
|
return code;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
}
|
|
|
|