Lines Matching refs:value
192 std::variant<double> value(threshold.value); in persistThreshold() local
202 "Set", thresholdInterface, "Value", value); in persistThreshold()
227 interface->set_property(property, threshold.value); in updateThresholds()
243 ChangeParam(Threshold whichThreshold, bool status, double value) : in ChangeParam()
244 threshold(whichThreshold), asserted(status), assertValue(value) in ChangeParam()
252 static std::vector<ChangeParam> checkThresholds(Sensor* sensor, double value) in checkThresholds() argument
269 if (value >= threshold.value) in checkThresholds()
271 thresholdChanges.emplace_back(threshold, true, value); in checkThresholds()
275 << threshold.value << " assert: value " << value in checkThresholds()
279 else if (value < (threshold.value - threshold.hysteresis)) in checkThresholds()
281 thresholdChanges.emplace_back(threshold, false, value); in checkThresholds()
291 if (value <= threshold.value) in checkThresholds()
293 thresholdChanges.emplace_back(threshold, true, value); in checkThresholds()
298 << threshold.value << " assert: value " << sensor->value in checkThresholds()
302 else if (value > (threshold.value + threshold.hysteresis)) in checkThresholds()
304 thresholdChanges.emplace_back(threshold, false, value); in checkThresholds()
391 std::vector<ChangeParam> changes = checkThresholds(sensor, sensor->value); in checkThresholds()
416 std::vector<ChangeParam> changes = checkThresholds(sensor, sensor->value); in checkThresholdsPowerDelay()