pub struct SqlFeedPhase {
pub pause_duration: i16,
pub pause_skimmer: i16,
pub pause_main_pump_1: i16,
pub pause_main_pump_2: i16,
pub pause_aux_pump_1: i16,
pub pause_aux_pump_2: i16,
pub feed_duration: i16,
pub feed_skimmer: i16,
pub feed_main_pump_1: i16,
pub feed_main_pump_2: i16,
pub feed_aux_pump_1: i16,
pub feed_aux_pump_2: i16,
}Expand description
Holds the data of one feed pattern phase as retrieved from the database. The numeric data is post-processed to boolean in a further step.
Fields§
§pause_duration: i16duration of the pause before switching on the feeder motor in milliseconds
pause_skimmer: i16flag indicating if the protein skimmer shall remain switched on during the pause
pause_main_pump_1: i16flag indicating if the main pump #1 shall remain switched on during the pause
pause_main_pump_2: i16flag indicating if the main pump #2 shall remain switched on during the pause
pause_aux_pump_1: i16flag indicating if the auxiliary pump #1 shall remain switched on during the pause
pause_aux_pump_2: i16flag indicating if the auxiliary pump #2 shall remain switched on during the pause
feed_duration: i16duration of the feed after switching on the feeder motor in milliseconds
feed_skimmer: i16flag indicating if the protein skimmer shall remain switched on during the feed phase
feed_main_pump_1: i16flag indicating if the main pump #1 shall remain switched on during the feed phase
feed_main_pump_2: i16flag indicating if the main pump #2 shall remain switched on during the feed phase
feed_aux_pump_1: i16flag indicating if the auxiliary pump #1 shall remain switched on during the feed phase
feed_aux_pump_2: i16flag indicating if the auxiliary pump #2 shall remain switched on during the feed phase
Trait Implementations§
Source§impl Clone for SqlFeedPhase
impl Clone for SqlFeedPhase
Source§fn clone(&self) -> SqlFeedPhase
fn clone(&self) -> SqlFeedPhase
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more