|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Attribute
Declare an attribute of a tango device.
Read only attribute called myAttribute of type double:@Attribute private double myAttribute; public double getMyAttribute(){..};Read / write attribute called myAttribute of type double:
@Attribute private double myAttribute; public double getMyAttribute(){..}; public void setMyAttribute(double myAttribute){..};
Possible types ares:
boolean, boolean[],boolean[][],DeviceState
, DeviceState
[], DeviceState
[][], DevEncoded
Optional Element Summary | |
---|---|
boolean |
checkArchivingEvent
The framework will check event conditions before firing it |
boolean |
checkChangeEvent
The framework will check event conditions before firing it |
int |
displayLevel
The command display level. see @link DispLevel |
boolean |
isMemorized
The attribute write value is persisted after each write. |
boolean |
isMemorizedAtInit
The memorized value is written on attribute at init. |
boolean |
isPolled
define if attribute is polled. period must be configured. see pollingPeriod() |
int |
maxDimX
|
int |
maxDimY
|
java.lang.String |
name
Default name is field name |
int |
pollingPeriod
Configure polling period in ms. use only is isPolled() is true |
boolean |
pushArchiveEvent
Archive event pushed from device |
boolean |
pushChangeEvent
Change event pushed from device |
boolean |
pushDataReady
Data Ready event pushed from device |
public abstract java.lang.String name
public abstract int displayLevel
DispLevel
public abstract boolean isMemorized
public abstract boolean isMemorizedAtInit
public abstract boolean isPolled
pollingPeriod()
public abstract int pollingPeriod
isPolled()
is true
public abstract int maxDimX
public abstract int maxDimY
public abstract boolean pushDataReady
public abstract boolean pushChangeEvent
public abstract boolean checkChangeEvent
public abstract boolean pushArchiveEvent
public abstract boolean checkArchivingEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |