DPTXlator function ( int arg0 ) { final DPTID loc0 = ( DPTID ) pt . get ( new Integer ( arg0 ) ) ; if ( loc0 == null ) throw new KNXException ( "srini_string" ) ; final DPTXlator loc1 = TranslatorTypes . createTranslator ( loc0 . getMainNumber ( ) , loc0 . getDPT ( ) ) ; loc1 . setAppendUnit ( false ) ; return loc1 ; }
creates a new dpt translator for the specified property type . the translator is initialized with a subtype as specified by the property map . also , appending of units is disabled in the returned translator . concode_field_sep int PDT_GENERIC_03 concode_elem_sep int PDT_GENERIC_12 concode_elem_sep int PDT_GENERIC_09 concode_elem_sep Map pt concode_elem_sep int PDT_BITSET16 concode_elem_sep int main concode_elem_sep int PDT_LONG concode_elem_sep int PDT_NE_VL concode_elem_sep int PDT_VARIABLE_LENGTH concode_elem_sep int PDT_GENERIC_08 concode_elem_sep int PDT_NE_FL concode_elem_sep int PDT_GENERIC_02 concode_elem_sep int PDT_FUNCTION concode_elem_sep int PDT_GENERIC_18 concode_elem_sep int PDT_CONTROL concode_elem_sep int PDT_SHORT_CHAR_BLOCK concode_elem_sep int PDT_GENERIC_17 concode_elem_sep int PDT_DATE_TIME concode_elem_sep int PDT_POLL_GROUP_SETTINGS concode_elem_sep int PDT_DOUBLE concode_elem_sep int PDT_GENERIC_20 concode_elem_sep int PDT_UNSIGNED_LONG concode_elem_sep int PDT_UNSIGNED_INT concode_elem_sep int PDT_VERSION concode_elem_sep int PDT_GENERIC_11 concode_elem_sep int PDT_GENERIC_14 concode_elem_sep int PDT_KNX_FLOAT concode_elem_sep int PDT_GENERIC_15 concode_elem_sep int PDT_SCALING concode_elem_sep int PDT_GENERIC_06 concode_elem_sep int PDT_TIME concode_elem_sep int PDT_CHAR concode_elem_sep int PDT_UNSIGNED_CHAR concode_elem_sep int PDT_CHAR_BLOCK concode_elem_sep int PDT_GENERIC_05 concode_elem_sep int PDT_ENUM8 concode_elem_sep String dpt concode_elem_sep int PDT_GENERIC_10 concode_elem_sep int PDT_GENERIC_04 concode_elem_sep int PDT_GENERIC_13 concode_elem_sep int PDT_GENERIC_07 concode_elem_sep int PDT_GENERIC_01 concode_elem_sep int PDT_BITSET8 concode_elem_sep int PDT_GENERIC_16 concode_elem_sep int PDT_GENERIC_19 concode_elem_sep int PDT_BINARY_INFORMATION concode_elem_sep int PDT_DATE concode_elem_sep int PDT_FLOAT concode_elem_sep int PDT_ALARM_INFO concode_elem_sep int PDT_INT concode_field_sep boolean hasTranslator concode_elem_sep int getMainNumber concode_elem_sep String[] getValues concode_elem_sep String getDPT concode_elem_sep Map getAllPropertyTypes