area_business_forbid.h 908 B

123456789101112131415161718192021222324
  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. area_business_forbid();
  8. virtual int area_business_type()
  9. {
  10. return 7;
  11. }
  12. 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);
  13. //记录进入时间等信息,生成告警
  14. void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  15. void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  16. //记录退出时间等信息
  17. void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  18. };
  19. #endif // AREA_BUSINESS_FORBID_H