123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- #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
|