Searched refs:range_dict (Results 1 – 1 of 1) sorted by relevance
66 def __init__(self, node_addr=None, range_dict=None): argument88 if range_dict is None:89 range_dict = DEFAULT_MEAS_RANGE_VALUE91 self._validateRangeDict(DEFAULT_MEAS_RANGE_VALUE, range_dict)92 self.range_dict = range_dict136 hex_str = '0x%.4x' % self.readWord(self.range_dict[measure]['reg'])172 hex_str, self.range_dict[measure]['denom'])174 range_msg = '[%(min).2f, %(max).2f]' % self.range_dict[measure]175 if (measure_float < self.range_dict[measure]['min'] or176 measure_float > self.range_dict[measure]['max']):