Move relay drivers from common to controller
This commit is contained in:
parent
e9ea0b625d
commit
340c4e9f15
9 changed files with 193 additions and 33 deletions
|
|
@ -3,7 +3,6 @@ use std::time::{Duration, Instant};
|
|||
|
||||
use actix::{Actor, Context, Handler, Message};
|
||||
use emgauwa_common::constants;
|
||||
use emgauwa_common::drivers::RelayDriver;
|
||||
use emgauwa_common::errors::EmgauwaError;
|
||||
use emgauwa_common::models::Controller;
|
||||
use emgauwa_common::types::RelayStates;
|
||||
|
|
@ -11,6 +10,7 @@ use futures::executor::block_on;
|
|||
use sqlx::{Pool, Sqlite};
|
||||
use tokio::sync::Notify;
|
||||
|
||||
use crate::drivers::RelayDriver;
|
||||
use crate::settings::Settings;
|
||||
|
||||
#[derive(Message)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue