123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- #ifndef __IDCERTIFICATE_DEF_G_H
- #define __IDCERTIFICATE_DEF_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace IDCertificate {
- //
- // const goes here
- //
- #define IDCertService_Method_CancelRead 1
- #define IDCertService_Method_GetDevInfo 65535
- #define IDCertService_Method_ReadAndScanUTF8 9
- #define IDCertService_Method_ReadAndScanUTF8JS 10
- #define IDCertService_Method_CancelReadJS 11
- #define IDCertService_MethodSignature_CancelRead -342104338
- #define IDCertService_MethodSignature_GetDevInfo 296205965
- #define IDCertService_MethodSignature_ReadAndScanUTF8 1171255469
- #define IDCertService_MethodSignature_ReadAndScanUTF8JS 1636770944
- #define IDCertService_MethodSignature_CancelReadJS -1728083983
- #define IDCertService_LogCode_CancelRead "QLR040220101"
- #define IDCertService_LogCode_GetDevInfo "QLR040220199"
- #define IDCertService_LogCode_ReadAndScanUTF8 "QLR040220109"
- #define IDCertService_LogCode_ReadAndScanUTF8JS "QLR040220110"
- #define IDCertService_LogCode_CancelReadJS "QLR040220111"
- struct IDCertService_CancelRead_Info
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct IDCertService_GetDevInfo_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct IDCertService_GetDevInfo_Ans
- {
- CSimpleStringA type;
- CSimpleStringA model;
- CSimpleStringA version;
- int state;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & type & model & version & state;
- }
- };
- struct IDCertService_ReadAndScanUTF8_Req
- {
- int type;
- CAutoArray<int> reserved1;
- CAutoArray<CSimpleStringA> reserved2;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & type & reserved1 & reserved2;
- }
- };
- struct IDCertService_ReadAndScanUTF8_Ans
- {
- int msgtype;
- int hasscan;
- CBlob photodata;
- CBlob frontphoto;
- CBlob backphoto;
- CBlob headphoto;
- CBlob finger1;
- CBlob finger2;
- CBlob imgreserved1;
- CBlob imgreserved2;
- CAutoArray<int> reserved1;
- CAutoArray<CSimpleStringA> reserved2;
- CBlob name_utf8;
- CBlob sex_utf8;
- CBlob nation_utf8;
- CBlob birthday_utf8;
- CBlob address_utf8;
- CBlob idcode_utf8;
- CBlob department_utf8;
- CBlob startdate_utf8;
- CBlob enddate_utf8;
- CBlob englishname_utf8;
- CBlob nationality_utf8;
- CBlob idversion_utf8;
- CBlob idtype_utf8;
- CBlob othercode_utf8;
- CBlob reserved_utf8;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & msgtype & hasscan & photodata & frontphoto & backphoto & headphoto & finger1 & finger2 & imgreserved1 & imgreserved2 & reserved1 & reserved2 & name_utf8 & sex_utf8 & nation_utf8 & birthday_utf8 & address_utf8 & idcode_utf8 & department_utf8 & startdate_utf8 & enddate_utf8 & englishname_utf8 & nationality_utf8 & idversion_utf8 & idtype_utf8 & othercode_utf8 & reserved_utf8;
- }
- };
- struct IDCertService_ReadAndScanUTF8JS_Req
- {
- int type;
- CAutoArray<int> reserved1;
- CAutoArray<CSimpleStringA> reserved2;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & type & reserved1 & reserved2;
- }
- };
- struct IDCertService_ReadAndScanUTF8JS_Ans
- {
- int hasscan;
- CBlob frontphoto;
- CBlob backphoto;
- CBlob headphoto;
- CBlob finger1;
- CBlob finger2;
- CBlob imgreserved1;
- CBlob imgreserved2;
- CAutoArray<int> reserved1;
- CAutoArray<CSimpleStringA> reserved2;
- CBlob name_utf8;
- CBlob sex_utf8;
- CBlob nation_utf8;
- CBlob birthday_utf8;
- CBlob address_utf8;
- CBlob idcode_utf8;
- CBlob department_utf8;
- CBlob startdate_utf8;
- CBlob enddate_utf8;
- CBlob englishname_utf8;
- CBlob nationality_utf8;
- CBlob idversion_utf8;
- CBlob idtype_utf8;
- CBlob othercode_utf8;
- CBlob reserved_utf8;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & hasscan & frontphoto & backphoto & headphoto & finger1 & finger2 & imgreserved1 & imgreserved2 & reserved1 & reserved2 & name_utf8 & sex_utf8 & nation_utf8 & birthday_utf8 & address_utf8 & idcode_utf8 & department_utf8 & startdate_utf8 & enddate_utf8 & englishname_utf8 & nationality_utf8 & idversion_utf8 & idtype_utf8 & othercode_utf8 & reserved_utf8;
- }
- };
- struct IDCertService_CancelReadJS_Req
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- struct IDCertService_CancelReadJS_Ans
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- ///////////////////////////
- } // namespace IDCertificate
- #endif // __IDCERTIFICATE_DEF_G_H
|