| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- #ifndef __UPS_DEF_G_H
- #define __UPS_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace Ups {
- //
- // const goes here
- //
- #define UpsService_Method_Open 0
- #define UpsService_Method_GetStatus 1
- #define UpsService_Method_Shutdown 2
- #define UpsService_Method_Close 3
- #define UpsService_MethodSignature_Open 1935607479
- #define UpsService_MethodSignature_GetStatus 384808567
- #define UpsService_MethodSignature_Shutdown -315118099
- #define UpsService_MethodSignature_Close -811482585
- struct UpsService_Open_Req
- {
- CSimpleStringA Com;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Com;
- }
- };
- struct UpsService_Open_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct UpsService_GetStatus_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct UpsService_GetStatus_Ans
- {
- int Status;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & Status;
- }
- };
- struct UpsService_Shutdown_Req
- {
- int ShutdownTime;
- int UpTime;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & ShutdownTime & UpTime;
- }
- };
- struct UpsService_Shutdown_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct UpsService_Close_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct UpsService_Close_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- ///////////////////////////
- } // namespace Ups
- #endif // __UPS_DEF_G_H
|