com.kuka.roboticsAPI.controllerModel.sunrise
Class StopConditionType

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.StopConditionType

public final class StopConditionType
extends Object

StopConditionIndex is defined in Sunrise as follows.

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.

Field Summary
static StopConditionType STOPCONDITIONID_CANCEL
          Ruegabewert der StopCondition, wenn in Active ein CancelSPR aufgerufen wurde.
static StopConditionType STOPCONDITIONID_EMERGENCYBREAK
          Ruegabewert der StopCondition, wenn in Active ein Not-Halt ausgeloest wurde.
static StopConditionType STOPCONDITIONID_NONE
          Standardbelegung für StopCondition ID solange keine StopCondition aktiviert ist.
static StopConditionType STOPCONDITIONID_STACK_CANCEL
          Ruegabewert der StopCondition, wenn ein SPR aufgrund der Zugehoerigkeit zu einem Stack gecancelt wurde.
static StopConditionType STOPCONDITIONID_STACK_STOP
          Ruegabewert der StopCondition, wenn ein SPR aufgrund der Zugehoerigkeit zu einem Stack beendet wurde.
 
Method Summary
 boolean equals(Object obj)
           
static StopConditionType fromId(int stopConditionIndex)
          Creates a condition type from the stop condition index.
 int getId()
          Gets the id of the request.
 int hashCode()
           
 boolean isValid()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STOPCONDITIONID_NONE

public static final StopConditionType STOPCONDITIONID_NONE
Standardbelegung für StopCondition ID solange keine StopCondition aktiviert ist.


STOPCONDITIONID_CANCEL

public static final StopConditionType STOPCONDITIONID_CANCEL
Ruegabewert der StopCondition, wenn in Active ein CancelSPR aufgerufen wurde.


STOPCONDITIONID_EMERGENCYBREAK

public static final StopConditionType STOPCONDITIONID_EMERGENCYBREAK
Ruegabewert der StopCondition, wenn in Active ein Not-Halt ausgeloest wurde.


STOPCONDITIONID_STACK_STOP

public static final StopConditionType STOPCONDITIONID_STACK_STOP
Ruegabewert der StopCondition, wenn ein SPR aufgrund der Zugehoerigkeit zu einem Stack beendet wurde.


STOPCONDITIONID_STACK_CANCEL

public static final StopConditionType STOPCONDITIONID_STACK_CANCEL
Ruegabewert der StopCondition, wenn ein SPR aufgrund der Zugehoerigkeit zu einem Stack gecancelt wurde.

Method Detail

getId

public int getId()
Gets the id of the request.

Returns:
The id of the request.

isValid

public boolean isValid()
Returns:
true, when the stop condition is a valid stop condition

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

fromId

public static StopConditionType fromId(int stopConditionIndex)
Creates a condition type from the stop condition index.

Parameters:
stopConditionIndex - the stop condition index from Sunrise for user defined stop conditions
Returns:
the type

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2019. All rights reserved.