com.pentec.adaq.quickset.commands.preset
Class AddAuxToPreset

java.lang.Object
  extended by com.pentec.adaq.quickset.commands.QuickSetCommand
      extended by com.pentec.adaq.quickset.commands.preset.Preset
          extended by com.pentec.adaq.quickset.commands.preset.AddAuxToPreset

public class AddAuxToPreset
extends Preset

Author:
Pender Technology

Field Summary
private  byte bAux1
           
private  byte bAux2
           
private static byte bCmdId
           
private  byte bPreset
           
 
Fields inherited from class com.pentec.adaq.quickset.commands.QuickSetCommand
ACK, ESC, ETX, NACK, STX
 
Constructor Summary
AddAuxToPreset()
           
AddAuxToPreset(byte bPreset, byte bAux1, byte bAux2)
           
 
Method Summary
 void setAux1(byte bAux1)
           
 void setAux2(byte bAux2)
           
 void setPreset(byte bPreset)
           
 byte[] toBytes()
          Convert command into a byte array.
 
Methods inherited from class com.pentec.adaq.quickset.commands.preset.Preset
applyResponse, getAux1, getAux2, getPanCoordinate, getPreset, getTiltCoordinate
 
Methods inherited from class com.pentec.adaq.quickset.commands.QuickSetCommand
bytePairToInt, generateChecksum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bAux1

private byte bAux1

bAux2

private byte bAux2

bCmdId

private static final byte bCmdId
See Also:
Constant Field Values

bPreset

private byte bPreset
Constructor Detail

AddAuxToPreset

public AddAuxToPreset()

AddAuxToPreset

public AddAuxToPreset(byte bPreset,
                      byte bAux1,
                      byte bAux2)
Method Detail

setAux1

public void setAux1(byte bAux1)

setAux2

public void setAux2(byte bAux2)

setPreset

public void setPreset(byte bPreset)

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