public InteracaoEstacionamentoComCFG() { estDAO = new EstacionamentoDAOImpl(); cfgDAO = new CfgDAOImpl(); geradorCod = new BarCodeGeneratorTM(); clock = new GeradorDeDataTM(); }
public CalculadorDePrecos() { estDAO = new EstacionamentoDAOImpl(); clock = new GeradorDeDataTM(); cfg = new CfgDAOImpl(); intcfg = new InteracaoEstacionamentoComCFG(); horaEncerramento = cfg.GetConfiguracao().horaEncerrameto.Hour; horaAbertura = cfg.GetConfiguracao().horaAbertura.Hour; }