密码键盘、扫描仪-- 待测试

This commit is contained in:
2025-02-10 17:41:16 +08:00
parent 5a84be620d
commit 63a9070f56
9 changed files with 319 additions and 13 deletions

View File

@@ -16,4 +16,12 @@ public interface LexMarkConst {
* 打印机
*/
String RECEIPT_PRINTER = "ReceiptPrinter";
/**
* 数字键盘
*/
String ENCRYPTOR = "Encryptor";
/**
* 扫描仪
*/
String BARCODE_READER = "BarcodeReader";
}

View File

@@ -0,0 +1,119 @@
package com.dpkj.common.constant;
/**
* 利盟台式机 中间件 方法名常量
*/
public interface MiddlewareFunctionsConst {
/**-------------------- 公共模块 ---------------------*/
/**
* 打开设备(异步)/ (同步)
*/
String OPEN_CONNECTION = "OpenConnection";
String OPEN_CONNECTION_SYNC = "OpenConnectionSync";
/**
* 关闭设备(异步)/ (同步)
*/
String CLOSE_CONNECTION = "CloseConnection";
String CLOSE_CONNECTION_SYNC = "CloseConnectionSync";
/** ------------------- 读卡模块 --------------------*/
/**
* 进卡读卡(异步)/ (同步)
*/
String ACCEPT_AND_READ_TRACKS = "AcceptAndReadTracks";
String ACCEPT_AND_READ_TRACKS_SYNC = "AcceptAndReadTracksSync";
/**
* 同步取消进卡
*/
String CANCEL_ACCEPT = "CancelAccept";
/**
* 异步ChipIC卡片数据交互 / 同步ChipIC卡片数据交互
*/
String CHIP_IO = "ChipIo";
String CHIP_IO_SYNC = "ChipIoSync";
/**
* IC卡上电
*/
String CHIPPOWER = "ChipPower";
/**
* 退卡
*/
String EJECT = "Eject";
/**
* 获取属性
*/
String GET_CAPABILITIES = "GetCapabilities";
/**
* 获取状态 同步/异步
*/
String GET_STATUS = "GetStatus";
String GET_STATUS_SYNC = "GetStatusSync";
/**
* 社保卡读取 读基本信息
*/
String I_READ_CARD_BAS = "iReadCardBas";
/**
* 社保卡读取 基于加密机的读基本信息
*/
String I_READ_CARD_BAS_HSM_STEP1 = "iReadCardBas_HSM_Step1";
/**
* 社保卡读取 基于加密机的读基本信息
*/
String I_READ_CARD_BAS_HSM_STEP2 = "iReadCardBas_HSM_Step2";
/** -------------------- 数字键盘模块 -----------------*/
/**
* 明文输入
*/
String INPUT_DATA = "InputData";
/**
* 密文输入
*/
String INPUT_PIN = "InputPIN";
/**
* 取消输入 (明文或者密文)
*/
String CANCEL_INPUT = "CancelInput";
/** ------------------ 条码读取模块 -------------------*/
/**
* 复位扫描仪
*/
String RESET = "Reset";
/**
* 扫描条码
*/
String SCAN_BARCODE = "ScanBarcode";
/**
* 取消扫描
*/
String CANCEL_SCAN = "CancelScan";
/**
* 获取扫描仪状态
*/
String GET_SCANNER_STATUS = "GetStatus";
/**
* 获取能力
*/
String GET_SCANNER_CAPABILITIES = "GetCapabilities";
}