Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 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();
 }