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 Remove Mode </div>
021 * 
022 * @author Steven.W
023 * 
024 */
025public enum EPiccRemoveMode {
026    /**@deprecated
027     * <div class="zh"> 仅向卡片发送停活指令后就退出;该过程不执行卡移开检测 </div> <div class="en"> HALT, quit after sending halt command to
028     * card; no card removed check during this process. </div>
029     */
030    @Deprecated
031    HALT((byte) 0x48),
032    /**@deprecated
033     * <div class="zh"> 向卡片发送停活指令,并执行卡移开检测 </div> <div class="en"> REMOVE, Send halt command to card, and execute card
034     * removed detection. </div>
035     */
036    @Deprecated
037    REMOVE((byte) 0x52),
038    /**
039     * <div class="zh"> 符合EMV非接规范的移卡模式 复位载波,并执行卡移开检测 </div> <div class="en"> Comply with the remove card mode of EMV
040     * non-connected standard Reset carrier, and execute card removed detection. </div>
041     */
042    EMV((byte) 0x45);
043
044    private byte piccRemoveMode;
045
046    private EPiccRemoveMode(byte piccRemoveMode) {
047        this.piccRemoveMode = piccRemoveMode;
048    }
049
050    public byte getPiccRemoveMode() {
051        return piccRemoveMode;
052    }
053}