module_other_alarm.h 537 B

12345678910111213141516171819202122
  1. #ifndef MODULE_OTHER_ALARM_H
  2. #define MODULE_OTHER_ALARM_H
  3. #include "module_singleton_base.h"
  4. #include "card.h"
  5. #include "ant.h"
  6. class module_other_alarm:public singleton_base<module_other_alarm>
  7. {
  8. private:
  9. friend class singleton_base<module_other_alarm>;
  10. module_other_alarm()
  11. {
  12. }
  13. public:
  14. // 电量低告警
  15. static void power_lower_serious(std::shared_ptr<card_location_base> card_ptr);
  16. // 电量正常
  17. static void power_normal(std::shared_ptr<card_location_base> card_ptr);
  18. };
  19. #endif // MODULE_OTHER_ALARM_H