fix up methods
This commit is contained in:
parent
a75f46a6d4
commit
54c7b63edf
1 changed files with 5 additions and 6 deletions
|
|
@ -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<()>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue