Gpio_def_g.h 904 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #ifndef __GPIO_DEF_G_H
  2. #define __GPIO_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace Gpio {
  7. //
  8. // const goes here
  9. //
  10. #define GpioService_Method_GetDevInfo 65535
  11. #define GpioService_Method_Exit 0
  12. #define GpioService_MethodSignature_GetDevInfo -70806533
  13. #define GpioService_MethodSignature_Exit -736432874
  14. #define GpioService_LogCode_GetDevInfo "QLR040220999"
  15. #define GpioService_LogCode_Exit "QLR040220900"
  16. struct GpioService_GetDevInfo_Req
  17. {
  18. void Serialize(SpBuffer &Buf)
  19. {
  20. }
  21. };
  22. struct GpioService_GetDevInfo_Ans
  23. {
  24. CSimpleStringA type;
  25. CSimpleStringA model;
  26. CSimpleStringA version;
  27. int state;
  28. void Serialize(SpBuffer &Buf)
  29. {
  30. auto & buf = Buf & type & model & version & state;
  31. }
  32. };
  33. struct GpioService_Exit_Info
  34. {
  35. void Serialize(SpBuffer &Buf)
  36. {
  37. }
  38. };
  39. ///////////////////////////
  40. } // namespace Gpio
  41. #endif // __GPIO_DEF_G_H