internal BankTerminalWelcomeStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.WelcomeStepId; Title = "Welcome"; Content = "Press right arrow to continue"; KeyPadMode = KeyPadMode.Yes; KeyPadMaxChars = 10; }
internal BankTerminalEnterCardStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.EnterCardStepId; Title = "Enter Card"; Content = "(test card: 1111)"; KeyPadMode = KeyPadMode.Password; KeyPadMaxChars = 10; TimeOut = 10; TimeOutStep = BankTerminalStep.ExitStepId; }
internal BankTerminalCheckDoneStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.CheckDoneStepId; Title = "Would you like to perform another transaction?"; Content = ""; KeyPadMode = KeyPadMode.YesNo; KeyPadMaxChars = 10; TimeOut = 10; TimeOutStep = BankTerminalStep.ExitStepId; }
internal BankTerminalPrintReceiptStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.PrintReceiptStepId; Title = "Print Receipt?"; Content = ""; KeyPadMode = KeyPadMode.YesNo; KeyPadMaxChars = 10; TimeOut = 10; TimeOutStep = BankTerminalStep.ExitStepId; }
public BankTerminalExitStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.CheckDoneStepId; Title = "Goodbye"; Content = ""; KeyPadMode = KeyPadMode.Disabled; KeyPadMaxChars = 10; TimeOut = 3; TimeOutStep = BankTerminalStep.WelcomeStepId; }
internal BankTerminalEnterPinStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.EnterPinStepId; Title = "Enter Pin"; Content = "(test pin: 1234)"; KeyPadMode = KeyPadMode.Password; KeyPadMaxChars = 4; TimeOut = 10; TimeOutStep = BankTerminalStep.ExitStepId; }
internal BankTerminalEnterAmountStepViewModel(IBankTerminalService bankTerminalService) : base(bankTerminalService) { StepId = BankTerminalStep.EnterAmountStepId; Title = "Enter Amount"; Content = ""; KeyPadMode = KeyPadMode.Amount; KeyPadMaxChars = 10; TimeOut = 30; TimeOutStep = BankTerminalStep.ExitStepId; }
public BankTerminalStepViewModelFactory(ILoggerService loggerService, IBankTerminalService bankTerminalService) { _loggerService = loggerService; _bankTerminalService = bankTerminalService; }
internal BankTerminalStepViewModel(IBankTerminalService bankTerminalService) { this._bankTerminalService = bankTerminalService; }