def _get_value(self, source, bitarray):
raw_value = self._get_raw(source, bitarray)<EOL>rng = source.find('<STR_LIT>')<EOL>rng_min = float(rng.find('<STR_LIT>').text)<EOL>rng_max = float(rng.find('<STR_LIT>').text)<EOL>scl = source.find('<STR_LIT>')<EOL>scl_min = float(scl.find('<STR_LIT>').text)<EOL>scl_max = float(scl.find('<STR_LIT>').text)<EOL>return {<EOL>source['<STR_LIT>']: {<EOL>'<STR_LIT:description>': source.get('<STR_LIT:description>'),<EOL>'<STR_LIT>': source['<STR_LIT>'],<EOL>'<STR_LIT:value>': (scl_max - scl_min) / (rng_max - rng_min) * (raw_value - rng_min) + scl_min,<EOL>'<STR_LIT>': raw_value,<EOL>}<EOL>}<EOL>
Get value, based on the data in XML