com.moxa.mxuportapi
Enum MxUPortService.DeviceID

java.lang.Object
  extended by java.lang.Enum<MxUPortService.DeviceID>
      extended by com.moxa.mxuportapi.MxUPortService.DeviceID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MxUPortService.DeviceID>
Enclosing class:
MxUPortService

public static enum MxUPortService.DeviceID
extends java.lang.Enum<MxUPortService.DeviceID>

This class represents the supported UPort for MxUPort API.


Enum Constant Summary
UPORT1110
           
UPORT1130
           
UPORT1130I
           
UPORT1150
           
UPORT1150I
           
UPORT1250
           
UPORT1250I
           
UPORT1410
           
UPORT1450
           
UPORT1450I
           
UPORT1610_16
           
UPORT1610_8
           
UPORT1650_16
           
UPORT1650_8
           
 
Method Summary
 int getPortCount()
           
 int getProductId()
           
 int getVendorId()
           
static MxUPortService.DeviceID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MxUPortService.DeviceID[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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

UPORT1110

public static final MxUPortService.DeviceID UPORT1110

UPORT1130

public static final MxUPortService.DeviceID UPORT1130

UPORT1130I

public static final MxUPortService.DeviceID UPORT1130I

UPORT1150

public static final MxUPortService.DeviceID UPORT1150

UPORT1150I

public static final MxUPortService.DeviceID UPORT1150I

UPORT1250

public static final MxUPortService.DeviceID UPORT1250

UPORT1250I

public static final MxUPortService.DeviceID UPORT1250I

UPORT1410

public static final MxUPortService.DeviceID UPORT1410

UPORT1450

public static final MxUPortService.DeviceID UPORT1450

UPORT1450I

public static final MxUPortService.DeviceID UPORT1450I

UPORT1610_16

public static final MxUPortService.DeviceID UPORT1610_16

UPORT1610_8

public static final MxUPortService.DeviceID UPORT1610_8

UPORT1650_16

public static final MxUPortService.DeviceID UPORT1650_16

UPORT1650_8

public static final MxUPortService.DeviceID UPORT1650_8
Method Detail

getPortCount

public int getPortCount()
Returns:
The maximum port count of UPort

getProductId

public int getProductId()
Returns:
The product ID of UPort.

getVendorId

public int getVendorId()
Returns:
The vendor ID of UPort

valueOf

public static MxUPortService.DeviceID 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

values

public static MxUPortService.DeviceID[] 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 (MxUPortService.DeviceID c : MxUPortService.DeviceID.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared