判断是否成功
static bool isSuccess(int code) { return code == READ_CARD_SUCCESS || code == INIT_SUCCESS || code == SUCCESS; }