示例#1
0
 public WithDrawal(int userAccount, Screen screen, BankDatabase bankDatabase, Keypad keypad, CashDispenser cashDispenser)
     : base(userAccount, screen, bankDatabase)
 {
     CANCELED           = userAccount;
     this.keypad        = keypad;
     this.cashDispenser = cashDispenser;
 }
示例#2
0
 public ATM()
 {
     userAuthenticated    = false;
     currentAccountNumber = 0;
     screen        = new Screen();
     keypad        = new Keypad();
     depositSlot   = new DepositSlot();
     bankDatabase  = new BankDatabase();
     cashDispenser = new CashDispenser(0, 0);
 }
示例#3
0
 public Balancelnquiry(int accountNumber, Screen screen, BankDatabase bankDatabase)
     : base(accountNumber, screen, bankDatabase)
 {
 }
 public Transaction(int userAccount, Screen theScreen, BankDatabase theDatabase)
 {
     accountNumber = userAccount;
     userScreen    = theScreen;
     database      = theDatabase;
 }
示例#5
0
 public Deposit(int userAccountNumber, Screen atmScreen, BankDatabase atmBankDatabase, Keypad atmKeypad, DepositSlot atmDepositSlot)
     : base(userAccountNumber, atmScreen, atmBankDatabase)
 {
     keypad      = atmKeypad;
     depositSlot = atmDepositSlot;
 }