com.pax.dal.entity

Enum EUartPort

  • java.lang.Object
    • java.lang.Enum<EUartPort>
      • com.pax.dal.entity.EUartPort
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EUartPort>


    public enum EUartPort
    extends java.lang.Enum<EUartPort>
    串口定义
    uart port
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      BASEDEV
      底座串口。
      Base communication port.
      COM1
      com1
      COM19
      Internal communication channel between Android system and security module
      COM2
      com2
      FTDIUSB
      visit FTDI USB convert serial port
      MODEM
      modem
      PINPAD
      pinpad
      TAX
      TAX
      USBCCID
      Deprecated. 
      USBCOM10
      USB convert serial port.
      USBCOM30
      USB convert serial port.
      USBDEV
      USB device mode port
      USBDEV50
      USB设备模式端口。仅当授权功能被禁用时才能使用。
      USB device mode port.
      USBHOST
      Deprecated. 
      WIFI
      Wi-Fi
      WIRELESS
      wireless
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte getChannel() 
      static EUartPort valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EUartPort[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      static EUartPort valuesOf(int channel) 
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • FTDIUSB

        public static final EUartPort FTDIUSB
        visit FTDI USB convert serial port
      • USBHOST

        @Deprecated
        public static final EUartPort USBHOST
        Deprecated. 
        USB host mode port
      • USBCCID

        @Deprecated
        public static final EUartPort USBCCID
        Deprecated. 
        USB CCID device mode port
      • COM19

        public static final EUartPort COM19
        Internal communication channel between Android system and security module
      • USBCOM30

        public static final EUartPort USBCOM30
        USB convert serial port.
        Since:
        V3.16.00
      • USBDEV50

        public static final EUartPort USBDEV50
        USB设备模式端口。仅当授权功能被禁用时才能使用。
        USB device mode port. It can be used only when the authorization function is disabled.
        Since:
        V3.22.00
      • BASEDEV

        public static final EUartPort BASEDEV
        底座串口。
        Base communication port.
        Since:
        V4.05.00
    • Method Detail

      • values

        public static EUartPort[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EUartPort c : EUartPort.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EUartPort valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null