实验3
2024-11-11 14:25:15 1 举报
rg
作者其他创作
大纲/内容
+Available:string+Supper:string
Contains
+ChangePINO:void+SctPIN(innumber;int):void+WithdrawCashO):void
ATMCard
Supplies
Views
+CalculateInterest():void
CardScanner
ATM
+CalculateInterest():void+GetAccountBalance():double+UpdateAccount():void+CancelTransaction():void+VerifyWithdrawalAmount( ):void
Account-Amount:double-AccountNumber:int-Deposit:bool
+location:STring+Branchanme:string
BankCustomer
+AcceptCard():bool+ReadCard():void+EjectCardO:void+ValidatePIN():void
-InterestRate:float
DisplayScreen
+Greatereccept:string
+Prompt( ):void+AcceptInput( ):void
+CalculateInterest( ):void
Account
+InsertCardO:void+SelectTransactionO):voidViews-CardID:long+EnterPIN(inNumder:int):void-Acc:Account
Transaction
+CalculateBalance(in Balance:double):double+StartTransactionO):void+CalculateInterest():void+GetAccountBalance():double+UpdateAccount():void+CancelTransaction():void
-CustomerName:string-AvailableCash:float+SupplyCash( ):void-PhoneNumber:int+GenerateReceipt():void-Email:string-Card:ATMCard-Acc:Account
-CardID:long+EnterPIN(inNumder:int):void-Acc:Account
Part of
-AccountNumber:int-Deposit:bool-Balance:double-Trans:Transaction
CurrentAccount
CashDispaen
+show:void
Inserts Card
SavingsAccount
Invokes
0 条评论
回复 删除
下一页