org.lsst.ccs.subsystems.fcs.simulation
Class SimuTruckMotorModule

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.singlefiltertest.SftTruckMotor
              extended by org.lsst.ccs.subsystems.fcs.simulation.SimuTruckMotorModule
All Implemented Interfaces:
Serializable, Observer, org.lsst.ccs.framework.Configurable

public class SimuTruckMotorModule
extends SftTruckMotor

To simulate a motor which moves a truck in the autochanger.

Author:
virieux
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module
org.lsst.ccs.framework.Module.ValueUpdate
 
Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable
org.lsst.ccs.framework.Configurable.Environment
 
Field Summary
 
Fields inherited from class org.lsst.ccs.framework.Module
environment, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
SimuTruckMotorModule()
           
 
Method Summary
 void initModule()
           
 String moveToStandback()
           
 String moveToStandby()
          The method moveToStandby for the simulated trucks motor updates the rails sensors and the filter presence sensor in the latches.
 String off()
           
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.singlefiltertest.SftTruckMotor
isMovingToStandback, isMovingToStandby, setMovingToStandback, setMovingToStandby
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, 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, toString, wait, wait, wait
 

Constructor Detail

SimuTruckMotorModule

public SimuTruckMotorModule()
Method Detail

initModule

public void initModule()
Overrides:
initModule in class org.lsst.ccs.framework.Module

moveToStandback

public String moveToStandback()
                       throws CanOpenError
Specified by:
moveToStandback in class SftTruckMotor
Throws:
CanOpenError

moveToStandby

public String moveToStandby()
                     throws CanOpenError
The method moveToStandby for the simulated trucks motor updates the rails sensors and the filter presence sensor in the latches.

Specified by:
moveToStandby in class SftTruckMotor
Returns:
Throws:
CanOpenError

off

public String off()
           throws CanOpenError
Specified by:
off in class SftTruckMotor
Throws:
CanOpenError


Copyright © 2013 LSST. All Rights Reserved.