Documente Academic
Documente Profesional
Documente Cultură
Stuart Hagan
11
Contents
Clear statement of assumptions made ...................................................................................... 2 Correct data context diagram .................................................................................................... 3 Correct control context diagram................................................................................................ 4 Correct diagram DFD 0 ............................................................................................................... 5 Correct diagram CFD 0 ............................................................................................................... 6 Precise and concise process specifications ................................................................................ 6 Correct control specification.................................................................................................... 11 Correct and consistent enhanced diagram DFD 0 ................................................................... 12 Correct and consistent diagram AFD 0 .................................................................................... 13 Correct and consistent traceability matrix .............................................................................. 14
1. Passenger issues up summons request. 2. Passenger issues down summons request. 3. Elevator reaches summoned floor. 4. Elevator not available for summons request. 5. Elevator becomes available for summons request. 6. Passenger issues destination request. 7. Elevator reaches requested destination. 8. Elevator arrives at floor. 9. Elevator departs floor. 10. Elevator fails to move (goes out of service). 11. Elevator returns to normal service. 12. Elevator becomes overloaded. 13. Elevator load becomes normal.
xxxx
Input-summons-request occurs
output
1.1.3
Input
1.1.4
Input
None
Output
1.2.3
7
Input There is an elevator-number in elevator-statuses that matches elevator-number in destination-requests Also There is a corresponding current-floor in elevator-statuses that matches floornumber in destination-requests Output Corresponding entry in destination-requests is null
1.2.4
Inputs
None
Output
Destination-requests are displayed
2.1.2
Input
There is an elevator-number in elevator-statuses that matches elevator-number in destinationschedules
Also
There is a corresponding current-floor in elevator-statuses that matches destination-floor in destination-schedules. Corresponding destination-pending = off in destination-schedules
Output
Corresponding entry in destination-requests is null
2.1.3
Input
Local term match is a matching elevator-number in destination-schedules and elevator-number in elevator-statusPrecondition 1 match exists
Also
There exists in destination-schedules a destination-floor > current-floor in elevator-status
Output
Destination-up is produced
also
Match exists
and
There exists in destination-schedules a destination-floor < current-floor in elevator-status
Also
Destination-down is produced
2.2.2
Input
Floor occurs
Output
Arrival-indication is cleared for previous floor
and
Arrival-indication is produced for corresponding floor
and
9
At-floor is produced
and
Current-floor is updated in elevator-statuses
2.2.3 Input
10
11
12
13
14