com.kuka.roboticsAPI.controllerModel.sunrise
Enum SunriseSafetyState.EmergencyStop

java.lang.Object
  extended by java.lang.Enum<SunriseSafetyState.EmergencyStop>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.SunriseSafetyState.EmergencyStop
All Implemented Interfaces:
Serializable, Comparable<SunriseSafetyState.EmergencyStop>
Enclosing class:
SunriseSafetyState

public static enum SunriseSafetyState.EmergencyStop
extends Enum<SunriseSafetyState.EmergencyStop>

Represents the state of the emergency stop.


Enum Constant Summary
ACTIVE
          The emergency stop is active (integer 2).
INACTIVE
          The emergency stop is inactive (integer 1).
NOT_CONFIGURED
          The emergency stop is not configured (integer 0).
 
Method Summary
static SunriseSafetyState.EmergencyStop fromInt(int value)
          Gets the enum instance with a specific integer value.
 int toInt()
          Gets the internal value for the specific item.
static SunriseSafetyState.EmergencyStop valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SunriseSafetyState.EmergencyStop[] 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

NOT_CONFIGURED

public static final SunriseSafetyState.EmergencyStop NOT_CONFIGURED
The emergency stop is not configured (integer 0).


INACTIVE

public static final SunriseSafetyState.EmergencyStop INACTIVE
The emergency stop is inactive (integer 1).


ACTIVE

public static final SunriseSafetyState.EmergencyStop ACTIVE
The emergency stop is active (integer 2).

Method Detail

values

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

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

valueOf

public static SunriseSafetyState.EmergencyStop 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

fromInt

public static SunriseSafetyState.EmergencyStop fromInt(int value)
Gets the enum instance with a specific integer value.

Parameters:
value - The integer value.
Returns:
The item with the specific internal value.

toInt

public int toInt()
Gets the internal value for the specific item.

Returns:
The internal value for the specific item.


Copyright © 2019. All rights reserved.