com.pentec.adaq.quickset.commands.tour
Class AppendPresetToTour
java.lang.Object
com.pentec.adaq.quickset.commands.QuickSetCommand
com.pentec.adaq.quickset.commands.tour.AppendPresetToTour
- All Implemented Interfaces:
- TourConstants
public class AppendPresetToTour
- extends QuickSetCommand
- implements TourConstants
- Author:
- Pender Technology
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bCmdId
private static final byte bCmdId
- See Also:
- Constant Field Values
bPreset
private byte bPreset
bStep
private byte bStep
bTour
private byte bTour
isFull
private boolean isFull
iWaitTime
private int iWaitTime
AppendPresetToTour
public AppendPresetToTour()
AppendPresetToTour
public AppendPresetToTour(byte bTour,
byte bPreset,
int iWaitTime)
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
getStep
public byte getStep()
isFull
public boolean isFull()
setPreset
public void setPreset(byte bPreset)
setTour
public void setTour(byte bTour)
setWaitTime
public void setWaitTime(int iWaitTime)
toBytes
public byte[] toBytes()
- 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