
public final class ShutterStatus extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ShutterStatus.AxisStatus
Holds the status report for a single axis in a
ShutterStatus message. |
| Constructor and Description |
|---|
ShutterStatus(int motionProfile,
boolean isCalibrated,
int smState,
Map<ShutterSide,ShutterStatus.AxisStatus> axes)
Constructs from scratch.
|
| Modifier and Type | Method and Description |
|---|---|
ShutterStatus.AxisStatus |
getAxisStatus(ShutterSide side)
Gets the status info for one of the blade set axes.
|
int |
getMotionProfile()
Gets the motion profile in use
|
int |
getSmState()
Gets the current state for the shutter controller's state machine.
|
boolean |
isCalibrated()
Is a good calibration in effect?
|
String |
toString()
Creates a string of the format 'ShutterStatus{fieldName=value, ..., axstatus[PLUSX]=
AxisStatus{...}, axstatus[MINUSX]=AxisStatus{...}}'.
|
public ShutterStatus(int motionProfile,
boolean isCalibrated,
int smState,
Map<ShutterSide,ShutterStatus.AxisStatus> axes)
motionProfile - The index number of the motion profile in effect.isCalibrated - Is the shutter properly calibrated?smState - The current state of the PLC state machine.axes - The source of the AxisStatus values to be stored in this message.public int getMotionProfile()
public boolean isCalibrated()
public int getSmState()
public ShutterStatus.AxisStatus getAxisStatus(ShutterSide side)
side - The side whose status info is wanted.AxisStatus object for the given blade set.Copyright © 2019 LSST. All rights reserved.