001 /* 002 * =========================================================================================== 003 * = COPYRIGHT 004 * PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION 005 * This software is supplied under the terms of a license agreement or nondisclosure 006 * agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or 007 * disclosed except in accordance with the terms in that agreement. 008 * Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved. 009 * Description: // Detail description about the function of this module, 010 * // interfaces with the other modules, and dependencies. 011 * Revision History: 012 * Date Author Action 013 * 2017/04/01 PAX Create/Add/Modify/Delete 014 * =========================================================================================== 015 */ 016 017package com.pax.dal.entity; 018 019/** 020 * <div class="zh"> 射频卡检测模式定义 </div> <div class="en"> picc detect mode </div> 021 * 022 * @author Steven.W 023 * 024 */ 025public enum EDetectMode { 026 027 /** 028 * <div class="zh"> 搜寻A型卡和B型卡一次, 此模式适用于需要增强多卡检测功能的场合。 该模式是符合ISO14443规范的寻卡模式; </div> <div class="en"> Detect type A 029 * card for once, and detect type B card for once; This mode is used to tighten the function for mutiple cards 030 * detecting. And it conforms to the detect mode of ISO14443 Standard </div> 031 */ 032 ISO14443_AB((byte) 0x00), 033 /** 034 * <div class="zh"> 搜寻A型卡和B型卡一次;此模式为EMV寻卡模式,通常使用该模式; </div> <div class="en"> Detect type A card once, and detect 035 * type B card once; This is EMV Detect Mode,use this mode for usual </div> 036 */ 037 EMV_AB((byte) 0x01), 038 /** 039 * <div class="zh"> 只搜寻A型卡一次; </div> <div class="en"> Only detect type A card for once </div> 040 */ 041 ONLY_A((byte) 0x41), 042 /** 043 * <div class="zh"> 只搜寻B型卡一次; </div> <div class="en"> Only detect type B card for once </div> 044 */ 045 ONLY_B((byte) 0x42), 046 /** 047 * <div class="zh"> 只搜寻m1卡一次; </div> <div class="en"> Only detect type M1 card for once </div> 048 */ 049 ONLY_M((byte) 0x4d); 050 051 private byte detectMode; 052 053 private EDetectMode(byte detectMode) { 054 this.detectMode = detectMode; 055 } 056 057 public byte getDetectMode() { 058 return detectMode; 059 } 060}