#ifndef __ACCESSAUTHORIZATION_DEF_G_H #define __ACCESSAUTHORIZATION_DEF_G_H #pragma once // This code is generated by spgen tool! #include "SpHelper.h" namespace AccessAuthorization { // // const goes here // #define AccessAuthService_Method_Regist 0 #define AccessAuthService_Method_Unregist 1 #define AccessAuthService_Method_InitDev 2 #define AccessAuthService_Method_UpdateWK 3 #define AccessAuthService_Method_InitializeNew 4 #define AccessAuthService_Method_SyncTime 5 #define AccessAuthService_Method_GetNetMsg 6 #define AccessAuthService_MethodSignature_Regist -1850909100 #define AccessAuthService_MethodSignature_Unregist 667273038 #define AccessAuthService_MethodSignature_InitDev 261099284 #define AccessAuthService_MethodSignature_UpdateWK 949758137 #define AccessAuthService_MethodSignature_InitializeNew 1851143282 #define AccessAuthService_MethodSignature_SyncTime 1195907872 #define AccessAuthService_MethodSignature_GetNetMsg 62776855 #define AccessAuthService_LogCode_Regist "QLR040250200" #define AccessAuthService_LogCode_Unregist "QLR040250201" #define AccessAuthService_LogCode_InitDev "QLR040250202" #define AccessAuthService_LogCode_UpdateWK "QLR040250203" #define AccessAuthService_LogCode_InitializeNew "QLR040250204" #define AccessAuthService_LogCode_SyncTime "QLR040250205" #define AccessAuthService_LogCode_GetNetMsg "QLR040250206" struct AccessAuthService_Regist_Info { void Serialize(SpBuffer &Buf) { } }; struct AccessAuthService_Unregist_Info { int nReason; int nWay; void Serialize(SpBuffer &Buf) { auto & buf = Buf & nReason & nWay; } }; struct AccessAuthService_InitDev_Req { CSimpleStringA EncR1; CSimpleStringA EncR3; CSimpleStringA R2; CSimpleStringA EncDevPubKey; CSimpleStringA Vendor; void Serialize(SpBuffer &Buf) { auto & buf = Buf & EncR1 & EncR3 & R2 & EncDevPubKey & Vendor; } }; struct AccessAuthService_InitDev_Ans { CSimpleStringA R1; CSimpleStringA R3; CSimpleStringA EncR2; void Serialize(SpBuffer &Buf) { auto & buf = Buf & R1 & R3 & EncR2; } }; struct AccessAuthService_UpdateWK_Info { void Serialize(SpBuffer &Buf) { } }; struct AccessAuthService_InitializeNew_Req { CSimpleStringA strAuthServer; CSimpleStringA strUserID; CSimpleStringA strPassword; void Serialize(SpBuffer &Buf) { auto & buf = Buf & strAuthServer & strUserID & strPassword; } }; struct AccessAuthService_InitializeNew_Ans { double Errcode; CSimpleStringA ErrMsg; void Serialize(SpBuffer &Buf) { auto & buf = Buf & Errcode & ErrMsg; } }; struct AccessAuthService_SyncTime_Info { void Serialize(SpBuffer &Buf) { } }; struct AccessAuthService_GetNetMsg_Req { void Serialize(SpBuffer &Buf) { } }; struct AccessAuthService_GetNetMsg_Ans { int netStatus; CSimpleStringA netMsg; CSimpleStringA reserved1; CSimpleStringA reserved2; void Serialize(SpBuffer &Buf) { auto & buf = Buf & netStatus & netMsg & reserved1 & reserved2; } }; /////////////////////////// } // namespace AccessAuthorization #endif // __ACCESSAUTHORIZATION_DEF_G_H