You are on page 1of 1

Rear_Life=Life_Log_Book_Reading_In_Hrs - Front_Life A_Percentage_Wear=1-Remaining_Tread_Depth_A_mm/Tyre_Info.Tread_Depth B_Percentage_Wear=1-Remaining_Tread_Depth_B_mm/Tyre_Info.Tread_Depth Average_Tread_Depth_mm=(Remaining_Tread_Depth_A_mm+Remaining_Tread_Depth_B_mm)/2 Average_Percentage_Wear=(A_Percentage_Wear + B_Percentage_Wear)/2 NMIF=IF(Remarks="Running" OR "for repair",(Life_Log_Book_Reading_In_Hrs*Tyre_Inf o.Tread_Depth*Tyre_Info.Limiting_Factor)/(Tyre_Info.

Tread_Depth-Remaining_Tread_ Depth_A_mm) ELSE Life_Log_Book_Reading_In_Hrs MIF=IF(Remarks="Running" OR "for repair",(Life_Log_Book_Reading_In_Hrs*Tyre_Info .Tread_Depth*Tyre_Info.Limiting_Factor)/(Tyre_Info.Tread_Depth-Remaining_Tread_D epth_B_mm) ELSE Life_Log_Book_Reading_In_Hrs Average_Extrapolated_life=IF(Remarks="Running" OR "for repair",(Life_Log_Book_Re ading_In_Hrs*(Remaining_Tread_Depth_A_mm+Remaining_Tread_Depth_B_mm)/2*Tyre_Info .Limiting_Factor)/((Remaining_Tread_Depth_A_mm+Remaining_Tread_Depth_B_mm)/2-Rem aining_Tread_Depth_B_mm) ELSE Life_Log_Book_Reading_In_Hrs

/// Update Values Truck_No='$rows[3]' Removal_Date='$rows[2]' Position='$rows[4]' Fitment_HMR='$rows[5]' Remaining_Tread_Depth_A_mm='$rows[6]' Remaining_Tread_Depth_B_mm='$rows[7]' RD_Code='$rows[8]' Remarks='$rows[10]' Tyre_No='$rows[1]'

You might also like