Enum TPCANType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TPCANType>, java.lang.constant.Constable

    public enum TPCANType
    extends java.lang.Enum<TPCANType>
    Represents a PCAN device
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Method Summary

      Modifier and Type Method Description
      byte getValue()
      The identifier of the CAN hardware type
      static TPCANType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TPCANType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

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

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

      • PCAN_TYPE_NONE

        public static final TPCANType PCAN_TYPE_NONE
        Undefined, unknown or not selected PCAN type value
      • PCAN_TYPE_ISA

        public static final TPCANType PCAN_TYPE_ISA
        PCAN-ISA 82C200
      • PCAN_TYPE_ISA_SJA

        public static final TPCANType PCAN_TYPE_ISA_SJA
        PCAN-ISA SJA1000
      • PCAN_TYPE_ISA_PHYTEC

        public static final TPCANType PCAN_TYPE_ISA_PHYTEC
        PHYTEC ISA
      • PCAN_TYPE_DNG

        public static final TPCANType PCAN_TYPE_DNG
        PCAN-Dongle 82C200
      • PCAN_TYPE_DNG_EPP

        public static final TPCANType PCAN_TYPE_DNG_EPP
        PCAN-Dongle EPP 82C200
      • PCAN_TYPE_DNG_SJA

        public static final TPCANType PCAN_TYPE_DNG_SJA
        PCAN-Dongle SJA1000
      • PCAN_TYPE_DNG_SJA_EPP

        public static final TPCANType PCAN_TYPE_DNG_SJA_EPP
        PCAN-Dongle EPP SJA1000
    • Method Detail

      • values

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

        public static TPCANType 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
      • getValue

        public byte getValue()
        The identifier of the CAN hardware type
        Returns:
        Identifier of the CAN hardware type