
public class FakeFilterHolder extends Object implements FilterHolder
| Constructor and Description |
|---|
FakeFilterHolder(PlutoGatewayInterface plutoGateway,
BinarySensor holdingFilterSensor)
Build a FakeFilterHolder with a pluto gateway name and a couple of digital sensors.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAtHandoff()
For the fake autochanger there is no autochanger trucks, so the position has not a real meaning.
|
boolean |
isAtStandby()
For the fake autochanger there is no autochanger trucks, so the position has not a real meaning.
|
boolean |
isHoldingFilter()
Return true if the fake filter holder is holding the filter.
|
void |
publishData()
Publish Data on status bus for trending data base and GUIs.
|
void |
updateStateWithSensors()
This methods updates the field holdingFilter in reading the holding filter sensor.
|
public FakeFilterHolder(PlutoGatewayInterface plutoGateway, BinarySensor holdingFilterSensor)
plutoGateway - holdingFilterSensor - @Command(type=QUERY, level=0, description="Return true if the fake autochanger is holding the filter. This command doesn\'t read again the sensor.") public boolean isHoldingFilter()
isHoldingFilter in interface FilterHolder@Command(type=ACTION, level=1, description="Update clamp state in reading sensors.") public void updateStateWithSensors()
updateStateWithSensors in interface FilterHolderFcsHardwareExceptionpublic void publishData()
public boolean isAtHandoff()
isAtHandoff in interface FilterHolderpublic boolean isAtStandby()
isAtStandby in interface FilterHolderCopyright © 2018 LSST. All rights reserved.