float function ( String arg0 , int arg1 ) { SMCVal loc0 = new SMCVal ( ) ; int loc1 = smcReadKey ( arg0 , loc0 , arg1 ) ; if ( loc1 == 0 ) { return ParseUtil . byteArrayToFloat ( loc0 . bytes , loc0 . dataSize , 2 ) ; } return 0f ; }
get a value from smc which is in fpe2 datatype . first e 14 bits are unsigned integer portion , last 2 bits are fractional portion concode_field_sep byte[] DATATYPE_SP78 concode_elem_sep IOConnect conn concode_elem_sep Logger LOG concode_elem_sep Map<Integer,SMCKeyDataKeyInfo> keyInfoCache concode_field_sep int smcReadKey concode_elem_sep int smcOpen concode_elem_sep double smcGetSp78 concode_elem_sep int smcCall concode_elem_sep long smcGetLong concode_elem_sep int smcClose concode_elem_sep int smcGetKeyInfo