#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 arrMaintainFlag; CAutoArray arrMaintainer; CAutoArray arrMaintainTime; CAutoArray arrCardBoxNo; CAutoArray arrPsbCode; CAutoArray arrPsbName; CAutoArray arrCardInit; CAutoArray arrCardRemains; CAutoArray arrCardIssued; CAutoArray arrCardMixed; CAutoArray 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 arrDeviceNo; CAutoArray arrMateriel; CAutoArray CardGroove; CAutoArray CardBoxNo; CAutoArray PsbCode; CAutoArray PsbName; CAutoArray CardInit; CAutoArray CardRemains; CAutoArray CardIssued; CAutoArray CardMixed; CAutoArray CardPercent; CAutoArray TerminalNo; CAutoArray Maintainer; CAutoArray MaintainTime; CAutoArray 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