MID0061rev2

Struct MID0061rev2 

Source
pub struct MID0061rev2 {
Show 46 fields pub cell_id: u16, pub channel_id: u8, pub controller_name: String, pub vin_number: String, pub job_id: u16, pub parameter_set_id: u16, pub strategy: u8, pub strategy_options: u32, pub batch_size: u16, pub batch_counter: u16, pub tightening_status: u8, pub batch_status: u8, pub torque_status: u8, pub angle_status: u8, pub rundown_angle_status: u8, pub current_monitoring_status: u8, pub self_tap_status: u8, pub prevail_torque_monitoring_status: u8, pub prevail_torque_compensate_status: u8, pub tightening_error_status: String, pub torque_min_limit: u32, pub torque_max_limit: u32, pub torque_final_target: u32, pub torque: u32, pub angle_min_limit: u16, pub angle_max_limit: u16, pub angle_final_target: u16, pub angle: u16, pub rundown_angle_min: u16, pub rundown_angle_max: u16, pub rundown_angle: u16, pub current_monitoring_min: u16, pub current_monitoring_max: u16, pub current_monitoring_value: u16, pub self_tap_torque_min: u32, pub self_tap_torque_max: u32, pub self_tap_torque: u32, pub prevail_torque_min: u32, pub prevail_torque_max: u32, pub prevail_torque: u32, pub tightening_id: u32, pub job_sequence_number: u16, pub sync_tightening_id: u16, pub tool_serial_number: String, pub timestamp: DateTime<Local>, pub last_parameter_set_change: DateTime<Local>,
}

Fields§

§cell_id: u16

The cell ID of the tightening system

§channel_id: u8

The channel ID for the tightening

§controller_name: String

The name of the torque controller

§vin_number: String

The Vehicle Identification Number (VIN) used in the tightening

§job_id: u16

The ID of the job performed

§parameter_set_id: u16

The parameter set ID used

§strategy: u8

Strategy used in the tightening

§strategy_options: u32

Strategy used in the tightening

§batch_size: u16

Batch size for the tightening operation

§batch_counter: u16

The current count of tightenings in the batch

§tightening_status: u8

The status of the tightening (0=NOK, 1=OK)

§batch_status: u8

The batch status (0=NOK, 1=OK, 2=Not used, 3=Running)

§torque_status: u8

The torque status (0=Low, 1=OK, 2=High)

§angle_status: u8

The angle status (0=Low, 1=OK, 2=High)

§rundown_angle_status: u8

The rundown angle status (0=Low, 1=OK, 2=High)

§current_monitoring_status: u8

Current monitoring status (0=Low, 1=OK, 2=High)

§self_tap_status: u8

Self-tap status (0=Low, 1=OK, 2=High)

§prevail_torque_monitoring_status: u8

Prevail torque monitoring status (0=Low, 1=OK, 2=High)

§prevail_torque_compensate_status: u8

Prevail torque compensate status (0=Low, 1=OK, 2=High)

§tightening_error_status: String

Tightening error status

§torque_min_limit: u32

Minimum torque limit

§torque_max_limit: u32

Maximum torque limit

§torque_final_target: u32

Final torque target

§torque: u32

Achieved torque value

§angle_min_limit: u16

Minimum angle limit

§angle_max_limit: u16

Maximum angle limit

§angle_final_target: u16

Final angle target

§angle: u16

Achieved angle value

§rundown_angle_min: u16

Minimum rundown angle

§rundown_angle_max: u16

Maximum rundown angle

§rundown_angle: u16

Achieved rundown angle

§current_monitoring_min: u16

Minimum current monitoring value

§current_monitoring_max: u16

Maximum current monitoring value

§current_monitoring_value: u16

Achieved current monitoring value

§self_tap_torque_min: u32

Minimum self-tap torque

§self_tap_torque_max: u32

Maximum self-tap torque

§self_tap_torque: u32

Achieved self-tap torque

§prevail_torque_min: u32

Minimum prevail torque value

§prevail_torque_max: u32

Maximum prevail torque value

§prevail_torque: u32

Achieved prevail torque value

§tightening_id: u32

The tightening ID, a unique identifier for this result

§job_sequence_number: u16

The job sequence number, a unique number for each job

§sync_tightening_id: u16

The sync tightening ID

§tool_serial_number: String

The serial number of the tool

§timestamp: DateTime<Local>

Timestamp of the tightening

§last_parameter_set_change: DateTime<Local>

Timestamp of the last parameter set change

Trait Implementations§

Source§

impl Debug for MID0061rev2

Source§

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

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

impl Decode for MID0061rev2

Source§

fn decode(decoder: &mut Decoder<'_>) -> Result<Self>

This will take the decoder and return the data itself, parsed from the decoder’s input bytes.
Source§

fn decode_sized(decoder: &mut Decoder<'_>, size: usize) -> Result<Self>

Source§

impl Default for MID0061rev2

Source§

fn default() -> MID0061rev2

Returns the “default value” for a type. Read more
Source§

impl Encode for MID0061rev2

Source§

fn encode(&self, encoder: &mut Encoder) -> Result<()>

Source§

fn encode_sized(&self, encoder: &mut Encoder, size: usize) -> Result<()>

Source§

impl Message for MID0061rev2

Source§

impl PartialEq for MID0061rev2

Source§

fn eq(&self, other: &MID0061rev2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for MID0061rev2

Source§

impl StructuralPartialEq for MID0061rev2

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Source§

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

Source§

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.