Package 

Class AxleProfile

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class AxleProfile
     implements Parcelable
                        

    This data class defines the axle profile of the vehicle

    • Method Detail

      • getMaxWeightPerAxle

         final Integer getMaxWeightPerAxle()

        the maximum weight per axle Unit: kilograms This value represents the maximum weight capacity of any single axle in the vehicle. For example: 1. In a vehicle with two single axles (8000kg and 11500kg) and one tandem axle group (24000kg total), this value should be 12000kg (24000kg/2) as it represents the maximum weight per axle in the tandem group. 2. In a vehicle with two single axles (8000kg and 11500kg) and one triple axle group (24000kg total), this value should be 11500kg as it represents the maximum weight among all single axles (11500kg 8000kg 8000kg(24000kg/3)).

      • getAmountOfAxles

         final Integer getAmountOfAxles()

        total amount of axles This value represents the total number of axles in the vehicle, including both single axles and axles in axle groups. For example: 1. In a vehicle with two single axles (8000kg and 11500kg) and one tandem axle group (24000kg total), this value should be 4 (2 single axles + 2 axles in tandem group). 2. In a vehicle with two single axles (8000kg and 11500kg) and one triple axle group (24000kg total), this value should be 5 (2 single axles + 3 axles in triple group).

      • getAxleGroups

         final ArrayList<AxleGroupProfile> getAxleGroups()

        axle groups This field indicates all axle groups of the vehicle, including both single axles and axle groups. Each group contains information about axle type, weight, and wheels. For example: 1. In a vehicle with: - one single axle (8000kg, single wheel) - one single axle (11500kg, dual wheels) - one tandem axle group (24000kg total, dual wheels) this vector should contain: - {AxleGroupType::Single, 11500kg, WheelsPerAxle::Dual} (for the heavier single axle) - {AxleGroupType::Tandem, 24000kg, WheelsPerAxle::Dual} (for the tandem group) 2. In a vehicle with: - one single axle (8000kg, single wheel) - one single axle (11500kg, dual wheels) - one triple axle group (24000kg total, dual wheels) this vector should contain: - {AxleGroupType::Single, 11500kg, WheelsPerAxle::Dual} (for the heavier single axle) - {AxleGroupType::Triple, 24000kg, WheelsPerAxle::Dual} (for the triple group)