public interface Actions
| Modifier and Type | Method and Description |
|---|---|
void |
cancelSyncTimer()
Cancels the sync timer if it's still running.
|
boolean |
isBadExposureTime(Duration exposureTime)
Determines whether the exposure time has an invalid value, for example, it's below
the minimum.
|
void |
lowerSyncAlert()
Sets the severity of the SYNC alert to NOMINAL so that it may be cleared.
|
boolean |
makeFullContact()
Widens the link to the shutter controller, allowing the full exchange
of all message types.
|
boolean |
makePartialContact()
Makes a link to the shutter controller, just enough to sent rest messages
and receive shutter status messages.
|
void |
raiseSyncAlert()
Changes the severity of the SYNC alert to ALARM.
|
boolean |
readyForCalibration()
Determines if the shutter is ready for calibration.
|
void |
relay(MsgToPLC eventMsg)
Relays an event to the PLC via the given message instance.
|
void |
resetPLC()
Sends a reset() event to the PLC.
|
void |
saveCalib(CalibDone cal)
Saves the calibration data to a filesystem on the CCS network.
|
void |
sendProfile(MotionDone mot)
Sends the motion profile out on the CCS status bus.
|
void |
setPhysicalState(PhysicalState newBstate)
Sets the state the appears in the subsystems state bundle.
|
boolean |
shutterIsReady()
Determines if the shutter is ready for production data-taking.
|
void |
startFirstCentering()
Sends an event to the PLC that will start it moving one of the blade sets to its center position.
|
void |
startSecondCentering()
Sends an event to the PLC that will start it moving the second blade set to be centered, which is the
one that wasn't moved by
startFirstCentering(). |
void |
startSyncTimer()
Starts a timer which will generate a
syncYimeout() when it expires. |
void |
terminateContact()
Close any connection we may have to the shutter controller and stop decoding any messages
we have already received.
|
void cancelSyncTimer()
startSyncTimer()boolean isBadExposureTime(Duration exposureTime)
exposureTime - The time to check.void lowerSyncAlert()
boolean makePartialContact()
boolean makeFullContact()
void setPhysicalState(PhysicalState newBstate)
newBstate - The new state value.void raiseSyncAlert()
boolean readyForCalibration()
void resetPLC()
void relay(MsgToPLC eventMsg)
void saveCalib(CalibDone cal)
void sendProfile(MotionDone mot)
void startFirstCentering()
startSecondCentering()void startSecondCentering()
startFirstCentering().startFirstCentering()boolean shutterIsReady()
void startSyncTimer()
syncYimeout() when it expires.cancelSyncTimer()void terminateContact()
Copyright © 2019 LSST. All rights reserved.