com.kuka.roboticsAPI.ioModel
Enum IOTypes

java.lang.Object
  extended by java.lang.Enum<IOTypes>
      extended by com.kuka.roboticsAPI.ioModel.IOTypes
All Implemented Interfaces:
Serializable, Comparable<IOTypes>

public enum IOTypes
extends Enum<IOTypes>

The possible IO types in java and WorkVisual.


Enum Constant Summary
ANALOG
          Analog IO.
BOOLEAN
          Boolean IO.
INTEGER
          Signed digital IO.
UNSIGNED_INTEGER
          Unsigned digital IO.
 
Method Summary
 int getMaxBitSize()
          Gets the maximum supported bit size of the IO type.
 SunriseIOType getSunriseType()
          Gets the Sunrise type of the IO type.
static IOTypes parseSunriseType(SunriseIOType sunriseType, boolean isSigned)
          Converts the sunrise type to the corresponding IO Type.
static IOTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IOTypes[] 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANALOG

public static final IOTypes ANALOG
Analog IO.


INTEGER

public static final IOTypes INTEGER
Signed digital IO.


UNSIGNED_INTEGER

public static final IOTypes UNSIGNED_INTEGER
Unsigned digital IO.


BOOLEAN

public static final IOTypes BOOLEAN
Boolean IO.

Method Detail

values

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

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

valueOf

public static IOTypes valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getSunriseType

public SunriseIOType getSunriseType()
Gets the Sunrise type of the IO type.

Returns:
the sunrise type

getMaxBitSize

public int getMaxBitSize()
Gets the maximum supported bit size of the IO type.

Returns:
the maximum supported bit size.

parseSunriseType

public static IOTypes parseSunriseType(SunriseIOType sunriseType,
                                       boolean isSigned)
Converts the sunrise type to the corresponding IO Type.
WARNING: The mapping is ambiguous: For the sunrise type BITARRAY the IO Type INTEGER is returned.

Parameters:
sunriseType - sunrise type
isSigned - value is signed
Returns:
corresponding IO type
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.