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.

28 lines
640 B

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. NS_NETSDK_CFG_BEGIN
  4. #define JK_PowerSocketAutoSwitchItem ""
  5. class PowerSocketAutoSwitchItem : public JObject
  6. {
  7. public:
  8. JIntObj TimeStart;
  9. JIntObj TimeStop;
  10. JIntObj DayStart;
  11. JIntObj DayStop;
  12. JBoolObj Enable;
  13. public:
  14. PowerSocketAutoSwitchItem(JObject *pParent = NULL, const char *szName = JK_PowerSocketAutoSwitchItem):
  15. JObject(pParent,szName),
  16. TimeStart(this, "TimeStart"),
  17. TimeStop(this, "TimeStop"),
  18. DayStart(this, "DayStart"),
  19. DayStop(this, "DayStop"),
  20. Enable(this, "Enable"){
  21. };
  22. ~PowerSocketAutoSwitchItem(void){};
  23. };
  24. NS_NETSDK_CFG_END