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.

21 lines
476 B

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. NS_NETSDK_CFG_BEGIN
  4. #define JK_OPMachine "OPMachine"
  5. class OPMachine : public JObject
  6. {
  7. public:
  8. JStrObj Action;
  9. public:
  10. OPMachine(JObject *pParent = NULL, const char *szName = JK_OPMachine):
  11. JObject(pParent,szName),
  12. Action(this, "Action"){
  13. this->Parse("{ \"Name\" : \"OPMachine\", \"OPMachine\" : { \"Action\" : \"Shutdown\" }, \"SessionID\" : \"0x1b\" }");
  14. };
  15. ~OPMachine(void){};
  16. };
  17. NS_NETSDK_CFG_END