tuwien.auto.eibxlator
Class PointPDUXlator_Boolean
public class PointPDUXlator_Boolean
This class implements the KNX DPT 1 Application Layer service type BOOLEAN.
The ASDU is encoded in the lower nibble of the second APDU byte.
DPT_ALARM
public static final String[] DPT_ALARM
Nr. 1.005 Data Point Type Alarm; Vaues no alarm, alarm
DPT_BINARYVALUE
public static final String[] DPT_BINARYVALUE
Nr. 1.006 Data Point Type Binary Value; Values low, high
DPT_BOOL
public static final String[] DPT_BOOL
Nr. 1.002 Data Point Type Boolean; Values false true;
DPT_DIMSENDSTYLE
public static final String[] DPT_DIMSENDSTYLE
Nr. 1.013 Data Point Type DimSendStyle;Values Start/Stop,Cyclic
DPT_ENABLE
public static final String[] DPT_ENABLE
Nr. 1.003 Data Point Type Enable; Values enable disable;
DPT_INPUTSOURCE
public static final String[] DPT_INPUTSOURCE
Nr. 1.014 Data Point Type InputSource; Values Fixed,Calculated
DPT_INVERT
public static final String[] DPT_INVERT
Nr. 1.012 Data Point Type Invert; Values inverted, not inverted
DPT_OPENCLOSE
public static final String[] DPT_OPENCLOSE
Nr. 1.009 Data Point Type OpenClose; Values open close
DPT_RAMP
public static final String[] DPT_RAMP
Nr. 1.004 Data Point Type Ramp; Values no ramp, ramp
DPT_START
public static final String[] DPT_START
Nr. 1.010 Data Point Type Start; Values stop start
DPT_STATE
public static final String[] DPT_STATE
Nr. 1.011 Data Point Type State; Values inactive active
DPT_STEP
public static final String[] DPT_STEP
Nr. 1.007 Data Point Type Step; Values decrease increase
DPT_SWITCH
public static final String[] DPT_SWITCH
Nr. 1.001 Data Point Type Switch; Values off on
DPT_UPDOWN
public static final String[] DPT_UPDOWN
Nr. 1.008 Data Point Type UpDown; Values up down
PointPDUXlator_Boolean
public PointPDUXlator_Boolean()
Default constructor
PointPDUXlator_Boolean
public PointPDUXlator_Boolean(String _PointType_Minor_Key)
throws EICLException
Inits the object with the passed key parameter.
_PointType_Minor_Key
- The minor type key.
getAPDUByteArray
public byte[] getAPDUByteArray()
Converts the input values in the requested APDU/ASDU format. The result
is the complete Application Layer encoding.
- getAPDUByteArray in interface PointPDUXlator
getASDUasBoolean
public boolean getASDUasBoolean()
Parses the ASDU message, and returns the corresponding boolean.
- The ASDU message boolean.
setASDUfromBoolean
public void setASDUfromBoolean(boolean _ASDU)
Sets the ASDU bit from a boolean.
_ASDU
- The boolean to be set.