Enum Class RfidReaderType

java.lang.Object
java.lang.Enum<RfidReaderType>
com.tccc.kos.ext.freestyle.hardware.rfid.RfidReaderType
All Implemented Interfaces:
Serializable, Comparable<RfidReaderType>, Constable

public enum RfidReaderType extends Enum<RfidReaderType>
Different types of readers can read different ranges.
Version:
2023-09-14
  • Enum Constant Details

  • Method Details

    • values

      public static RfidReaderType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RfidReaderType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getZoneId

      public int getZoneId()
      Return the zone id the reader type: NONE = 0 GX = 1 EU = 2 UNIVERSAL = 3 return the zone
    • isCompatible

      public boolean isCompatible(RfidReaderType otherType)
      Return true if the specified type is compatible with this type.
    • fromZoneId

      public static RfidReaderType fromZoneId(int zoneId)
      Return the reader type from the zoneId.