
public class ShutterStatus extends PLCMsg implements Serializable
MESSAGE_SET_VERSION| Constructor and Description |
|---|
ShutterStatus(ByteBuffer data)
Reads and converts the PLC form of the message.
|
ShutterStatus(int motionProfile,
boolean isCalibrated,
int smState,
Supplier<AxisStatus> axes)
Constructs from scratch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuffer data)
Converts the message fields to PLC form and appends them to a byte buffer.
|
AxisStatus |
getAxisStatus(Axis ax) |
int |
getMotionProfile() |
int |
getSmState() |
boolean |
isCalibrated() |
String |
toString()
Converts the message to a readable string.
|
getVersionpublic ShutterStatus(int motionProfile,
boolean isCalibrated,
int smState,
Supplier<AxisStatus> axes)
public ShutterStatus(ByteBuffer data)
data - Holds the PLC message data.public void encode(ByteBuffer data)
PLCMsgpublic int getMotionProfile()
public boolean isCalibrated()
public int getSmState()
public AxisStatus getAxisStatus(Axis ax)
public String toString()
PLCMsgtoString in class PLCMsgCopyright © 2019 LSST. All rights reserved.