
public class TruckModule
extends org.lsst.ccs.framework.Module
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
fcslog |
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.
|
| Constructor and Description |
|---|
TruckModule(String aName,
int aTickMillis,
NumericSensor railSensorStandback,
NumericSensor railSensorStandby) |
| Modifier and Type | Method and Description |
|---|---|
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) |
String |
toString() |
void |
updateLocation(String hexaValueOfInputs)
This methods updates the field truckLocation in parsing the values of the 8 channels of the DIO device.
|
alias, getComponentDictionariesTree, getComponentTree, getContext, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, sendSignal, sendSignal, sendSignalWithTimeLimit, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getDictionary, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, proceduralWalk, publish, publish, publish, publish, publish, publish, start, treeWalkprotected static final Logger fcslog
protected NumericSensor railSensorStandback
protected NumericSensor railSensorStandby
public TruckModule(String aName, int aTickMillis, NumericSensor railSensorStandback, NumericSensor railSensorStandby)
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
hexaValueOfInputs - org.lsst.ccs.bus.ErrorInCommandExecutionExceptionCopyright © 2015 LSST. All rights reserved.