public class LoaderHook extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Lock |
lock |
protected boolean |
updatingState
This is used when we update the latch state with the values returned by
the sensors.
|
| Constructor and Description |
|---|
LoaderHook(DigitalSensor closeSensor,
DigitalSensor openSensor) |
| Modifier and Type | Method and Description |
|---|---|
FcsEnumerations.LockStatus |
getLockStatus() |
String |
toString() |
void |
updateState()
This methods updates lockStatus from the values return by the sensors.
|
protected final Lock lock
protected volatile boolean updatingState
public LoaderHook(DigitalSensor closeSensor, DigitalSensor openSensor)
public FcsEnumerations.LockStatus getLockStatus()
@Command(type=ACTION,
level=1,
description="Update state from sensors values.")
public void updateState()
Copyright © 2018 LSST. All rights reserved.