Skip to main content

DerMeasureDc

Struct DerMeasureDc 

Source
pub struct DerMeasureDc {
    pub prt_alrms: Option<PrtAlrms>,
    pub n_prt: Option<u16>,
    pub dca: Option<i16>,
    pub dcw: Option<i16>,
    pub dc_wh_inj: Option<u64>,
    pub dc_wh_abs: Option<u64>,
    pub dca_sf: Option<i16>,
    pub dcv_sf: Option<i16>,
    pub dcw_sf: Option<i16>,
    pub dcwh_sf: Option<i16>,
    pub tmp_sf: Option<i16>,
    pub prt: Vec<Prt>,
}
Available on crate feature model714 only.
Expand description

DER DC Measurement

DER DC measurement.

Fields§

§prt_alrms: Option<PrtAlrms>

Port Alarms

Bitfield of ports with active alarms. Bit is 1 if port has an active alarm. Bit 0 is first port.

Comments: DC General

§n_prt: Option<u16>

Number Of Ports

Number of DC ports.

§dca: Option<i16>

DC Current

Total DC current for all ports.

§dcw: Option<i16>

DC Power

Total DC power for all ports.

§dc_wh_inj: Option<u64>

DC Energy Injected

Total cumulative DC energy injected for all ports.

§dc_wh_abs: Option<u64>

DC Energy Absorbed

Total cumulative DC energy absorbed for all ports.

§dca_sf: Option<i16>

DC Current Scale Factor

DC current scale factor.

§dcv_sf: Option<i16>

DC Voltage Scale Factor

DC voltage scale factor.

§dcw_sf: Option<i16>

DC Power Scale Factor

DC power scale factor.

§dcwh_sf: Option<i16>

DC Energy Scale Factor

DC energy scale factor.

§tmp_sf: Option<i16>

Temperature Scale Factor

Temperature Scale Factor.

§prt: Vec<Prt>

Comments: DC Port

Implementations§

Source§

impl DerMeasureDc

Source

pub const PRT_ALRMS: Point<Self, Option<PrtAlrms>>

Source

pub const N_PRT: Point<Self, Option<u16>>

Source

pub const DCA: Point<Self, Option<i16>>

Source

pub const DCW: Point<Self, Option<i16>>

Source

pub const DC_WH_INJ: Point<Self, Option<u64>>

Source

pub const DC_WH_ABS: Point<Self, Option<u64>>

Source

pub const DCA_SF: Point<Self, Option<i16>>

Source

pub const DCV_SF: Point<Self, Option<i16>>

Source

pub const DCW_SF: Point<Self, Option<i16>>

Source

pub const DCWH_SF: Point<Self, Option<i16>>

Source

pub const TMP_SF: Point<Self, Option<i16>>

Trait Implementations§

Source§

impl Debug for DerMeasureDc

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Group for DerMeasureDc

Source§

const LEN: u16 = 18

Group length (without nested and repeating groups)
Source§

impl Model for DerMeasureDc

Source§

const ID: u16 = 714

Model ID
Source§

fn addr(models: &Models) -> ModelAddr<Self>

Get model address from discovered models struct
Source§

fn parse(data: &[u16]) -> Result<Self, ParseError<Self>>

Parse model data from a given u16 slice

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.