diff --git a/machines/src/aquapath1/api.rs b/machines/src/aquapath1/api.rs index 4a49197f..030b3c02 100644 --- a/machines/src/aquapath1/api.rs +++ b/machines/src/aquapath1/api.rs @@ -20,8 +20,8 @@ pub struct LiveValuesEvent { pub back_temperature: f64, pub front_temp_reservoir: f64, pub back_temp_reservoir: f64, - pub front_fan_rpm: f32, - pub back_fan_rpm: f32, + pub front_fan_rpm: f64, + pub back_fan_rpm: f64, } impl LiveValuesEvent { @@ -75,7 +75,7 @@ pub struct FlowState { #[derive(Serialize, Debug, Clone)] pub struct FanState { - pub rpm: f32, + pub rpm: f64, } #[derive(Serialize, Debug, Clone)] @@ -100,8 +100,8 @@ enum Mutation { SetFrontFlow(bool), SetBackFlow(bool), - SetBackFan(f32), - SetFrontFan(f32), + SetBackFan(f64), + SetFrontFan(f64), } #[derive(Debug, Clone)] diff --git a/machines/src/aquapath1/mod.rs b/machines/src/aquapath1/mod.rs index 9b63d9ee..e02ca58e 100644 --- a/machines/src/aquapath1/mod.rs +++ b/machines/src/aquapath1/mod.rs @@ -48,7 +48,8 @@ impl Machine for AquaPathV1 { fn get_machine_identification_unique(&self) -> MachineIdentificationUnique { self.machine_identification_unique.clone() } -fn get_main_sender(&self) -> Option> { + + fn get_main_sender(&self) -> Option> { self.main_sender.clone() } }