
public class ShutterStatusPLC extends MsgToCCS
ShutterStatus internally.ShutterStatusMESSAGE_SET_VERSION| Constructor and Description |
|---|
ShutterStatusPLC(ByteBuffer data)
Reads and converts the PLC form of the message.
|
ShutterStatusPLC(int sequence,
ShutterStatus status)
Constructs from a sequence number and a
ShutterStatus value. |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuffer data)
Puts the sequence number into a data buffer.
|
ShutterStatus.AxisStatus |
getAxisStatus(Axis ax)
Forwarded to the internal
ShutterStatus instance. |
int |
getMotionProfile()
Forwarded to the internal
ShutterStatus instance. |
int |
getSmState()
Forwarded to the internal
ShutterStatus instance. |
ShutterStatus |
getStatusBusMessage()
Gets the object that can be transmitted on the CCS status bus.
|
boolean |
isCalibrated()
Forwarded to the internal
ShutterStatus instance. |
String |
toString()
Converts the message to a readable string.
|
getVersion, messageVersionIsBadpublic ShutterStatusPLC(int sequence,
ShutterStatus status)
ShutterStatus value.sequence - A message sequence number.status - A ShutterStatus valueShutterStatuspublic ShutterStatusPLC(ByteBuffer data)
data - Holds the PLC message data.public void encode(ByteBuffer data)
MsgToCCSpublic ShutterStatus getStatusBusMessage()
ShutterStatus.public int getMotionProfile()
ShutterStatus instance.public boolean isCalibrated()
ShutterStatus instance.public int getSmState()
ShutterStatus instance.public ShutterStatus.AxisStatus getAxisStatus(Axis ax)
ShutterStatus instance.public String toString()
PLCMsgtoString in class MsgToCCSCopyright © 2019 LSST. All rights reserved.