public class AutochangerThreeOnlineClamps extends MobileItemModule
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
updatingState |
currentAction, FCSLOG, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, stopRequired| Constructor and Description |
|---|
AutochangerThreeOnlineClamps(AutochangerOnlineClampModule onlineClampXminus,
AutochangerOnlineClampModule onlineClampXplus,
AutochangerOnlineClampModule onlineClampY)
Create a AutochangerThreeOnlineClamps with 3 AutochangerOnlineClampModule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abortAction(FcsEnumerations.MobileItemAction action,
long delay) |
StatusDataPublishedByAutochangerThreeClamps |
createStatusDataPublishedByThreeClamps() |
FcsEnumerations.LockStatus |
getLockStatus()
Return lockStatus
If lockStatus is being updated, wait until update completion else return immediately lockStatus.
|
StatusDataPublishedByAutochangerThreeClamps |
getStatusData() |
void |
initModule() |
boolean |
isActionCompleted(FcsEnumerations.MobileItemAction action) |
boolean |
isCANDevicesReady()
Return true if the 3 onlineClamps hardware is ready.
|
boolean |
isInError()
Returns true if LockStatus=ERROR
|
boolean |
isInitialized()
Return true if the 3 onlineClamps hardware is initialized.
|
boolean |
isLocked()
Returns true if LockStatus=LOCKED
|
boolean |
isUnlocked()
Returns true if LockStatus=UNLOCKED
|
String |
lockClamps()
Lock the online clamps.
|
void |
postAction(FcsEnumerations.MobileItemAction action) |
void |
publishData() |
void |
quickStopAction(FcsEnumerations.MobileItemAction action,
long delay) |
void |
startAction(FcsEnumerations.MobileItemAction action) |
String |
unlockClamps()
Unlock the online clamps.
|
void |
updateStateWithSensors()
This methods updates the whole autochanger state in reading all the
sensors.
|
void |
updateStateWithSensors(String[] hexaValues)
This methods updates lockStatus from the values return by the sensors.
|
void |
updateStateWithSensorsToCheckIfActionIsCompleted() |
abort, abort, checkHardware, checkStarted, checkStopped, executeAction, getHaltRequired, isMoving, quickstop, readSensorsUntilActionIsCompleted, shutdownNow, signal, stop, stopgetNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitraiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarninggetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic AutochangerThreeOnlineClamps(AutochangerOnlineClampModule onlineClampXminus, AutochangerOnlineClampModule onlineClampXplus, AutochangerOnlineClampModule onlineClampY)
onlineClampXminus - onlineClampXplus - onlineClampY - public FcsEnumerations.LockStatus getLockStatus()
@Command(type=QUERY,
level=1,
description="Returns true if LockStatus=LOCKED")
public boolean isLocked()
@Command(type=QUERY,
level=1,
description="Returns true if LockStatus=UNLOCKED")
public boolean isUnlocked()
@Command(type=QUERY,
level=1,
description="Returns true if LockStatus=ERROR")
public boolean isInError()
public void initModule()
initModule in class MobileItemModule@Command(type=QUERY,
level=0,
description="Return true if the 3 onlineClamps hardware is ready : controllers ready, controllers parameters checked and controllers configured.")
public boolean isInitialized()
@Command(type=ACTION,
level=0,
description="Lock the online clamps.")
public String lockClamps()
FcsHardwareException@Command(type=ACTION,
level=0,
description="Unlock the online clamps.")
public String unlockClamps()
FcsHardwareException@Command(type=QUERY,
level=0,
description="Return true if the 3 onlineClamps hardware is ready.")
public boolean isCANDevicesReady()
isCANDevicesReady in class MobileItemModulepublic boolean isActionCompleted(FcsEnumerations.MobileItemAction action)
isActionCompleted in class MobileItemModulepublic void updateStateWithSensorsToCheckIfActionIsCompleted()
updateStateWithSensorsToCheckIfActionIsCompleted in class MobileItemModulepublic void startAction(FcsEnumerations.MobileItemAction action)
startAction in class MobileItemModulepublic void abortAction(FcsEnumerations.MobileItemAction action, long delay)
abortAction in class MobileItemModulepublic void quickStopAction(FcsEnumerations.MobileItemAction action, long delay)
quickStopAction in class MobileItemModulepublic void postAction(FcsEnumerations.MobileItemAction action)
postAction in class MobileItemModulepublic StatusDataPublishedByAutochangerThreeClamps getStatusData()
public StatusDataPublishedByAutochangerThreeClamps createStatusDataPublishedByThreeClamps()
public void publishData()
publishData in class MobileItemModule@Command(type=ACTION,
level=1,
description="Update autochanger state in reading sensors.")
public void updateStateWithSensors()
FcsHardwareException@Command(type=ACTION,
level=1,
description="Update state in reading sensors.")
public void updateStateWithSensors(String[] hexaValues)
hexaValues - Copyright © 2016 LSST. All rights reserved.