Appearance
@grabm/abm / Class: DailyPlacementCapacity
ts
import { DailyPlacementCapacity } from '@grabm/abm'A planning constraint, not a physical reservation. Execution remains the authority. Replace by stable person/day identity after any plan amendment.
Constructors
Constructor
ts
new DailyPlacementCapacity(): DailyPlacementCapacity;Returns
DailyPlacementCapacity
Methods
fits()
ts
fits(
owner,
destinationId,
start,
end,
capacity,
people?
): boolean;Parameters
owner
string | readonly string[]
destinationId
string
start
number
end
number
capacity
number
people?
number = 1
Returns
boolean
replace()
ts
replace(owner, rows): void;Parameters
owner
string
rows
readonly PlannedOccupancy[]
Returns
void