org.tango.server.annotation
Annotation Type Device


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Device

Declare a class as a Tango Device.

 @Device
 public class MyTangoDevice{...}
 
This annotation is mandatory.

Author:
ABEILLE

Optional Element Summary
 java.lang.String deviceType
          The device type returned by "info"
 TransactionType transactionType
          Declares the transaction granularity TransactionType This class with be created with default ctr.
 

transactionType

public abstract TransactionType transactionType
Declares the transaction granularity TransactionType This class with be created with default ctr. Default value

Returns:
transaction type
Default:
org.tango.server.annotation.TransactionType.DEVICE

deviceType

public abstract java.lang.String deviceType
The device type returned by "info"

Returns:
The device type
Default:
"Uninitialised"


Copyright © 2012-2015. All Rights Reserved.