[][src]Struct morningstar::prostar_mppt::Settings

pub struct Settings {
    pub regulation_voltage: ElectricPotential,
    pub float_voltage: ElectricPotential,
    pub time_before_float: Time,
    pub time_before_float_low_battery: Time,
    pub float_low_battery_voltage_trigger: ElectricPotential,
    pub float_cancel_voltage: ElectricPotential,
    pub exit_float_time: Time,
    pub equalize_voltage: ElectricPotential,
    pub days_between_equalize_cycles: Time,
    pub equalize_time_limit_above_regulation_voltage: Time,
    pub equalize_time_limit_at_regulation_voltage: Time,
    pub alarm_on_setting_change: bool,
    pub reference_charge_voltage_limit: ElectricPotential,
    pub battery_charge_current_limit: ElectricCurrent,
    pub temperature_compensation_coefficent: ElectricPotential,
    pub high_voltage_disconnect: ElectricPotential,
    pub high_voltage_reconnect: ElectricPotential,
    pub maximum_charge_voltage_reference: ElectricPotential,
    pub max_battery_temp_compensation_limit: ThermodynamicTemperature,
    pub min_battery_temp_compensation_limit: ThermodynamicTemperature,
    pub load_low_voltage_disconnect: ElectricPotential,
    pub load_low_voltage_reconnect: ElectricPotential,
    pub load_high_voltage_disconnect: ElectricPotential,
    pub load_high_voltage_reconnect: ElectricPotential,
    pub lvd_load_current_compensation: ElectricalResistance,
    pub lvd_warning_timeout: Time,
    pub led_green_to_green_and_yellow_limit: ElectricPotential,
    pub led_green_and_yellow_to_yellow_limit: ElectricPotential,
    pub led_yellow_to_yellow_and_red_limit: ElectricPotential,
    pub led_yellow_and_red_to_red_flashing_limit: ElectricPotential,
    pub modbus_id: u8,
    pub meterbus_id: u8,
    pub mppt_fixed_vmp: ElectricPotential,
    pub mppt_fixed_vmp_percent: f32,
    pub charge_current_limit: ElectricCurrent,
}

Device configuration settings

Fields

regulation_voltage: ElectricPotentialfloat_voltage: ElectricPotentialtime_before_float: Timetime_before_float_low_battery: Timefloat_low_battery_voltage_trigger: ElectricPotentialfloat_cancel_voltage: ElectricPotentialexit_float_time: Timeequalize_voltage: ElectricPotentialdays_between_equalize_cycles: Timeequalize_time_limit_above_regulation_voltage: Timeequalize_time_limit_at_regulation_voltage: Timealarm_on_setting_change: boolreference_charge_voltage_limit: ElectricPotentialbattery_charge_current_limit: ElectricCurrenttemperature_compensation_coefficent: ElectricPotentialhigh_voltage_disconnect: ElectricPotentialhigh_voltage_reconnect: ElectricPotentialmaximum_charge_voltage_reference: ElectricPotentialmax_battery_temp_compensation_limit: ThermodynamicTemperaturemin_battery_temp_compensation_limit: ThermodynamicTemperatureload_low_voltage_disconnect: ElectricPotentialload_low_voltage_reconnect: ElectricPotentialload_high_voltage_disconnect: ElectricPotentialload_high_voltage_reconnect: ElectricPotentiallvd_load_current_compensation: ElectricalResistancelvd_warning_timeout: Timeled_green_to_green_and_yellow_limit: ElectricPotentialled_green_and_yellow_to_yellow_limit: ElectricPotentialled_yellow_to_yellow_and_red_limit: ElectricPotentialled_yellow_and_red_to_red_flashing_limit: ElectricPotentialmodbus_id: u8meterbus_id: u8mppt_fixed_vmp: ElectricPotentialmppt_fixed_vmp_percent: f32charge_current_limit: ElectricCurrent

Methods

impl Settings[src]

pub fn validate(&self) -> Result<()>[src]

Trait Implementations

impl Copy for Settings[src]

impl Default for Settings[src]

impl Clone for Settings[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Settings[src]

impl Display for Settings[src]

impl Serialize for Settings[src]

impl<'de> Deserialize<'de> for Settings[src]

Auto Trait Implementations

impl Send for Settings

impl !Unpin for Settings

impl Sync for Settings

impl !UnwindSafe for Settings

impl !RefUnwindSafe for Settings

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]