123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=8" />
- <title>国电电力山西新能源公司生产运行监控平台</title>
- <link href="<%=request.getContextPath() %>/pages/monitor/css/page_fjjz_hebei.css" rel="stylesheet" type="text/css" />
- <script type='text/javascript' src='<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js'></script>
- <link href="<%=request.getContextPath() %>/resource/css/page_sjjr.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- $(document).ready(function() {
- getWindPowerStatus();
- window.setInterval(getWindPowerStatus, 20000);
- });
- function getWindPowerStatus(){
- $.ajax({
- url : "/matrix/windPowerStatusAjax.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- async : false,
- ifModified : false,
- success : function(res) {
- var arr = new Array();
- //崇礼数据
- //var clFjStatus = res.clFjStatus;
- //var clSyzStatus = res.clSyzStatus;
- //var clCftStatus = res.clCftStatus;
- //var clDjlStatus = res.clDjlStatus;
- //var clAGCStatus = res.clAGCStatus;
- var obj=initData("clFjStatus",res.clFjStatus);
- var obj1=initData("clSyzStatus",res.clSyzStatus);
- var obj2=initData("clCftStatus",res.clCftStatus);
- var obj3=initData("clDjlStatus",res.clDjlStatus);
- var obj4=initData("clAGCStatus",res.clAGCStatus);
- arr.push(obj);
- arr.push(obj1);
- arr.push(obj2);
- arr.push(obj3);
- arr.push(obj4);
-
- <%-- if(clFjStatus=='1'){
- $("#clFjStatus").attr("class","zt1 l");
- $("#clFjStatusImg").attr("src","<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png");
- }else{
- $("#clFjStatus").attr("class","zt2 l");
- $("#clFjStatusImg").attr("src","<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt2.png");
- } --%>
-
- //康宝数据
- //var kbFjStatus = res.kbFjStatus;
- //var kbSyzStatus = res.kbSyzStatus;
- //var kbCftStatus = res.kbCftStatus;
- //var kbDjlStatus = res.kbDjlStatus;
- //var kbAGCStatus = res.kbAGCStatus;
- var obj5=initData("kbFjStatus",res.kbFjStatus);
- var obj6=initData("kbSyzStatus",res.kbSyzStatus);
- var obj7=initData("kbCftStatus",res.kbCftStatus);
- var obj8=initData("kbDjlStatus",res.kbDjlStatus);
- var obj9=initData("kbAGCStatus",res.kbAGCStatus);
- arr.push(obj5);
- arr.push(obj6);
- arr.push(obj7);
- arr.push(obj8);
- arr.push(obj9);
- //五福堂数据
- //var wftFjStatus = res.wftFjStatus;
- var obj10=initData("wftFjStatus",res.wftFjStatus);
- arr.push(obj10);
- //代县数据
- /* var dxFjStatus = res.dxFjStatus;
- var dxSyzStatus = res.dxSyzStatus;
- var dxCftStatus = res.dxCftStatus;
- var dxDjlStatus = res.dxDjlStatus;
- var dxAGCStatus = res.dxAGCStatus;*/
- var obj11=initData("dxFjStatus",res.dxFjStatus);
- var obj12=initData("dxSyzStatus",res.dxSyzStatus);
- var obj13=initData("dxCftStatus",res.dxCftStatus);
- var obj14=initData("dxDjlStatus",res.dxDjlStatus);
- var obj15=initData("dxAGCStatus",res.dxAGCStatus);
- arr.push(obj11);
- arr.push(obj12);
- arr.push(obj13);
- arr.push(obj14);
- arr.push(obj15);
-
- for(var i=0;i<arr.length;i++){
- if(arr[i].value=='1'){
- $("#"+arr[i].code).attr("class","zt1 l");
- $("#"+arr[i].code+"Img").attr("src","<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png");
- }else{
- $("#"+arr[i].code).attr("class","zt2 l");
- $("#"+arr[i].code+"Img").attr("src","<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt2.png");
- }
- }
- //console.log(arr);
- //console.log(res);
- }
- });
-
- }
- function initData(code,value){
- var obj = new Object();
- obj.code=code;
- obj.value=value;
- return obj;
- }
-
- </script>
- </head>
- <body>
- <div class="sjjr_all l">
- <div class="sjjr_box l" style="margin-bottom:5px">
- <div class="top l">红花梁风电场</div>
- <div class="center l">
- <div id="clFjStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon1.png" width="90" height="90" alt=""/></div><div class="text">风机接入状态</div><div class="zt"><img id="clFjStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="clSyzStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon2.png" width="90" height="90" alt=""/></div><div class="text">升压站接入状态</div><div class="zt"><img id="clSyzStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="clCftStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon3.png" width="90" height="90" alt=""/></div><div class="text">测风塔接入状态</div><div class="zt"><img id="clCftStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="clDjlStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon4.png" width="90" height="90" alt=""/></div><div class="text">电计量接入状态</div><div class="zt"><img id="clDjlStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="clAGCStatus" class="zt1 l"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon5.png" width="90" height="90" alt=""/></div><div class="text">AGC/AVC接入状态</div><div class="zt"><img id="clAGCStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- </div>
- <div class="bottom l"></div>
- </div>
- <div class="sjjr_box l" style="margin-bottom:5px">
- <div class="top l">照阳河风电场</div>
- <div class="center l">
- <div id="kbFjStatus" class="zt1 l"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon1.png" width="90" height="90" alt=""/></div><div class="text">康保风机接入状态</div><div class="zt"><img id="kbFjStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="wftFjStatus" class="zt1 l" style="margin-left:11px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon1.png" width="90" height="90" alt=""/></div><div class="text">五福堂风机接入状态</div><div class="zt"><img id="wftFjStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="kbSyzStatus" class="zt1 l" style="margin-left:11px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon2.png" width="90" height="90" alt=""/></div><div class="text">升压站接入状态</div><div class="zt"><img id="kbSyzStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="kbCftStatus" class="zt1 l" style="margin-left:11px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon3.png" width="90" height="90" alt=""/></div><div class="text">测风塔接入状态</div><div class="zt"><img id="kbCftStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="kbDjlStatus" class="zt1 l" style="margin-left:11px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon4.png" width="90" height="90" alt=""/></div><div class="text">电计量接入状态</div><div class="zt"><img id="kbDjlStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="kbAGCStatus" class="zt1 l" style="margin-left:11px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon5.png" width="90" height="90" alt=""/></div><div class="text">AGC/AVC接入状态</div><div class="zt"><img id="kbAGCStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- </div>
- <div class="bottom l"></div>
- </div>
- <div class="sjjr_box l">
- <div class="top l">雁门关风电场</div>
- <div class="center l">
- <div id="dxFjStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon1.png" width="90" height="90" alt=""/></div><div class="text">风机接入状态</div><div class="zt"><img id="dxFjStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="dxSyzStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon2.png" width="90" height="90" alt=""/></div><div class="text">升压站接入状态</div><div class="zt"><img id="dxSyzStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="dxCftStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon3.png" width="90" height="90" alt=""/></div><div class="text">测风塔接入状态</div><div class="zt"><img id="dxCftStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="dxDjlStatus" class="zt1 l" style="margin-right:67px;"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon4.png" width="90" height="90" alt=""/></div><div class="text">电计量接入状态</div><div class="zt"><img id="dxDjlStatusImg"s rc="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- <div id="dxAGCStatus" class="zt1 l"><div class="icon"><img src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_icon5.png" width="90" height="90" alt=""/></div><div class="text">AGC/AVC接入状态</div><div class="zt"><img id="dxAGCStatusImg" src="<%=request.getContextPath() %>/resource/images/monitor/sjjr_zt1.png" width="55" height="55" alt=""/></div></div>
- </div>
- <div class="bottom l"></div>
- </div>
- </div>
- </body>
- </html>
|