123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- #ifndef __CENTERSETTING_DEF_G_H
- #define __CENTERSETTING_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace CenterSetting {
- //
- // const goes here
- //
- #define CenterSettingService_Method_Download 0
- #define CenterSettingService_Method_GetSyncInfo 1
- #define CenterSettingService_Method_EditWebUrl 2
- #define CenterSettingService_Method_GetWebUrlList 3
- #define CenterSettingService_Method_GetActiveCustomUrl 4
- #define CenterSettingService_Method_EditTerminalBackupInfo 5
- #define CenterSettingService_Method_GetTerminalBackupInfoList 6
- #define CenterSettingService_Method_DownloadCenterFiles 7
- #define CenterSettingService_MethodSignature_Download -101852141
- #define CenterSettingService_MethodSignature_GetSyncInfo 1338819403
- #define CenterSettingService_MethodSignature_EditWebUrl 112159607
- #define CenterSettingService_MethodSignature_GetWebUrlList 166192532
- #define CenterSettingService_MethodSignature_GetActiveCustomUrl -2094137460
- #define CenterSettingService_MethodSignature_EditTerminalBackupInfo -1684426310
- #define CenterSettingService_MethodSignature_GetTerminalBackupInfoList 652072921
- #define CenterSettingService_MethodSignature_DownloadCenterFiles 1100121901
- struct CenterSettingService_Download_Req
- {
- CSimpleStringA strAddr;
- int nPort;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strAddr & nPort;
- }
- };
- struct CenterSettingService_Download_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct CenterSettingService_GetSyncInfo_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct CenterSettingService_GetSyncInfo_Ans
- {
- unsigned int nSyncTime;
- CSimpleStringA strFileName;
- CSimpleStringA strFileHash;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & nSyncTime & strFileName & strFileHash;
- }
- };
- struct CenterSettingService_EditWebUrl_Req
- {
- int operation;
- int index;
- CSimpleStringA futureUrl;
- CSimpleStringA adUrl;
- CSimpleStringA remark;
- int env;
- bool setDefault;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & operation & index & futureUrl & adUrl & remark & env & setDefault;
- }
- };
- struct CenterSettingService_EditWebUrl_Ans
- {
- int result;
- int addition;
- CSimpleStringA msg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & result & addition & msg;
- }
- };
- struct CenterSettingService_GetWebUrlList_Req
- {
- int filter1;
- int filter2;
- int filter3;
- CSimpleStringA filter4;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & filter1 & filter2 & filter3 & filter4;
- }
- };
- struct CenterSettingService_GetWebUrlList_Ans
- {
- CAutoArray<int> index;
- CAutoArray<CSimpleStringA> futureUrl;
- CAutoArray<CSimpleStringA> adUrl;
- CAutoArray<CSimpleStringA> remark;
- CAutoArray<int> env;
- CAutoArray<int> type;
- CAutoArray<int> status;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & index & futureUrl & adUrl & remark & env & type & status;
- }
- };
- struct CenterSettingService_GetActiveCustomUrl_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct CenterSettingService_GetActiveCustomUrl_Ans
- {
- CSimpleStringA fultureUrl;
- CSimpleStringA adUrl;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & fultureUrl & adUrl;
- }
- };
- struct CenterSettingService_EditTerminalBackupInfo_Req
- {
- int operation;
- int index;
- CSimpleStringA terminalNo;
- CSimpleStringA branchIP;
- CSimpleStringA remark;
- int env;
- bool setDefault;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & operation & index & terminalNo & branchIP & remark & env & setDefault;
- }
- };
- struct CenterSettingService_EditTerminalBackupInfo_Ans
- {
- int result;
- int addition;
- CSimpleStringA msg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & result & addition & msg;
- }
- };
- struct CenterSettingService_GetTerminalBackupInfoList_Req
- {
- int filter1;
- int filter2;
- int filter3;
- CSimpleStringA filter4;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & filter1 & filter2 & filter3 & filter4;
- }
- };
- struct CenterSettingService_GetTerminalBackupInfoList_Ans
- {
- CAutoArray<int> index;
- CAutoArray<CSimpleStringA> terminalNo;
- CAutoArray<CSimpleStringA> branchIP;
- CAutoArray<CSimpleStringA> remark;
- CAutoArray<int> env;
- CAutoArray<int> status;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & index & terminalNo & branchIP & remark & env & status;
- }
- };
- struct CenterSettingService_DownloadCenterFiles_Req
- {
- int operation;
- CSimpleStringA strAddr;
- int nPort;
- bool deleteIfExist;
- CSimpleStringA additional1;
- CSimpleStringA additional2;
- CSimpleStringA additional3;
- CSimpleStringA additional4;
- int reserved1;
- int reserved2;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & operation & strAddr & nPort & deleteIfExist & additional1 & additional2 & additional3 & additional4 & reserved1 & reserved2;
- }
- };
- struct CenterSettingService_DownloadCenterFiles_Ans
- {
- int result;
- CSimpleStringA msg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & result & msg;
- }
- };
- ///////////////////////////
- } // namespace CenterSetting
- #endif // __CENTERSETTING_DEF_G_H
|