com.pax.dal.entity
Class DeviceInfo
- java.lang.Object
-
- com.pax.dal.entity.DeviceInfo
-
public class DeviceInfo extends java.lang.Object
设备信息实体类。Device information entity class.- Since:
- V3.17.00
-
-
Constructor Summary
Constructors Constructor and Description DeviceInfo(byte[] BLEVersion, java.lang.String deviceType, byte iccReadSlotNum, byte[] iccReaderSlotList, byte magReaderCombined, byte pinpadPortsNum, byte[] pinpadPorts, java.lang.String platformId, short printerMaxDotLine, short printerMaxPageWidth, short printerStep, byte printerType, byte[] RS232Ports, byte RS232PortsNum, byte usbDevPort, byte usbHostPort, byte[] usbHostPortExt, byte[] reserved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description byte[]getBLEVersion()获取BLE版本。Get the BLE version.java.lang.StringgetDeviceType()获取设备类型。Gets the device type.byte[]getIccReaderSlotList()获取具体IC卡槽号列表。Gets a list of specific IC card slot numbers.bytegetIccReadSlotNum()获取IC卡槽数。Get the number of IC card slots.bytegetMagReaderCombined()获取是否是组合磁条卡。byte[]getPinpadPorts()获取密码键盘端口的具体位置。Gets the exact location of the PINPAD port.bytegetPinpadPortsNum()获取密码键盘端口数量。Gets the number of PINPAD ports.java.lang.StringgetPlatformId()获取平台ID。Get the platform ID.shortgetPrinterMaxDotLine()获取打印机支持打印的最大点行。Gets the maximum point line that the printer supports printing.shortgetPrinterMaxPageWidth()获取打印机支持打印的最大宽度。Gets the maximum width the printer supports printing.shortgetPrinterStep()获取打印结束后建议的走纸步数。Gets the recommended number of paper steps at the end of printing.bytegetPrinterType()获取打印机类型。0:针式打印机; 1:热敏打印机。Gets the printer type.0: Needle printer;1: Thermal printer.byte[]getReserved()保留字段。The Reserved.byte[]getRS232Ports()获取RS232口具体位置。Get the specific location of RS232 port.bytegetRS232PortsNum()获取RS232口的数量。Get the number of RS232 ports.bytegetUsbDevPort()获取UsbDev端口号。Gets the UsbDev port number.bytegetUsbHostPort()获取UsbHost端口号。Gets the UsbHost port number.byte[]getUsbHostPortExt()获取UsbHost扩展端口号。Gets the UsbHost extension port number.
-
-
-
Constructor Detail
-
DeviceInfo
public DeviceInfo(byte[] BLEVersion, java.lang.String deviceType, byte iccReadSlotNum, byte[] iccReaderSlotList, byte magReaderCombined, byte pinpadPortsNum, byte[] pinpadPorts, java.lang.String platformId, short printerMaxDotLine, short printerMaxPageWidth, short printerStep, byte printerType, byte[] RS232Ports, byte RS232PortsNum, byte usbDevPort, byte usbHostPort, byte[] usbHostPortExt, byte[] reserved)
-
-
Method Detail
-
getBLEVersion
public byte[] getBLEVersion()
获取BLE版本。Get the BLE version.- Returns:
-
getDeviceType
public java.lang.String getDeviceType()
获取设备类型。Gets the device type.- Returns:
-
getIccReadSlotNum
public byte getIccReadSlotNum()
获取IC卡槽数。Get the number of IC card slots.- Returns:
-
getIccReaderSlotList
public byte[] getIccReaderSlotList()
获取具体IC卡槽号列表。Gets a list of specific IC card slot numbers.- Returns:
-
getMagReaderCombined
public byte getMagReaderCombined()
获取是否是组合磁条卡。- Returns:
-
getPinpadPortsNum
public byte getPinpadPortsNum()
获取密码键盘端口数量。Gets the number of PINPAD ports.- Returns:
-
getPinpadPorts
public byte[] getPinpadPorts()
获取密码键盘端口的具体位置。Gets the exact location of the PINPAD port.- Returns:
-
getPlatformId
public java.lang.String getPlatformId()
获取平台ID。Get the platform ID.- Returns:
-
getPrinterMaxDotLine
public short getPrinterMaxDotLine()
获取打印机支持打印的最大点行。Gets the maximum point line that the printer supports printing.- Returns:
-
getPrinterMaxPageWidth
public short getPrinterMaxPageWidth()
获取打印机支持打印的最大宽度。Gets the maximum width the printer supports printing.- Returns:
-
getPrinterStep
public short getPrinterStep()
获取打印结束后建议的走纸步数。Gets the recommended number of paper steps at the end of printing.- Returns:
-
getPrinterType
public byte getPrinterType()
获取打印机类型。0:针式打印机; 1:热敏打印机。Gets the printer type.0: Needle printer;1: Thermal printer.- Returns:
-
getRS232Ports
public byte[] getRS232Ports()
获取RS232口具体位置。Get the specific location of RS232 port.- Returns:
-
getRS232PortsNum
public byte getRS232PortsNum()
获取RS232口的数量。Get the number of RS232 ports.- Returns:
-
getUsbDevPort
public byte getUsbDevPort()
获取UsbDev端口号。Gets the UsbDev port number.- Returns:
-
getUsbHostPort
public byte getUsbHostPort()
获取UsbHost端口号。Gets the UsbHost port number.- Returns:
-
getUsbHostPortExt
public byte[] getUsbHostPortExt()
获取UsbHost扩展端口号。Gets the UsbHost extension port number.- Returns:
-
getReserved
public byte[] getReserved()
保留字段。The Reserved.- Returns:
-
-