| 
					
				 | 
			
			
				@@ -416,3 +416,151 @@ var draw_buinding = function() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (level_label != null) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (buildingStore[i].dwtype == 'YTUI') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 1) == 1) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '用户传输装置';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 1) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 28) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/ui_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTFC') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 2) == 2) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '消防控制柜';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 15) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 68) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/fc_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTEF') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 4) == 4) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '电气火灾';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 29) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 108) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/ef_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTWP') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 8) == 8) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '水压';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 43) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 148) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/wp0_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTLL') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 16) == 16) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '液位';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 48) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 188) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/ll_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTCI') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 32) == 32) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '环境监测';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 43) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 228) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/ci_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTVA') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 64) == 64) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '视频监控';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 29) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 268) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/va_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTWC') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 128) == 128) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '风机控制柜';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 15) + 'px'
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 308) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/wc_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } else if (buildingStore[i].dwtype == 'YTSM') {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            if ((default_check & 256) == 256) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.title = '烟感';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.top = (level_label.offsetParent.offsetTop + 1) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.left = (level_label.offsetParent.offsetLeft + 348) + 'px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                icon.style.backgroundImage = 'url(../../res/img/icons/sm_icon.png)';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } else
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    icon.owner_code = "";
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if (show_project_info) {
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var project_info_bar = document.getElementById('project_info_bar');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.innerHTML = '';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var project_label = document.createElement('div');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.setAttribute('class', 'project_label');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.top = '30px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.left = '50px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.innerHTML = '项目名称';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_label);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var project_info = document.createElement('div');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //  ;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.setAttribute('class', 'project_info');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.top = '60px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.left = '50px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.innerHTML = companyStore.company_name;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_info);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label = document.createElement('div');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.setAttribute('class', 'project_label');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.top = '110px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.left = '50px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.innerHTML = '项目地址';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_label);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info = document.createElement('div');;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.setAttribute('class', 'project_info');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.top = '140px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.left = '50px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.innerHTML = companyStore.address;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_info);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label = document.createElement('div');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.setAttribute('class', 'project_label');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.top = '190px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.left = '50px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.innerHTML = '项目坐标';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_label);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info = document.createElement('div');;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.setAttribute('class', 'project_info');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.top = '220px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.left = '50px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.innerHTML = companyStore.lng + ',' + companyStore.lat;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_info);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label = document.createElement('div');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.setAttribute('class', 'project_label');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.top = '30px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.left = '480px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.innerHTML = '联系人';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_label);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info = document.createElement('div');;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.setAttribute('class', 'project_info');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.top = '60px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.left = '480px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.innerHTML = companyStore.username;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_info);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label = document.createElement('div');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.setAttribute('class', 'project_label');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.top = '110px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.style.left = '480px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_label.innerHTML = '联系电话';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_label);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info = document.createElement('div');;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.setAttribute('class', 'project_info');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.position = 'absolute';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.top = '140px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.style.left = '480px';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info.innerHTML = companyStore.phone;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        project_info_bar.appendChild(project_info);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var history_alarm_list = document.getElementById('history_alarm_list');
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        history_alarm_list.innerHTML = '';
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var table = document.createElement('table');
 
			 |