Trait ThermalSetValueUpdaterTrait

Source
pub trait ThermalSetValueUpdaterTrait {
    // Required method
    fn update_set_value(
        &mut self,
        switch_off_temperature: &mut f32,
        switch_on_temperature: &mut f32,
    ) -> Result<(), SqlInterfaceError>;
}
Expand description

Trait for updating the set values of either ventilation or heating with values from the database. This trait allows running the main control with a mock implementation for testing.

Required Methods§

Source

fn update_set_value( &mut self, switch_off_temperature: &mut f32, switch_on_temperature: &mut f32, ) -> Result<(), SqlInterfaceError>

Implementors§