TirePosition

@Serializable
class TirePosition(val axle: Int, val side: TireSide, val positionOnAxle: Int)

Position where the tire is mounted on the vehicle, considering the primary direction of travel. E.g. the front left tire of a passenger car would be specified as axle=1, side=TireSideDTO.left, position_on_axle=1 and the rear right tire of a passenger car as axle=2, side=TireSideDTO.right, position_on_axle=1

Parameters

axle

Number of the axle, whereas 1 is the front axle (in direction of travel). Value MUST be at least 1.

side
positionOnAxle

Position on the axle, whereas 1 is the outermost tire and higher values represent the following inner tires. If the side is set to center, 1 is the leftmost tire (in direction of travel), if there are multiple tires on the center axle. Value MUST be at least 1.

Throws

if axle, or positionOnAxle are not at least 1.

Constructors

Link copied to clipboard
constructor(axle: Int, side: TireSide, positionOnAxle: Int)

Properties

Link copied to clipboard
val axle: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int