|
@@ -118,12 +118,12 @@ void card_location_base::on_location(const std::vector<point>&vp,const std::vect
|
|
|
|
|
|
double acc = lm[0].m_acc;
|
|
|
m_acc = lm[0].m_acc;
|
|
|
- log_info("useful:type:%d,card_id:%d,site:%d,ct:%d,timestamp:%llu, loc_point,x:%f,y:%f acc:%.2f",m_type,m_id,sid,m_ct,m_time,x,y,acc);
|
|
|
+ log_info("useful:type=%d,card=%d,site=%d,ct=%d,timestamp=%llu, loc_point,x=%f,y=%f acc=%.2f",m_type,m_id,sid,m_ct,m_time,x,y,acc);
|
|
|
do_business(lm.front().m_sit, pt, acc);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- log_warn("坐标不可用:site_id:%d,type:%d,card_id:%d,ct:%d,x:%f,y:%f",sid,m_type,m_id,m_ct,pt.x,pt.y);
|
|
|
+ log_warn("坐标不可用:site=%d,type=%d,card=%d,ct=%d,x=%f,y=%f",sid,m_type,m_id,m_ct,pt.x,pt.y);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -134,7 +134,7 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
|
auto site_ptr = sit_list::instance()->get(loc.m_site_id);
|
|
|
if(!site_ptr)
|
|
|
{
|
|
|
- log_warn("接收到分站%d的数据,CARD=%d, CT=%d,但是分站未定义",loc.m_site_id,m_id,loc.m_card_ct);
|
|
|
+ log_warn("接收到分站的数据,site=%d,card=%d,ct=%d,但是分站未定义",loc.m_site_id,m_id,loc.m_card_ct);
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -144,7 +144,7 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
|
|
|
|
if(site_ptr->is_up_site())
|
|
|
{
|
|
|
- log_info("%d被井上分站[%d]收到",m_id,site_ptr->id());
|
|
|
+ log_info("card=%d被井上分站[site=%d]收到",m_id,site_ptr->id());
|
|
|
area_tool->on_point(shared_from_this(),point(1,1));
|
|
|
this->site_hover(loc.m_site_id);
|
|
|
}
|
|
@@ -152,7 +152,7 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
|
{
|
|
|
if(site_ptr->is_path_empty())
|
|
|
{
|
|
|
- log_warn("接收到分站%d的数据,CT=%d,但是分站路径为空",site_ptr->id(),loc.m_card_ct);
|
|
|
+ log_warn("接收到分站的数据,site=%d,ct=%d,但是分站路径为空",site_ptr->id(),loc.m_card_ct);
|
|
|
}
|
|
|
m_message_handle->on_message(loop,loc,is_history);
|
|
|
}
|