Dispatch Request
ElvatorSheduler
Get Request
Acquire All Finished Request
Set End
create
if To Open ?
hw7增加 — 换乘
Add Elevator
if Not Destination
Get Next Direction Move One Floor
SheduleThread
InPutThread
hw5 — 电梯及其调度器
BuildingSheduler
Update Next StageAdd Request
Check And End
RequestCounter
ElvatorThread
Choose Optimal Elv
if Destination
Add Request
if To Wait ?
Person Out
hw6增加 — 层间调度
hw7增加 — 全局换乘结束