CardIssuerStand_UserErrorCode.h 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #ifndef _CARDISSUERSTAND_USER_ERRORCODE_H
  2. #define _CARDISSUERSTAND_USER_ERRORCODE_H
  3. #pragma once
  4. #define CardIssuer_UserErrorCode_Start 0x20300200
  5. #define CardIssuer_UserErrorCode_NotHas_Hopper1 (CardIssuer_UserErrorCode_Start + 4) //未检测到卡箱1,请确认卡箱1是否有卡箱
  6. #define CardIssuer_UserErrorCode_NotHas_Hopper2 (CardIssuer_UserErrorCode_Start + 5) //未检测到卡箱2,请确认卡箱2是否有卡箱
  7. #define CardIssuer_UserErrorCode_NotHas_Hopper3 (CardIssuer_UserErrorCode_Start + 6) //未检测到卡箱3,请确认卡箱3是否有卡箱
  8. #define CardIssuer_UserErrorCode_NoCardInHopper1 (CardIssuer_UserErrorCode_Start + 7) //卡箱1未检测到卡片 请确认卡箱1内卡片是否为空或重新摆放卡片
  9. #define CardIssuer_UserErrorCode_NoCardInHopper2 (CardIssuer_UserErrorCode_Start + 8) //卡箱2未检测到卡片 请确认卡箱2内卡片是否为空或重新摆放卡片
  10. #define CardIssuer_UserErrorCode_NoCardInHopper3 (CardIssuer_UserErrorCode_Start + 9) //卡箱3未检测到卡片 请确认卡箱3内卡片是否为空或重新摆放卡片
  11. #define CardIssuer_UserErrorCode_NoCardRemains_Hopper1 (CardIssuer_UserErrorCode_Start + 10) //卡箱1剩余卡片计数为0(空)
  12. #define CardIssuer_UserErrorCode_NoCardRemains_Hopper2 (CardIssuer_UserErrorCode_Start + 11) //卡箱2剩余卡片计数为0(空)
  13. #define CardIssuer_UserErrorCode_NoCardRemains_Hopper3 (CardIssuer_UserErrorCode_Start + 12) //卡箱3剩余卡片计数为0(空)
  14. #define CardIssuer_UserErrorCode_MoveCardToGate_Failed (CardIssuer_UserErrorCode_Start + 14) //前端进卡,吐卡失败
  15. #define CardIssuer_UserErrorCode_Customer_Forget_Fectch_Card (CardIssuer_UserErrorCode_Start + 20) //客户超时未取卡
  16. #define CardIssuer_UserErrorCode_Insert_Card_TimeOut 0x20300215 //卡机插卡超时
  17. #define CardIssuer_UserErrorCode_Insert_Card_Cancel 0x20300216 //卡机插卡取消
  18. #define CardIssuer_UserErrorCode_Capture_NoCard_Failed 0x20300217 //吞卡时发现读卡器无卡
  19. #define CardIssuer_UserErrorCode_Forget_Fetch_Card_Capture_Succ 0x20300218 //超时未取卡,已吞卡,请从吞卡箱中取卡
  20. #define CardIssuer_UserErrorCode_Forget_Fetch_Card_Capture_Fail 0x20300219 //超时未取卡,吞卡失败,请从发卡器取卡
  21. #define CardIssuer_UserErrorCode_NotSupportRF 0x2030021a //卡机不支持非接
  22. #define CardIssuer_UserErrorCode_CaptureCard_FromBusiness (CardIssuer_UserErrorCode_Start + 40) //业务主动发起调用CaptureCard
  23. #define CardIssuer_UserErrorCode_UnkownReadJSMode (CardIssuer_UserErrorCode_Start + 47) //未知的ReadJS读卡模式
  24. //卡机流程状态报错
  25. #define CardIssuer_UserErrorCode_PROCESS_IDLE 0x20300230 //当前处于卡机无卡空闲状态,无法处理此请求
  26. #define CardIssuer_UserErrorCode_PROCESS_ACCEPT 0x20300231 //当前处于卡机插卡状态,无法处理此请求
  27. #define CardIssuer_UserErrorCode_PROCESS_HOLD 0x20300232 //当前处于卡机有卡等待状态,无法处理此请求
  28. #define CardIssuer_UserErrorCode_PROCESS_READ 0x20300233 //当前处于正在读卡状态,无法处理此请求
  29. #define CardIssuer_UserErrorCode_PROCESS_EJECT 0x20300234 //当前处于正在吐卡状态,无法处理此请求
  30. #define CardIssuer_UserErrorCode_PROCESS_WAIT_FETCH 0x20300235 //当前处于正在取卡状态,无法处理此请求
  31. #define CardIssuer_UserErrorCode_PROCESS_CAPTURE 0x20300236 //当前处于正在吞卡状态,无法处理此请求
  32. #define CardIssuer_UserErrorCode_PROCESS_FAULT 0x20300237 //当前处于卡机故障异常状态,无法处理此请求
  33. #define CardIssuer_UserErrorCode_PROCESS_ISSUE 0x20300238 //当前处于卡机发卡操作状态,无法处理此请求
  34. #define CardIssuer_UserErrorCode_RETAIN_BIN_IS_FULL (CardIssuer_UserErrorCode_Start + 57)//计数显示,回收箱满
  35. //跨机激活过程 oiltmp to be removed
  36. #define CardIssuer_UserErrorCode_PreOnline_Send_CardActive (CardIssuer_UserErrorCode_Start + 61) //跨机,调用CardActive
  37. #define CardIssuer_UserErrorCode_PreOnline_Recv_CardActive (CardIssuer_UserErrorCode_Start + 62) //跨机,CardActive返回
  38. #define CardIssuer_UserErrorCode_ContactIC_Failed (CardIssuer_UserErrorCode_Start + 66) //DetectIfICCard调用ContactIC失败
  39. #define CardIssuer_UserErrorCode_ActiveICCard_Failed (CardIssuer_UserErrorCode_Start + 67) //DetectIfICCard调用ActiveICCard失败
  40. #define CardIssuer_UserErrorCode_ICCommand_Failed (CardIssuer_UserErrorCode_Start + 68) //BuildSupportedAppList调用ICCommand失败
  41. #define CardIssuer_UserErrorCode_ICCommand_Receive_Data_Error (CardIssuer_UserErrorCode_Start + 69) //PSE return error
  42. #define CardIssuer_UserErrorCode_BuildSupportedAppList_Failed (CardIssuer_UserErrorCode_Start + 70) //BuildSupportedAppList failed
  43. #define CardIssuer_UserErrorCode_AppSelected_Failed (CardIssuer_UserErrorCode_Start + 71) //AppSelected failed
  44. //oiltmp to be removed
  45. #define CardIssuer_UserErrorCode_NotifyPreOnline_ParamInfo (CardIssuer_UserErrorCode_Start + 73) //跨机后,大机心跳调用NotifyPreOnline
  46. #define CardIssuer_UserErrorCode_NotifyPreonline_Wait_TooLong (CardIssuer_UserErrorCode_Start + 78) //NotifyPreonline收到时已经超过等待时间
  47. //发卡过程
  48. #define CardIssuer_UserErrorCode_Invalid_Hopper (CardIssuer_UserErrorCode_Start + 86) //传入了错误的hopper
  49. //Common Func
  50. #define CardIssuer_UserErrorCode_CaptureCard_ByTerminal (CardIssuer_UserErrorCode_Start + 87) //终端自行调用吞卡
  51. #define CardIssuer_UserErrorCode_CaptureCard_EntityOnStart (CardIssuer_UserErrorCode_Start + 89) //实体启动时发现有卡,终端自行调用吞卡
  52. #define CardIssuer_UserErrorCode_CardPosUnexpectedOnDevOpen (CardIssuer_UserErrorCode_Start + 90) //实体启动时卡片位置异常
  53. //读卡过程
  54. #define CardIssuer_UserErrorCode_TrackSize_Wrong (CardIssuer_UserErrorCode_Start + 92) //磁道数据长度错误
  55. #define CardIssuer_UserErrorCode_Track2Size_Wrong (CardIssuer_UserErrorCode_Start + 93) //二磁道数据长度错误
  56. #define CardIssuer_UserErrorCode_CardBin (CardIssuer_UserErrorCode_Start + 94) //卡号
  57. #define CardIssuer_UserErrorCode_MaybeIC_Only (CardIssuer_UserErrorCode_Start + 96) //可能是纯IC
  58. //读卡器初始化过程
  59. #define CardIssuer_UserErrorCode_LoadLibraryA_Failed (CardIssuer_UserErrorCode_Start + 99) //LoadLibraryA
  60. #define CardIssuer_UserErrorCode_LoadLibraryA_CMBPrint_Failed (CardIssuer_UserErrorCode_Start + 102) //LoadLibraryA CMBPrint
  61. #define CardIssuer_UserErrorCode_DeviceOpening (CardIssuer_UserErrorCode_Start + 104) //opening device
  62. #define CardIssuer_UserErrorCode_DevOpen_Failed (CardIssuer_UserErrorCode_Start + 105) //DevOpen
  63. //物料信息
  64. #define CardIssuer_UserErrorCode_SyncMaterialCount_Failed (CardIssuer_UserErrorCode_Start + 108) //同步物料信息失败
  65. //预留一部分用于CardAssist.cpp中的报错告警
  66. //自CardIssuer_UserErrorCode_Start + 121 ~ CardIssuer_UserErrorCode_Start + 140
  67. #define CardIssuer_UserErrorCode_ICCommand_RecvData_Invalid (CardIssuer_UserErrorCode_Start + 121) //APDU接收到的数据无效
  68. #define CardIssuer_UserErrorCode_ICCommand_RF_RecvData_Invalid (CardIssuer_UserErrorCode_Start + 124) //APDU接收到的非接数据无效
  69. #define CardIssuer_UserErrorCode_RFTypeABCommand_Failed (CardIssuer_UserErrorCode_Start + 125) //BuildSupportedAppList调用RFTypeABCommand失败
  70. //
  71. #define CardIssuer_UserErrorCode_Open_Failed (CardIssuer_UserErrorCode_Start + 142) //读卡器最终打开失败
  72. //oiltmp to be removed
  73. #define CardIssuer_UserErrorCode_DupCallPreOnline_WhileInWorking (CardIssuer_UserErrorCode_Start + 154) //实体正忙,再次收到跨机激活
  74. #define CardIssuer_UserErrorCode_Hopper1_Mixed_Too_Much (CardIssuer_UserErrorCode_Start + 155) //卡箱1异常(连续吞卡过多)
  75. #define CardIssuer_UserErrorCode_Hopper2_Mixed_Too_Much (CardIssuer_UserErrorCode_Start + 156) //卡箱2异常(连续吞卡过多)
  76. #define CardIssuer_UserErrorCode_Hopper3_Mixed_Too_Much (CardIssuer_UserErrorCode_Start + 157) //卡箱3异常(连续吞卡过多)
  77. #define CardIssuer_UserErrorCode_Maybe_InsertCard_InWrongStyle (CardIssuer_UserErrorCode_Start + 160) //可能卡片插反了
  78. #define CardIssuer_UserErrorCode_IssueCard_ActiveICCard_Failed (CardIssuer_UserErrorCode_Start + 161) //发卡时,DetectIfICCard调用ActiveICCard失败
  79. //oiltmp to be removed
  80. #define CardIssuer_UserErrorCode_CardStore_Reply_TooLong (CardIssuer_UserErrorCode_Start + 163) //跨机时卡库处理耗时过长
  81. #define CardIssuer_UserErrorCode_CardActive_CardStore_OffLine (CardIssuer_UserErrorCode_Start + 165) //跨机时卡库不在线
  82. #define CardIssuer_UserErrorCode_ReadByRF (CardIssuer_UserErrorCode_Start + 166) //非接读取成功
  83. //oiltmp to be removed
  84. #define CardIssuer_UserErrorCode_CardActive_CardStore_Issuing (CardIssuer_UserErrorCode_Start + 167) //跨机时卡库正在本地领卡或加卡
  85. #endif //_CARDISSUERSTAND_USER_ERRORCODE_H