fix up methods

This commit is contained in:
Jan Luca 2025-12-24 14:31:09 +01:00 committed by Ashley Wulber
parent a75f46a6d4
commit 54c7b63edf

View file

@ -187,15 +187,14 @@ pub trait Device {
fn voltage_max_design(&self) -> zbus::Result<f64>;
fn get_history(&self, type_: String, timespan: u32, resolution: u32) -> zbus::Result<Vec<(u32, f64, u32)>>;
fn get_statistics(&self, type_: String) -> zbus::Result<Vec<(f64, f64)>>;
#[zbus(signal)]
fn enable_charge_threshold(&self, message: bool) -> zbus::Result<()>;
#[zbus(signal)]
fn get_history(&self, type_: String, timespan: u32, resolution: u32) -> zbus::Result<Vec<u32, f64, u32>>;
#[zbus(signal)]
fn get_statistics(&self, type_: String) -> zbus::Result<()>;
#[zbus(signal)]
fn refresh(&self) -> zbus::Result<()>;
}