SYAETRProfile Class Reference

AETR profile, current state and settings to compute route with regular stops for rest during driving work. More...

#import <SYAETRProfile.h>

Inheritance diagram for SYAETRProfile:
Collaboration diagram for SYAETRProfile:

Properties

NSArray< NSString * > * placeCategories
 Place categories which are considered as potential waypoints for rest, for example, SYPlaceCategoryPetrolStation. If nil then default categories are used. More...
 
NSUInteger searchRadiusKm
 Radius in km for searching potential waypoints. Default value is 50. More...
 
SYLegalStopsStandard standard
 Legal stops standard, the type of the requirements for regular rest during driving work. Default value is SYLegalStopsStandardDefault. More...
 
NSUInteger currentTime
 Current time relative to two week period in seconds. Default value is 0. More...
 
NSUInteger fortnightDrivingTime
 Two week driving period in seconds. Default value is 0. More...
 
NSUInteger weeklyDrivingTime
 Weekly driving period in seconds. Default value is 0. More...
 
NSUInteger dailyDrivingTime
 Driving time since last daily rest in seconds. Default value is 0. More...
 
NSUInteger currentDrivingTime
 Uninterrupted driving time in seconds. Default value is 0. More...
 
NSUInteger lastWeeklyRestTimestamp
 Time in seconds when the last weekly rest was taken relative to two week period. Must be less then currentTime. Default value is 0. More...
 
NSUInteger lastDailyRestTimestamp
 Time in seconds when the last daily rest was taken relative to two week period. Must be less then currentTime. Default value is 0. More...
 
NSUInteger usedExtendedDrivingPeriod
 Number of used periods when driving is longer than 9h. Default value is 0. More...
 
NSUInteger usedShortenedDailyRestPeriod
 Number of used periods when rest was shorter than 9h. Default value is 0. More...
 
SYAETRWeeklyRestType weeklyRestTaken
 Type of the last weekly rest taken. Default value is SYAETRWeeklyRestTypeNone. More...
 

Detailed Description

AETR profile, current state and settings to compute route with regular stops for rest during driving work.

Property Documentation

◆ placeCategories

- (NSArray<NSString*>*) placeCategories
readwritenonatomicstrong

Place categories which are considered as potential waypoints for rest, for example, SYPlaceCategoryPetrolStation. If nil then default categories are used.

◆ searchRadiusKm

- (NSUInteger) searchRadiusKm
readwritenonatomicassign

Radius in km for searching potential waypoints. Default value is 50.

◆ standard

- (SYLegalStopsStandard) standard
readwritenonatomicassign

Legal stops standard, the type of the requirements for regular rest during driving work. Default value is SYLegalStopsStandardDefault.

◆ currentTime

- (NSUInteger) currentTime
readwritenonatomicassign

Current time relative to two week period in seconds. Default value is 0.

◆ fortnightDrivingTime

- (NSUInteger) fortnightDrivingTime
readwritenonatomicassign

Two week driving period in seconds. Default value is 0.

◆ weeklyDrivingTime

- (NSUInteger) weeklyDrivingTime
readwritenonatomicassign

Weekly driving period in seconds. Default value is 0.

◆ dailyDrivingTime

- (NSUInteger) dailyDrivingTime
readwritenonatomicassign

Driving time since last daily rest in seconds. Default value is 0.

◆ currentDrivingTime

- (NSUInteger) currentDrivingTime
readwritenonatomicassign

Uninterrupted driving time in seconds. Default value is 0.

◆ lastWeeklyRestTimestamp

- (NSUInteger) lastWeeklyRestTimestamp
readwritenonatomicassign

Time in seconds when the last weekly rest was taken relative to two week period. Must be less then currentTime. Default value is 0.

◆ lastDailyRestTimestamp

- (NSUInteger) lastDailyRestTimestamp
readwritenonatomicassign

Time in seconds when the last daily rest was taken relative to two week period. Must be less then currentTime. Default value is 0.

◆ usedExtendedDrivingPeriod

- (NSUInteger) usedExtendedDrivingPeriod
readwritenonatomicassign

Number of used periods when driving is longer than 9h. Default value is 0.

◆ usedShortenedDailyRestPeriod

- (NSUInteger) usedShortenedDailyRestPeriod
readwritenonatomicassign

Number of used periods when rest was shorter than 9h. Default value is 0.

◆ weeklyRestTaken

- (SYAETRWeeklyRestType) weeklyRestTaken
readwritenonatomicassign

Type of the last weekly rest taken. Default value is SYAETRWeeklyRestTypeNone.


The documentation for this class was generated from the following file: