Searched refs:unitModifier (Results 1 – 6 of 6) sorted by relevance
336 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()359 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()410 thresholdWarningIntf->warningHigh(unitModifier(warningHigh)); in NumericSensor()411 thresholdWarningIntf->warningLow(unitModifier(warningLow)); in NumericSensor()430 thresholdCriticalIntf->criticalLow(unitModifier(criticalLow)); in NumericSensor()619 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()670 thresholdWarningIntf->warningHigh(unitModifier(warningHigh)); in NumericSensor()671 thresholdWarningIntf->warningLow(unitModifier(warningLow)); in NumericSensor()702 double NumericSensor::unitModifier(double value) in unitModifier() function in pldm::platform_mc::NumericSensor733 newValue = unitModifier(conversionFormula(value)); in updateReading()[all …]
90 double unitModifier(double value);
91 ASSERT_EQ(tempNumeric.unitModifier == dbusInfoNumeric.unitModifier, true); in TEST()
102 dbusInfo.unitModifier = effecter.value("unitModifier", 0); in parseEffecterJson()324 double unitModifier = std::pow(10, signed(modify)); in adjustValue() local325 return std::round((value - offset) * resolution / unitModifier); in adjustValue()391 propValues.unitModifier); in processTerminusNumericEffecterChangeNotification()
55 int8_t unitModifier; //!< Numeric effecter PDR unitModifier member
100 convertedValue = sensor.unitModifier(convertedValue); in TEST()