com.kuka.roboticsAPI.conditionModel
Class IORangeCondition

java.lang.Object
  extended by com.kuka.roboticsAPI.conditionModel.AbstractCondition
      extended by com.kuka.roboticsAPI.conditionModel.IORangeCondition
All Implemented Interfaces:
ICondition

public class IORangeCondition
extends AbstractCondition

IO Range Condition describing the valid range of an selected In- or Output.
The Condition fires if a numeric digital or analog input or output is within a specified value range. Fires if (minValue =< I/O-value <= maxValue).


Constructor Summary
IORangeCondition(AbstractIO inOut, Number minIOValue, Number maxIOValue)
          Creates a new Instance of an IORangeCondition.
 
Method Summary
 Controller getController()
          Return the controller referred to by this condition.
 AbstractIO getInOut()
          Gets the in- or output of this condition.
 Number getMaxIOValue()
          Gets the maximum value at which the condition will fire.
 Number getMinIOValue()
          Gets the minimum value at which the condition will fire.
 String toString()
           
 
Methods inherited from class com.kuka.roboticsAPI.conditionModel.AbstractCondition
and, invert, or, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IORangeCondition

public IORangeCondition(AbstractIO inOut,
                        Number minIOValue,
                        Number maxIOValue)
Creates a new Instance of an IORangeCondition. The Condition fires if the analog or digital input or output is within the specified value range (minValue =< I/O-value <= maxValue).

Parameters:
inOut - The input or output to observe.
minIOValue - The minimum value of the input or output to fire the condition.
maxIOValue - The maximum value of the input or output to fire the condition.
Throws:
IllegalArgumentException - if an invalid argument is given or if any of the arguments is null
Method Detail

getInOut

public AbstractIO getInOut()
Gets the in- or output of this condition.

Returns:
The in- or output of this condition.

getMinIOValue

public Number getMinIOValue()
Gets the minimum value at which the condition will fire.

Returns:
The value as Number.

getMaxIOValue

public Number getMaxIOValue()
Gets the maximum value at which the condition will fire.

Returns:
The value as Number.

toString

public String toString()
Overrides:
toString in class Object

getController

public Controller getController()
Description copied from class: AbstractCondition
Return the controller referred to by this condition.

Specified by:
getController in class AbstractCondition
Returns:
The controller referred to by this condition. Can be null.


Copyright © 2019. All rights reserved.