/* Automatically generated.
 * Copyright (c) 2000-2006 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

import ro.emid.common.db.framework.DatabaseException;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.db.CategoryAccessDB;
import ro.emid.common.db.DataDB;
import ro.emid.common.db.EchipamentAccessDB;
import ro.emid.common.types.DataObj;
import ro.emid.common.types.Echipament;
import ro.emid.common.types.Incident;
import ro.emid.common.utils.StringUtils;
import ro.emid.common.db.NomAccessDB;
import ro.emid.common.constants.NomConstants;
import ro.emid.common.types.Nomenclator;
import java.util.HashMap;
import java.util.Map;
import ro.emid.common.types.Category;
import ro.emid.common.types.Category;
import ro.emid.incidente.IncidenteSessionUtils;
import ro.emid.common.utils.SessionUtils;
import ro.emid.common.types.User;
import ro.emid.common.constants.AppConstants;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public class JEE_jsp_WEB_2d_INF_pagelet_rapoarte_showEchipamenteFromRaportTop10_5f_FI_5f_FE_1495030461253 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(135,0);to=(206,2)]

    private String getDenAnsamble(final Echipament incident){
        final StringBuffer temp = new StringBuffer();
//        final String statie = getNomSAPText(incident.getStatieId(), NomConstants.NOM_STATII);
        final String statie = AppConstants.format(incident.getStatieDen());
//        final String bobina = getNomSAPText(incident.getBobinaId(), NomConstants.NOM_BOBINE);
        final String bobina = AppConstants.format(incident.getBobinaDen());
//        final String celula = getNomSAPText(incident.getCelulaId(), NomConstants.NOM_CELULE);
        final String celula = AppConstants.format(incident.getCelulaDen());
//        final String bara = getNomSAPText(incident.getBaraId(), NomConstants.NOM_BARE);
        final String bara = AppConstants.format(incident.getBaraDen());
//        final String linie = getNomSAPText(incident.getLinieId(), NomConstants.NOM_LINII);
        final String linie = AppConstants.format(incident.getLinieDen());
//        final String derivatie = getNomSAPText(incident.getDerivatieId(), NomConstants.NOM_DERIVATIE);
        final String derivatie = AppConstants.format(incident.getDerivatieDen());
//        final String paPt = getNomSAPText(incident.getPA_PT_Id(), NomConstants.NOM_PA_PT);
        final String paPt = AppConstants.format(incident.getPaptDen());
//        final String trafo = getNomSAPText(incident.getTrafoId(), NomConstants.NOM_TRAFO);
        final String trafo = AppConstants.format(incident.getTrafoDen());

        if(statie != null && statie.length() >= 2){
            temp.append("5.5 Statie : ").append(statie);
            temp.append("<br>");
        }
        if(bobina != null && bobina.length() >= 2){
            temp.append("5.5.1 Bobina : ").append(bobina);
            temp.append("<br>");
        }
        if(celula != null && celula.length() >= 2){
            temp.append("5.6 Celula : ").append(celula);
            temp.append("<br>");
        }
        if(bara != null && bara.length() >= 2){
            temp.append("5.6.1 Bara : ").append(bara);
            temp.append("<br>");
        }
        if(linie != null && linie.length() >= 2){
            temp.append("5.7 Linie : ").append(linie);
            temp.append("<br>");
        }
        if(derivatie != null && derivatie.length() >= 2){
            temp.append("5.7.1 Derivatie : ").append(derivatie);
            temp.append("<br>");
        }
        if(paPt != null && paPt.length() >= 2){
            temp.append("5.8 PA/PT : ").append(paPt);
            temp.append("<br>");
        }
        if(trafo != null && trafo.length() >= 2){
            temp.append("5.9 Trafo : ").append(trafo);
            temp.append("<br>");
        }

        return temp.toString();
    }

    //returns den from nomenclator
    private String getNomSAPText(final long id, final int tip) {
        DataObj data = null;

        try {
            if( id > 0) data = DataDB.getById(id, DataDB.isLocFunctional(tip));
        } catch (DatabaseException e) {
        }

        String result = "-";
        if (data != null) {
            result = data.getNume();
        }
        return result;
    }
// end

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(1,66);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(2,53);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(3,55);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(4,45);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(5,57);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(6,49);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(7,52);to=(8,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(8,50);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(9,53);to=(10,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(10,50);to=(11,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(11,58);to=(12,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(12,53);to=(13,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(13,38);to=(14,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(14,34);to=(15,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(15,50);to=(18,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(1,50);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(2,60);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(3,54);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(4,46);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(5,58);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(6,50);to=(8,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(8,0);to=(34,2)]
			
    final boolean printVersion = request.getParameter("printVersion") != null && "true".equals( request.getParameter("printVersion")) || request.getAttribute("printVersion") != null && "true".equals( request.getAttribute("printVersion")) ;

    final User user = SessionUtils.getUserLogat(session);

    Category filiala = IncidenteSessionUtils.getFiliala(session);
    if(filiala == null){
        filiala = new Category();
    }

    Category sucursala = IncidenteSessionUtils.getSucursala(session);
    if(sucursala == null){
        sucursala = new Category();
    }

    Category centruExploatare = IncidenteSessionUtils.getCentru(session);
    if(centruExploatare == null){
        centruExploatare = new Category();
    }

    Category formatiaDeLucru = IncidenteSessionUtils.getFormatia(session);
    if(formatiaDeLucru == null){
        formatiaDeLucru = new Category();
    }

    boolean isCuSectiiSiCentre = ((sucursala != null && sucursala.isCuSectiiSiCentre()) || (centruExploatare != null && centruExploatare.isCuSectiiSiCentre()));

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(18,48);to=(21,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(21,0);to=(42,2)]
			
    //preluare date filtru ...
//    final String tip = StringUtils.getNullSafe(request.getParameter("tip"), "STATIE_ID");
    final String tip = StringUtils.getNullSafe(request.getParameter("tip"), "STATIE_COD");
    final int idInstalatie = ObjectUtils.getIntValue(request.getParameter("idInstalatie"), -1);
    final String codInstalatie = ObjectUtils.getStringValue(request.getParameter("codInstalatie"));

    final StringBuffer condSql = new StringBuffer( );
    if(idInstalatie == -1){
        condSql.append(" AND ").append(tip).append(" = ").append('\'').append(codInstalatie).append('\'');
    }else{
        condSql.append(" AND ").append( tip).append( " = ").append( idInstalatie );
    }

    final StringBuffer parentFilter = (StringBuffer)session.getAttribute( "raportTop10_FI_FE_FilterEchipamente");

    if( parentFilter != null){
        condSql.append( parentFilter);
    }

    final Echipament[] echipamente = EchipamentAccessDB.getAllEchipamente(condSql.toString(), "FILIALA_ID ASC, SUCURSALA_ID ASC, SECTIE_ID", "ASC", 0, 500);

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(42,2);to=(64,4)]
			out.print("\r\n\r\n\r\n<style type=\"text/css\">\r\n    .underlined{\r\n        /*border-top-style: solid;*/\r\n        /*border-top-width: 1px;*/\r\n        /*border-top-color: gray;*/\r\n    }\r\n</style>\r\n\r\n<TABLE id=\"incidente\" border=0 cellPadding=2 cellSpacing=1 width=\"96%\" class=\"gSAPTHEAD\" style=\"BACKGROUND-COLOR: white; margin: 10px\">\r\n    <col align=\"right\" style=\"padding-right:5px\">\r\n    <tr noSelect=\"true\">\r\n        <TH class=\"gsapthead\" height=25 width=\"3%\" noWrap>&nbsp;Nr. Echipament:&nbsp;</TH>\r\n        <TH class=\"gsapthead\" height=25 width=\"3%\" noWrap>&nbsp;Nr. Echipamente <br/>identice deteriorate:&nbsp;</TH>\r\n        <TH class=\"gsapthead\" height=25 noWrap align=\"left\">&nbsp;Localizare:&nbsp;</TH>\r\n        <TH class=\"gsapthead\" height=25 noWrap align=\"left\">&nbsp;Ansamblu:&nbsp;</TH>\r\n        <TH class=\"gsapthead\" height=25 noWrap align=\"left\">&nbsp;Instalatii afectate:&nbsp;</TH>\r\n        <TH class=\"gsapthead\" height=25 width=\"1%\" noWrap align=\"left\">&nbsp;Op.:&nbsp;</TH>\r\n    </tr>\r\n\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(64,4);to=(64,26)]
			  long total = 0; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(64,26);to=(65,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(65,4);to=(65,38)]
			 if( echipamente.length == 0){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(65,38);to=(69,4)]
			out.print("\r\n        <tr>\r\n            <td>No data ...</td>\r\n        </tr>\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(69,4);to=(69,16)]
			 }else {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(69,16);to=(70,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(70,4);to=(70,35)]
			  long centruCurentId = -1;
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(70,35);to=(71,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(71,4);to=(71,51)]
			  final Map cacheAnsamblu = new HashMap(); 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(71,51);to=(73,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(73,4);to=(102,6)]
			  for (int i = 0; i < echipamente.length; i++) {
        final Echipament echipament = echipamente[i];

        total += echipament.getNumarEchipIdenticeDet();

        Category f = CategoryAccessDB.getById(echipament.getFilialaId());
        if( f == null) f =  new Category();

        Category s = CategoryAccessDB.getById( echipament.getSucursalaId());
        if( s == null) s = new Category();

        Category c = CategoryAccessDB.getById( echipament.getCentruId());
        if( c == null) c = new Category();

        Nomenclator ansamblu = (Nomenclator) cacheAnsamblu.get(String.valueOf(echipament.getAnsambluId()));
        if( ansamblu == null){
            ansamblu = NomAccessDB.getNom(echipament.getAnsambluId());
            if( ansamblu != null){
                cacheAnsamblu.put(String.valueOf(echipament.getAnsambluId()), ansamblu);
            }
        }

        final String denAnsamblu = getDenAnsamble(echipament);
        
        String className = "";
        if( centruCurentId != c.getId()){
            centruCurentId = c.getId();
            className = "underlined";
        }
    
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(102,6);to=(104,41)]
			out.print("\r\n\r\n        <tr ondblclick=\"printEchipament( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(104,41);to=(104,64)]
			out.print(echipament.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(104,64);to=(105,32)]
			out.print(")\" title=\"Dubluclick pentru a vizualiza Fisa de Echipament\">\r\n            <td align=\"\" class=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(105,32);to=(105,46)]
			out.print(className);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(105,46);to=(106,16)]
			out.print("\">\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(106,16);to=(106,47)]
			out.print(echipament.getNumarFI_FE());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(106,47);to=(109,16)]
			out.print("\r\n            </td>\r\n            <td align=\"center\">\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(109,16);to=(109,58)]
			out.print(echipament.getNumarEchipIdenticeDet());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(109,58);to=(111,23)]
			out.print("\r\n            </td>\r\n            <td class=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(111,23);to=(111,37)]
			out.print(className);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(111,37);to=(112,16)]
			out.print("\">\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(112,16);to=(112,32)]
			out.print(f.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(112,32);to=(112,35)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(112,35);to=(112,51)]
			out.print(s.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(112,51);to=(112,54)]
			out.print(" - ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(112,54);to=(112,70)]
			out.print(c.getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(112,70);to=(115,16)]
			out.print("\r\n            </td>\r\n            <td>\r\n                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(115,16);to=(115,70)]
			out.print(ansamblu != null ? ansamblu.getDescriere() : "-");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(115,70);to=(118,20)]
			out.print("\r\n            </td>\r\n            <td>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(118,20);to=(118,36)]
			out.print(denAnsamblu);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(118,36);to=(121,89)]
			out.print("\r\n            </td>\r\n            <td>\r\n                <a class=\"link\" href=\"javascript: void( null)\" onclick=\"printEchipament( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(121,89);to=(121,112)]
			out.print(echipament.getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(121,112);to=(124,8)]
			out.print("); return false;\" title=\"Click pentru a vizualiza Fisa de Echipament\">Vizualizare</a>\r\n            </td>\r\n        </tr>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(124,8);to=(124,13)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(124,13);to=(125,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(125,4);to=(125,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(125,9);to=(128,45)]
			out.print("\r\n    <tr style=\"font-weight:bold;\" noSelect=\"true\">\r\n        <td class=\"gsapthead\" align=\"right\">&nbsp;</td>\r\n        <td class=\"gsapthead\" align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(128,45);to=(128,55)]
			out.print(total);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(128,55);to=(129,45)]
			out.print("</td>\r\n        <td class=\"gsapthead\" align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(129,45);to=(129,68)]
			out.print(echipamente.length);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(129,68);to=(135,0)]
			out.print("</td>\r\n        <td class=\"gsapthead\">&nbsp;</td>\r\n        <td class=\"gsapthead\">&nbsp;</td>\r\n    </tr>\r\n</TABLE>\r\n\r\n");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/showEchipamenteFromRaportTop10_FI_FE.jsp";from=(206,2);to=(211,7)]
			out.print("\r\n\r\n<script type=\"text/javascript\">\r\n    var tableIncidente = new Table(\'incidente\', \"tableIncidente\");\r\n</script>\r\n</span>");
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}

}
