return listaDTOS;
}
public void calcularIDL(IdlDTO dto) {
IDLX xsKDyF= calcularXs("K","DyF",dto);
IDLX xsKST= calcularXs("K","ST",dto);
IDLX xsKIyT= calcularXs("K","IyT",dto);
IDLX xsKOtros= calcularXs("K","Otros",dto);
IDLX xsADyF= calcularXs("A","DyF",dto);
IDLX xsAST= calcularXs("A","ST",dto);
IDLX xsAIyT= calcularXs("A","IyT",dto);
IDLX xsAOtros= calcularXs("A","Otros",dto);
IDLX xsLDyF= calcularXs("L","DyF",dto);
IDLX xsLST= calcularXs("L","ST",dto);
IDLX xsLIyT= calcularXs("L","IyT",dto);
IDLX xsLOtros= calcularXs("L","Otros",dto);
float[] CLemKDyF=new float[20];
float[] CLemKST=new float[20];
float[] CLemKIyT=new float[20];
float[] CLemKOtros=new float[20];
float[] CLemADyF=new float[20];
float[] CLemAST=new float[20];
float[] CLemAIyT=new float[20];
float[] CLemAOtros=new float[20];
float[] CLemLDyF=new float[20];
float[] CLemLST=new float[20];
float[] CLemLIyT=new float[20];
float[] CLemLOtros=new float[20];
for(Departamento d:DepartamentoDAO.getInstance().listaDepartamentos()){
CLemKDyF[Integer.valueOf(d.getId().toString())]=(xsKDyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsKDyF.getValorXec()*xsKDyF.getN())/(xsKDyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsKDyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsKDyF.getValorXc()==0?1:xsKDyF.getValorXc());
CLemKST[Integer.valueOf(d.getId().toString())]=(xsKST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsKST.getValorXec()*xsKST.getN())/(xsKST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsKST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsKST.getValorXc()==0?1:xsKST.getValorXc());
CLemKIyT[Integer.valueOf(d.getId().toString())]=(xsKIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsKIyT.getValorXec()*xsKIyT.getN())/(xsKIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsKIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsKIyT.getValorXc()==0?1:xsKIyT.getValorXc());
CLemKOtros[Integer.valueOf(d.getId().toString())]=(xsKOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsKOtros.getValorXec()*xsKOtros.getN())/(xsKOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsKOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsKOtros.getValorXc()==0?1:xsKOtros.getValorXc());
CLemADyF[Integer.valueOf(d.getId().toString())]=(xsADyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsADyF.getValorXec()*xsADyF.getN())/(xsADyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsADyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsADyF.getValorXc()==0?1:xsADyF.getValorXc());
CLemAST[Integer.valueOf(d.getId().toString())]=(xsAST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsAST.getValorXec()*xsAST.getN())/(xsAST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsAST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsAST.getValorXc()==0?1:xsAST.getValorXc());
CLemAIyT[Integer.valueOf(d.getId().toString())]=(xsAIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsAIyT.getValorXec()*xsAIyT.getN())/(xsAIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsAIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsAIyT.getValorXc()==0?1:xsAIyT.getValorXc());
CLemAOtros[Integer.valueOf(d.getId().toString())]=(xsAOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsAOtros.getValorXec()*xsAOtros.getN())/(xsAOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsAOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsAOtros.getValorXc()==0?1:xsAOtros.getValorXc());
CLemLDyF[Integer.valueOf(d.getId().toString())]=(xsLDyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsLDyF.getValorXec()*xsLDyF.getN())/(xsLDyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsLDyF.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsLDyF.getValorXc()==0?1:xsLDyF.getValorXc());
CLemLST[Integer.valueOf(d.getId().toString())]=(xsLST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsLST.getValorXec()*xsLST.getN())/(xsLST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsLST.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsLST.getValorXc()==0?1:xsLST.getValorXc());
CLemLIyT[Integer.valueOf(d.getId().toString())]=(xsLIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsLIyT.getValorXec()*xsLIyT.getN())/(xsLIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsLIyT.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsLIyT.getValorXc()==0?1:xsLIyT.getValorXc());
CLemLOtros[Integer.valueOf(d.getId().toString())]=(xsLOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXem()*xsLOtros.getValorXec()*xsLOtros.getN())/(xsLOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()==0?1:xsLOtros.getValoresPorDepartamento()[Integer.valueOf(d.getId().toString())].getValorXm()*xsLOtros.getValorXc()==0?1:xsLOtros.getValorXc());
}
float IPKDyF=0;
float IPKST=0;
float IPKIyT=0;