1
0

mine.h 618 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef MINE_H
  2. #define MINE_H
  3. /**
  4. * @brief 矿井里相关的业务
  5. * @author 戴月腾
  6. * @date 2018-09-24
  7. */
  8. #include <unordered_map>
  9. #include "db_api/CDBConnPool.h"
  10. #include <log.h>
  11. struct mine_tool
  12. {
  13. mine_tool():
  14. m_over_speed_count(0)
  15. ,m_normal_speed_count(0)
  16. ,m_status_call(0)
  17. {
  18. }
  19. int m_over_speed_count;
  20. int m_normal_speed_count;
  21. ///CALL_NONE(0):没有呼叫,CALL_ING(2):正在呼叫,CALL_SUCCESSED(1):呼叫成功
  22. int m_status_call;
  23. void on_point(uint32_t card_id, int32_t type, int vehicle_category_id);
  24. };
  25. #endif // MINE_H