You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.4 KiB

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. NS_NETSDK_CFG_BEGIN
  4. #define JK_OPDefaultConfig "OPDefaultConfig"
  5. class OPDefaultConfig : public JObject
  6. {
  7. public:
  8. JBoolObj Account; // 用户管理
  9. JBoolObj Alarm; // 报警
  10. JBoolObj CameraPARAM; // 网络摄像头配置
  11. JBoolObj CommPtz; // 云台,串口
  12. JBoolObj Encode; // 编码配置
  13. JBoolObj Factory; // 恢复出厂设置配置
  14. JBoolObj General; // 普通配置
  15. JBoolObj NetCommon; // 通用网络
  16. JBoolObj NetServer; // 网络服务
  17. JBoolObj Preview; // 预览配置
  18. JBoolObj Record; // 录像配置
  19. public:
  20. OPDefaultConfig(JObject *pParent = NULL, const char *szName = JK_OPDefaultConfig):
  21. JObject(pParent,szName),
  22. Account(this, "Account"),
  23. Alarm(this, "Alarm"),
  24. CameraPARAM(this, "CameraPARAM"),
  25. CommPtz(this, "CommPtz"),
  26. Encode(this, "Encode"),
  27. Factory(this, "Factory"),
  28. General(this, "General"),
  29. NetCommon(this, "NetCommon"),
  30. NetServer(this, "NetServer"),
  31. Preview(this, "Preview"),
  32. Record(this, "Record"){
  33. this->Parse("{ \"Name\" : \"OPDefaultConfig\", \"OPDefaultConfig\" : { \"Account\" : false, \"Alarm\" : false, \"CameraPARAM\" : false, \"CommPtz\" : false, \"Encode\" : false, \"Factory\" : false, \"General\" : false, \"NetCommon\" : false, \"NetServer\" : false, \"Preview\" : false, \"Record\" : false }, \"SessionID\" : \"0x4d\" }");
  34. };
  35. ~OPDefaultConfig(void){};
  36. };
  37. NS_NETSDK_CFG_END