com.pentec.adaq.quickset.commands.parameters
Class SoftLimit
java.lang.Object
com.pentec.adaq.quickset.commands.QuickSetCommand
com.pentec.adaq.quickset.commands.parameters.SoftLimit
- Direct Known Subclasses:
- GetSoftLimit, SetSoftLimit
abstract class SoftLimit
- extends QuickSetCommand
- Author:
- Pender Technology
|
Method Summary |
void |
applyResponse(byte[] abResponseData)
Apply QuickSet response to update internal data. |
int |
getSoftLimit()
|
void |
setAxis(byte bAxis)
|
byte[] |
toBytes()
Convert command into a byte array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AXIS_CLOCKWISE
public static final byte AXIS_CLOCKWISE
- See Also:
- Constant Field Values
AXIS_COUNTERCLOCKWISE
public static final byte AXIS_COUNTERCLOCKWISE
- See Also:
- Constant Field Values
AXIS_DOWN
public static final byte AXIS_DOWN
- See Also:
- Constant Field Values
AXIS_UP
public static final byte AXIS_UP
- See Also:
- Constant Field Values
bAxis
private byte bAxis
bCmdId
private final byte bCmdId
iSoftLimit
private int iSoftLimit
SoftLimit
public SoftLimit(byte bCmdId)
SoftLimit
public SoftLimit(byte bCmdId,
byte bAxis)
applyResponse
public void applyResponse(byte[] abResponseData)
- Description copied from class:
QuickSetCommand
- Apply QuickSet response to update internal data. Escapes for control
characters have already been removed.
- Specified by:
applyResponse in class QuickSetCommand
getSoftLimit
public int getSoftLimit()
setAxis
public void setAxis(byte bAxis)
toBytes
public byte[] toBytes()
- Description copied from class:
QuickSetCommand
- Convert command into a byte array. The checksum should already be in
place, but control character escapes should not yet be applied.
- Specified by:
toBytes in class QuickSetCommand