CapacitySchedule.record_change()
Record a single change in capacity.
Usage
CapacitySchedule.record_change(
action,
unit,
remove_target,
)Parameters
action: str-
Description of the capacity change (“removed” or “returned”).
unit: VidigiResource-
The individual ambulance resource object whose availability changed.
remove_target: int- Target number of units removed from the maximum resource pool.