Closed larskendall closed 4 years ago
Switch UHU from using the shift/week/etc in calculations to using the current one, with calculations up to the second.
getTimeRange()
hourUtilizationPercent
/api/third-party/first-arriving/unit-utilization
unit_hour_utilization
To verify the time range is correct, you could drop this line in first-arriving.controller.js after line 78: Log.info('timeRange', timeRange);
first-arriving.controller.js
Log.info('timeRange', timeRange);
Overview
Switch UHU from using the shift/week/etc in calculations to using the current one, with calculations up to the second.
GitHub Issues
495
Changes
getTimeRange()
andhourUtilizationPercent
calculationSteps to Test
/api/third-party/first-arriving/unit-utilization
endpoint, taking note of theunit_hour_utilization
values.unit_hour_utilization
values. They should change slightly as each second passes.To verify the time range is correct, you could drop this line in
first-arriving.controller.js
after line 78:Log.info('timeRange', timeRange);