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"> card reader type </div>
021 * 
022 * @author Steven.W
023 * 
024 */
025public enum EReaderType {
026    /**
027     * <div class="zh"> 磁条卡读卡器 </div> <div class="en"> MAG </div>
028     */
029    MAG(1),
030    /**
031     * <div class="zh"> 接触式IC卡读卡器 </div> <div class="en"> ICC </div>
032     */
033    ICC(2),
034    /**
035     * <div class="zh"> 内置射频读卡器 </div> <div class="en"> RF </div>
036     */
037    PICC(4),
038    /**
039     * <div class="zh"> 外置射频读卡器 </div> <div class="en"> external RF </div>
040     */
041    PICCEXTERNAL(8),
042    /**
043     * <div class="zh"> 磁条卡读卡器和接触式IC卡读卡器 </div> <div class="en"> MAG & ICC </div>
044     */
045    MAG_ICC(3),
046    /**
047     * <div class="zh"> 磁条卡读卡器和内置射频读卡器 </div> <div class="en"> MAG & RF </div>
048     */
049    MAG_PICC(5),
050    /**
051     * <div class="zh"> 磁条卡读卡器和外置射频读卡器 </div> <div class="en"> MAG & external RF </div>
052     */
053    MAG_PICCEXTERNAL(9),
054    /**
055     * <div class="zh"> 接触式IC卡读卡器和内置射频读卡器 </div> <div class="en"> ICC & RF </div>
056     */
057    ICC_PICC(6),
058    /**
059     * <div class="zh"> 接触式IC读卡器和外置射频读卡器 </div> <div class="en"> ICC & external RF </div>
060     */
061    ICC_PICCEXTERNAL(10),
062    /**
063     * <div class="zh"> 磁条卡读卡器, 接触式IC卡读卡器和内置射频读卡器 </div> <div class="en"> MAG & ICC & RF </div>
064     */
065    MAG_ICC_PICC(7),
066    /**
067     * <div class="zh"> 磁条卡读卡器, 接触式IC卡读卡器和外置射频读卡器 </div> <div class="en"> MAG & ICC & external RF </div>
068     */
069    MAG_ICC_PICCEXTERNAL(11),
070    DEFAULT(0);
071
072    private byte readertype;
073
074    private EReaderType(int readertype) {
075        this.readertype = (byte) readertype;
076    }
077
078    public byte getEReaderType() {
079        return readertype;
080    }
081}