public class FakeFilterHolder extends Object implements FilterHolder, org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
FakeFilterHolder() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFilterID() |
boolean |
isAtHandoff()
For the fake autochanger there is no autochanger trucks, so the position has not a real meaning.
|
boolean |
isAtOnline()
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.
|
boolean |
isNotHoldingFilter()
Return true if the fake filter holder is holding the filter.
|
void |
postStart() |
void |
publishData()
Publish Data on status bus for trending data base and GUIs.
|
void |
start() |
void |
updateStateWithSensors()
This methods updates the field holdingFilter in reading the holding filter
sensor.
|
@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=QUERY, level=0, description="Return true if the fake autochanger is holding the filter. This command doesn\'t read again the sensor.") public boolean isNotHoldingFilter()
isNotHoldingFilter 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 FilterHolderpublic boolean isAtOnline()
isAtOnline in interface FilterHolderpublic void start()
start in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic int getFilterID()
getFilterID in interface FilterHolderCopyright © 2022 LSST. All rights reserved.