public class AutoChangerModule
extends org.lsst.ccs.framework.Module
implements org.lsst.ccs.framework.HardwareController
| Constructor and Description |
|---|
AutoChangerModule(String name,
int tickMillis,
String plutoGatewayName,
NumericSensor loaderConnectedSensor0,
NumericSensor loaderConnectedSensor1,
AutoChangerTrucksModule trucks,
AutochangerTwoLatches latches,
AutochangerThreeOnlineClamps onlineClamps) |
alias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic AutoChangerModule(String name, int tickMillis, String plutoGatewayName, NumericSensor loaderConnectedSensor0, NumericSensor loaderConnectedSensor1, AutoChangerTrucksModule trucks, AutochangerTwoLatches latches, AutochangerThreeOnlineClamps onlineClamps)
public NumericSensor getLoaderConnectedSensor0()
public NumericSensor getLoaderConnectedSensor1()
@Command(type=QUERY,
level=1,
description="Return false if the 2 redondant loader sensors are equal.")
public boolean isLoaderConnectedSensorsInError()
public int getHandoffPosition()
public int getOnlinePosition()
public int getStandbyPosition()
public AutochangerTwoLatches getLatches()
public AutoChangerTrucksModule getTrucks()
public AutochangerThreeOnlineClamps getOnlineClamps()
public PlutoGatewayModule getPlutoGateway()
@Command(type=QUERY,
level=0,
description="Return true if the loader is connected to the camera. This command doesn\'t read again the sensors.")
public boolean isLoaderConnected()
public boolean isCarouselHoldingFilterAtStandby()
throws FcsHardwareException
FcsHardwareExceptionpublic void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=QUERY,
level=0,
description="Return true if all autochanger hardware is initialized and bridge is hardwareReady.")
public boolean isHardwareReady()
@Command(type=QUERY,
level=0,
description="Return true if all autochanger hardware is initialized.")
public boolean isInitialized()
public org.lsst.ccs.framework.TreeWalkerDiag checkHardware()
throws org.lsst.ccs.HardwareException
checkHardware in interface org.lsst.ccs.framework.HardwareControllerorg.lsst.ccs.HardwareExceptionpublic void checkStarted()
throws org.lsst.ccs.HardwareException
checkStarted in interface org.lsst.ccs.framework.HardwareControllerorg.lsst.ccs.HardwareExceptionpublic void checkStopped()
throws org.lsst.ccs.HardwareException
checkStopped in interface org.lsst.ccs.framework.HardwareControllerorg.lsst.ccs.HardwareException@Command(type=QUERY,
level=1,
description="Check if the latches can be opened.")
public boolean checkPreConditionsForOpeningLatches()
throws SDORequestException,
org.lsst.ccs.messaging.BadCommandException,
FcsHardwareException,
org.lsst.ccs.messaging.ErrorInCommandExecutionException
SDORequestExceptionorg.lsst.ccs.messaging.BadCommandExceptionFcsHardwareExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionException@Command(type=QUERY,
level=1,
description="Check if the latches can be closed.")
public boolean checkPreConditionsForClosingLatches()
throws FcsHardwareException,
org.lsst.ccs.messaging.BadCommandException
FcsHardwareExceptionorg.lsst.ccs.messaging.BadCommandException@Command(type=ACTION,
level=1,
description="Update clamp state in reading sensors.")
public void updateStateWithSensors()
throws FcsHardwareException
FcsHardwareExceptionpublic void tick()
tick in class org.lsst.ccs.framework.Modulepublic StatusDataPublishedByAutoChanger getStatusData()
public void publishData()
Copyright © 2015 LSST. All rights reserved.