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

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

public class SimuLatchActuatorModule
extends LatchActuatorModule

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.subsystems.fcs.LatchActuatorModule
speedVoltageMaxValue, speedVoltageMinValue
 
Fields inherited from class org.lsst.ccs.framework.Module
environment, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
SimuLatchActuatorModule()
           
 
Method Summary
 String close()
          For the simulated latch actuator, the command close has just to update the values of the lock and unlock simulated sensors.
 String getFilterSensorsDIOName()
           
 void initModule()
           
 String open()
          For the simulated Latch Actuator the command open has to update the value of the lock and unlock sensors on the same side of the filter (Xminus or Xplus).
 String powerOff()
          Power off the latch actuator.
 void setFilterSensorsDIOName(String filterSensorsDIOName)
           
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.LatchActuatorModule
getCurrentLimitInVolt, getSpeedVoltageInVolt, getSpeedVoltageMaxValue, getSpeedVoltageMinValue, setCurrentLimitInVolt, setSpeedVoltageInVolt, setSpeedVoltageMaxValue, setSpeedVoltageMinValue
 
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

SimuLatchActuatorModule

public SimuLatchActuatorModule()
Method Detail

getFilterSensorsDIOName

public String getFilterSensorsDIOName()

setFilterSensorsDIOName

public void setFilterSensorsDIOName(String filterSensorsDIOName)

initModule

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

open

public String open()
            throws org.lsst.ccs.bus.BadCommandException,
                   org.lsst.ccs.bus.ErrorInCommandExecutionException
For the simulated Latch Actuator the command open has to update the value of the lock and unlock sensors on the same side of the filter (Xminus or Xplus).

Specified by:
open in class LatchActuatorModule
Returns:
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

close

public String close()
             throws org.lsst.ccs.bus.BadCommandException,
                    org.lsst.ccs.bus.ErrorInCommandExecutionException
For the simulated latch actuator, the command close has just to update the values of the lock and unlock simulated sensors.

Specified by:
close in class LatchActuatorModule
Returns:
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

powerOff

public String powerOff()
                throws org.lsst.ccs.bus.BadCommandException,
                       org.lsst.ccs.bus.ErrorInCommandExecutionException
Description copied from class: LatchActuatorModule
Power off the latch actuator.

Specified by:
powerOff in class LatchActuatorModule
Returns:
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException


Copyright © 2013 LSST. All Rights Reserved.