public class AutochangerThreeOnlineClamps extends MobileItemModule
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
updatingState |
currentAction, FCSLOG, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, scheduler, 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()
Creates an object to be published on the status bus.
|
FcsEnumerations.LockStatus |
getLockStatus()
Return lockStatus
If lockStatus is being updated, wait until update completion else return immediately lockStatus.
|
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
|
void |
lockClamps()
Lock the online clamps.
|
void |
postAction(FcsEnumerations.MobileItemAction action) |
void |
publishData() |
void |
quickStopAction(FcsEnumerations.MobileItemAction action,
long delay) |
void |
startAction(FcsEnumerations.MobileItemAction action) |
void |
testCloseClamps()
Closes the 3 clamps with a small pressure.
|
void |
testLockClamps()
Lock the 3 online clamps progressively.
|
void |
testOpenClamps()
Opens the 3 clamps with a small pressure.
|
void |
testUnlockClamps()
To Unlock 3 clamps.
|
void |
unlockClamps()
Unlock the online clamps.
|
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, raiseAlarm, raiseWarning, 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 the 3 clamps are CLOSED.")
public boolean isLocked()
@Command(type=QUERY,
level=1,
description="Returns true if the 3 clamps are OPENED.")
public boolean isUnlocked()
@Command(type=QUERY,
level=1,
description="Returns true if one of the clamp is in 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 void lockClamps()
FcsHardwareException@Command(type=ACTION,
level=0,
description="Unlock the online clamps.")
public void unlockClamps()
FcsHardwareException@Command(type=ACTION,
level=1,
description="Unlock the 3 online clamps.")
public void testUnlockClamps()
throws org.lsst.ccs.HardwareException
org.lsst.ccs.HardwareException@Command(type=ACTION,
level=1,
description="Open the 3 online clamps.")
public void testLockClamps()
throws org.lsst.ccs.HardwareException
org.lsst.ccs.HardwareException@Command(type=ACTION,
level=1,
description="Close the 3 online clamps.")
public void testCloseClamps()
throws org.lsst.ccs.HardwareException
org.lsst.ccs.HardwareException@Command(type=ACTION,
level=1,
description="Opens the 3 online clamps with a small pressure.")
public void testOpenClamps()
throws org.lsst.ccs.HardwareException
org.lsst.ccs.HardwareException@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 createStatusDataPublishedByThreeClamps()
public void publishData()
publishData in class MobileItemModule@Command(type=ACTION,
level=1,
description="Update state in reading sensors.")
public void updateStateWithSensors(String[] hexaValues)
hexaValues - Copyright © 2016 LSST. All rights reserved.