public class SftMainModule extends MainModule
bridge, haltRequired, stopRequired| Constructor and Description |
|---|
SftMainModule(BridgeToHardware bridge,
Filter dummyFilter)
Build a SftMainModule with a bridge and a filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkPreConditionsForUnlockClamps()
Check if the carousel is ready to unlock the clamps in a safe way for the filter.
|
String |
displayData() |
String |
executeSequence1()
This method is the main sequence of commands that we want to test on the
Single Filter Test.
|
String |
executeSequence1(int nb)
This method will execute nb times the Sequence1 : the parameter nb is
given by the user at the console.
|
Filter |
getDummyFilter() |
String |
goToInitialState()
Initial state for sequence1 : autochanger is in highposition and trucks
are empty carousel holds a filter and its clamps are in CLAMPEDONFILTER
state.
|
void |
initModule()
***********************************************************************************************
|
void |
locateFilter()
Read the sensors and update location of the filter and state of Carousel and Autochanger.
|
void |
start() |
String |
toString() |
void |
updateStateWithSensors()
This command updates the state of the carousel and of the autochanger in
reading the sensors.
|
controlRealHardware, getFilterNames, isCANDevicesReady, isHaltRequired, isStopRequired, listHardwareNames, listLoaderHardwareNames, postStart, signal, updateFCSStategetNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitraiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarninggetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangepublic SftMainModule(BridgeToHardware bridge, Filter dummyFilter)
bridge - dummyFilter - public Filter getDummyFilter()
public void initModule()
initModule in class MainModulepublic void start()
@Command(type=QUERY,
level=0,
description="Read the sensors and update location of the filter and state of Carousel and Autochanger.")
public void locateFilter()
FcsHardwareException@Command(type=QUERY,
level=1,
description="Check if the carousel is ready to unlock the clamps in a safe way for the filter.",
alias="checkUnlock")
public void checkPreConditionsForUnlockClamps()
FcsHardwareException@Command(type=QUERY,
level=1,
description="To display at a console the status of the hardware.")
public String displayData()
@Command(type=ACTION,
level=1,
description="Move the hardware to the initial state : ")
public String goToInitialState()
FcsHardwareException@Command(type=ACTION,
level=0,
description="The world famous sequence 1",
alias="es1")
public String executeSequence1()
FcsHardwareExceptionCanOpenException@Command(type=ACTION,
level=0,
description="The world famous sequence 1 (with number of repetitions)",
alias="es1")
public String executeSequence1(@Argument(name="nExecutions",description="Number of executions")
int nb)
nb - : number of times we want to execute the Sequence1FcsHardwareExceptionCanOpenException@Command(type=QUERY,
level=1,
description="Read the sensors and update the state of the carousel and the autochanger.")
public void updateStateWithSensors()
updateStateWithSensors in class MainModuleFcsHardwareExceptionCopyright © 2017 LSST. All rights reserved.