Struct sunspec::models::Model707

source ·
pub struct Model707 {
    pub ena: u16,
    pub adptcrvreq: u16,
    pub adptcrvrslt: u16,
    pub npt: u16,
    pub ncrvset: u16,
    pub v_sf: i16,
    pub tms_sf: i16,
}
Expand description

DER Trip LV

DER low voltage trip model.

Fields§

§ena: u16

DER Trip LV Module Enable

DER low voltage trip control enable.

§adptcrvreq: u16

Adopt Curve Request

Index of curve points to adopt. First curve index is 1.

§adptcrvrslt: u16

Adopt Curve Result

Result of last adopt curve operation.

§npt: u16

Number Of Points

Number of curve points supported.

§ncrvset: u16

Stored Curve Count

Number of stored curves supported.

§v_sf: i16

Voltage Scale Factor

Scale factor for curve voltage points.

§tms_sf: i16

Time Point Scale Factor

Scale factor for curve time points.

Implementations§

source§

impl Model707

source

pub const ENA: PointDef<Self, u16> = _

source

pub const ADPTCRVREQ: PointDef<Self, u16> = _

source

pub const ADPTCRVRSLT: PointDef<Self, u16> = _

source

pub const NPT: PointDef<Self, u16> = _

source

pub const NCRVSET: PointDef<Self, u16> = _

source

pub const V_SF: PointDef<Self, i16> = _

source

pub const TMS_SF: PointDef<Self, i16> = _

Trait Implementations§

source§

impl Debug for Model707

source§

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

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

impl Model for Model707

source§

const ID: u16 = 707u16

Model ID
source§

fn from_data(data: &[u16]) -> Result<Self, ReadModelError>

Parse model points from a given u16 slice

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more