org.lsst.ccs.subsystems.fcs
Class AutoChangerModule

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.BasicAutoChangerModule
              extended by org.lsst.ccs.subsystems.fcs.AutoChangerModule
All Implemented Interfaces:
java.io.Serializable, java.util.Observer, AutoChanger

public class AutoChangerModule
extends BasicAutoChangerModule

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module
org.lsst.ccs.framework.Module.ValueUpdate
 
Field Summary
 
Fields inherited from class org.lsst.ccs.subsystems.fcs.BasicAutoChangerModule
publishedByAutoChangerOutputName
 
Fields inherited from class org.lsst.ccs.framework.Module
log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
AutoChangerModule()
           
 
Method Summary
 java.lang.String closeFliprail()
           
 java.lang.String closeOnlineClamp()
          when a filter is at online position it is locked by a clamp.
 FlipRailModule getFliprail()
           
 FlipRailState getFlipRailState()
           
 Latch getOnlineClamp()
           
 StatusDataPublishedByAutoChanger getStatusData()
           
 void initPublishedData()
           
 java.lang.String openFliprail()
           
 java.lang.String openOnlineClamp()
          when a filter is at online position it is locked by a clamp.
 void setFliprail(FlipRailModule fliprail)
           
 void setOnlineClamp(Latch onlineClamp)
           
 void updatePublishedDataAndNotifyObservers()
           
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.BasicAutoChangerModule
getFilterOnline, getFilterOnlineName, getFilterOnTrucks, getFilterOnTrucksName, getMotor, getStandbyLatch, getTrucksPosition, getTrucksPositionAtStandby, getTrucksPositionOnline, getTrucksPositionSwapout, goToPosition, grabbeFilterAtStandby, initModule, isEmpty, isMoving, locateTrucks, lockLatchStandby, moveFilterToOnline, moveFilterToStandby, processUpdate, setEmpty, setFilterOnTrucks, setMotor, setStandbyLatch, setTrucksPositionAtStandby, setTrucksPositionOnline, setTrucksPositionSwapout, stop, toString, unGrabbeFilterAtStandby, unlockLatchStandby
 
Methods inherited from class org.lsst.ccs.framework.Module
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, start, tick, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoChangerModule

public AutoChangerModule()
Method Detail

getStatusData

public StatusDataPublishedByAutoChanger getStatusData()
Overrides:
getStatusData in class BasicAutoChangerModule

initPublishedData

public void initPublishedData()
Specified by:
initPublishedData in interface AutoChanger
Overrides:
initPublishedData in class BasicAutoChangerModule

closeOnlineClamp

public java.lang.String closeOnlineClamp()
                                  throws org.lsst.ccs.bus.ErrorInCommandExecutionException
when a filter is at online position it is locked by a clamp. when the clamp is closed, the filter is hold at online position.

Specified by:
closeOnlineClamp in class BasicAutoChangerModule
Throws:
org.lsst.ccs.bus.ErrorInCommandExecutionException

openOnlineClamp

public java.lang.String openOnlineClamp()
                                 throws org.lsst.ccs.bus.ErrorInCommandExecutionException
when a filter is at online position it is locked by a clamp. when the clamp is open, the filter is not hold at online position, so the autochanger can move the filter back to standby position.

Specified by:
openOnlineClamp in class BasicAutoChangerModule
Throws:
org.lsst.ccs.bus.ErrorInCommandExecutionException

openFliprail

public java.lang.String openFliprail()
                              throws org.lsst.ccs.bus.ErrorInCommandExecutionException,
                                     org.lsst.ccs.bus.BadCommandException
Specified by:
openFliprail in class BasicAutoChangerModule
Throws:
org.lsst.ccs.bus.ErrorInCommandExecutionException
org.lsst.ccs.bus.BadCommandException

closeFliprail

public java.lang.String closeFliprail()
                               throws org.lsst.ccs.bus.ErrorInCommandExecutionException
Specified by:
closeFliprail in class BasicAutoChangerModule
Throws:
org.lsst.ccs.bus.ErrorInCommandExecutionException

getOnlineClamp

public Latch getOnlineClamp()

setOnlineClamp

public void setOnlineClamp(Latch onlineClamp)

getFliprail

public FlipRailModule getFliprail()

getFlipRailState

public FlipRailState getFlipRailState()

setFliprail

public void setFliprail(FlipRailModule fliprail)
Parameters:
fliprail - the fliprail to set

updatePublishedDataAndNotifyObservers

public void updatePublishedDataAndNotifyObservers()
Overrides:
updatePublishedDataAndNotifyObservers in class BasicAutoChangerModule


Copyright © 2011 LSST. All Rights Reserved.