Partition.h 832 B

123456789101112131415161718192021222324252627282930313233343536
  1. #pragma once
  2. #include "FunSDK/JObject.h"
  3. #define JK_Partition "Partition"
  4. class Partition : public JObject //硬盘相关
  5. {
  6. public:
  7. JIntObj DirverType;
  8. JBoolObj IsCurrent;
  9. JIntObj LogicSerialNo;
  10. JStrObj NewEndTime;
  11. JStrObj NewStartTime;
  12. JStrObj OldEndTime;
  13. JStrObj OldStartTime;
  14. JIntHex RemainSpace;
  15. JIntObj Status;
  16. JIntHex TotalSpace;
  17. public:
  18. Partition(JObject *pParent = NULL, const char *szName = JK_Partition):
  19. JObject(pParent,szName),
  20. DirverType(this, "DirverType"),
  21. IsCurrent(this, "IsCurrent"),
  22. LogicSerialNo(this, "LogicSerialNo"),
  23. NewEndTime(this, "NewEndTime"),
  24. NewStartTime(this, "NewStartTime"),
  25. OldEndTime(this, "OldEndTime"),
  26. OldStartTime(this, "OldStartTime"),
  27. RemainSpace(this, "RemainSpace"),
  28. Status(this, "Status"),
  29. TotalSpace(this, "TotalSpace"){
  30. };
  31. ~Partition(void){};
  32. };