atm
2019-03-14 09:31:29 31 举报
ATM类图及操作流程图
作者其他创作
大纲/内容
5
atm状态?
3
存款/还款
Account
+accountType:bool+accountStatus:bool+cardNo:string+name:string+id:string+password:string+withdrawCashLimitPerDay:int
+getAccountInfo(ofstream&):void+showAccountInfo():void+withdrawCash(int):bool+depositCash(int):bool+verifyPassword(string):bool+modifyPassword():bool
转账
6
1
2
修改密码
设置当前账户
取款
start
是
4
修改文件
打印账户信息
输入的指令?
密码是否正确?
否
显示菜单
输入卡号
ATM
+accounts:vector+currentAccount:Account*
+ATM()+~ATM()+loadFile():void+modifyFile():void+pluginCard():string+searchAccount(string&):Account*+setCurrentAccount(Account*):bool+verifyPassword():bool+displayMsg():void+showAccountInfo():void+withdrawCash():void+depositCash():void+moneyTransfer();void+verifyPassword():void+modifyPassword():void
DepositAccount
+balance:int
结束
LoanAccount
+debt:int+loanLimit:int
0 条评论
回复 删除
下一页