|
@@ -127,7 +127,7 @@ void card_location_base::on_location(const std::vector<point>&vp,const std::vect
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history)
|
|
|
+void card_location_base::on_message(zloop<task*> * loop,message_locinfo&loc,bool is_history)
|
|
|
{
|
|
|
m_ct = loc.m_card_ct;
|
|
|
m_time = loc.m_time_stamp;
|
|
@@ -142,6 +142,8 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
|
auto area_tool=get_area_tool();
|
|
|
area_tool->set_site(site_ptr);
|
|
|
|
|
|
+ handle_message(loc.m_card_ct,loc.m_batty_status);
|
|
|
+
|
|
|
if(site_ptr->is_up_site())
|
|
|
{
|
|
|
log_info("card=%d被井上分站[site=%d]收到",m_id,site_ptr->id());
|