Exemple #1
0
 public SlaRepository(
     IGetTMC getTmc,
     IGetTMPG getTmpg,
     IGetTMPD getTmpd,
     IVerifySlaGerente verifySlaGerente,
     IVerifySlaDiretor verifySlaDiretor,
     IGetSlaGerentes getSlaGerentes,
     IGetSlaDiretores getSlaDiretores,
     IGetSlaEditalGerente getSlaEditalGerente,
     IGetSlaEditalDiretor getSlaEditalDiretor
     )
 {
     slaDesejadaLicitacao     = new TimeSpan(5, 0, 0, 0); //tempo minimo
     slaDesejadaGerente       = new TimeSpan(1, 0, 0, 0); //tempo maximo
     slaDesejadaDiretor       = new TimeSpan(2, 0, 0, 0); //tempo maximo
     this.getTmc              = getTmc;
     this.getTmpg             = getTmpg;
     this.getTmpd             = getTmpd;
     this.verifySlaGerente    = verifySlaGerente;
     this.verifySlaDiretor    = verifySlaDiretor;
     this.getSlaGerentes      = getSlaGerentes;
     this.getSlaDiretores     = getSlaDiretores;
     this.getSlaEditalGerente = getSlaEditalGerente;
     this.getSlaEditalDiretor = getSlaEditalDiretor;
 }
Exemple #2
0
 public ParecerGerenteRepository(
     IGetWaitingGerente getWaitingGerente,
     ISlaRepository slaRepository,
     IGetByIdGerente getByIdGerente,
     IGetDadosParecerGerente getDadosParecerGerente,
     IVerifiExistsParecerGerente verifiExistsParecerGerente,
     ICreateParecerGerente createParecerGerente,
     IUpdateParecerGerente updateParecerGerente,
     IGetSlaEditalGerente getSlaEdital
     )
 {
     this.getWaitingGerente          = getWaitingGerente;
     this.slaRepository              = slaRepository;
     this.getByIdGerente             = getByIdGerente;
     this.getDadosParecerGerente     = getDadosParecerGerente;
     this.verifiExistsParecerGerente = verifiExistsParecerGerente;
     this.createParecerGerente       = createParecerGerente;
     this.updateParecerGerente       = updateParecerGerente;
     this.getSlaEdital = getSlaEdital;
 }