示例#1
0
 public Deposit(int userAccountNumber, Screen atmScreen, BankDatabase atmBankDatabase, Keypad atmKeypad, DepositSlot atmDepositSlot)
     : base(userAccountNumber, atmScreen, atmBankDatabase)
 {
     keypad      = atmKeypad;
     depositSlot = atmDepositSlot;
 }
示例#2
0
 public Withdrawal(int userAccountNumber, Screen atmScreen, BankDatabase atmBankDatabase, Keypad atmKeypad, CashDispenser atmCashDispenser)
     : base(userAccountNumber, atmScreen, atmBankDatabase)
 {
     keypad        = atmKeypad;
     cashDispenser = atmCashDispenser;
 }