Tuesday, April 14, 2015

Use cases from Class

Here are the use cases for the Commuter

Here are the use cases for Card Reader


Use Case: Pay Bus Fare
Precondition: Card has sufficient funds.

Trigger: Customer Taps card on entering bus.
Steps
1. Check the Card Type 
2. Get Fare Information
3. If Card Type Purse
4. Check Card balance
5. Deduct Card Fare
a. Card type pass (alternate path)
b. Bypass fare deduction
6. Record the trip information on Card
7. Log trip information to servers
Terminal Condition:
The fare is paid and the trip is recorded

No comments:

Post a Comment