public class AutochangerMainModule extends MainModule
bridge, haltRequired, stopRequired| Constructor and Description |
|---|
AutochangerMainModule(BridgeToHardware bridge,
AutoChangerModule autochanger,
InclinometerModule inclinometer)
Build a AutochangerMainModule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initModule() |
double |
readInclinaison()
Update inclinaison value in reading the inclinometer, and returns the new value.
|
void |
updateFCSState()
Check that Autochanger hardware is ready to be operated and moved.
|
void |
updateStateWithSensors()
Update autochanger state in reading the sensors.
|
controlRealHardware, getFilterNames, isCANDevicesReady, isHaltRequired, isStopRequired, listHardwareNames, listLoaderHardwareNames, postStart, signalgetNObserverThreads, 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, toString, wait, wait, waitraiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarninggetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic AutochangerMainModule(BridgeToHardware bridge, AutoChangerModule autochanger, InclinometerModule inclinometer)
bridge - autochanger - inclinometer - public void initModule()
initModule in class MainModule@Command(type=QUERY,
level=0,
description="Update inclinaison value in reading the inclinometer,and returns the new value.")
public double readInclinaison()
FcsHardwareException@Command(type=QUERY,
level=0,
description="Update autochanger state in reading the sensors.")
public void updateStateWithSensors()
updateStateWithSensors in class MainModuleFcsHardwareException@Command(type=ACTION,
level=1,
description="Update FCS state and FCS readyness state and publishes on the status bus.")
public void updateFCSState()
updateFCSState in class MainModuleCopyright © 2016 LSST. All rights reserved.