pub enum IntrinsicAlgorithm {
ChangeOfValue {
cov_increment: f64,
},
OutOfRange {
high_limit: f64,
low_limit: f64,
deadband: f64,
},
ChangeOfState {
alarm_values: Vec<u32>,
},
FloatingLimit {
setpoint_ref: ObjectId,
setpoint_property: PropertyId,
high_diff_limit: f64,
low_diff_limit: f64,
deadband: f64,
},
CommandFailure {
feedback_ref: ObjectId,
feedback_property: PropertyId,
time_delay_ms: u64,
},
}Expand description
Intrinsic reporting algorithm configuration.
Variants§
ChangeOfValue
CHANGE_OF_VALUE — fires when value changes by more than cov_increment.
OutOfRange
OUT_OF_RANGE — fires when value exceeds high/low limits with deadband.
ChangeOfState
CHANGE_OF_STATE — fires when enumerated value matches an alarm value.
FloatingLimit
FLOATING_LIMIT — fires when value deviates from a setpoint by more than diff limits.
Fields
§
setpoint_property: PropertyIdCommandFailure
COMMAND_FAILURE — fires when feedback doesn’t match command after time delay.
Trait Implementations§
Source§impl Clone for IntrinsicAlgorithm
impl Clone for IntrinsicAlgorithm
Source§fn clone(&self) -> IntrinsicAlgorithm
fn clone(&self) -> IntrinsicAlgorithm
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IntrinsicAlgorithm
impl RefUnwindSafe for IntrinsicAlgorithm
impl Send for IntrinsicAlgorithm
impl Sync for IntrinsicAlgorithm
impl Unpin for IntrinsicAlgorithm
impl UnsafeUnpin for IntrinsicAlgorithm
impl UnwindSafe for IntrinsicAlgorithm
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