1234567891011121314151617181920212223242526 |
- #ifndef AREA_BUSINESS_CAR_ATTENDANCE_H
- #define AREA_BUSINESS_CAR_ATTENDANCE_H
- #include"area.h"
- #include "card.h"
- #include"area_business.h"
- class area_business_car_attendance:public area_business
- {
- public:
- area_business_car_attendance();
- virtual int area_business_type()
- {
- return 6;
- }
- //记录进入时间等信息,结束考勤,根据离开的时间和距离,判断是否记录一条新的考勤记录
- void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
- void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
- //记录离开考勤区域信息,开始考勤
- void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
- };
- #endif // AREA_BUSINESS_CAR_ATTENDANCE_H
|