1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315 |
- <%@ 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">
- <head>
- <script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js"></script>
- <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
- <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js"></script>
- <script type="text/javascript" src="<%=request.getContextPath() %>/pages/monitor/wtinfo.js"></script>
- <script src="<%=request.getContextPath()%>/resource/js/highcharts/modules/solid-gauge.src.js"></script>
- <script type="text/ecmascript" src="<%=request.getContextPath()%>/resource/js/system/jqdatagrid.js"></script>
- <link rel="stylesheet" type="text/css" media="screen" href="<%=request.getContextPath() %>/resource/plugin/jqgrid/css/ui.jqgrid.css" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <style type="text/css">
- body {
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- }
- .value_Name {
- font-family: "Times New Roman", Times, serif;
- font-size: 14px;
- font-weight: bolder;
- color: #666;
- }
- a:link,a:visited{ /* 超链接正常状态、被访问过的样式 */
- color:#000000;
- padding:4px 10px 4px 10px;
- background-color:#f1f1f1;
- text-decoration:none;
-
- border-top:1px solid #EEEEEE; /* 边框实现阴影效果 */
- border-left:1px solid #EEEEEE;
- border-bottom:1px solid #717171;
- border-right:1px solid #717171;
- }
- a:hover{ /* 鼠标指针经过时的超链接 */
- color:#821818; /* 改变文字颜色 */
- padding:5px 8px 3px 12px; /* 改变文字位置 */
- background-color:#e2c4c9; /* 改变背景色 */
- border-top:1px solid #717171; /* 边框变换,实现“按下去”的效果 */
- border-left:1px solid #717171;
- border-bottom:1px solid #EEEEEE;
- border-right:1px solid #EEEEEE;
- }
- .station_Name {
- font-family: "Times New Roman", Times, serif;
- font-size: 14px;
- font-weight: bolder;
- color: #666;
- }
- @font-face {
- font-family: 'fontNameRegular';
- src:
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.eot')
- ;
- src: local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont Regular'
- ),
- local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.woff')
- format('woff'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.ttf')
- format('truetype'),
- url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.svg#fontName')
- format('svg');
- font-size: 36px;
- font-weight: bolder;
- }
- .item_Name { font-family: Arial, Helvetica, sans-serif;
- font-size: 12px;
- font-weight: bolder;
- color: #333;
- }
- .unit_Name { font-family: Arial, Helvetica, sans-serif;
- font-size: 12px;
- color: #333;
- }
- valueinfo_Name {
- font-family: "Times New Roman", Times, serif;
- font-size: 14px;
- font-weight: bolder;
- color: #183852;
- text-align: center;
- }
- .valueinfo2_Name {
- font-family: "Times New Roman", Times, serif;
- font-size: 12px;
- font-weight: bolder;
- color: #336891;
- text-align: center;
- }
- #apDiv1 {
- position: absolute;
- width: 22px;
- height: 12px;
- z-index: 1;
- left: 741px;
- top: 467px;
- }
- #apDiv2 {
- position: absolute;
- width: 22px;
- height: 12px;
- z-index: 2;
- left: 744px;
- top: 633px;
- }
- #apDiv3 {
- position: absolute;
- left: 817px;
- top: 467px;
- width: 22px;
- height: 12px;
- z-index: 3;
- }
- #apDiv4 {
- position: absolute;
- left: 817px;
- top: 576px;
- width: 22px;
- height: 12px;
- z-index: 4;
- }
- #apDiv5 {
- position: absolute;
- left: 816px;
- top: 687px;
- width: 22px;
- height: 12px;
- z-index: 5;
- }
- #apDiv6 {
- position: absolute;
- left: 879px;
- top: 576px;
- width: 22px;
- height: 12px;
- z-index: 6;
- }
- #apDiv7 {
- position: absolute;
- left: 879px;
- top: 468px;
- width: 22px;
- height: 12px;
- z-index: 7;
- }
- #apDiv8 {
- position: absolute;
- left: 879px;
- top: 687px;
- width: 22px;
- height: 12px;
- z-index: 8;
- }
- #apDiv9 {
- position: absolute;
- left: 912px;
- top: 424px;
- width: 22px;
- height: 12px;
- z-index: 9;
- }
- #apDiv21 {
- position: absolute;
- left: 1812px;
- top: 405px;
- width: 56px;
- height: 106px;
- z-index: 21;
- }
- #apDiv22 {
- position: absolute;
- left: 1812px;
- top: 405px;
- width: 55px;
- height: 102px;
- z-index: 22;
- }
- #apDiv23 {
- position: absolute;
- left: 140px;
- top: 405px;
- width: 53px;
- height: 88px;
- z-index: 21;
- }
- #apDiv24 {
- position: absolute;
- left: 140px;
- top: 405px;
- width: 52px;
- height: 92px;
- z-index: 22;
- }
- #bjjd {
- position: absolute;
- left: 162px;
- top: 704px;
- width: 75px;
- height: 25px;
- z-index: 1;
- }
- #phjd {
- position: absolute;
- left: 168px;
- top: 784px;
- width: 65px;
- height: 25px;
- z-index: 2;
- }
- #dl1 {
- position: absolute;
- left: 159px;
- top: 227px;
- width: 83px;
- height: 16px;
- z-index: 3;
- }
- #dl2 {
- position: absolute;
- left: 159px;
- top: 248px;
- width: 83px;
- height: 16px;
- z-index: 4;
- }
- #apDiv414 {
- position: absolute;
- left: 1683px;
- top: 235px;
- width: 80px;
- height: 18px;
- z-index: 5;
- }
- #dl3 {
- position: absolute;
- left: 159px;
- top: 269px;
- width: 85px;
- height: 16px;
- z-index: 5;
- }
- #dy1 {
- position: absolute;
- left: 159px;
- top: 289px;
- width: 84px;
- height: 18px;
- z-index: 6;
- }
- #dy2 {
- position: absolute;
- left: 159px;
- top: 311px;
- width: 86px;
- height: 16px;
- z-index: 7;
- }
- #dy3 {
- position: absolute;
- left: 159px;
- top: 332px;
- width: 84px;
- height: 15px;
- z-index: 8;
- }
- #fdjzs {
- position: absolute;
- left: 172px;
- top: 400px;
- width: 40px;
- height: 18px;
- z-index: 9;
- }
- #wd1 {
- position: absolute;
- left: 172px;
- top: 418px;
- width: 51px;
- height: 17px;
- z-index: 10;
- }
- #wd2 {
- position: absolute;
- left: 172px;
- top: 436px;
- width: 51px;
- height: 17px;
- z-index: 11;
- }
- #wd3 {
- position: absolute;
- left: 172px;
- top: 454px;
- width: 52px;
- height: 16px;
- z-index: 12;
- }
- #zcwda {
- position: absolute;
- left: 172px;
- top: 472px;
- width: 49px;
- height: 20px;
- z-index: 48;
- }
- #zcwdb {
- position: absolute;
- left: 172px;
- top: 490px;
- width: 47px;
- height: 21px;
- z-index: 49;
- }
- #ylzs {
- position: absolute;
- left: 172px;
- top: 508px;
- width: 37px;
- height: 18px;
- z-index: 13;
- }
- #apDiv424 {
- position: absolute;
- left: -2947px;
- top: 1430px;
- width: 57px;
- height: 20px;
- z-index: 14;
- }
- #apDiv425 {
- position: absolute;
- left: -2947px;
- top: 1462px;
- width: 58px;
- height: 19px;
- z-index: 15;
- }
- #apDiv426 {
- position: absolute;
- left: -2947px;
- top: 1491px;
- width: 58px;
- height: 21px;
- z-index: 16;
- }
- #apDiv427 {
- position: absolute;
- left: 313px;
- top: 778px;
- width: 102px;
- height: 32px;
- z-index: 17;
- }
- #apDiv428 {
- position: absolute;
- left: 593px;
- top: 759px;
- width: 80px;
- height: 19px;
- z-index: 18;
- }
- #apDiv429 {
- position: absolute;
- left: 886px;
- top: 758px;
- width: 90px;
- height: 20px;
- z-index: 19;
- }
- #apDiv436 {
- position: absolute;
- left: 82px;
- top: 68px;
- width: 90px;
- height: 19px;
- z-index: 26;
- }
- #fjbh {
- position: absolute;
- left: 112px;
- top: 141px;
- width: 443px;
- height: 26px;
- z-index: 27;
- }
- #zsxzzdz {
- position: absolute;
- left: 1727px;
- top: 200px;
- width: 101px;
- height: 21px;
- z-index: 31;
- }
- #zsxz {
- position: absolute;
- left: 1727px;
- top: 230px;
- width: 106px;
- height: 25px;
- z-index: 32;
- }
- #container2 {
- position: absolute;
- left: 281px;
- top: 215px;
- width: 142px;
- height: 142px;
- z-index: 33;
- }
- #container3 {
- position: absolute;
- left: 432px;
- top: 216px;
- width: 142px;
- height: 142px;
- z-index: 34;
- }
- #fs {
- position: absolute;
- left: 1727px;
- top: 259px;
- width: 95px;
- height: 25px;
- z-index: 35;
- }
- #gl {
- position: absolute;
- left: 1727px;
- top: 291px;
- width: 96px;
- height: 24px;
- z-index: 36;
- }
- #llgl {
- position: absolute;
- left: 1727px;
- top: 323px;
- width: 95px;
- height: 24px;
- z-index: 37;
- }
- #yfgl {
- position: absolute;
- left: 1727px;
- top: 357px;
- width: 92px;
- height: 23px;
- z-index: 38;
- }
- #wggl {
- position: absolute;
- left: 1727px;
- top: 389px;
- width: 92px;
- height: 23px;
- z-index: 39;
- }
- #glys {
- position: absolute;
- left: 1727px;
- top: 421px;
- width: 85px;
- height: 25px;
- z-index: 40;
- }
- #klyl {
- position: absolute;
- left: 1727px;
- top: 455px;
- width: 90px;
- height: 24px;
- z-index: 41;
- }
- #fx {
- position: absolute;
- left: 1727px;
- top: 490px;
- width: 87px;
- height: 23px;
- z-index: 42;
- }
- #fjpl {
- position: absolute;
- left: 1727px;
- top: 522px;
- width: 91px;
- height: 22px;
- z-index: 43;
- }
- #hjwd {
- position: absolute;
- left: 1727px;
- top: 554px;
- width: 91px;
- height: 23px;
- z-index: 44;
- }
- #jcwd {
- position: absolute;
- left: 1727px;
- top: 587px;
- width: 92px;
- height: 22px;
- z-index: 45;
- }
- #tdwd {
- position: absolute;
- left: 1734px;
- top: 618px;
- width: 88px;
- height: 23px;
- z-index: 46;
- }
- #jcgwd {
- position: absolute;
- left: 1739px;
- top: 650px;
- width: 86px;
- height: 22px;
- z-index: 47;
- }
- #zw1 {
- position: absolute;
- left: 182px;
- top: 575px;
- width: 49px;
- height: 20px;
- z-index: 48;
- }
- #zw2 {
- position: absolute;
- left: 183px;
- top: 606px;
- width: 47px;
- height: 21px;
- z-index: 49;
- }
- #clxwd {
- position: absolute;
- left: 182px;
- top: 633px;
- width: 49px;
- height: 20px;
- z-index: 50;
- }
- #tb {
- position: absolute;
- left: 58px;
- top: 131px;
- width: 38px;
- height: 38px;
- z-index: 51;
- }
- #apDiv10 {
- position: absolute;
- left: 51px;
- top: 228px;
- width: 93px;
- height: 23px;
- z-index: 52;
- }
- #zsxzbt {
- position: absolute;
- left: 1635px;
- top: 201px;
- width: 91px;
- height: 21px;
- z-index: 52;
- color: #6f93b0;
- font-family: "Times New Roman", Times, serif;
- }
- #fxbt {
- position: absolute;
- left: 281px;
- top: 193px;
- width: 141px;
- height: 22px;
- z-index: 53;
- }
- #dfjdbt {
- position: absolute;
- left: 432px;
- top: 192px;
- width: 141px;
- height: 22px;
- z-index: 54;
- }
- /********************************************************************************************/
- #rssdl {
- position: absolute;
- left: 320px;
- top: 760px;
- width: 200px;
- height: 30px;
- z-index: 28;
- }
- #rxdss {
- position: absolute;
- left: 620px;
- top: 760px;
- width: 200px;
- height: 30px;
- z-index: 29;
- }
- #rgzss {
- position: absolute;
- left: 920px;
- top: 760px;
- width: 200px;
- height: 30px;
- z-index: 30;
- }
- #djrfdl {
- position: absolute;
- left: 1220px;
- top: 760px;
- width: 200px;
- height: 30px;
- z-index: 23;
- }
- #rlldl {
- position: absolute;
- left: 1520px;
- top: 760px;
- width: 200px;
- height: 30px;
- z-index: 20;
- }
- /********************************************************************************************/
- #rjxss {
- position: absolute;
- left: 320px;
- top: 794px;
- width: 200px;
- height: 30px;
- z-index: 24;
- }
- #rqfss {
- position: absolute;
- left: 620px;
- top: 794px;
- width: 200px;
- height: 30px;
- z-index: 25;
- }
- #rslss {
- position: absolute;
- left: 920px;
- top: 794px;
- width: 200px;
- height: 30px;
- z-index: 25;
- }
- #djpjfs {
- position: absolute;
- left: 1220px;
- top: 794px;
- width: 200px;
- height: 30px;
- z-index: 21;
- }
- #rpjgl {
- position: absolute;
- left: 1520px;
- top: 794px;
- width: 200px;
- height: 30px;
- z-index: 23;
- }
- /********************************************************************************************/
- </style>
- <script type="text/javascript">
- var pagenum;
- $(document).ready(function() {
- wtinital();
- showJqGrid();
- leftclick();
- wpAllInfoAjax();
- $("#wtName").val('<s:property value="wtName"/>');
- wtvalueinfo('<s:property value="wtName"/>');
- window.setInterval(wtloop, 60000);
-
- chart1 = new Highcharts.Chart(options1);
- chart2 = new Highcharts.Chart(options2);
- });
- function wtloop()
- {
- var wtName=$("#wtName").val();
- wtvalueinfo(wtName);
- }
- function goback()
- {
- $("#f1").attr("action","/matrix/monitormainIndex.action").submit();
- }
- function queryData(){
- $("#gridTable").jqGrid('GridUnload');
- showJqGrid();
- }
- function showJqGrid() {
- var wtName=$("#wtName").val();
-
- var url = '<%=request.getContextPath() %>/matrix/wtlsAjax.action?tooltipId='+"XS_FDC";
- var id = 'gridTable';
- var datatype = 'json';
- var colNames = ['风机', '型号','状态','功率','风速/日照强度','日发电量','月发电量','年发电量'];
- var colModel = [
- { name: 'wtId', index: 'wtId', width: 220, align: 'center'},
- { name: 'modelId', index: 'modelId', width: 220, align: 'center'},
- { name: 'wtstate', index: 'wtstate', width: 220, align: 'center'},
- { name: 'power', index: 'power', width: 220, align: 'center'},
- { name: 'speed', index: 'speed', width: 220, align: 'center'},
- { name: 'daypg', index: 'daypg', width: 220, align: 'center'},
- { name: 'monthpg', index: 'monthpg', width: 220, align: 'center'},
- { name: 'yearpg', index: 'yearpg', width: 220, align: 'center'}
- ];
- var caption = '风机实时状态数据列表';
- var sortname = 'daypg';
- var gridPagerID ='gridPager';
- var sortorder='desc';
- var height='auto';
- var width='auto';
- var rownumbers=true;
- var multiselect=false;
- myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
- multiselect,rownumbers);
- }
- function wtinital()
- {
- var num=$("#pagenums").val();
- $.ajax({
- url : "wtpagetinfo.action?wfName=XS_FDC&pagenums="+num,
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(res) {
- $("#container1").html("");
- $.each(res["result"], function(m, obj) {
-
- var temp=obj.substring(obj.length-3,obj.length);
- if(!isNaN(temp))
- {
- temp=temp+"号";
- }else
- {
- temp=obj.substring(obj.length-2,obj.length)+"号";
- }
- $("#container1").append("<a href='#' id='"+obj+"' onclick=wtvalueinfo('"+obj+"')>"+temp+"</a>");
-
- });
- $("#container1").append("<a href='#' onclick=wtinital()>\>\></a>");
-
- $("#pagenums").val(res["pagenums"]);
- }
- });
- }
- function wtvalueinfo(wtName) {
- /*var wt=$("#wtName").val();
- $("#"+wt).attr("disabled",false);
- $("#wtName").val(wtName);
-
- $("#"+wtName).attr("disabled",true);*/
- if(wtName=='')
- {
- wtName='XG01_01'
- }
-
- $("#wtName").val(wtName);
- var temp=wtName.substring(wtName.length-3,wtName.length);
- if(!isNaN(temp))
- {
- temp=temp+"号风机";
- }else
- {
- temp=wtName.substring(wtName.length-2,wtName.length)+"号风机";
- }
-
- $.ajax({
- url : "wtrealtimeinfo.action?wtName="+wtName,
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(res) {
- /******************赋值**********************/
- $("#bjjd").html(res["bjjd"] + "");
- $("#phjd").html(res["phjd"] + "");
- $("#dl1").html(res["dl1"] + "");
- $("#dl2").html(res["dl2"] + "");
- $("#dl3").html(res["dl3"] + "");
- $("#dy1").html(res["dy1"] + "");
- $("#dy2").html(res["dy2"] + "");
- $("#dy3").html(res["dy3"] + "");
- $("#fdjzs").html(res["fdjzs"] + "");
- $("#wd1").html(res["wd1"] + "");
- $("#wd2").html(res["wd2"] + "");
- $("#wd3").html(res["wd3"] + "");
- $("#ylzs").html(res["ylzs"] + "");
-
- $("#zcwda").html(res["zcwda"] + "");
- $("#zcwdb").html(res["zcwdb"] + "");
-
- $("#zw1").html(res["zw1"] + "");
- $("#zw2").html(res["zw2"] + "");
- $("#clxwd").html(res["clxwd"] + "");
- $("#gl").html(res["gl"] + "");
- $("#fs").html(res["fs"] + "");
- $("#glys").html(res["glys"] + "");
- $("#hjwd").html(res["hjwd"] + "");
- $("#fx").html(res["fx"] + "");
- $("#fjpl").html(res["fjpl"] + "");
- $("#wggl").html(res["wggl"] + "");
- $("#klyl").html(res["klyl"] + "");
-
- $("#djrfdl").html("日发电量:"+res["rfdl"] + "");
- $("#rgzss").html("日故障损失:"+res["rgzss"] + "");
- $("#rjxss").html("日检修损失:"+res["rjxss"] + "");
- $("#rqfss").html("日性能损失:"+res["rqfss"] + "");
- $("#rxdss").html("日限电损失:"+res["rxdss"] + "");
- $("#rssdl").html("日损失电量:"+res["rssdl"] + "");
- $("#rlldl").html("日理论电量:"+res["rlldl"] + "");
- $("#djpjfs").html("日平均风速:"+res["pjfs"] + "");
- $("#rslss").html("日受累损失:"+res["rslss"] + "");
- $("#rpjgl").html("日平均功率:"+res["rpjgl"] + "");
-
- $("#llgl").html(res["llgl"] + "");
- $("#yfgl").html(res["yfgl"] + "");
- $("#jcwwd").html(res["jcwwd"] + "");
- $("#jcwd").html(res["jcwd"] + "");
- $("#tdwd").html(res["tdwd"] + "");
- $("#jcgwd").html(res["jcgwd"] + "");
- $("#dfjd").html(res["dfjd"] + "");
- $("#zsxzzdz").html(res["zsxzzdz"] + "");
- $("#zsxz").html(res["zsxz"] + "");
-
-
-
- var point1 = chart1.series[0].points[0]
- point1.update(res["fx"]);
- var point2 = chart2.series[0].points[0]
- point2.update(res["dfjd"]);
- if(res["dfjd"]==2)
- {
- $("#zsxzbt").html("功率控制限值");
- }else
- {
- $("#zsxzbt").html("转速限值");
- }
- switch(res["fjzt"]){
- case 1:
- $("#fjbh").html(temp+"当前状态为:运行");
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_run.fw.png' width='45' height='45' />");
-
- break;
- case 0:
- $("#fjbh").html(temp+"当前状态为:待机")
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_standBy.fw.png' width='45' height='45' />");
-
- break;
- case 4:
- $("#fjbh").html(temp+"当前状态为:检修")
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Repair.fw.png' width='45' height='45' />");
-
- break;
- case 2:
- $("#fjbh").html(temp+"当前状态为:停机")
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Error.fw.png' width='45' height='45' />");
-
- break;
- case 3:
- $("#fjbh").html(temp+"当前状态为:中断")
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_interrupt.fw.png' width='45' height='45' />");
-
- break;
- case 5:
- $("#fjbh").html(temp+"当前状态为:非停机限电")
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Limit.fw.png' width='45' height='45' />");
-
- break;
- case 6:
- $("#fjbh").html(temp+"当前状态为:停机限电")
- $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Limit.fw.png' width='45' height='45' />");
-
- break;
- }
- }
- });
- }
- function wpAllInfoAjax() {
- $.ajax( {
- url : "/windfarm/windfarmrealtimeinfo.action?wfName=XS_FDC",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(res) {
- $("#zjrl").html(res["zjrl"] + "");
- $("#zgl").html(res["zgl"] + "");
- $("#pjfs").html(res["pjfs"] + "");
- $("#rfdl").html(res["rfdl"] + "");
- $("#yfdl").html(res["yfdl"] + "");
- $("#nfdl").html(res["nfdl"] + "");
- $("#yxts").html(res["yxts"] + "");
- $("#djts").html(res["djts"] + "");
- $("#whts").html(res["whts"] + "");
- $("#gzts").html(res["gzts"] + "");
- $("#lxts").html(res["lxts"] + "");
- $("#xdts").html(res["xdts"] + "");
- $("#jrts").html(res["jrts"] + "");
- $("#wd").html(res["wd"] + "");
- }
- });
- }
- function windfarm()
- {
- $("#f1").attr("action","/windfarm/xsindex.action?wfName=XS_FDC").submit();
- }
- function tower()
- {
- $("#f1").attr("action","/windfarm/xswindtower.action?windfarm=XS_FDC").submit();
- }
- function powerfirst()
- {
- $("#f1").attr("action","/windfarm/xspowerfirst.action?wfName=XS_FDC").submit();
- }
- function wtinfo()
- {
- $("#f1").attr("action","/windfarm/xswtindex.action?wfName=XS_FDC").submit();
- }
- function power()
- {
- $("#f1").attr("action","/windfarm/xspowerindex.action?wfName=XS_FDC").submit();
- }
- function fjpb()
- {
- $("#f1").attr("action","/windfarm/xsstation1.action?wfName=XS01_GC").submit();
- }
- var state='zm';
- function leftover()
- {
- $("#apDiv23").css("display", "none");
- $("#apDiv24").css("display", "");
- }
- function leftout()
- {
- if(state=='jz')
- {
- $("#apDiv23").css("display", "");
- $("#apDiv24").css("display", "none");
- }
-
- }
- function leftclick()
- {
- $("#apDiv21").css("display", "");
- $("#apDiv22").css("display", "none");
- $("#apDiv23").css("display", "none");
- $("#apDiv24").css("display", "none");
-
- $("#tb").css("display", "");
- $("#fjbh").css("display", "");
- $("#container1").css("display", "");
- $("#container6").css("display", "");
-
- $("#container4").css("display", "none");
- $("#container5").css("display", "");
- $("#bjjd").css("display", "");
- $("#phjd").css("display", "");
- $("#dl1").css("display", "");
- $("#dl2").css("display", "");
- $("#dl3").css("display", "");
- $("#dy1").css("display", "");
- $("#dy2").css("display", "");
- $("#dy3").css("display", "");
- $("#fdjzs").css("display", "");
- $("#wd1").css("display", "");
- $("#wd2").css("display", "");
- $("#wd3").css("display", "");
- $("#ylzs").css("display", "");
-
- $("#zcwda").css("display", "");
- $("#zcwdb").css("display", "");
- $("#zw1").css("display", "");
- $("#zw2").css("display", "");
- $("#clxwd").css("display", "");
- $("#gl").css("display", "");
- $("#fs").css("display", "");
- $("#glys").css("display", "");
- $("#hjwd").css("display", "");
- $("#fx").css("display", "");
- $("#fjpl").css("display", "");
- $("#wggl").css("display", "");
- $("#djrfdl").css("display", "");
- $("#klyl").css("display", "");
-
- $("#fjpl").css("display", "");
- $("#rgzss").css("display", "");
- $("#rjxss").css("display", "");
- $("#rqfss").css("display", "");
- $("#rxdss").css("display", "");
- $("#rssdl").css("display", "");
- $("#llgl").css("display", "");
- $("#yfgl").css("display", "");
- $("#rlldl").css("display", "");
- $("#rpjgl").css("display", "");
- $("#rslss").css("display", "");
- $("#djpjfs").css("display", "");
- $("#jcwwd").css("display", "");
- $("#jcwd").css("display", "");
- $("#tdwd").css("display", "");
- $("#jcgwd").css("display", "");
- $("#dfjd").css("display", "");
- $("#zsxzzdz").css("display", "");
- $("#zsxz").css("display", "");
-
- $("#zsxzbt").css("display", "");
- $("#fxbt").css("display", "");
- $("#dfjdbt").css("display", "");
- $("#container2").css("display", "");
- $("#container3").css("display", "");
-
- state='zm';
- }
- function rightover()
- {
- $("#apDiv21").css("display", "none");
- $("#apDiv22").css("display", "");
- }
- function rightout()
- {
- if(state=='zm')
- {
- $("#apDiv21").css("display", "");
- $("#apDiv22").css("display", "none");
- }
-
- }
- function rightclick()
- {
- $("#apDiv21").css("display", "none");
- $("#apDiv22").css("display", "none");
- $("#apDiv23").css("display", "");
- $("#apDiv24").css("display", "none");
-
- $("#tb").css("display", "none");
- $("#fjbh").css("display", "none");
- $("#container1").css("display", "none");
- $("#container6").css("display", "none");
-
- $("#container4").css("display", "");
- $("#container5").css("display", "none");
- $("#bjjd").css("display", "none");
- $("#phjd").css("display", "none");
- $("#dl1").css("display", "none");
- $("#dl2").css("display", "none");
- $("#dl3").css("display", "none");
- $("#dy1").css("display", "none");
- $("#dy2").css("display", "none");
- $("#dy3").css("display", "none");
- $("#fdjzs").css("display", "none");
- $("#wd1").css("display", "none");
- $("#wd2").css("display", "none");
- $("#wd3").css("display", "none");
- $("#ylzs").css("display", "none");
-
- $("#zcwda").css("display", "none");
- $("#zcwdb").css("display", "none");
- $("#zw1").css("display", "none");
- $("#zw2").css("display", "none");
- $("#clxwd").css("display", "none");
- $("#gl").css("display", "none");
- $("#fs").css("display", "none");
- $("#glys").css("display", "none");
- $("#hjwd").css("display", "none");
- $("#fx").css("display", "none");
- $("#fjpl").css("display", "none");
- $("#rgzss").css("display", "none");
- $("#rjxss").css("display", "none");
- $("#rqfss").css("display", "none");
- $("#rxdss").css("display", "none");
- $("#rssdl").css("display", "none");
- $("#llgl").css("display", "none");
- $("#yfgl").css("display", "none");
- $("#rlldl").css("display", "none");
- $("#rpjgl").css("display", "none");
- $("#rslss").css("display", "none");
- $("#djpjfs").css("display", "none");
- $("#jcwwd").css("display", "none");
- $("#jcwd").css("display", "none");
- $("#tdwd").css("display", "none");
- $("#jcgwd").css("display", "none");
- $("#dfjd").css("display", "none");
- $("#zsxzzdz").css("display", "none");
- $("#zsxz").css("display", "none");
-
- $("#zsxzbt").css("display", "none");
- $("#fxbt").css("display", "none");
- $("#dfjdbt").css("display", "none");
- $("#container2").css("display", "none");
- $("#container3").css("display", "none"); $("#wggl").css("display", "none");
- $("#wggl").css("display", "none");
- $("#djrfdl").css("display", "none");
- $("#klyl").css("display", "none");
- //queryData();
- state='jz';
- }
- </script>
- </head>
- <body>
- <form action="" id="f1" method="post" style="width: 1883px">
- <div class="value_Name" id="fjbh">风机信息</div>
- <s:hidden id="wtName" ></s:hidden>
- <s:hidden id="pagenums" value="1"></s:hidden>
- <div id="apDiv21"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_alpha_Right.fw.png" width="50" height="100" onmouseover="rightover()"/></div>
- <div id="apDiv22"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_right.fw.png" width="50" height="100" onmouseout="rightout()" onmousedown="rightclick()"/></div>
- <div id="apDiv23"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_alpha_left.fw.png" width="50" height="100" onmouseover="leftover()"/></div>
- <div id="apDiv24"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_left.fw.png" width="50" height="100" onmouseout="leftout()" onmousedown="leftclick()"/></div>
- <div id="bjjd"></div>
- <div id="phjd"></div>
- <div id="dl1"></div>
- <div id="dl2"></div>
- <div id="dl3"></div>
- <div id="dy1"></div>
- <div id="dy2"></div>
- <div id="dy3"></div>
- <div id="fdjzs"></div>
- <div id="wd1"></div>
- <div id="wd2"></div>
- <div id="wd3"></div>
- <div id="ylzs"></div>
- <div id="zcwda"></div>
- <div id="zcwdb"></div>
- <div class="value_Name" id="apDiv436">风机信息</div>
- <div class="station_Name" id="fjbh"></div>
- <div id="zsxzzdz"></div>
- <div id="zsxz"></div>
- <div id="container2"></div>
- <div id="container3"></div>
- <div id="fs"></div>
- <div id="gl"></div>
- <div id="llgl"></div>
- <div id="yfgl"></div>
- <div id="wggl"></div>
- <div id="glys"></div>
- <div id="klyl"></div>
- <div id="fx"></div>
- <div id="fjpl"></div>
- <div id="hjwd"></div>
- <div id="jcwd"></div>
- <div id="tdwd"></div>
- <div id="jcgwd"></div>
- <div id="zw1"></div>
- <div id="zw2"></div>
- <div id="clxwd"></div>
- <div id="rssdl" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rxdss" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rgzss" style="color: #274d6b;font-weight: bold;"></div>
- <div id="djrfdl" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rlldl" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rjxss" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rqfss" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rslss" style="color: #274d6b;font-weight: bold;"></div>
- <div id="djpjfs" style="color: #274d6b;font-weight: bold;"></div>
- <div id="rpjgl" style="color: #274d6b;font-weight: bold;"></div>
- <div id="tb"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_run.fw.png" width="45" height="45" /></div>
- <div class="valueinfo2_Name" id="zsxzbt">转速限值</div>
- <div class="valueinfo2_Name" id="fxbt">风向</div>
- <div class="valueinfo2_Name" id="dfjdbt">对风角度</div>
- <table width="1880" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="58" colspan="5" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_Top_xs.jpg"><table width="1880" border="0" cellspacing="0" cellpadding="0" height="58">
- <tr>
- <td width="36" height="25"> </td>
- <td width="64" rowspan="2" align="center"> </td>
- <td width="125" align="center" valign="bottom" class="station_Name">装机容量</td>
- <td width="123"align="center" valign="bottom" class="station_Name">总功率</td>
- <td width="125"align="center" valign="bottom" class="station_Name">日发电量</td>
- <td width="124"align="center" valign="bottom" class="station_Name">月发电量</td>
- <td width="124"align="center" valign="bottom" class="station_Name">年发电量</td>
- <td width="123"align="center" valign="bottom" class="station_Name">温度</td>
- <td width="123"align="center" valign="bottom" class="station_Name">平均风速</td>
- <td width="127"align="center" valign="bottom" class="station_Name">接入台数</td>
- <td width="121"align="center" valign="bottom" class="station_Name">运行台数</td>
- <td width="125"align="center" valign="bottom" class="station_Name">待机台数</td>
- <td width="123"align="center" valign="bottom" class="station_Name">故障台数</td>
- <td width="126"align="center" valign="bottom" class="station_Name">维护台数</td>
- <td width="124"align="center" valign="bottom" class="station_Name">离线台数</td>
- <td width="124"align="center" valign="bottom" class="station_Name">限电台数</td>
- <td width="43"align="center" valign="bottom" class="station_Name" style='cursor: pointer;' onclick="goback()"></td>
- </tr>
- <tr>
- <td height="28"> </td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="zjrl"></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="zgl" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="rfdl" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="yfdl" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="nfdl" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="wd" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="pjfs" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="jrts" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="yxts" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="djts" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="gzts" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="whts" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="lxts" ></span></td>
- <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="xdts" ></span></td>
- <td align="center" style='cursor: pointer;' onclick="goback()"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/back_icon.fw.png" width="18" height="19" /></td>
- </tr>
- </table>
- <tr>
- <td width="17" valign="top"><table width="35" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_zm_Button_link.jpg" width="35" height="80" onclick="windfarm()" style='cursor: pointer;'/></td>
- </tr>
- <tr>
- <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_fjpb_button_link.jpg" width="35" height="80" onclick="fjpb()" style='cursor: pointer;'/></td>
- </tr>
- <tr>
- <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_fjinfo_button_selected.jpg" width="35" height="80" /></td>
- </tr>
- <tr>
- <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_syz_button_link.jpg" width="35" onclick="powerfirst()" style='cursor: pointer;'/></td>
- </tr>
- <tr>
- <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_line_button_link.jpg" width="35" height="80" onclick="power()" style='cursor: pointer;'/></td>
- </tr>
- <tr>
- <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_cft_button_link.jpg" width="35" height="80" onclick="tower()" style='cursor: pointer;'/></td>
- </tr>
- </table></td>
- <td width="1863" height="766" align="center" valign="top"><table width="1840" height="766" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="<%=request.getContextPath()%>/resource/images/system/pictures/current_BG.jpg" width="1840" height="38" /></td>
- </tr>
- <tr id="container6">
- <td height="30" align="left" class="station_Name"><div id="container1"></div>
- </td>
- </tr>
- <tr>
- <td id="container5" height="706" align="center" background="<%=request.getContextPath()%>/resource/images/system/pictures/fj.fw.png"></td>
- <td id="container4" width="1840" height="706" align="center" style="display: none"><table id='gridTable' ></table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </form>
- </body>
|