This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sidebar:remoteapi:apiref:format:resource [20/01/2018 10:06] stan [Resources] |
en:sidebar:remoteapi:apiref:format:resource [14/04/2025 06:29] (current) zant [Drivers] |
||
---|---|---|---|
Line 165: | Line 165: | ||
"pu":<long>, /* previous binded unit */ | "pu":<long>, /* previous binded unit */ | ||
"bt":<uint>, /* time of last binging/unbinding */ | "bt":<uint>, /* time of last binging/unbinding */ | ||
- | "pos":{ /* position */ | + | "pos":{ /* last position, null - if driver is bound to unit */ |
"y":<double>, /* latitude */ | "y":<double>, /* latitude */ | ||
"x":<double> /* longitude */ | "x":<double> /* longitude */ | ||
}, | }, | ||
infr: { /*parameters for analysis infringements of work and rest of drivers AETR */ | infr: { /*parameters for analysis infringements of work and rest of drivers AETR */ | ||
- | "a": <uint>, /* current activity */ | + | "a": <uint>, /* current activity type (0 — rest, 1 — availability, 2 — work, 3 — driving) */ |
- | "t": <uint>, /* the start time of this activity */ | + | "t": <uint>, /* the start time of this activity in Unix time format */ |
"ud": <uint>, /* duration of uninterrupted driving before the current activity */ | "ud": <uint>, /* duration of uninterrupted driving before the current activity */ | ||
"ur": <uint>, /* duration of uninterrupted rest before the current activity */ | "ur": <uint>, /* duration of uninterrupted rest before the current activity */ | ||
- | "uil": <uint>, /* allowed duration of uninterrupted driving */ | + | "uil": <uint>, /* allowed duration of uninterrupted driving (270 min) */ |
- | "uim": <uint>, /* duration of uninterrupted driving to which the violation is infringement minor */ | + | "uim": <uint>, /* duration of uninterrupted driving to which the infringement is considered minor (300 min) */ |
- | "uis": <uint>, /* duration of uninterrupted driving to which the violation is infringement serious (above - very serious) */ | + | "uis": <uint>, /* duration of uninterrupted driving to which the infringement is considered serious (360 min); above - very serious */ |
- | "uir": <uint>, /* duration of required rest */ | + | "uir": <uint>, /* duration of required rest (45 minutes for each 4.5 hours) */ |
- | "ddt": <uint>, /* daily driving time before the current activity */ | + | "ddt": <uint>, /* daily driving time before the current activity (total driving) */ |
- | "ddc": <uint>, /* allowed number of prolonged daily driving in this week */ | + | "dbt": <uint>, /* start time of daytime activity in Unix time format */ |
- | "ddil": <uint>, /* allowed duration of daily driving */ | + | "ddc": <uint>, /* allowed number of prolonged daily driving in this week (decrements from 2 to 0; connected to ddil, ddim, ddis) */ |
- | "ddim": <uint>, /* allowed duration of daily driving (minor infringement ) */ | + | "ddil": <uint>, /* allowed duration of daily driving (if ddc:0 value is 600, else 540) */ |
- | "ddis": <uint>, /* allowed duration of daily driving (serious infringement(above very serious)) */ | + | "ddim": <uint>, /* allowed duration of daily driving up to which the infringement is considered minor (if ddc:0 value is 660, else 600) */ |
+ | "ddis": <uint>, /* allowed duration of daily driving up to which the infringement is considered serious (if ddc:0 value is 720, else 660); above - very serious */ | ||
"wdt": <uint>, /* duration of weekly driving before the current activity */ | "wdt": <uint>, /* duration of weekly driving before the current activity */ | ||
- | "wdil": <uint>, /* allowed duration of weekly driving */ | + | "wdil": <uint>, /* allowed duration of weekly driving (3360 min) */ |
- | "wdim": <uint>, /* allowed duration of weekly driving (minor infringement) */ | + | "wdim": <uint>, /* allowed duration of weekly driving up to which the infringement is considered minor (3600 min) */ |
- | "wdis": <uint>, /* allowed duration of weekly driving (serious infringement(above very serious)) */ | + | "wdis": <uint>, /* allowed duration of weekly driving up to which infringement is considered serious (4200 min); above - very serious */ |
"twdt": <uint>, /* duration for two weeks of driving before the current activity */ | "twdt": <uint>, /* duration for two weeks of driving before the current activity */ | ||
- | "twdil": <uint>,/* allowed duration for two weeks of driving */ | + | "twdil": <uint>,/* allowed duration for two weeks of driving (5400 min) */ |
- | "twdim": <uint>,/* allowed duration for two weeks of driving (minor infringement) */ | + | "twdim": <uint>,/* allowed duration for two weeks of driving up to which the infringement is considered minor (6000 min) */ |
- | "twdis": <uint>,/* allowed duration for two weeks of driving (serious infringement(above very serious)) */ | + | "twdis": <uint>,/* allowed duration for two weeks of driving up to which the infringement is considered serious (6750 min); above - very serious */ |
"drt": <uint>, /* duration of the previous daily rest */ | "drt": <uint>, /* duration of the previous daily rest */ | ||
- | "drd": <uint>, /* duration of the required daily rest */ | + | "drd": <uint>, /* duration of the required daily rest (660 min by default, 540 min for reduced daily rest) */ |
- | "dril": <uint>, /* time before which daily rest should occure */ | + | "dril": <uint>, /* time in Unix time format up to which daily rest should begin */ |
- | "drim": <uint>, /* time before which an infringement is considered to be minor */ | + | "drim": <uint>, /* time in Unix time format up to which violation of the rest period is considered minor (60 min more) */ |
- | "dris": <uint>, /* time before which an infringement is considered to be serious(above very serious) */ | + | "dris": <uint>, /* time in Unix time format up to which violation of the rest period is considered serious (120 min more); above - very serious */ |
"wrt": <uint>, /* duration of the previous weekly rest */ | "wrt": <uint>, /* duration of the previous weekly rest */ | ||
- | "wrd": <uint>, /* duration of the required weekly rest */ | + | "wrd": <uint>, /* duration of the required weekly rest (2700 min by default, 1440 min for reduced weekly rest) */ |
- | "wril": <uint>, /* time before which weekly rest should occure */ | + | "wril": <uint>, /* time in Unix time format up to which weekly rest should begin */ |
- | "wrim": <uint>, /* time before which an infringement is considered to be minor */ | + | "wrim": <uint>, /* time in Unix time format up to which violation of the rest period is considered minor (120 min more) */ |
- | "wris": <uint> /* time before which an infringement is considered to be serious(above very serious) */ | + | "wris": <uint> /* time in Unix time format up to which violation of the rest period is considered serious (240 min more); above - very serious */ |
} | } | ||
}, | }, | ||
Line 470: | Line 471: | ||
"n":<text>, /* name */ | "n":<text>, /* name */ | ||
"d":<text>, /* description */ | "d":<text>, /* description */ | ||
- | "drs":[<uint>] /* array of geofences IDs */ | + | "zns":[<uint>] /* array of geofences IDs */ |
}, | }, | ||
... | ... | ||
Line 496: | Line 497: | ||
"bt": <uint>, /* last binding/unbinding time */ | "bt": <uint>, /* last binding/unbinding time */ | ||
"tz": <int>, /* time zone */ | "tz": <int>, /* time zone */ | ||
+ | "art": <int>, /* automatic time unbinding */ | ||
"pos": { /* position */ | "pos": { /* position */ | ||
"y": <double>, /* latitude */ | "y": <double>, /* latitude */ |
|