public CancelaSaida() { calc = new CalculadorDePrecos(); est = new EstacionamentoDAOImpl(); datador = new GeradorDeDataTM(); estcfg = new InteracaoEstacionamentoComCFG(); im = new IntercaoMotivos(); }
public Guiche() { im = new IntercaoMotivos(); cfg = new InteracaoEstacionamentoComCFG(); cp = new CalculadorDePrecos(); bcg = new BarCodeGeneratorTM(); clock = new GeradorDeDataTM(); yareYare = new InteracaoUsuarioEstacionamento(); ticketEmitir = new Estacionamento(); estDAO = new EstacionamentoDAOImpl(); }
public Facade() { intCfg = new InteracaoEstacionamentoComCFG(); intUser = new InteracaoUsuarioEstacionamento(); calcP = new CalculadorDePrecos(); cancela = new Cancela(); cancSaida = new CancelaSaida(); bcg = new BarCodeGeneratorTM(); clock = new GeradorDeDataTM(); guiche = new Guiche(); }