RunDataCacheRefresh.h 826 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef RUNDATACACHEREFRESH_H
  2. #define RUNDATACACHEREFRESH_H
  3. #include "RunAbstract.h"
  4. class RunDataCacheRefresh : public RunAbstract
  5. {
  6. public:
  7. RunDataCacheRefresh(InteractiveTask *task, QMutex *mutex);
  8. public:
  9. // 定时刷新获取
  10. // 获取异常类型字典值
  11. static void httpGetExceptionTypeDict();
  12. // 获取严重等级字典值
  13. static void httpGetSeverityLevelDict();
  14. // 获取物资属性值
  15. static void httpGetMaterialProp();
  16. // 获取物资类型
  17. static void httpGetMaterialType();
  18. // 实时获取
  19. // 获取物资信息
  20. static void httpGetMaterialInfo();
  21. // 获取异常物资信息 url: /dev-api/iscs/hardware/material-api/selectExMaterialTypeById
  22. static void httpGetExMaterialInfo();
  23. protected:
  24. void run();
  25. };
  26. #endif // RUNDATACACHEREFRESH_H