@autofleet/node-common 1.1.71 → 1.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/settings/map.js +18 -4
package/package.json
CHANGED
package/settings/map.js
CHANGED
|
@@ -41,11 +41,11 @@ module.exports = {
|
|
|
41
41
|
defaultValue: 0,
|
|
42
42
|
context: 'indefleet',
|
|
43
43
|
},
|
|
44
|
-
|
|
45
|
-
name: '
|
|
44
|
+
INDEFLEET_WEIGHTED_AVG_WEIGHTS: {
|
|
45
|
+
name: 'INDEFLEET_WEIGHTED_AVG_WEIGHTS',
|
|
46
46
|
description: '',
|
|
47
47
|
type: 'json',
|
|
48
|
-
defaultValue: [
|
|
48
|
+
defaultValue: '[1, 1, 1, 1]',
|
|
49
49
|
context: 'indefleet',
|
|
50
50
|
},
|
|
51
51
|
FLEETING_CORRELATION_COEFFICIENT: { // ?
|
|
@@ -121,6 +121,13 @@ module.exports = {
|
|
|
121
121
|
defaultValue: 300,
|
|
122
122
|
context: 'route',
|
|
123
123
|
},
|
|
124
|
+
LOOK_FOR_ADDRESS: {
|
|
125
|
+
name: 'Should fill missing addresses',
|
|
126
|
+
description: 'If true request from map provider geocode for the stop point',
|
|
127
|
+
type: 'boolean',
|
|
128
|
+
defaultValue: false,
|
|
129
|
+
context: 'route',
|
|
130
|
+
},
|
|
124
131
|
METERS_FOR_CALC_NEW_ROUTE: {
|
|
125
132
|
name: 'Meters for re-calculation route',
|
|
126
133
|
description: 'The distance im meters to recalc the route',
|
|
@@ -187,11 +194,18 @@ module.exports = {
|
|
|
187
194
|
},
|
|
188
195
|
PLACEMENT_STRATEGY_NAME: { // TODO: per fleet
|
|
189
196
|
name: 'Placement Strategy Name',
|
|
190
|
-
description: 'The name of the strategy to compute the
|
|
197
|
+
description: 'The name of the strategy to compute the placement of vehicles',
|
|
191
198
|
type: 'string',
|
|
192
199
|
defaultValue: 'min-fleet-dist-to-fill-close-max-demand-tiles',
|
|
193
200
|
context: 'placement',
|
|
194
201
|
},
|
|
202
|
+
CS_CRON_TIME: {
|
|
203
|
+
name: 'Car Sharing Cron',
|
|
204
|
+
description: 'Car sharing placement interval cron setting',
|
|
205
|
+
type: 'string',
|
|
206
|
+
defaultValue: '0 */12 * * *',
|
|
207
|
+
context: 'placement',
|
|
208
|
+
},
|
|
195
209
|
DRIVER_MAX_MINUTES_TO_COME_BACK: {
|
|
196
210
|
name: 'Parking threshold',
|
|
197
211
|
description: 'Minuets before the end of the shift for vehicles to get parking',
|