【正文】
)ChangePIN(更改密碼) 提供更改密碼的功能。 (8)PrintReceipt(打印憑條) 客戶選擇打印憑條,包括顯示日期,時(shí)間,機(jī)器位置,操作,理由,數(shù)量,結(jié)果類型,受到影響的原因和可供使用的選擇。 3.3 Use Case Diagram(系統(tǒng)用例圖)4.靜態(tài)結(jié)構(gòu)模型分析4.1 類的分析(初步)4.2 CRC 類的責(zé)任與交互的描述邊界類:1. CcardReader a) Responsibility: i. Tell ATM When Card is Inserted ii. Eject Card iii. Read info from card iv. Retain card b) Collaborations: i. ATM ii. Session iii. Card 2. CcashDispenser a) Responsibility: i. Dispense cash ii. Keep the amount of cash available iii. Init cash amount b) Collaborations: i. Clog ii. CTransaction 3. CCustomerConsole a) Responsibility: i. Display messages ii. Display menu and receive a choice iii. Display a prompt and receive a PIN iv. Display a prompt and receive the amount of money v. Display a dialog and receive the response b) Collaborations: i. CTransaction ii. CSession 4. CKeyboard a) Responsibility: Watch the gesture from the keyboard b) Collaborations: CCustomerConsole 5. CScreen a) Responsibility: Display drawing and strings b) Collaborations: CCustomerConsole 6. CCashReceiver a) Responsibility: Receive the cash from the customer b) Collaborations: Clog 7. Cbank a) Responsibility: i. Connect to bank ii. Send message to bank iii. Receive message to bank iv. Shut down connection to bank b) Collaborations: i. Clog ii. CSession iii. Cmessage 8. CoperatorPannel a) Responsibility: i. Inform ATM system is shutdown ii. Inform ATM system is started iii. Inform cashdispenser the initial amount of cash b) Collaboration: i. CATM ii. CCashDispenser 9. Cprinter a) Responsibilities: Print the receipt b) Collaboration: i. CATM ii. CTransaction iii. Clog iv. CReceipt 實(shí)體類: Clog a) Responsibility: i. Write log message from bank ii. Write log message from cardreader iii. Write log message from session iv. Write log message from Transaction b) Collaborations: i. CBank ii. CCardreader iii. CTransaction Cmessage a) Responsibility: Hold information to send to the bank server b) Collorations: