Lines Matching full:speed

34  * @brief An action that sets the floor to the default fan floor speed
35 * @details Sets the fan floor to the defined default fan floor speed when a
46 * @brief An action to set a speed when a service owner is missing
47 * @details Sets the fans to the given speed when any service owner associated
49 * the event data again, active fan speed changes are allowed.
51 * @param[in] speed - Speed to set the zone to
54 * An Action function that sets the zone to the given speed if any service
57 Action set_speed_on_missing_owner(uint64_t speed);
60 * @brief An action to set the request speed base
61 * @details A new target speed is determined using a speed delta being added
62 * or subtracted, for increases or decrease respectively, from a base speed.
63 * This base speed defaults to be the current target speed or is set to a
64 * different base speed(i.e. the fans' tach feedback speed) to request a new
73 * @brief An action to set the speed on a zone
74 * @details The zone is held at the given speed when a defined number of
79 * @param[in] speed - Speed to set the zone to
82 * A lambda function to set the zone speed when the number of properties
86 auto count_state_before_speed(size_t count, T&& state, uint64_t speed) in count_state_before_speed() argument
88 return [count, speed, in count_state_before_speed()
108 zone.setSpeed(speed); in count_state_before_speed()
118 * @brief An action to set the floor speed on a zone
120 * speed is selected from the first map key entry that the average sensor value
123 * @param[in] val_to_speed - Ordered map of sensor value-to-speed
126 * An Action function to set the zone's floor speed when the average of
134 auto speed = zone.getDefFloor(); in set_floor_from_average_sensor_value() local
164 speed = (*it).second; in set_floor_from_average_sensor_value()
168 zone.setFloor(speed); in set_floor_from_average_sensor_value()
173 * @brief An action to set the ceiling speed on a zone
175 * ceiling speed is selected from the map key transition point that the average
179 * @param[in] val_to_speed - Ordered map of sensor value-to-speed transitions
182 * An Action function to set the zone's ceiling speed when the average of
192 auto speed = zone.getCeiling(); in set_ceiling_from_average_sensor_value() local
228 // ceiling speed to the last map key's value in set_ceiling_from_average_sensor_value()
229 speed = it->second; in set_ceiling_from_average_sensor_value()
236 // ceiling speed to the first map key's value in set_ceiling_from_average_sensor_value()
237 speed = it->second; in set_ceiling_from_average_sensor_value()
243 // a map key, update ceiling speed to this in set_ceiling_from_average_sensor_value()
247 speed = it->second; in set_ceiling_from_average_sensor_value()
260 // ceiling speed to the first map key's value in set_ceiling_from_average_sensor_value()
261 speed = it->second; in set_ceiling_from_average_sensor_value()
268 // ceiling speed to the last map key's value in set_ceiling_from_average_sensor_value()
269 speed = it->second; in set_ceiling_from_average_sensor_value()
275 // a map key, update ceiling speed to this in set_ceiling_from_average_sensor_value()
279 speed = it->second; in set_ceiling_from_average_sensor_value()
286 zone.setCeiling(speed); in set_ceiling_from_average_sensor_value()
291 * @brief An action to set the speed increase delta and request speed change
293 * zone's fan speeds should be updated by from their current target speed and
294 * request that new target speed.
298 * @param[in] speedDelta - Speed delta of the group
302 * a new target speed with that increase for the zone.
327 // difference times the given speed delta in set_net_increase_speed()
338 // Request speed change for target speed update in set_net_increase_speed()
344 * @brief An action to set the speed decrease delta and request speed change
346 * zone's fan speeds should be updated by from their current target speed, and
347 * request that speed change occur on the next decrease interval.
351 * @param[in] speedDelta - Speed delta of the group
355 * a new target speed with that decrease for the zone.
381 // difference times the given speed delta in set_net_decrease_speed()
402 // Request speed decrease to occur on decrease interval in set_net_decrease_speed()
465 * @brief An action to set the floor speed on a zone
467 * floor speed is selected from the first map key entry that the median
470 * sensor group value and default the floor speed when 0 sensor group values
475 * @param[in] valueToSpeed - Ordered map of sensor value-to-speed
478 * An Action function to set the zone's floor speed from a resulting group
489 auto speed = zone.getDefFloor(); in set_floor_from_median_sensor_value() local
528 // Use determined median sensor value to find floor speed in set_floor_from_median_sensor_value()
535 speed = (*it).second; in set_floor_from_median_sensor_value()
539 zone.setFloor(speed); in set_floor_from_median_sensor_value()
544 * @brief An action to update the default floor speed
545 * @details Provides the ability to update the default fan floor speed when
549 * @param[in] speed - Speed to set the default fan floor to
553 * and updates the default fan floor speed.
556 auto update_default_floor(T&& state, uint64_t speed) in update_default_floor() argument
558 return [speed, state = std::forward<T>(state)](auto& zone, auto& group) { in update_default_floor()
582 zone.setDefFloor(speed); in update_default_floor()