org.lsst.ccs.subsystems.fcs
Class LatchActuatorModule

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

public abstract class LatchActuatorModule
extends org.lsst.ccs.framework.Module

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
 
Field Summary
 int sentSpeedMaxValue
           
 int sentSpeedMinValue
           
 
Fields inherited from class org.lsst.ccs.framework.Module
configMethods, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
LatchActuatorModule()
           
 
Method Summary
abstract  String close()
          This is the command that has to be sent to the latch actuator to close the latch it (same as lock it).
 double getCurrentLimitInVolt()
           
 int getSentSpeedMaxValue()
           
 int getSentSpeedMinValue()
           
 int getSpeedVoltageInVolt()
           
abstract  String open()
          This is the command that has to be sent to the latch actuator to open the latch (same as unlock it).
abstract  String powerOff()
          Power off the latch actuator.
 void setCurrentLimitInVolt(double currentLimitInVolt)
           
 void setSentSpeedMaxValue(int sentSpeedMaxValue)
           
 void setSentSpeedMinValue(int sentSpeedMinValue)
           
 void setSpeedVoltageInVolt(int speedVoltageInVolt)
           
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, initModule, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, 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
 

Field Detail

sentSpeedMinValue

public int sentSpeedMinValue

sentSpeedMaxValue

public int sentSpeedMaxValue
Constructor Detail

LatchActuatorModule

public LatchActuatorModule()
Method Detail

getCurrentLimitInVolt

public double getCurrentLimitInVolt()

setCurrentLimitInVolt

public void setCurrentLimitInVolt(double currentLimitInVolt)

getSpeedVoltageInVolt

public int getSpeedVoltageInVolt()

setSpeedVoltageInVolt

public void setSpeedVoltageInVolt(int speedVoltageInVolt)

getSentSpeedMaxValue

public int getSentSpeedMaxValue()

setSentSpeedMaxValue

public void setSentSpeedMaxValue(int sentSpeedMaxValue)

getSentSpeedMinValue

public int getSentSpeedMinValue()

setSentSpeedMinValue

public void setSentSpeedMinValue(int sentSpeedMinValue)

open

public abstract String open()
                     throws org.lsst.ccs.bus.BadCommandException,
                            org.lsst.ccs.bus.ErrorInCommandExecutionException
This is the command that has to be sent to the latch actuator to open the latch (same as unlock it).

Returns:
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

close

public abstract String close()
                      throws org.lsst.ccs.bus.BadCommandException,
                             org.lsst.ccs.bus.ErrorInCommandExecutionException
This is the command that has to be sent to the latch actuator to close the latch it (same as lock it).

Returns:
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

powerOff

public abstract String powerOff()
                         throws org.lsst.ccs.bus.BadCommandException,
                                org.lsst.ccs.bus.ErrorInCommandExecutionException
Power off the latch actuator.

Returns:
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException


Copyright © 2012 LSST. All Rights Reserved.