com.kuka.appframework
Annotation Type Output


@Inherited
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Output

Annotation for an output value in an ApplicationBlock.

Output values can be used to persist the state of an application block and provide values for other elements at runtime.

To create an output value, annotate a getter method with @Output following the rules below:

The name of the output value is created from the name of the method:

Example:

 Name of the getter method: getGripperForce 
 Name of the output value: gripperForce.
 
All output values will be read after ApplicationBlock.run()

Usage example:

 @Output
 public Integer getForce()
 {
    // return output value here
 }
 



Copyright © 2018. All rights reserved.