pub struct Command {
pub base: Control,
pub discrete_value: Option<MridRef>,
pub value_alias_set: Option<MridRef>,
pub normal_value: Option<i64>,
pub value: Option<i64>,
}Expand description
A Command is a discrete control used for supervisory control.
Fields§
§base: Control§discrete_value: Option<MridRef>The MeasurementValue that is controlled.
value_alias_set: Option<MridRef>The ValueAliasSet used for translation of a Control value to a name.
normal_value: Option<i64>Normal value for Control.value e.g. used for percentage scaling.
value: Option<i64>The value representing the actuator output.
Implementations§
Trait Implementations§
Source§impl CimElement for Command
impl CimElement for Command
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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 Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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