Searched refs:conversionFormula (Results 1 – 3 of 3) sorted by relevance
336 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()337 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()354 metricIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()355 metricIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()359 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()596 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()597 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()619 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()694 double NumericSensor::conversionFormula(double value) in conversionFormula() function in pldm::platform_mc::NumericSensor733 newValue = unitModifier(conversionFormula(value)); in updateReading()[all …]
83 double conversionFormula(double value);
10 TEST(NumericSensor, conversionFormula) in TEST() argument99 convertedValue = sensor.conversionFormula(reading); in TEST()