コード例 #1
0
 public Otimizacao(TempProducaoContext _resultContext,
                   CensoContext _context,
                   CargaContext _cargaContext,
                   ProfessorAddContext _ProfessorAddContext,
                   IConfiguration _configuration)
 {
     this.ResultContext       = _resultContext;
     this.Context             = _context;
     this.CargaContext        = _cargaContext;
     this.ProfessorAddContext = _ProfessorAddContext;
     this.Configuration       = _configuration;
 }
コード例 #2
0
        public RegulatorioController(ProfessorIESContext Context
                                     , ProfessorContext ProfContext
                                     , RegimeContext regimeContext
                                     , CensoContext CContext
                                     , CargaContext cargaContext
                                     , CampusContext _campusContext
                                     , ProfessorMatriculaContext _matContext
                                     , IConfiguration _configuration)
        {
            if (dicProfessorCampus == null)
            {
                dicProfessorCampus = CampusProfessor.getCampusProfessor(_configuration);
            }

            this.Context          = Context;
            this.Profcontext      = ProfContext;
            this.RegContext       = regimeContext;
            this.CContext         = CContext;
            this.CgContext        = cargaContext;
            this.CampusContext    = _campusContext;
            this.MatriculaContext = _matContext;

            this.listaForaSede = new List <string>()
            {
                "4"
                , "5"
                , "7"
                , "8"
                , "33"
                , "42"
                , "43"
                , "44"
                , "49"
                , "51"
                , "52"
                , "61"
                , "67"
                , "297"
                , "301"
                , "564"
                , "720"
                , "721"
                , "1002"
            };
        }
コード例 #3
0
 public Otimizacao(TempProducaoContext _resultContext, CensoContext _context, CargaContext _cargaContext)
 {
     this.ResultContext = _resultContext;
     this.Context       = _context;
     this.CargaContext  = _cargaContext;
 }