public class ChangeBrakeState extends MsgToPLC
| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeBrakeState.State
Possible brake states.
|
subsystemUUIDMESSAGE_SET_VERSION| Constructor and Description |
|---|
ChangeBrakeState(Axis axis,
ChangeBrakeState.State state)
Constructs from the field values.
|
ChangeBrakeState(ByteBuffer data)
Reads and converts the PLC form of the message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuffer data)
Converts the message fields to PLC form and appends them to a byte buffer.
|
String |
toString()
Converts the message to a readable string.
|
hasSameIdentgetVersion, messageVersionIsBadpublic ChangeBrakeState(Axis axis, ChangeBrakeState.State state)
axis - Identifies the axis.state - The desired brake state.public ChangeBrakeState(ByteBuffer data)
data - The PLC message data buffer.public void encode(ByteBuffer data)
PLCMsgpublic String toString()
PLCMsgtoString in class MsgToPLCCopyright © 2019 LSST. All rights reserved.