public class FakeFilterHolder extends org.lsst.ccs.framework.Module implements FilterHolder
| Constructor and Description |
|---|
FakeFilterHolder(String plutoGatewayName,
NumericSensor holdingFilterSensor)
A constructor with only one filter
|
FakeFilterHolder(String plutoGatewayName,
NumericSensor holdingFilterSensor0,
NumericSensor holdingFilterSensor1)
Build a FakeFilterHolder with a pluto gateway name and a numeric 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, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, 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, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic FakeFilterHolder(String plutoGatewayName, NumericSensor holdingFilterSensor0, NumericSensor holdingFilterSensor1)
plutoGatewayName - holdingFilterSensor0 - holdingFilterSensor1 - public FakeFilterHolder(String plutoGatewayName, NumericSensor 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 © 2016 LSST. All rights reserved.