<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page session="true" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
    String t = String.valueOf(System.currentTimeMillis());
    String theme = request.getParameter("theme");
    String viewAlarmType = request.getParameter("viewAlarmType");
    String pieAlarmType = request.getParameter("pieAlarmType");
    String statusType = request.getParameter("statusType");
    String css_name = "ext-all-access.css";
    String company_code = request.getParameter("company_code");
    String loginname = request.getParameter("loginname");
    String password = request.getParameter("password");
    if(viewAlarmType==null)
    	viewAlarmType="11110010";
    if(pieAlarmType==null)
    	pieAlarmType="11110010";
    if(statusType==null)
    	statusType="11110010";
    if((company_code==null)||(company_code=="null"))
    	company_code = "";
    if(theme!=null){
    	if(theme.equals("gray"))
    		css_name = "ext-all-gray.css";
    	else if(theme.equals("access"))
    		css_name = "ext-all-access.css";
    	else if(theme.equals("neptune"))
    		css_name = "ext-neptune.css";
    	else if(theme.equals("default"))
    		css_name = "ext-all.css";
    	else if(theme.equals("scoped"))
    		css_name = "ext-all-scoped";
    	else if(theme.equals("ie"))
    		css_name = "ext-ie.css";
    	else if(theme.equals("sandbox"))
    		css_name = "ext-sandbox.css";
    	else if(theme.equals("standard"))
    		css_name = "ext-standard.css";
    }else
    	theme = "";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link type="text/css" rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
<link type="text/css" rel="stylesheet" href="<%=basePath+"res/img/myImages.css" %>"/>
<link type="text/css" rel="stylesheet" href="<%=basePath+"res/extjs/resources/css/"+css_name+"?t="+t %>"/>
<script type="text/javascript" src ="<%=basePath+"res/extjs/ext-all.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/jquery/jquery-3.5.1.min.js" %>"></script>
<script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.13&key=246349bf278f6225fa80156828d0f061&plugin=AMap.Geocoder,Map3D"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts-3d.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts-more.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/solid-gauge.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/sunburst.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/exporting.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/export-data.js" %>"></script>
<script type="text/javascript" src="<%=basePath+"res/usky/usky.js" %>"></script>
<script type="text/javascript" src ="<%=basePath+"view/frontpage/scripts/map.js" %>"></script>
<title>Insert title here</title>
 <style>
	html, body,
		#container {
		  width: 100%;
		  height: 100%;
		}
</style>
</head>
<body style="padding:0;margin:0;border:0px;overflow:hidden;">
<div id="container" style="background-image:radial-gradient(circle, rgba(23,21,57,0.2), rgba(9,9,27,1.0));">
	<!-- 
	<div id="mask_t" class="mask_top"></div>
	<div id="mask_b" class="mask_bottom"></div>
	<div id="mask_l" class="mask_left"></div>
	<div id="mask_r" class="mask_right"></div>
	 -->
	<div id="map_header" class="map_header"></div>
	<div id="bar5" class="search bar5">
        <!-- <form > -->
        <table style="border:none;"  border="0" cellpadding="0" cellspacing="0"><tr style="border:none;border-collapse: collapse;">
        <td style="border:none;border-collapse: collapse; padding:0px; margin:0px;">
            <input id="search_company" name="search_company" type="text" placeholder="请输入单位名称..." autocomplete="off" onkeydown="key_fun(event);" ><div class="bar5_clear" onclick="clear_search();" style="cursor:pointer;"></div></td>
         </tr></table>
        <!-- </form> -->
    </div>
	<div id="saerch_company_list" class= "search_company_list" style="position:absolute;top:80px;right:200px;z-index:1001;font-size:14px;"></div>
