@autofleet/node-common 1.1.69 → 1.1.71
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 +28 -0
package/package.json
CHANGED
package/settings/map.js
CHANGED
|
@@ -55,6 +55,13 @@ module.exports = {
|
|
|
55
55
|
defaultValue: 4,
|
|
56
56
|
context: 'indefleet',
|
|
57
57
|
},
|
|
58
|
+
INDEFLEET_STRATEGY_NAME: {
|
|
59
|
+
name: 'Indefleet Strategy Name',
|
|
60
|
+
description: 'The name of the strategy to compute the desired state',
|
|
61
|
+
type: 'string',
|
|
62
|
+
defaultValue: 'max',
|
|
63
|
+
context: 'indefleet',
|
|
64
|
+
},
|
|
58
65
|
// FLEETING_DEMAND_CALCULATION_TIME_MARGIN_MINUTES ??
|
|
59
66
|
// FLEETING_DEMAND_CALCULATION_INTERVAL, FLEETING_DEMAND_CALCULATION_INTERVALS ??
|
|
60
67
|
ALLOW_STOP_POINT_OUTSIDE_TERRITORY: {
|
|
@@ -128,6 +135,13 @@ module.exports = {
|
|
|
128
135
|
defaultValue: 50000,
|
|
129
136
|
context: 'fuel',
|
|
130
137
|
},
|
|
138
|
+
MIN_TO_ELECTRIC_FUEL: {
|
|
139
|
+
name: 'Maximum time for electric fuel',
|
|
140
|
+
description: '',
|
|
141
|
+
type: 'number',
|
|
142
|
+
defaultValue: 15,
|
|
143
|
+
context: 'fuel',
|
|
144
|
+
},
|
|
131
145
|
DRIVER_MAX_MIN_TO_FUEL: {
|
|
132
146
|
name: 'Maximum time for fuel',
|
|
133
147
|
description: 'The maximum time in minutes for driver done with fuel',
|
|
@@ -164,6 +178,20 @@ module.exports = {
|
|
|
164
178
|
defaultValue: 0.9,
|
|
165
179
|
context: 'placement',
|
|
166
180
|
},
|
|
181
|
+
ENABLE_PLACEMENT: { // TODO: per fleet
|
|
182
|
+
name: 'Enable Placement',
|
|
183
|
+
description: 'Should placement be enabled for the fleet',
|
|
184
|
+
type: 'boolean',
|
|
185
|
+
defaultValue: true,
|
|
186
|
+
context: 'placement',
|
|
187
|
+
},
|
|
188
|
+
PLACEMENT_STRATEGY_NAME: { // TODO: per fleet
|
|
189
|
+
name: 'Placement Strategy Name',
|
|
190
|
+
description: 'The name of the strategy to compute the placment of vehicles',
|
|
191
|
+
type: 'string',
|
|
192
|
+
defaultValue: 'min-fleet-dist-to-fill-close-max-demand-tiles',
|
|
193
|
+
context: 'placement',
|
|
194
|
+
},
|
|
167
195
|
DRIVER_MAX_MINUTES_TO_COME_BACK: {
|
|
168
196
|
name: 'Parking threshold',
|
|
169
197
|
description: 'Minuets before the end of the shift for vehicles to get parking',
|