public List <ReporteEppBE> ListadoEquipo(int IdEmpresaResponsable, DateTime FechaDesde, DateTime FechaHasta) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.ListadoEquipo(IdEmpresaResponsable, FechaDesde, FechaHasta)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> ListadoConsumoResumen(DateTime FechaDesde, DateTime FechaHasta) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.ListadoConsumoResumen(FechaDesde, FechaHasta)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> ListadoPorTipoEntrega(int IdEmpresaResponsable, int IdUnidadMineraResponsable, int IdAreaResponsable, int IdTipoEntrega, DateTime FechaDesde, DateTime FechaHasta) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.ListadoPorTipoEntrega(IdEmpresaResponsable, IdUnidadMineraResponsable, IdAreaResponsable, IdTipoEntrega, FechaDesde, FechaHasta)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> ListadoConsumoMensualSectorResponsable(int Periodo, int IdEmpresaResponsable, int IdUnidadMineraResponsable, int IdAreaResponsable) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.ListadoConsumoMensualSectorResponsable(Periodo, IdEmpresaResponsable, IdUnidadMineraResponsable, IdAreaResponsable)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> ListadoConsumoMensualNegocio(int Periodo, int IdEmpresaResponsable) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.ListadoConsumoMensualNegocio(Periodo, IdEmpresaResponsable)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> ListadoConsumoAnualUnidadMineraResponsable(int IdEmpresaResponsable) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.ListadoConsumoAnualUnidadMineraResponsable(IdEmpresaResponsable)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> Listado(int IdEpp) { try { ReporteEppDL Epp = new ReporteEppDL(); return(Epp.Listado(IdEpp)); } catch (Exception ex) { throw ex; } }
public List <ReporteEppBE> ListadoConsumoMensualEmpresaResponsable(int Periodo) { try { List <EmpresaBE> lstEmpresa; List <ReporteEppBE> lstConsumoMensualEmpresa; lstEmpresa = new EmpresaDL().ListaCombo(Parametros.intTECorporativo); lstConsumoMensualEmpresa = new ReporteEppDL().ListadoConsumoMensualEmpresaResponsable(Periodo); List <string> lstMes = new List <string>(); foreach (var item in lstConsumoMensualEmpresa) { var Buscar = lstMes.Where(x => x.Contains(item.Mes)).ToList(); if (Buscar.Count == 0) { lstMes.Add(item.Mes); } } foreach (string strMes in lstMes) { foreach (var ItemEmpresa in lstEmpresa) { var Buscar = lstConsumoMensualEmpresa.Where(oB => oB.Mes == strMes && oB.EmpresaResponsable == ItemEmpresa.RazonSocial).ToList(); if (Buscar.Count == 0) { ReporteEppBE objE_ReporteEpp = new ReporteEppBE(); objE_ReporteEpp.Periodo = Periodo.ToString(); objE_ReporteEpp.Mes = strMes; objE_ReporteEpp.EmpresaResponsable = ItemEmpresa.RazonSocial; objE_ReporteEpp.Total = 0; lstConsumoMensualEmpresa.Add(objE_ReporteEpp); } } } return(lstConsumoMensualEmpresa); } catch (Exception ex) { throw ex; } }