onroute-policy-engine 2.11.0 → 2.11.1
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.
|
@@ -169,9 +169,9 @@ export declare function CheckMinSteerAxleWeight(_policy: Policy, _vehicleConfigu
|
|
|
169
169
|
* Validates minimum drive axle weight requirements for tandem and tridem drive power units.
|
|
170
170
|
*
|
|
171
171
|
* This function checks that the drive axle meets minimum weight requirements based on the
|
|
172
|
-
* Gross Vehicle
|
|
173
|
-
* or 23,000
|
|
174
|
-
* or 28,000
|
|
172
|
+
* Gross Combined Vehicle Weight (GCVW). For tandem drive axles, the minimum is 20% of GCVW
|
|
173
|
+
* or 23,000 kg (whichever is smaller). For tridem drive axles, the minimum is 20% of GCVW
|
|
174
|
+
* or 28,000 kg (whichever is smaller).
|
|
175
175
|
*
|
|
176
176
|
* @param _policy - The policy instance (unused in this check, but required by PolicyCheck type)
|
|
177
177
|
* @param _vehicleConfiguration - Vehicle configuration (unused in this check, but required by PolicyCheck type)
|
|
@@ -179,12 +179,12 @@ export declare function CheckMinSteerAxleWeight(_policy: Policy, _vehicleConfigu
|
|
|
179
179
|
* @returns Array of AxleGroupPolicyCheckResult objects with validation results
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
|
-
* // For a tandem drive configuration with
|
|
182
|
+
* // For a tandem drive configuration with GCVW of 120,000 kg
|
|
183
183
|
* const results = CheckMinDriveAxleWeight(policy, ['TRKTRAC'], [
|
|
184
184
|
* { numberOfAxles: 1, axleUnitWeight: 12000 }, // Steer axle
|
|
185
185
|
* { numberOfAxles: 2, axleUnitWeight: 24000 } // Tandem drive axle
|
|
186
186
|
* ]);
|
|
187
|
-
* // Returns pass if drive axle weight >= min(20% of
|
|
187
|
+
* // Returns pass if drive axle weight >= min(20% of GCVW, 23,000 kg)
|
|
188
188
|
*
|
|
189
189
|
* @see PolicyCheck
|
|
190
190
|
* @see AxleGroupPolicyCheckResult
|
|
@@ -343,9 +343,9 @@ function CheckMinSteerAxleWeight(_policy, _vehicleConfiguration, axleConfigurati
|
|
|
343
343
|
* Validates minimum drive axle weight requirements for tandem and tridem drive power units.
|
|
344
344
|
*
|
|
345
345
|
* This function checks that the drive axle meets minimum weight requirements based on the
|
|
346
|
-
* Gross Vehicle
|
|
347
|
-
* or 23,000
|
|
348
|
-
* or 28,000
|
|
346
|
+
* Gross Combined Vehicle Weight (GCVW). For tandem drive axles, the minimum is 20% of GCVW
|
|
347
|
+
* or 23,000 kg (whichever is smaller). For tridem drive axles, the minimum is 20% of GCVW
|
|
348
|
+
* or 28,000 kg (whichever is smaller).
|
|
349
349
|
*
|
|
350
350
|
* @param _policy - The policy instance (unused in this check, but required by PolicyCheck type)
|
|
351
351
|
* @param _vehicleConfiguration - Vehicle configuration (unused in this check, but required by PolicyCheck type)
|
|
@@ -353,12 +353,12 @@ function CheckMinSteerAxleWeight(_policy, _vehicleConfiguration, axleConfigurati
|
|
|
353
353
|
* @returns Array of AxleGroupPolicyCheckResult objects with validation results
|
|
354
354
|
*
|
|
355
355
|
* @example
|
|
356
|
-
* // For a tandem drive configuration with
|
|
356
|
+
* // For a tandem drive configuration with GCVW of 120,000 kg
|
|
357
357
|
* const results = CheckMinDriveAxleWeight(policy, ['TRKTRAC'], [
|
|
358
358
|
* { numberOfAxles: 1, axleUnitWeight: 12000 }, // Steer axle
|
|
359
359
|
* { numberOfAxles: 2, axleUnitWeight: 24000 } // Tandem drive axle
|
|
360
360
|
* ]);
|
|
361
|
-
* // Returns pass if drive axle weight >= min(20% of
|
|
361
|
+
* // Returns pass if drive axle weight >= min(20% of GCVW, 23,000 kg)
|
|
362
362
|
*
|
|
363
363
|
* @see PolicyCheck
|
|
364
364
|
* @see AxleGroupPolicyCheckResult
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "v2.11.
|
|
1
|
+
export declare const version = "v2.11.1";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED