123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314 |
- <%@ 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();
- 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='+"SBQ_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=SBQ_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='SG01_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=SBQ_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/sbqindex.action?wfName=SBQ_FDC").submit();
- }
- function tower()
- {
- $("#f1").attr("action","/windfarm/sbqwindtower.action?windfarm=SBQ_FDC").submit();
- }
- function powerfirst()
- {
- $("#f1").attr("action","/windfarm/sbqpowerfirst.action?wfName=SBQ_FDC").submit();
- }
- function wtinfo()
- {
- $("#f1").attr("action","/windfarm/sbqwtindex.action?wfName=SBQ_FDC").submit();
- }
- function power()
- {
- $("#f1").attr("action","/windfarm/sbqpowerindex.action?wfName=SBQ_FDC").submit();
- }
- function fjpb()
- {
- $("#f1").attr("action","/windfarm/sbqstation1.action?wfName=SBQ01_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");
- $("#djrfdl").css("display", "none");
- $("#klyl").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_sbq.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" height="706" align="center" style="display: none"><table id='gridTable' ></table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </form>
- </body>
|