示例#1
0
 public PreparacaoPagamentoService(ILogError log, ICommon common, IChaveCicsmo chave, IProdespPagamentoContaUnica prodesp, IProdespPagamentoContaDer prodespContaDer, ICrudPreparacaoPagamento repository) : base(log, common, chave)
 {
     _prodespContaDer = new ProdespPagamentoContaDerService(log, prodespContaDer); 
     _preparacaoPagamentoTipo = new PreparacaoPagamentoTipoService(new PreparacaoPagamentoTipoDal());
     _prodespContaUnica = new ProdespPagamentoContaUnicaService(log, prodesp);
     _repository = repository;
     _chave = new ChaveCicsmoService(log, chave);
 }
 public ArquivoRemessaService(ILogError log, IChaveCicsmo chave, ICrudArquivoRemessa repository, IProdespPagamentoContaDer prodespContaDer)
     : base(log)
 {
     this._repository        = repository;
     this._prodespContaUnica = new ProdespPagamentoContaUnicaService(new LogErrorDal(), new ProdespPagamentoContaUnicaWs());
     this._prodespContaDer   = new ProdespPagamentoContaDerService(new LogErrorDal(), new ProdespPagamentoContaDerWs());
     _chave = new ChaveCicsmoService(log, chave);
 }
        public ProgramacaoDesembolsoExecucaoService(ILogError log, ICommon common, IChaveCicsmo chave, ICrudProgramacaoDesembolsoExecucao repository, ICrudProgramacaoDesembolsoExecucaoItem repositoryItem, SiafemPagamentoContaUnicaService siafem, ProdespPagamentoContaDerService prodespContaDer) : base(log, common, chave)
        {
            this._repository     = repository;
            this._repositoryItem = repositoryItem;

            this._siafem          = siafem;
            this._prodespContaDer = prodespContaDer;

            _chave = new ChaveCicsmoService(log, chave);
        }
 public CommonService(ILogError l, ICommon c, IProdespReserva prodespReserva, ISiafemReserva siafemReserva, ISiafemEmpenho siafemEmpenho, IChaveCicsmo chave) : base(l)
 {
     _prodespReserva = new ProdespReservaService(l, prodespReserva, new ProgramaDal(), new FonteDal(), new EstruturaDal(), new RegionalDal());
     _prodespEmpenho = new ProdespEmpenhoService(l, new ProdespEmpenhoWs(), new ProgramaDal(), new FonteDal(), new EstruturaDal(), new RegionalDal());
     _prodespLiquidacaoDespesaService   = new ProdespLiquidacaoDespesaService(l, new ProdespLiquidacaoDespesaWs(), new EstruturaDal());
     _prodespPagamentoContaUnicaService = new ProdespPagamentoContaUnicaService(l, new ProdespPagamentoContaUnicaWs());
     _prodespPagamentoContaDerService   = new ProdespPagamentoContaDerService(l, new ProdespPagamentoContaDerWs());
     _siafemReserva                    = new SiafemReservaService(l, siafemReserva, new ProgramaDal(), new FonteDal(), new EstruturaDal());
     _siafemEmpenho                    = new SiafemEmpenhoService(l, siafemEmpenho, new ProgramaDal(), new FonteDal(), new EstruturaDal());
     _siafemSubempenho                 = new SiafemLiquidacaoDespesaService(l, new SiafemLiquidacaoDespesaWs(), new ProgramaDal(), new FonteDal(), new EstruturaDal());
     _regional                         = new RegionalService(l, new RegionalDal());
     _chave                            = new ChaveCicsmoService(l, chave);
     _common                           = c;
     _programacaoDesembolso            = new ProgramacaoDesembolsoService(l, c, chave, new ProgramacaoDesembolsoDal(), new ProgramacaoDesembolsoAgrupamentoDal(), new ProgramacaoDesembolsoEventoDal(), new SiafemPagamentoContaUnicaWs(), new ProdespPagamentoContaUnicaWs());
     _programacaoDesembolsoAgrupamento = new ProgramacaoDesembolsoAgrupamentoService(l, new ProgramacaoDesembolsoAgrupamentoDal());
     _siafemContaUnica                 = new SiafemPagamentoContaUnicaService(l, new SiafemPagamentoContaUnicaWs());
 }