pub struct AnalogControl {
pub base: Control,
pub analog_value: Option<MridRef>,
pub max_value: Option<f64>,
pub min_value: Option<f64>,
}Expand description
An analog control used for supervisory control.
Fields§
§base: Control§analog_value: Option<MridRef>The MeasurementValue that is controlled.
max_value: Option<f64>Normal value range maximum for any of the Control.value. Used for scaling, e.g. in bar graphs.
min_value: Option<f64>Normal value range minimum for any of the Control.value. Used for scaling, e.g. in bar graphs.
Implementations§
Source§impl AnalogControl
impl AnalogControl
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for AnalogControl
impl CimElement for AnalogControl
Source§impl Clone for AnalogControl
impl Clone for AnalogControl
Source§fn clone(&self) -> AnalogControl
fn clone(&self) -> AnalogControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalogControl
impl Debug for AnalogControl
Source§impl Default for AnalogControl
impl Default for AnalogControl
Source§fn default() -> AnalogControl
fn default() -> AnalogControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnalogControl
impl<'de> Deserialize<'de> for AnalogControl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnalogControl
impl RefUnwindSafe for AnalogControl
impl Send for AnalogControl
impl Sync for AnalogControl
impl Unpin for AnalogControl
impl UnsafeUnpin for AnalogControl
impl UnwindSafe for AnalogControl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more