Skip to main content

Model501

Type Alias Model501 

Source
pub type Model501 = SolarModuleFloat;
Available on crate feature model501 only.
Expand description

Type alias for SolarModuleFloat.

Aliased Type§

pub struct Model501 {
Show 17 fields pub stat: Stat, pub stat_vend: Option<u16>, pub evt: Evt, pub evt_vend: Option<EvtVend>, pub ctl: Option<u16>, pub ctl_vend: Option<u32>, pub ctl_val: Option<i32>, pub tms: Option<u32>, pub out_a: Option<f32>, pub out_v: Option<f32>, pub out_wh: Option<f32>, pub out_w: Option<f32>, pub tmp: Option<f32>, pub in_a: Option<f32>, pub in_v: Option<f32>, pub in_wh: Option<f32>, pub in_w: Option<f32>,
}

Fields§

§stat: Stat

Status

Enumerated value. Module Status Code

§stat_vend: Option<u16>

Vendor Status

Module Vendor Status Code

§evt: Evt

Events

Bitmask value. Module Event Flags

§evt_vend: Option<EvtVend>

Vendor Module Event Flags

Vendor specific flags

§ctl: Option<u16>

Control

Module Control

§ctl_vend: Option<u32>

Vendor Control

Vendor Module Control

§ctl_val: Option<i32>

Control Value

Module Control Value

§tms: Option<u32>

Timestamp

Time in seconds since 2000 epoch

§out_a: Option<f32>

Output Current

Output Current

§out_v: Option<f32>

Output Voltage

Output Voltage

§out_wh: Option<f32>

Output Energy

Output Energy

§out_w: Option<f32>

Output Power

Output Power

§tmp: Option<f32>

Temp

Module Temperature

§in_a: Option<f32>

Input Current

Input Current

§in_v: Option<f32>

Input Voltage

Input Voltage

§in_wh: Option<f32>

Input Energy

Input Energy

§in_w: Option<f32>

Input Power

Input Power