BranchDevice_msg_g.h 497 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __BRANCHDEVICE_MSG_G_H
  2. #define __BRANCHDEVICE_MSG_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace BranchDevice {
  7. #define eMsg_DeviceStatus 0
  8. #define eMsgSig_DeviceStatus 333921233
  9. struct DeviceStatus
  10. {
  11. int DevSN;
  12. int status;
  13. CSimpleStringA description;
  14. void Serialize(SpBuffer &Buf)
  15. {
  16. auto & buf = Buf & DevSN & status & description;
  17. }
  18. };
  19. ///////////////////////////
  20. } // namespace BranchDevice
  21. #endif // __BRANCHDEVICE_MSG_G_H