Detect_Analyze.h 644 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #import "FunSDK/JObject.h"
  3. #include "EventHandler.h"
  4. #include "RuleConfig.h"
  5. //智能分析
  6. #define JK_Detect_Analyze "Detect.Analyze"
  7. class Detect_Analyze : public JObject
  8. {
  9. public:
  10. JBoolObj Enable; //开关
  11. EventHandler mEventHandler;
  12. JIntObj ModuleType; //当前使用的算法
  13. RuleConfig mRuleConfig; //各种算法规则配置
  14. public:
  15. Detect_Analyze(JObject *pParent = NULL, const char *szName = JK_Detect_Analyze):
  16. JObject(pParent,szName),
  17. Enable(this, "Enable"),
  18. mEventHandler(this, "EventHandler"),
  19. ModuleType(this, "ModuleType"),
  20. mRuleConfig(this, "RuleConfig"){
  21. };
  22. ~Detect_Analyze(void){};
  23. };