pub struct MID0101rev1 {
pub number_of_spindles: u8,
pub spindles_running: u8,
pub sync_tightening_id: u32,
pub sync_overall_status: u8,
pub vin_number: String,
pub job_id: u8,
pub parameter_set_id: u16,
pub batch_size: u16,
pub batch_counter: u16,
pub batch_status: u8,
pub timestamp: DateTime<Local>,
pub spindle_statuses: Vec<SpindleResult>,
}Expand description
This message is sent after each sync tightening. It contains the final result of the tightening for all spindles involved.
Fields§
§number_of_spindles: u8The number of spindles or presses involved in the tightening.
spindles_running: u8The number of spindles currently running in the multiple.
sync_tightening_id: u32A unique ID for each sync tightening result.
sync_overall_status: u8The overall status of the sync tightening (1=OK, 0=NOK).
vin_number: StringThe VIN (Vehicle Identification Number) associated with the tightening.
job_id: u8The job ID associated with the tightening.
parameter_set_id: u16The parameter set ID used in the tightening.
batch_size: u16The total number of tightenings required in the batch.
batch_counter: u16The current batch counter.
batch_status: u8The batch status (0=NOK, 1=OK, 2=Not used, 3=Running).
timestamp: DateTime<Local>Timestamp for the multi-spindle result (YYYY-MM-DD:HH:MM:SS).
spindle_statuses: Vec<SpindleResult>Status of each spindle in the multi-spindle tightening.
Trait Implementations§
Source§impl Debug for MID0101rev1
impl Debug for MID0101rev1
Source§impl Decode for MID0101rev1
impl Decode for MID0101rev1
Source§impl Default for MID0101rev1
impl Default for MID0101rev1
Source§fn default() -> MID0101rev1
fn default() -> MID0101rev1
Returns the “default value” for a type. Read more
Source§impl Encode for MID0101rev1
impl Encode for MID0101rev1
Source§impl Message for MID0101rev1
impl Message for MID0101rev1
fn mid() -> u16
fn to_mid(&self) -> u16
fn revision() -> u16
fn to_revision(&self) -> u16
fn message_type() -> MessageType
fn to_message_type(&self) -> MessageType
Source§impl PartialEq for MID0101rev1
impl PartialEq for MID0101rev1
impl Eq for MID0101rev1
impl StructuralPartialEq for MID0101rev1
Auto Trait Implementations§
impl Freeze for MID0101rev1
impl RefUnwindSafe for MID0101rev1
impl Send for MID0101rev1
impl Sync for MID0101rev1
impl Unpin for MID0101rev1
impl UnwindSafe for MID0101rev1
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