public final class CavityListener
extends java.lang.Object
implements java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DELAY_TIME
Is the maximum delay time.
|
static int |
MIN_DELAY_TIME
Is the minimum delay time.
|
Constructor and Description |
---|
CavityListener(IEData data_,
int delay_,
java.util.List<IEData> lstData_)
Initializes the cavity listener, which will send a value of 1 or 0 to
the corresponding TINE path from the data enumeration
IEData . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event_) |
public static final int MAX_DELAY_TIME
public static final int MIN_DELAY_TIME
public CavityListener(IEData data_, int delay_, java.util.List<IEData> lstData_)
IEData
. The
delay time is stored in the parameter int
, which tells how long
the function should wait after sending the value.data_
- Is the sending enumeration data value. Should never be null.delay_
- Is the wait time.lstData_
- Is the list of data components which possibly will be
enabled during switching it. This can also be null
14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft