In designIllustrative example, synthetic data
A morning at Door 3, entry by entry
Each entry shows what was recorded and what the door looks like afterwards.
Event log
09:58
Book arrival
TR-219 is recorded as arrived. Its slot is 10:00 to 11:00 at Door 3.
Door 3: TR-207 active
10:00
Slot passes
Door 3's earlier slot ends. TR-207 has no clear event, so the board shows it past slot and still active.
Door 3: past slot
10:04
Assign door: refused
The coordinator tries to assign TR-219 to Door 3. Refused: two active trailers cannot occupy the same door. TR-219 stays in the queue and the exception stays with its owner.
Door 3: unchanged
10:15
Assign door: accepted
The controller looks at the alternatives and the coordinator assigns TR-219 to Door 2, which is idle until 12:00.
Door 2: TR-219 assigned
10:22
Unload
Unload start is recorded for TR-219. Door 2 shows unloading.
Door 2: unloading
11:02
Clear door
Unload finish, then door cleared, are recorded. Door 2 is idle again and the history keeps every step.
Door 2: idle
Same door, two answers
Ask to assign a trailer to Door 3 at two different points in the record.
While TR-207 is active the planned rule refuses TR-219. Choose cleared and ask again to see it accepted.