|
@@ -11,7 +11,7 @@
|
|
|
#include <boost/algorithm/string/split.hpp>
|
|
|
#include <boost/algorithm/string/classification.hpp>
|
|
|
|
|
|
-//#include"module_service/module_area.h"
|
|
|
+#include"module_service/module_area.h"
|
|
|
|
|
|
template<> std::shared_ptr<area_list>
|
|
|
single_base<area_list, int, std::shared_ptr<area>>::m_instance=std::make_shared<area_list>();
|
|
@@ -26,7 +26,7 @@ void area::on_hover(int64_t card_id,std::shared_ptr<area_hover>&c,double speed,u
|
|
|
// c->m_is_over_time=true;
|
|
|
// //产生告警
|
|
|
// }
|
|
|
-// module_area::instance()->on_hover(card_id,c,speed,type);
|
|
|
+ module_area::instance()->on_hover(card_id,c,speed,type);
|
|
|
}
|
|
|
|
|
|
void area::on_enter(int64_t card_id,std::shared_ptr<area_hover>&c,double speed,uint64_t type)
|
|
@@ -38,7 +38,7 @@ void area::on_enter(int64_t card_id,std::shared_ptr<area_hover>&c,double speed,u
|
|
|
// m_card_count.store(cu);
|
|
|
// //check超员
|
|
|
|
|
|
-// module_area::instance()->on_enter(card_id,c,speed,type);
|
|
|
+ module_area::instance()->on_enter(card_id,c,speed,type);
|
|
|
}
|
|
|
|
|
|
void area::on_leave(int64_t card_id,std::shared_ptr<area_hover>&c,double speed,uint64_t type)
|
|
@@ -53,7 +53,7 @@ void area::on_leave(int64_t card_id,std::shared_ptr<area_hover>&c,double speed,u
|
|
|
// {
|
|
|
// //取消告警
|
|
|
// }
|
|
|
- // module_area::instance()->on_leave(card_id,c,speed,type);
|
|
|
+ module_area::instance()->on_leave(card_id,c,speed,type);
|
|
|
}
|
|
|
bool area::in_area(const point & p)
|
|
|
{
|