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.

25 line
542 B

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. #include "Partition.h"
  4. NS_NETSDK_CFG_BEGIN
  5. #define JK_StorageInfo "StorageInfo"
  6. class StorageInfo : public JObject //磁盘分区
  7. {
  8. public:
  9. JIntObj PartNumber;
  10. JObjArray<Partition> Partition;
  11. JIntObj PlysicalNo;
  12. public:
  13. StorageInfo(JObject *pParent = NULL, const char *szName = JK_StorageInfo):
  14. JObject(pParent,szName),
  15. PartNumber(this, "PartNumber"),
  16. Partition(this, "Partition"),
  17. PlysicalNo(this, "PlysicalNo"){
  18. };
  19. ~StorageInfo(void){};
  20. };
  21. NS_NETSDK_CFG_END