Lines Matching full:units
9 // This is an allowlist of the units a sensor can measure. Should be in sync
13 std::string getPathForUnits(const std::string& units) in getPathForUnits() argument
15 if (units == "DegreesC" || units == unitDegreesC) in getPathForUnits()
19 if (units == "RPMS" || units == unitRPMs) in getPathForUnits()
23 if (units == "Volts" || units == unitVolts) in getPathForUnits()
27 if (units == "Meters" || units == unitMeters) in getPathForUnits()
31 if (units == "Amperes" || units == unitAmperes) in getPathForUnits()
35 if (units == "Watts" || units == unitWatts) in getPathForUnits()
39 if (units == "Joules" || units == unitJoules) in getPathForUnits()
43 if (units == "Percent" || units == unitPercent) in getPathForUnits()
47 if (units == "Pascals" || units == unitPascals) in getPathForUnits()