com.pentec.adaq.quickset.commands.preset
Class SetPresetEntry
java.lang.Object
com.pentec.adaq.quickset.commands.QuickSetCommand
com.pentec.adaq.quickset.commands.preset.Preset
com.pentec.adaq.quickset.commands.preset.SetPresetEntry
public class SetPresetEntry
- extends Preset
- Author:
- Pender Technology
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bAux1
private byte bAux1
bAux2
private byte bAux2
bCmdId
private static final byte bCmdId
- See Also:
- Constant Field Values
bPreset
private byte bPreset
iPanCoordinate
private int iPanCoordinate
iTiltCoordinate
private int iTiltCoordinate
SetPresetEntry
public SetPresetEntry()
SetPresetEntry
public SetPresetEntry(byte bPreset,
int iPanCoordinate,
int iTiltCoordinate)
SetPresetEntry
public SetPresetEntry(byte bPreset,
int iPanCoordinate,
int iTiltCoordinate,
byte bAux1,
byte bAux2)
setAux1
public void setAux1(byte bAux1)
setAux2
public void setAux2(byte bAux2)
setCoordinates
public void setCoordinates(int iPanCoordinate,
int iTiltCoordinate)
setPanCoordinate
public void setPanCoordinate(int iPanCoordinate)
setPreset
public void setPreset(byte bPreset)
setTiltCoordinate
public void setTiltCoordinate(int iTiltCoordinate)
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