Lines Matching refs:ValueIface
210 ValueIface::maxValue( in parseConfigInterface()
212 ValueIface::minValue( in parseConfigInterface()
237 ValueIface::maxValue(maxConf->get<double>()); in initVirtualSensor()
242 ValueIface::minValue(minConf->get<double>()); in initVirtualSensor()
408 value = std::clamp(value, ValueIface::minValue(), ValueIface::maxValue()); in setSensorValue()
409 ValueIface::value(value); in setSensorValue()
688 std::map<std::string, ValueIface::Unit> unitMap = {
689 {"temperature", ValueIface::Unit::DegreesC},
690 {"fan_tach", ValueIface::Unit::RPMS},
691 {"fan_pwm", ValueIface::Unit::Percent},
692 {"voltage", ValueIface::Unit::Volts},
693 {"altitude", ValueIface::Unit::Meters},
694 {"current", ValueIface::Unit::Amperes},
695 {"power", ValueIface::Unit::Watts},
696 {"energy", ValueIface::Unit::Joules},
697 {"utilization", ValueIface::Unit::Percent},
698 {"airflow", ValueIface::Unit::CFM},
699 {"pressure", ValueIface::Unit::Pascals}};
706 auto unitPath = ValueIface::convertUnitToString(unitObj); in getSensorTypeFromUnit()
806 virtualSensorPtr->ValueIface::unit(unitMap[sensorType]); in createVirtualSensorsFromDBus()
899 virtualSensorPtr->ValueIface::unit(unitMap[sensorType]); in createVirtualSensors()