
public class SftMain extends MainModule
bridge, haltRequired, name, stopRequired, subsalertSeparater| Constructor and Description |
|---|
SftMain(BridgeToHardware bridge)
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 |
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 |
init() |
void |
locateFilter()
Read the sensors and update location of the filter and state of Carousel and Autochanger.
|
void |
postStart()
***********************************************************************************************
|
void |
updateStateWithSensors()
This command updates the state of the carousel and of the autochanger in
reading the sensors.
|
allDevicesBooted, getAlertService, getFilterNames, getName, getSubsystem, isHaltRequired, isStopRequired, listHardwareNames, listLoaderHardwareNames, postShutdown, publishData, signal, updateFCSStateToReadyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningpublic SftMain(BridgeToHardware bridge)
bridge - public void init()
public Filter getDummyFilter()
public void postStart()
@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=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()
FcsHardwareException@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 Sequence1FcsHardwareException@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 © 2018 LSST. All rights reserved.