|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Command
Declare a command of a tango device.
Declares a command myCommand with parameter of type int and returns double
@Command
public double myCommand(int value){..};
Possible parameter types and return types are:
boolean, boolean[], short, short[], long, long[], float, float[], double, double[], String, String[], int, int[],DeviceState, DeviceState[], byte, byte[], DevEncoded, DevVarLongStringArray,
DevVarDoubleStringArray
| Optional Element Summary | |
|---|---|
int |
displayLevel
The command display level. |
java.lang.String |
inTypeDesc
|
boolean |
isPolled
define if attribute is polling. |
java.lang.String |
name
Default name is method name |
java.lang.String |
outTypeDesc
The command output documentation |
int |
pollingPeriod
Configure polling period in ms. |
public abstract java.lang.String name
public abstract java.lang.String inTypeDesc
public abstract java.lang.String outTypeDesc
public abstract int displayLevel
DispLevel
public abstract boolean isPolled
Attribute.pollingPeriod()
public abstract int pollingPeriod
Attribute.isPolled() is true
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||