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 */ 016package com.pax.dal.entity; 017 018public class IccPara { 019 private byte apdu_format_w; 020 private byte apdu_format_val; 021 private byte protocol_type_w; 022 private byte protocol_type_val; 023 private byte[] reserved; 024 025 public IccPara() { 026 super(); 027 apdu_format_w = 0x00; 028 apdu_format_val = 0x00; 029 reserved = new byte[48]; 030 } 031 032 /** 033 * <div class="zh">apdu格式写入允许。</div> <div class="en">The apdu format is write enable.</div> 034 * 035 * @return <div class="zh"><ul> 036 * <li>1 -- 允许</li> 037 * <li>其它 -- 不允许</li> 038 * </ul></div> 039 * <div class="en"><ul> 040 * <li>1 -- allowed</li> 041 * <li>Others -- not allowed</li> 042 * </ul></div> 043 */ 044 public byte getApdu_format_w() { 045 return apdu_format_w; 046 } 047 048 /** 049 * <div class="zh">apdu格式写入允许。</div> <div class="en">The apdu format is write enable.</div> 050 * 051 * @param apdu_format_w <div class="zh"><ul> 052 * <li>1 -- 允许</li> 053 * <li>其它 -- 不允许</li> 054 * </ul></div> 055 * <div class="en"><ul> 056 * <li>1 -- allowed</li> 057 * <li>Others -- not allowed</li> 058 * </ul></div> 059 */ 060 public void setApdu_format_w(byte apdu_format_w) { 061 this.apdu_format_w = apdu_format_w; 062 } 063 064 /** 065 * <div class="zh">apdu格式控制变量。</div> <div class="en">The apdu format control variable.</div> 066 * @return 067 */ 068 public byte getApdu_format_val() { 069 return apdu_format_val; 070 } 071 072 /** 073 * <div class="zh">apdu格式控制变量。</div> <div class="en">The apdu format control variable.</div> 074 * @param apdu_format_val 075 */ 076 public void setApdu_format_val(byte apdu_format_val) { 077 this.apdu_format_val = apdu_format_val; 078 } 079 080 /** 081 * <div class="zh"> 保留字节,用于将来扩展。 </div> <div class="en"> Preserve the bytes for future expansion. </div> 082 * @return 083 */ 084 public byte[] getReserved() { 085 return reserved; 086 } 087 088 /** 089 * <div class="zh"> 保留字节,用于将来扩展。 </div> <div class="en"> Preserve the bytes for future expansion. </div> 090 * @param reserved 091 */ 092 public void setReserved(byte[] reserved) { 093 this.reserved = reserved; 094 } 095 096 097 public byte getProtocol_type_w() { 098 return protocol_type_w; 099 } 100 101 public void setProtocol_type_w(byte protocol_type_w) { 102 this.protocol_type_w = protocol_type_w; 103 } 104 105 public byte getProtocol_type_val() { 106 return protocol_type_val; 107 } 108 109 public void setProtocol_type_val(byte protocol_type_val) { 110 this.protocol_type_val = protocol_type_val; 111 } 112}