12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #ifndef __GPIO_DEF_G_H
- #define __GPIO_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace Gpio {
- //
- // const goes here
- //
- #define GpioService_Method_Set 0
- #define GpioService_Method_GetStatus 1
- #define GpioService_Method_QueryCurrSet 2
- #define GpioService_MethodSignature_Set 1228126872
- #define GpioService_MethodSignature_GetStatus 1783612278
- #define GpioService_MethodSignature_QueryCurrSet -1281718647
- struct GpioService_Set_Info
- {
- int devseq;
- int mode;
- int close;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & devseq & mode & close;
- }
- };
- struct GpioService_GetStatus_Req
- {
- int devseq;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & devseq;
- }
- };
- struct GpioService_GetStatus_Ans
- {
- int status;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & status;
- }
- };
- struct GpioService_QueryCurrSet_Req
- {
- int devseq;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & devseq;
- }
- };
- struct GpioService_QueryCurrSet_Ans
- {
- int dir;
- int output;
- int reserved1;
- CSimpleStringA reserved2;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & dir & output & reserved1 & reserved2;
- }
- };
- ///////////////////////////
- } // namespace Gpio
- #endif // __GPIO_DEF_G_H
|