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

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.ClampActuatorModule
              extended by org.lsst.ccs.subsystems.fcs.simulation.SimuClampActuatorModule
All Implemented Interfaces:
Serializable, Observer, Actuator

public class SimuClampActuatorModule
extends ClampActuatorModule

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
 
Fields inherited from class org.lsst.ccs.subsystems.fcs.ClampActuatorModule
on, readValue, sentCurrentMaxValue, sentCurrentMinValue, sentValue
 
Fields inherited from class org.lsst.ccs.framework.Module
configMethods, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
SimuClampActuatorModule()
           
 
Method Summary
 int getMotor_continuousCurrentLimit()
           
 int getMotor_maxSpeedInCurrentMode()
           
 String getMotor_mode()
           
 int getMotor_outputCurrentLimit()
           
 int getMotor_polePairNumber()
           
 int getMotor_thermalTimeConstantWinding()
           
 int getMotor_type()
           
 String getNodeID()
           
 int getPositionSensorType()
           
 int getSentValue()
           
 String getSerialNB()
           
 void initModule()
           
 String maintainCurrent()
           
 String off()
           
 String on()
           
 void tick()
           
 String toString()
           
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.ClampActuatorModule
getReadValue, getSentCurrentMaxValue, getSentCurrentMinValue, getStatusData, isOff, isOn, setSentCurrentMaxValue, setSentCurrentMinValue
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, 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, 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

SimuClampActuatorModule

public SimuClampActuatorModule()
Method Detail

initModule

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

on

public String on()
          throws org.lsst.ccs.bus.BadCommandException,
                 org.lsst.ccs.bus.ErrorInCommandExecutionException
Specified by:
on in interface Actuator
Specified by:
on in class ClampActuatorModule
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

off

public String off()
           throws org.lsst.ccs.bus.BadCommandException,
                  org.lsst.ccs.bus.ErrorInCommandExecutionException
Specified by:
off in interface Actuator
Specified by:
off in class ClampActuatorModule
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException

getSentValue

public int getSentValue()
Overrides:
getSentValue in class ClampActuatorModule

tick

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

toString

public String toString()
Overrides:
toString in class Object

getMotor_continuousCurrentLimit

public int getMotor_continuousCurrentLimit()
Specified by:
getMotor_continuousCurrentLimit in class ClampActuatorModule

getMotor_maxSpeedInCurrentMode

public int getMotor_maxSpeedInCurrentMode()
Specified by:
getMotor_maxSpeedInCurrentMode in class ClampActuatorModule

getMotor_mode

public String getMotor_mode()
Specified by:
getMotor_mode in class ClampActuatorModule

getMotor_outputCurrentLimit

public int getMotor_outputCurrentLimit()
Specified by:
getMotor_outputCurrentLimit in class ClampActuatorModule

getMotor_polePairNumber

public int getMotor_polePairNumber()
Specified by:
getMotor_polePairNumber in class ClampActuatorModule

getMotor_thermalTimeConstantWinding

public int getMotor_thermalTimeConstantWinding()
Specified by:
getMotor_thermalTimeConstantWinding in class ClampActuatorModule

getMotor_type

public int getMotor_type()
Specified by:
getMotor_type in class ClampActuatorModule

getNodeID

public String getNodeID()
Specified by:
getNodeID in class ClampActuatorModule

getPositionSensorType

public int getPositionSensorType()
Specified by:
getPositionSensorType in class ClampActuatorModule

getSerialNB

public String getSerialNB()
Specified by:
getSerialNB in class ClampActuatorModule

maintainCurrent

public String maintainCurrent()
                       throws org.lsst.ccs.bus.BadCommandException,
                              org.lsst.ccs.bus.ErrorInCommandExecutionException
Specified by:
maintainCurrent in class ClampActuatorModule
Throws:
org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.ErrorInCommandExecutionException


Copyright © 2012 LSST. All Rights Reserved.