Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Flow Diagram for a Toll Gate COP 4331 and EEL4884 OO Processes for Software Development © Dr. David A. Workman School of EE and Computer Science University.

Similar presentations


Presentation on theme: "Data Flow Diagram for a Toll Gate COP 4331 and EEL4884 OO Processes for Software Development © Dr. David A. Workman School of EE and Computer Science University."— Presentation transcript:

1 Data Flow Diagram for a Toll Gate COP 4331 and EEL4884 OO Processes for Software Development © Dr. David A. Workman School of EE and Computer Science University of Central Florida February 1, 2005 (Revised: February 18, 2010)

2 February 18, 2010(c) Dr. David A. Workman2 Context Diagram A Toll Gate Courier Service Cleared Vehicles Approaching Vehicles Level 0: Toll Gate Approaching Vehicles (before payment) Vehicles Clearing Gate (after payment) Courier w/ Cash Receipts State Toll Road Transaction Processing System Gate Transactions Armored Courier

3 February 18, 2010(c) Dr. David A. Workman3 Level 1 Decomposition 1.0 Capture Epass Id 2.0 Accept Cash 4.0 Collect & Pickup Daily Cash Receipts 3.0 Return Change & Receipt Cash Register Epass Transaction Cash Transaction Toll Road TPS Courier wo/Cash Courier w/Cash Courier Transaction Cleared Epass Vehicles Cleared Cash Vehicles (w/ Receipt) Cash Payment Change Daily Cash Receipts Cleared Cash Vehicles (need Receipt or change) Pay-by-Cash Vehicles Pay-by-Epass Vehicles Approaching Vehicles Cleared Vehicles Courier Service

4 February 18, 2010(c) Dr. David A. Workman4 Class & Object Model Transaction GateId: Text Location: Address YYMMDD: Date HHMMSS: Time Cash Transaction Payment: Money Change: Money Epass Transaction EpassId: Account Currier Transaction DriverId: Employee TruckId: PlateNo Amount: Money Vehicle VehicleId: PlateNo EpassVehicle EpassId: Account CashVehicle Cash: Money TollRecord: Receipt 1 Receipt GateId: Text Location: Address YYMMDD: Date HHMMSS: Time TollPaid: Money 1 VehicleContainer ArmoredTruck DriverId: Employee Amount: Money CashRegister Drawer: Money * TPS * There are three Instances of this class: Approaching, Rejected, Cleared

5 February 18, 2010(c) Dr. David A. Workman5 Class & Object Model Manage Approaching Vehicles Process Epass Vehicles Process Cash Vehicles Process Courier Cleared: VehicleContainer Approaching: VehicleContainer 1: remove next vehicle 2a: Serve Epass Vehicle 2b: Serve Cash Vehicle 9b-2: Add Cleared Cash Vehicle 5a: Add Cleared EpassVehicle CashRegister Currier: ArmoredTruck 4b-2: deposit payment 5b-2: Remove Change 3c: remove daily cash receipts 5c: Transfer Cash Transaction 4a: Create Epass Transaction 7b-2: Create CashTransaction :CashVehicle 3b: Request Payment 4b-1: Return Insufficient Payment 6b-2: Return Change 8b-2: Return Receipt Transaction 6c: Create Currier Transaction 4c:Get Currier Info :EpassVehicle 3a: Get Vehicle Id TPS 10b-2: Send CashTansaction 8c: Send Currier Tansaction 6a: Send Epass Tansaction 2c: Serve Currier 7c: Add Currier

6 February 18, 2010(c) Dr. David A. Workman6 Finish the Development Add Method Specs (Interfaces) to all classes. Do detailed design of each method body. Implement in C++ Test


Download ppt "Data Flow Diagram for a Toll Gate COP 4331 and EEL4884 OO Processes for Software Development © Dr. David A. Workman School of EE and Computer Science University."

Similar presentations


Ads by Google