|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.TruckModule
public class TruckModule
A truck is a mobile part in the autochanger. It's the mechanical item which holds a filter through a latch and moves the filter from STANDBY position to STANDBACK and back. There is 2 trucks in the autochanger, one on each side of the filter. A truck move along a rail. The position of a truck is given by 2 sensors (hall effect sensor) which are located on the rails. One is at STANDBY position, the other is at STANDBACK position. The trucks are moved by a motor. They are moved together by a motor which synchronizes the motion of both trucks.
| 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 | |
|---|---|
protected NumericSensor |
railSensorStandback
A effect Hall sensor which says if the truck is at standback position or not. |
protected NumericSensor |
railSensorStandby
A effect Hall sensor which says if the truck is at standby position or not. |
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
environment, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
TruckModule()
|
|
| Method Summary | |
|---|---|
NumericSensor |
getRailSensorStandback()
|
NumericSensor |
getRailSensorStandby()
|
FcsEnumerations.AutoChangerTrucksLocation |
getTruckLocation()
This method returns the truck position (an ENUM). |
void |
initModule()
|
void |
setRailSensorStandback(NumericSensor railSensorStandback)
|
void |
setRailSensorStandby(NumericSensor railSensorStandby)
|
void |
updateLocation(String hexaValueOfInputs)
This methods updates the field truckLocation in parsing the values of the 8 channels of the DIO device. |
| 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 |
| Field Detail |
|---|
protected NumericSensor railSensorStandback
protected NumericSensor railSensorStandby
| Constructor Detail |
|---|
public TruckModule()
| Method Detail |
|---|
public NumericSensor getRailSensorStandback()
public void setRailSensorStandback(NumericSensor railSensorStandback)
public NumericSensor getRailSensorStandby()
public void setRailSensorStandby(NumericSensor railSensorStandby)
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic FcsEnumerations.AutoChangerTrucksLocation getTruckLocation()
public void updateLocation(String hexaValueOfInputs)
throws org.lsst.ccs.bus.ErrorInCommandExecutionException
channels -
org.lsst.ccs.bus.ErrorInCommandExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||