示例#1
0
 public CancelaSaida()
 {
     calc    = new CalculadorDePrecos();
     est     = new EstacionamentoDAOImpl();
     datador = new GeradorDeDataTM();
     estcfg  = new InteracaoEstacionamentoComCFG();
     im      = new IntercaoMotivos();
 }
示例#2
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();
 }
示例#3
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();
 }