| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- #ifndef __GUICONSOLE_DEF_G_H
- #define __GUICONSOLE_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace GUIConsole {
- //
- // const goes here
- //
- #define GUIConsoleService_Method_GetCurrentMaintainer 0
- #define GUIConsoleService_Method_Empower 1
- #define GUIConsoleService_Method_Takeover 2
- #define GUIConsoleService_Method_ForceQuit 3
- #define GUIConsoleService_Method_AddMaterialCounter 4
- #define GUIConsoleService_Method_GetMaterialCounter 5
- #define GUIConsoleService_Method_ResetMaterialCounter 6
- #define GUIConsoleService_Method_RegistSwallowedCard 7
- #define GUIConsoleService_Method_SyncMaterialCount 8
- #define GUIConsoleService_Method_AddTradeManage 9
- #define GUIConsoleService_Method_QueryMaterialInfo 10
- #define GUIConsoleService_MethodSignature_GetCurrentMaintainer 468241421
- #define GUIConsoleService_MethodSignature_Empower 771476230
- #define GUIConsoleService_MethodSignature_Takeover 367788349
- #define GUIConsoleService_MethodSignature_ForceQuit -1921832575
- #define GUIConsoleService_MethodSignature_AddMaterialCounter -1083055492
- #define GUIConsoleService_MethodSignature_GetMaterialCounter -1578876482
- #define GUIConsoleService_MethodSignature_ResetMaterialCounter -606816924
- #define GUIConsoleService_MethodSignature_RegistSwallowedCard 147114831
- #define GUIConsoleService_MethodSignature_SyncMaterialCount 1091110325
- #define GUIConsoleService_MethodSignature_AddTradeManage 485018637
- #define GUIConsoleService_MethodSignature_QueryMaterialInfo 467755649
- struct GUIConsoleService_GetCurrentMaintainer_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_GetCurrentMaintainer_Ans
- {
- CSimpleStringA strUserID;
- CSimpleStringA strUserName;
- CSimpleStringA strCurRight;
- CSimpleStringA strAuthorizer;
- unsigned int dwBeginTime;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strUserID & strUserName & strCurRight & strAuthorizer & dwBeginTime;
- }
- };
- struct GUIConsoleService_Empower_Req
- {
- CSimpleStringA strUserID;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strUserID;
- }
- };
- struct GUIConsoleService_Empower_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_Takeover_Req
- {
- CSimpleStringA strUserID;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strUserID;
- }
- };
- struct GUIConsoleService_Takeover_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_ForceQuit_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_ForceQuit_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_AddMaterialCounter_Req
- {
- CSimpleStringA strMaterialCode;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strMaterialCode;
- }
- };
- struct GUIConsoleService_AddMaterialCounter_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_GetMaterialCounter_Req
- {
- CSimpleStringA strMaterialCode;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strMaterialCode;
- }
- };
- struct GUIConsoleService_GetMaterialCounter_Ans
- {
- unsigned int dwLastCapacity;
- unsigned int dwUsedCounter;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & dwLastCapacity & dwUsedCounter;
- }
- };
- struct GUIConsoleService_ResetMaterialCounter_Req
- {
- CSimpleStringA strMaterialCode;
- unsigned int dwResetCapacity;
- unsigned int dwRemainCounter;
- unsigned int dwUsedCounter;
- CSimpleStringA strComment;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strMaterialCode & dwResetCapacity & dwRemainCounter & dwUsedCounter & strComment;
- }
- };
- struct GUIConsoleService_ResetMaterialCounter_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_RegistSwallowedCard_Req
- {
- CSimpleStringA strCardNo;
- CSimpleStringA strReasonCode;
- CSimpleStringA strSwallowDate;
- CSimpleStringA strSwallowTime;
- CSimpleStringA strDeviceSciNo;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strCardNo & strReasonCode & strSwallowDate & strSwallowTime & strDeviceSciNo;
- }
- };
- struct GUIConsoleService_RegistSwallowedCard_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_SyncMaterialCount_Info
- {
- CSimpleStringA strDeviceNo;
- unsigned int dwCardBoxNum;
- CAutoArray<bool> arrMaintainFlag;
- CAutoArray<CSimpleStringA> arrMaintainer;
- CAutoArray<unsigned int> arrMaintainTime;
- CAutoArray<CSimpleStringA> arrCardBoxNo;
- CAutoArray<CSimpleStringA> arrPsbCode;
- CAutoArray<CSimpleStringA> arrPsbName;
- CAutoArray<unsigned int> arrCardInit;
- CAutoArray<unsigned int> arrCardRemains;
- CAutoArray<unsigned int> arrCardIssued;
- CAutoArray<unsigned int> arrCardMixed;
- CAutoArray<unsigned int> arrCardPercent;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strDeviceNo & dwCardBoxNum & arrMaintainFlag & arrMaintainer & arrMaintainTime & arrCardBoxNo & arrPsbCode & arrPsbName & arrCardInit & arrCardRemains & arrCardIssued & arrCardMixed & arrCardPercent;
- }
- };
- struct GUIConsoleService_AddTradeManage_Req
- {
- CSimpleStringA terminalNo;
- CSimpleStringA AgentID;
- CSimpleStringA time;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & terminalNo & AgentID & time;
- }
- };
- struct GUIConsoleService_AddTradeManage_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct GUIConsoleService_QueryMaterialInfo_Req
- {
- CSimpleStringA strDeviceNo;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & strDeviceNo;
- }
- };
- struct GUIConsoleService_QueryMaterialInfo_Ans
- {
- unsigned int count;
- CAutoArray<CSimpleStringA> arrDeviceNo;
- CAutoArray<CSimpleStringA> arrMateriel;
- CAutoArray<CSimpleStringA> CardGroove;
- CAutoArray<CSimpleStringA> CardBoxNo;
- CAutoArray<CSimpleStringA> PsbCode;
- CAutoArray<CSimpleStringA> PsbName;
- CAutoArray<unsigned int> CardInit;
- CAutoArray<unsigned int> CardRemains;
- CAutoArray<unsigned int> CardIssued;
- CAutoArray<unsigned int> CardMixed;
- CAutoArray<unsigned int> CardPercent;
- CAutoArray<CSimpleStringA> TerminalNo;
- CAutoArray<CSimpleStringA> Maintainer;
- CAutoArray<CSimpleStringA> MaintainTime;
- CAutoArray<CSimpleStringA> UpdateTime;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & count & arrDeviceNo & arrMateriel & CardGroove & CardBoxNo & PsbCode & PsbName & CardInit & CardRemains & CardIssued & CardMixed & CardPercent & TerminalNo & Maintainer & MaintainTime & UpdateTime;
- }
- };
- ///////////////////////////
- } // namespace GUIConsole
- #endif // __GUICONSOLE_DEF_G_H
|