
public class FakeFilterHolder extends org.lsst.ccs.framework.Module implements FilterHolder
| Constructor and Description |
|---|
FakeFilterHolder(String plutoGatewayName,
ComplementarySensors holdingFilterSensors)
Build a FakeFilterHolder with a pluto gateway name and a couple of digital sensors.
|
FakeFilterHolder(String plutoGatewayName,
DigitalSensor holdingFilterSensor)
A constructor with with a pluto gateway name and only one filter sensor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initModule()
initialize plutoGateway
|
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.
|
getNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, setNObserverThreads, setObservables, setTickMillis, shutdownNow, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkpostInit, postShutdown, postStart, startpublic FakeFilterHolder(String plutoGatewayName, ComplementarySensors holdingFilterSensors)
plutoGatewayName - holdingFilterSensors - public FakeFilterHolder(String plutoGatewayName, DigitalSensor holdingFilterSensor)
plutoGatewayName - holdingFilterSensor - public void initModule()
initModule in class org.lsst.ccs.framework.Module@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 © 2017 LSST. All rights reserved.