AETRProfile

data class AETRProfile(filters: List<String>, searchRadius: Int, legalStopsStandard: AETRProfile.LegalStopsStandard, currentTime: Int, fortnightDrivingTime: Int, weeklyDrivingTime: Int, dailyDrivingTime: Int, currentDrivingTime: Int, lastWeeklyRestTimestamp: Int, lastDailyRestTimestamp: Int, usedExtendedDrivingPeriod: Int, usedShortenedDailyRestPeriod: Int, lastWeeklyRestTaken: AETRProfile.LastWeeklyRestTaken)

Constructors

AETRProfile
Link copied to clipboard
fun AETRProfile(filters: List<String> = listOf("SYPetrolStation"), searchRadius: Int = 50, legalStopsStandard: AETRProfile.LegalStopsStandard = LegalStopsStandard.Default, currentTime: Int = 0, fortnightDrivingTime: Int = 0, weeklyDrivingTime: Int = 0, dailyDrivingTime: Int = 0, currentDrivingTime: Int = 0, lastWeeklyRestTimestamp: Int = 0, lastDailyRestTimestamp: Int = 0, usedExtendedDrivingPeriod: Int = 0, usedShortenedDailyRestPeriod: Int = 0, lastWeeklyRestTaken: AETRProfile.LastWeeklyRestTaken = LastWeeklyRestTaken.None)

Types

LastWeeklyRestTaken
Link copied to clipboard
enum LastWeeklyRestTaken : Enum<AETRProfile.LastWeeklyRestTaken>
LegalStopsStandard
Link copied to clipboard
enum LegalStopsStandard : Enum<AETRProfile.LegalStopsStandard>

Properties

currentDrivingTime
Link copied to clipboard
val currentDrivingTime: Int = 0
Uninterrupted driving time in seconds
currentTime
Link copied to clipboard
val currentTime: Int = 0
Current time relative to two week period in seconds
dailyDrivingTime
Link copied to clipboard
val dailyDrivingTime: Int = 0
Driving time since last daily rest in seconds
filters
Link copied to clipboard
val filters: List<String>
Filter of POI categories
fortnightDrivingTime
Link copied to clipboard
val fortnightDrivingTime: Int = 0
Two week driving period in seconds
lastDailyRestTimestamp
Link copied to clipboard
val lastDailyRestTimestamp: Int = 0
Time when last daily rest was taken relative to two week period; < currentTime; in seconds
lastWeeklyRestTaken
Link copied to clipboard
Last type of used weekly rest (None, Long - more than 45 hours, Short - 24 hours)
lastWeeklyRestTimestamp
Link copied to clipboard
val lastWeeklyRestTimestamp: Int = 0
Time when last weekly rest was taken relative to two week period; < currentTime; in seconds
legalStopsStandard
Link copied to clipboard
val legalStopsStandard: AETRProfile.LegalStopsStandard
Legal stops standard (Default - 45 minutes break every 4.
searchRadius
Link copied to clipboard
val searchRadius: Int = 50
Search radius in meters
usedExtendedDrivingPeriod
Link copied to clipboard
val usedExtendedDrivingPeriod: Int = 0
Used periods when driving 9h
usedShortenedDailyRestPeriod
Link copied to clipboard
val usedShortenedDailyRestPeriod: Int = 0
Used periods when rest was < 9h
weeklyDrivingTime
Link copied to clipboard
val weeklyDrivingTime: Int = 0
Weekly driving period in seconds