<!--
 	<div id="border_top_left" style="background:url(../../res/img/border-tl.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; top:20px; left:20px;"></div>
	<div id="border_top_right" style="background:url(../../res/img/border-tr.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; top:20px; right:20px;"></div>
	<div id="border_bottom_left" style="background:url(../../res/img/border-bl.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; bottom:20px; left:20px;"></div>
	<div id="border_bottom_right" style="background:url(../../res/img/border-br.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; bottom:20px; right:20px;"></div>
 -->
	<!-- <div id="data_bar_area" class="data_bar_area">
		<div id="data_bar" style="background:url(../../res/img/icons/data_bar.png) no-repeat;width:371px;height:891px;">
			<table id="data_bar_table" style="border:0px solid #000;position:absolute;top:55px;left:41px;width:300px;">
				 <tr>
					<td id="data_title_1" colspan=2 class="data_bar_title" onclick="show_all_fireAlarm()">火灾监控</td>
					<td id="data_pie_1" rowspan=3 style="width:100px" onclick="show_all_fireAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_11" class="data_bar_total_label" onclick="show_all_fireAlarm()">报告总数</td>
					<td id="data_number_11" class="data_bar_total_number" onclick="show_all_fireAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_12" class="data_bar_alarm_label" onclick="show_all_fireAlarm()">待处理</td>
					<td id="data_number_12" class="data_bar_alarm_number" onclick="show_all_fireAlarm()"></td>
				</tr>
				<tr>
					<td id="data_title_2" colspan=2 class="data_bar_title" onclick="show_all_efireAlarm()">电气火灾监控</td>
					<td id="data_pie_2" rowspan=3 style="width:100px" onclick="show_all_efireAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_21" class="data_bar_total_label" onclick="show_all_efireAlarm()">报告总数</td>
					<td id="data_number_21" class="data_bar_total_number" onclick="show_all_efireAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_22" class="data_bar_alarm_label" onclick="show_all_efireAlarm()">待处理</td>
					<td id="data_number_22" class="data_bar_alarm_number" onclick="show_all_efireAlarm()"></td>
				</tr>
				<tr>
					<td id="data_title_3" colspan=2 class="data_bar_title" onclick="show_all_waterAlarm()">水系统监控</td>
					<td id="data_pie_3" rowspan=3 style="width:100px" onclick="show_all_waterAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_31" class="data_bar_total_label" onclick="show_all_waterAlarm()">报告总数</td>
					<td id="data_number_31" class="data_bar_total_number" onclick="show_all_waterAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_32" class="data_bar_alarm_label" onclick="show_all_waterAlarm()">待处理</td>
					<td id="data_number_32" class="data_bar_alarm_number" onclick="show_all_waterAlarm()"></td>
				</tr>
				<tr>
					<td id="data_title_4" colspan=2 class="data_bar_title" onclick="show_all_rtuAlarm()">RTU监控</td>
					<td id="data_pie_4" rowspan=3 style="width:100px" onclick="show_all_rtuAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_41" class="data_bar_total_label" onclick="show_all_rtuAlarm()">报告总数</td>
					<td id="data_number_41" class="data_bar_total_number" onclick="show_all_rtuAlarm()"></td>
				</tr>
				<tr>
					<td id="data_label_42" class="data_bar_alarm_label" onclick="show_all_rtuAlarm()">待处理</td>
					<td id="data_number_42" class="data_bar_alarm_number" onclick="show_all_rtuAlarm()"></td>
				</tr>
			</table>
			<table id="device_bar_table" style="position:absolute;top:561px;left:41px;width:280px;">
				<tr>
					<td id="device_title_1" colspan=2 class="device_info_title" onclick="show_all_fireDevice()">火灾监控设备</td>
					<td id="device_count_1" class="align_right device_info" onclick="show_all_fireDevice()">总数：<span id="device_count_num_11" class="device_confirm_num0">0</span></td>
				</tr>
				<tr>
					<td id="device_confirm_11" class="device_info" onclick="show_all_fireDevice()">已处理：<span id="device_count_num_12" class="device_confirm_num1">0</span></td>
					<td id="device_confirm_12" class="device_info" onclick="show_all_fireDevice()">待处理：<span id="device_count_num_13" class="device_confirm_num2">0</span></td>
					<td id="device_confirm_13" class="align_right device_info" onclick="show_all_fireDevice()">处置率：<span id="device_count_num_14" class="device_confirm_num3">0%</span></td>
				</tr>
				<tr>
					<td colspan=3 style="height:28px;" onclick="show_all_fireDevice()">
					<div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
						<div id="device_confirm_14" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
					</div>
					</td>
				</tr>
				<tr>
					<td id="device_title_2" colspan=2 class="device_info_title" onclick="show_all_efireDevice()">电气火灾监控设备</td>
					<td id="device_count_2" class="align_right device_info" onclick="show_all_efireDevice()">总数：<span id="device_count_num_21" class="device_confirm_num0">0</span></td>
				</tr>
				<tr>
					<td id="device_confirm_21" class="device_info" onclick="show_all_efireDevice()">已处理：<span id="device_count_num_22" class="device_confirm_num1">0</span></td>
					<td id="device_confirm_22" class="device_info" onclick="show_all_efireDevice()">待处理：<span id="device_count_num_23" class="device_confirm_num2">0</span></td>
					<td id="device_confirm_23" class="align_right device_info" onclick="show_all_efireDevice()">处置率：<span id="device_count_num_24" class="device_confirm_num3">0%</span></td>
				</tr>
				<tr>
					<td colspan=3 style="height:28px;" onclick="show_all_efireDevice()">
					<div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
						<div id="device_confirm_24" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
					</div>
					</td>
				</tr>
				<tr>
					<td id="device_title_3" colspan=2 class="device_info_title" onclick="show_all_waterDevice()">水系统监控设备</td>
					<td id="device_count_3" class="align_right device_info" onclick="show_all_waterDevice()">总数：<span id="device_count_num_31" class="device_confirm_num0">0</span></td>
				</tr>
				<tr>
					<td id="device_confirm_31" class="device_info" onclick="show_all_waterDevice()">已处理：<span id="device_count_num_32" class="device_confirm_num1">0</span></td>
					<td id="device_confirm_32" class="device_info" onclick="show_all_waterDevice()">待处理：<span id="device_count_num_33" class="device_confirm_num2">0</span></td>
					<td id="device_confirm_33" class="align_right device_info" onclick="show_all_waterDevice()">处置率：<span id="device_count_num_34" class="device_confirm_num3">0%</span></td>
				</tr>
				<tr>
					<td colspan=3 style="height:28px;" onclick="show_all_waterDevice()">
					<div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
						<div id="device_confirm_34" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
					</div>
					</td>
				</tr>
				<tr>
					<td id="device_title_4" colspan=2 class="device_info_title" onclick="show_all_rtuDevice()">RTU监控设备</td>
					<td id="device_count_4" class="align_right device_info" onclick="show_all_rtuDevice()">总数：<span id="device_count_num_41" class="device_confirm_num0">0</span></td>
				</tr>
				<tr>
					<td id="device_confirm_41" class="device_info" onclick="show_all_rtuDevice()">已处理：<span id="device_count_num_42" class="device_confirm_num1">0</span></td>
					<td id="device_confirm_42" class="device_info" onclick="show_all_rtuDevice()">待处理：<span id="device_count_num_43" class="device_confirm_num2">0</span></td>
					<td id="device_confirm_43" class="align_right device_info" onclick="show_all_rtuDevice()">处置率：<span id="device_count_num_44" class="device_confirm_num3">0%</span></td>
				</tr>
				<tr>
					<td colspan=3 style="height:28px;" onclick="show_all_rtuDevice()">
					<div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
						<div id="device_confirm_44" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
					</div>
					</td>
				</tr>
			</table>
		</div>
	</div> -->
	<div id="map_btn_bigger" class="map_btn map_btn_bigger_off" onmouseover="bigger_mouseover();" onmouseout="bigger_mouseout();" onclick="bigger_click();"></div>
	<div id="map_btn_smaller" class="map_btn map_btn_smaller_off" onmouseover="smaller_mouseover();" onmouseout="smaller_mouseout();" onclick="smaller_click();"></div>
	<div id="map_btn_showlaebl" class="map_btn map_btn_showlaebl_off" onmouseover="shower_mouseover();" onmouseout="shower_mouseout();" onclick="shower_click();"></div>
	<div id="map_btn_left" class="map_btn map_btn_left_off" onmouseover="left_mouseover();" onmouseout="left_mouseout();" onclick="left_click();"></div>
	<div id="map_btn_right" class="map_btn map_btn_right_off" onmouseover="right_mouseover();" onmouseout="right_mouseout();" onclick="right_click();"></div>
	<div id="map_btn_high" class="map_btn map_btn_high_off" onmouseover="higher_mouseover();" onmouseout="higher_mouseout();" onclick="higher_click();"></div>
	<div id="map_btn_low" class="map_btn map_btn_low_off" onmouseover="lower_mouseover();" onmouseout="lower_mouseout();" onclick="lower_click();"></div>
</div>
<input type="hidden" id="theme" name="theme" value="<%=theme %>"/>
<input type="hidden" id="basePath" name="basePath" value="<%=basePath %>"/>
<input type="hidden" id="viewAlarmType" name="viewAlarmType" value="<%=viewAlarmType %>"/>
<input type="hidden" id="pieAlarmType" name="pieAlarmType" value="<%=pieAlarmType %>"/>
<input type="hidden" id="statusType" name="statusType" value="<%=statusType %>"/>
<input type="hidden" id="V_LOGINNAME" name="V_LOGINNAME" value="<%=loginname %>"/>
<input type="hidden" id="V_PASSWORD" name="V_PASSWORD" value="<%=password %>"/>
<input type="hidden" id="company_code" name="company_code" value="<%=company_code %>"/>
</body>
</html>