Exemplo n.º 1
0
 public Cancela()
 {
     vaga           = new Estacionamento();
     bcg            = new BarCodeGeneratorTM();
     estacionamento = new InteracaoEstacionamentoComCFG();
     clock          = new GeradorDeDataTM();
 }
 public InteracaoEstacionamentoComCFG()
 {
     estDAO     = new EstacionamentoDAOImpl();
     cfgDAO     = new CfgDAOImpl();
     geradorCod = new BarCodeGeneratorTM();
     clock      = new GeradorDeDataTM();
 }
Exemplo n.º 3
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();
 }
Exemplo n.º 4
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();
 }