123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- #ifndef _CARDISSUER_USER_ERRORCODE_H
- #define _CARDISSUER_USER_ERRORCODE_H
- #pragma once
- #define CardIssuer_UserErrorCode_Start 0x20300200
- #define CardIssuer_UserErrorCode_No_Encryted_Channel (CardIssuer_UserErrorCode_Start + 1) //未建立安全通道
- #define CardIssuer_UserErrorCode_Open_RunCfgFile_Failed (CardIssuer_UserErrorCode_Start + 2) //打开运行时配置失败
- #define CardIssuer_UserErrorCode_Hopper_Mixed_Too_Much (CardIssuer_UserErrorCode_Start + 3) //卡箱异常(连续吞卡过多)
- #define CardIssuer_UserErrorCode_NotHas_Hopper1 (CardIssuer_UserErrorCode_Start + 4) //未检测到卡箱1,请确认卡箱1是否有卡箱
- #define CardIssuer_UserErrorCode_NotHas_Hopper2 (CardIssuer_UserErrorCode_Start + 5) //未检测到卡箱2,请确认卡箱2是否有卡箱
- #define CardIssuer_UserErrorCode_NotHas_Hopper3 (CardIssuer_UserErrorCode_Start + 6) //未检测到卡箱3,请确认卡箱3是否有卡箱
- #define CardIssuer_UserErrorCode_NoCardInHopper1 (CardIssuer_UserErrorCode_Start + 7) //卡箱1未检测到卡片 请确认卡箱1内卡片是否为空或重新摆放卡片
- #define CardIssuer_UserErrorCode_NoCardInHopper2 (CardIssuer_UserErrorCode_Start + 8) //卡箱2未检测到卡片 请确认卡箱2内卡片是否为空或重新摆放卡片
- #define CardIssuer_UserErrorCode_NoCardInHopper3 (CardIssuer_UserErrorCode_Start + 9) //卡箱3未检测到卡片 请确认卡箱3内卡片是否为空或重新摆放卡片
- #define CardIssuer_UserErrorCode_NoCardRemains_Hopper1 (CardIssuer_UserErrorCode_Start + 10) //卡箱1剩余卡片计数为0(空)
- #define CardIssuer_UserErrorCode_NoCardRemains_Hopper2 (CardIssuer_UserErrorCode_Start + 11) //卡箱2剩余卡片计数为0(空)
- #define CardIssuer_UserErrorCode_NoCardRemains_Hopper3 (CardIssuer_UserErrorCode_Start + 12) //卡箱3剩余卡片计数为0(空)
- #define CardIssuer_UserErrorCode_CaptureCard_Failed (CardIssuer_UserErrorCode_Start + 13) //吞卡失败
- #define CardIssuer_UserErrorCode_MoveCardToGate_Failed (CardIssuer_UserErrorCode_Start + 14) //吐卡失败
- #define CardIssuer_UserErrorCode_KakuFindEmptySlot_Failed (CardIssuer_UserErrorCode_Start + 15) //卡库找不到空闲卡槽
- #define CardIssuer_UserErrorCode_KakuHaveOldPanKuRecord (CardIssuer_UserErrorCode_Start + 16) //卡库有旧的盘库记录
- #define CardIssuer_UserErrorCode_KakuQuerySlot_Failed (CardIssuer_UserErrorCode_Start + 17) //卡库查询卡槽状态失败
- #define CardIssuer_UserErrorCode_KakuHaveNoPanKuRecord (CardIssuer_UserErrorCode_Start + 18) //卡库没有盘库记录
- #define CardIssuer_UserErrorCode_KakuPanKu_Failed (CardIssuer_UserErrorCode_Start + 19) //卡库盘库失败
- #define CardIssuer_UserErrorCode_Customer_Forget_Fectch_Card (CardIssuer_UserErrorCode_Start + 20) //客户超时未取卡
- #define CardIssuer_UserErrorCode_NotHas_Hopper4 (CardIssuer_UserErrorCode_Start + 21) //未检测到卡箱4,请确认卡箱1是否有卡箱
- #define CardIssuer_UserErrorCode_NotHas_Hopper5 (CardIssuer_UserErrorCode_Start + 22) //未检测到卡箱5,请确认卡箱2是否有卡箱
- #define CardIssuer_UserErrorCode_NotHas_Hopper6 (CardIssuer_UserErrorCode_Start + 23) //未检测到卡箱6,请确认卡箱3是否有卡箱
- #define CardIssuer_UserErrorCode_NoCardInHopper4 (CardIssuer_UserErrorCode_Start + 24) //卡箱4未检测到卡片 请确认卡箱4内卡片是否为空或重新摆放卡片
- #define CardIssuer_UserErrorCode_NoCardInHopper5 (CardIssuer_UserErrorCode_Start + 25) //卡箱5未检测到卡片 请确认卡箱5内卡片是否为空或重新摆放卡片
- #define CardIssuer_UserErrorCode_NoCardInHopper6 (CardIssuer_UserErrorCode_Start + 26) //卡箱6未检测到卡片 请确认卡箱6内卡片是否为空或重新摆放卡片
- #define CardIssuer_UserErrorCode_ICChannel_Failed (CardIssuer_UserErrorCode_Start + 27) //IC指令通道失败(实时制卡APDU)
- #define CardIssuer_UserErrorCode_NoCardRemains_Hopper4 (CardIssuer_UserErrorCode_Start + 28) //卡箱4剩余卡片计数为0(空)
- #define CardIssuer_UserErrorCode_NoCardRemains_Hopper5 (CardIssuer_UserErrorCode_Start + 29) //卡箱5剩余卡片计数为0(空)
- #define CardIssuer_UserErrorCode_NoCardRemains_Hopper6 (CardIssuer_UserErrorCode_Start + 30) //卡箱6剩余卡片计数为0(空)
- #define CardIssuer_UserErrorCode_LogInfoAboutTerm (CardIssuer_UserErrorCode_Start + 31) //告警上送终端模块信息
- #define CardIssuer_UserErrorCode_KebaDeviceInfo (CardIssuer_UserErrorCode_Start + 32) //告警上送科堡机型信息
- #define CardIssuer_UserErrorCode_RootInfo (CardIssuer_UserErrorCode_Start + 33) //root中版本批次号
- #define CardIssuer_UserErrorCode_Adapter_Version (CardIssuer_UserErrorCode_Start + 34)//告警适配器版本号(长城卡库是将驱动版本号告警上来)
- #define CardIssuer_UserErrorCode_DevOpenTime (CardIssuer_UserErrorCode_Start + 35) //统计DevOpen时长
- #define CardIssuer_UserErrorCode_DevOpenFailed_Insert (CardIssuer_UserErrorCode_Start + 36) //设备打开失败(Insert调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_Read (CardIssuer_UserErrorCode_Start + 37) //设备打开失败(Read调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_ReadEx (CardIssuer_UserErrorCode_Start + 38) //设备打开失败(ReadEx调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_Capture (CardIssuer_UserErrorCode_Start + 39) //设备打开失败(Capture调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_Eject (CardIssuer_UserErrorCode_Start + 40) //设备打开失败(Eject调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_Issue (CardIssuer_UserErrorCode_Start + 41) //设备打开失败(Issue调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_IssueEx (CardIssuer_UserErrorCode_Start + 42) //设备打开失败(IssueEx调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_PreOnline (CardIssuer_UserErrorCode_Start + 43) //设备打开失败(PreOnline调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_PostOnline (CardIssuer_UserErrorCode_Start + 44) //设备打开失败(PostOnline调用)OpenSafeLock
- #define CardIssuer_UserErrorCode_DevOpenFailed_OpenSafeLock (CardIssuer_UserErrorCode_Start + 45) //设备打开失败(OpenSafeLock调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_SAMICCommand (CardIssuer_UserErrorCode_Start + 46) //设备打开失败(SAMICCommand调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_PrintCardImmediately (CardIssuer_UserErrorCode_Start + 47) //设备打开失败(PrintCardImmediately调用)
- #define CardIssuer_UserErrorCode_DevOpenFailed_Print (CardIssuer_UserErrorCode_Start + 48) //设备打开失败(Print调用)
- #define CardIssuer_UserErrorCode_CardStore_SlotNum (CardIssuer_UserErrorCode_Start + 49) //记录卡库容量
- #define CardIssuer_UserErrorCode_Invoke_Access_IniDev_Failed (CardIssuer_UserErrorCode_Start + 50) //建立加密通道时,调用准入接口失败
- #define CardIssuer_UserErrorCode_Connect_Access_Failed (CardIssuer_UserErrorCode_Start + 51) //建立加密通道时,连接准入实体失败
- #define CardIssuer_UserErrorCode_Safe_Channel_Build_Failed (CardIssuer_UserErrorCode_Start + 52) //安全加密通道建立失败
- #define CardIssuer_UserErrorCode_No_More_Card_Issue (CardIssuer_UserErrorCode_Start + 53) //卡箱已无卡往出发
- #define CardIssuer_UserErrorCode_CFG_RUN_POINTER_FAILED (CardIssuer_UserErrorCode_Start + 54) //卡箱已无卡往出发
- #define CardIssuer_UserErrorCode_RETAIN_BIN_IS_FULL_SENSOR (CardIssuer_UserErrorCode_Start + 55)//厂商传感器,回收箱满
- #define CardIssuer_UserErrorCode_FEW_CARD_REMAINS (CardIssuer_UserErrorCode_Start + 56)//卡箱少卡
- #define CardIssuer_UserErrorCode_RETAIN_BIN_IS_FULL (CardIssuer_UserErrorCode_Start + 57)//计数显示,回收箱满
- #define CardIssuer_UserErrorCode_Create_Object_Failed (CardIssuer_UserErrorCode_Start + 58)//创建适配器指针对象失败
- #define CardIssuer_UserErrorCode_Track2_ServiceCode (CardIssuer_UserErrorCode_Start + 59)//记录二磁道的服务代码
- //跨机激活过程
- #define CardIssuer_UserErrorCode_PreOnline_Connect_Heatbeat_Failed (CardIssuer_UserErrorCode_Start + 60) //跨机,连接心跳实体失败
- #define CardIssuer_UserErrorCode_PreOnline_Send_CardActive (CardIssuer_UserErrorCode_Start + 61) //跨机,调用CardActive
- #define CardIssuer_UserErrorCode_PreOnline_Recv_CardActive (CardIssuer_UserErrorCode_Start + 62) //跨机,CardActive返回
- #define CardIssuer_UserErrorCode_PreOnline_Slot_Is_Invalid (CardIssuer_UserErrorCode_Start + 63) //跨机,web传给卡库的卡槽号无效
- #define CardIssuer_UserErrorCode_PreOnline_Slot_Has_No_Card (CardIssuer_UserErrorCode_Start + 64) //跨机,卡槽中无卡
- #define CardIssuer_UserErrorCode_PreOnline_MoveCardFromSlot_Info (CardIssuer_UserErrorCode_Start + 65) //跨机,从卡槽中移卡读卡后,读出的一些信息
- #define CardIssuer_UserErrorCode_ContactIC_Failed (CardIssuer_UserErrorCode_Start + 66) //DetectIfICCard调用ContactIC失败
- #define CardIssuer_UserErrorCode_ActiveICCard_Failed (CardIssuer_UserErrorCode_Start + 67) //DetectIfICCard调用ActiveICCard失败
- #define CardIssuer_UserErrorCode_ICCommand_Failed (CardIssuer_UserErrorCode_Start + 68) //BuildSupportedAppList调用ICCommand失败
- #define CardIssuer_UserErrorCode_ICCommand_Receive_Data_Error (CardIssuer_UserErrorCode_Start + 69) //PSE return error
- #define CardIssuer_UserErrorCode_BuildSupportedAppList_Failed (CardIssuer_UserErrorCode_Start + 70) //BuildSupportedAppList failed
- #define CardIssuer_UserErrorCode_AppSelected_Failed (CardIssuer_UserErrorCode_Start + 71) //AppSelected failed
- #define CardIssuer_UserErrorCode_QueryCardInfoOnStore_JustQueryInfo (CardIssuer_UserErrorCode_Start + 72) //跨机后,再次调用QueryCardInfoOnStore查询卡信息
- #define CardIssuer_UserErrorCode_NotifyPreOnline_ParamInfo (CardIssuer_UserErrorCode_Start + 73) //跨机后,大机心跳调用NotifyPreOnline
- //加卡过程
- #define CardIssuer_UserErrorCode_AddCardToStoreStepFirst (CardIssuer_UserErrorCode_Start + 74) //加卡第一步,从卡箱移到读卡器
- #define CardIssuer_UserErrorCode_AddCardToStoreStepLast (CardIssuer_UserErrorCode_Start + 75) //加卡第二步,从读卡器移到卡槽
- #define CardIssuer_UserErrorCode_ReadAccount_Data_Error (CardIssuer_UserErrorCode_Start + 76) //加卡过程,卡片数据有误
- #define CardIssuer_UserErrorCode_FindFirstEmptySlot_Failed (CardIssuer_UserErrorCode_Start + 77) //加卡过程,未找到空卡槽
- #define CardIssuer_UserErrorCode_NotifyPreonline_Timeout (CardIssuer_UserErrorCode_Start + 78) //NotifyProonline超时
- //临时 后续去除
- #define CardIssuer_UserErrorCode_EastCom_Not_Exist_DataFile (CardIssuer_UserErrorCode_Start + 79) //东信卡库还不存在CardLibDB_CMB.db3文件
- #define CardIssuer_UserErrorCode_EastCom_Exist_DataFile (CardIssuer_UserErrorCode_Start + 80) //东信卡库已存在CardLibDB_CMB.db3文件
- //发卡过程
- #define CardIssuer_UserErrorCode_Has_Not_Build_SafeChannel (CardIssuer_UserErrorCode_Start + 81) //还未建立安全通道
- #define CardIssuer_UserErrorCode_Invalid_Slot (CardIssuer_UserErrorCode_Start + 82) //无效卡槽号
- #define CardIssuer_UserErrorCode_Slot_Has_No_Card (CardIssuer_UserErrorCode_Start + 83) //卡槽中无卡
- #define CardIssuer_UserErrorCode_IssueCardFromStore (CardIssuer_UserErrorCode_Start + 84) //发卡
- #define CardIssuer_UserErrorCode_Sign_Failed (CardIssuer_UserErrorCode_Start + 85) //签发失败,吞卡,req=87
- #define CardIssuer_UserErrorCode_Invalid_Hopper (CardIssuer_UserErrorCode_Start + 86) //传入了错误的hopper
- //Common Func
- #define CardIssuer_UserErrorCode_CaptureCard (CardIssuer_UserErrorCode_Start + 87) //吞卡
- #define CardIssuer_UserErrorCode_EjectCard (CardIssuer_UserErrorCode_Start + 88) //吐卡
- #define CardIssuer_UserErrorCode_Capture_Failed (CardIssuer_UserErrorCode_Start + 89) //吞卡失败
- #define CardIssuer_UserErrorCode_EjectCard_Failed (CardIssuer_UserErrorCode_Start + 90) //吐卡失败
- //读卡过程
- #define CardIssuer_UserErrorCode_ReadCard_Process (CardIssuer_UserErrorCode_Start + 91) //调用读卡
- #define CardIssuer_UserErrorCode_TrackSize_Wrong (CardIssuer_UserErrorCode_Start + 92) //磁道数据长度错误
- #define CardIssuer_UserErrorCode_Track2Size_Wrong (CardIssuer_UserErrorCode_Start + 93) //二磁道数据长度错误
- #define CardIssuer_UserErrorCode_CardBin (CardIssuer_UserErrorCode_Start + 94) //MagRead读出的卡bin
- #define CardIssuer_UserErrorCode_CardType (CardIssuer_UserErrorCode_Start + 95) //MagRead读出的卡片类型
- #define CardIssuer_UserErrorCode_MaybeIC_Only (CardIssuer_UserErrorCode_Start + 96) //可能是纯IC
- //异常状况
- #define CardIssuer_UserErrorCode_HasCard_In_Machine (CardIssuer_UserErrorCode_Start + 97) //读卡器打开时,发现有卡片
- #define CardIssuer_UserErrorCode_CardNo_Maybe_Wrong (CardIssuer_UserErrorCode_Start + 98) //卡号可能有误
- //读卡器初始化过程
- #define CardIssuer_UserErrorCode_LoadLibraryA_Failed (CardIssuer_UserErrorCode_Start + 99) //LoadLibraryA
- #define CardIssuer_UserErrorCode_CreateDevComponent_Failed (CardIssuer_UserErrorCode_Start + 100) //CreateDevComponent
- #define CardIssuer_UserErrorCode_ReleaseDevComponent_Failed (CardIssuer_UserErrorCode_Start + 101) //ReleaseDevComponent
- #define CardIssuer_UserErrorCode_LoadLibraryA_CMBPrint_Failed (CardIssuer_UserErrorCode_Start + 102) //LoadLibraryA CMBPrint
- #define CardIssuer_UserErrorCode_cmdDecodeMag2_Failed (CardIssuer_UserErrorCode_Start + 103) //cmdDecodeMag2
- #define CardIssuer_UserErrorCode_cmdDecodeEx_Failed (CardIssuer_UserErrorCode_Start + 104) //cmdDecodeEx
- #define CardIssuer_UserErrorCode_DevOpen_Failed (CardIssuer_UserErrorCode_Start + 105) //DevOpen
- #define CardIssuer_UserErrorCode_ConnecetSCI_OpenDevice_Failed (CardIssuer_UserErrorCode_Start + 106) //ConnecetSCI_OpenDevice_Failed
- #define CardIssuer_UserErrorCode_ConnecetSCI_Invalid_SCI_Name (CardIssuer_UserErrorCode_Start + 107) //Invalid_SCI_Name
- //物料信息
- #define CardIssuer_UserErrorCode_SyncMaterialCount_Failed (CardIssuer_UserErrorCode_Start + 108) //同步物料信息失败
- #define CardIssuer_UserErrorCode_QueryMaterialInfo_Failed (CardIssuer_UserErrorCode_Start + 109) //查询物料信息失败
- #define CardIssuer_UserErrorCode_QueryMaterialInfo_Count_Error (CardIssuer_UserErrorCode_Start + 110) //查询物料信息数量有误
- //蓝牙多合一绑定解绑
- #define CardIssuer_UserErrorCode_BindSCI (CardIssuer_UserErrorCode_Start + 111) //绑定类型
- #define CardIssuer_UserErrorCode_Bind_Invalid_SCI_Name (CardIssuer_UserErrorCode_Start + 112) //绑定失败,无效的多合一Name
- #define CardIssuer_UserErrorCode_Bind_SyncData_Failed (CardIssuer_UserErrorCode_Start + 113) //绑定后,同步信息失败
- #define CardIssuer_UserErrorCode_Unbind_Invalid_SCI_Name (CardIssuer_UserErrorCode_Start + 114) //解绑绑定失败,无效的多合一Name
- #define CardIssuer_UserErrorCode_Unbind_SyncData_Failed (CardIssuer_UserErrorCode_Start + 115) //解绑绑定后,同步信息失败
- #define CardIssuer_UserErrorCode_Load_CMBPrint_Failed (CardIssuer_UserErrorCode_Start + 116) //加载CMBPrint失败
- //预留一部分用于CardAssist.cpp中的报错告警
- //自CardIssuer_UserErrorCode_Start + 121 ~ CardIssuer_UserErrorCode_Start + 140
- #define CardIssuer_UserErrorCode_ICCommand_RecvData_Invalid (CardIssuer_UserErrorCode_Start + 121) //APDU接收到的数据无效
- //
- #define CardIssuer_UserErrorCode_Open_Success (CardIssuer_UserErrorCode_Start + 141) //读卡器最终打开成功
- #define CardIssuer_UserErrorCode_Open_Failed (CardIssuer_UserErrorCode_Start + 142) //读卡器最终打开失败
- //盘库
- #define CardIssuer_UserErrorCode_QueryCardInfoOnStore_Inparam (CardIssuer_UserErrorCode_Start + 143) //盘库接口入参
- #endif //_CARDISSUER_USER_ERRORCODE_H
|