area_business_forbid.h 878 B

123456789101112131415161718192021
  1. #ifndef AREA_BUSINESS_FORBID_H
  2. #define AREA_BUSINESS_FORBID_H
  3. #include"area_business.h"
  4. class area_business_forbid : public area_business
  5. {
  6. public:
  7. virtual int area_business_type()
  8. {
  9. return 7;
  10. }
  11. void on_load_his(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  12. //记录进入时间等信息,生成告警
  13. void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  14. void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  15. //记录退出时间等信息
  16. void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  17. };
  18. #endif // AREA_BUSINESS_FORBID_H