public class Hook extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Lock |
lock |
protected PlutoGWSensor |
lockSensor |
protected PlutoGWSensor |
unlockSensor |
protected boolean |
updatingState
This is used when we update the latch state with the values returned
by the sensors.
|
| Constructor and Description |
|---|
Hook(String name,
PlutoGWSensor lockSensor,
PlutoGWSensor unlockSensor) |
| Modifier and Type | Method and Description |
|---|---|
FcsEnumerations.LockStatus |
getLockStatus() |
String |
listSensorsValues() |
String |
toString() |
void |
updateStateWithSensors(String[] hexaValues)
This methods updates lockStatus from the values return by the sensors.
|
protected PlutoGWSensor lockSensor
protected PlutoGWSensor unlockSensor
protected final Lock lock
protected volatile boolean updatingState
public Hook(String name, PlutoGWSensor lockSensor, PlutoGWSensor unlockSensor)
public FcsEnumerations.LockStatus getLockStatus()
public void updateStateWithSensors(String[] hexaValues)
hexaValues - public String listSensorsValues()
Copyright © 2014 LSST. All Rights Reserved.