123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <html>
- <head>
- <title>宁夏集控</title>
- <style>
- body{
- font-size: 12px;
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- }
- @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: 20px;
- font-weight: bolder;
- }
- </style>
- <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/plugin/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
- <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.tabs.js"></script>
- <script type="text/javascript">
- $(function() {
- $( "#tabs" ).tabs({
- select: function(event, ui) {
- // ui.tab锚元素选中的标签页
- // ui.panel 锚元素选中的标签页的内容
- // ui.index 锚元素选中的标签页的索引(从0开始)
-
- if(ui.index==0)
- {
- var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
- var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
- var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
- var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
-
- var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
- var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
- var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
- var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
-
- var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
- var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
- var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
- var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
-
- var windfarm;
- var recorddate;
- var windturbineid;
-
- if(windfarm2!=null && windfarm2!="")
- {
- windfarm=windfarm2;
- }
- else if(windfarm3!=null && windfarm3!="")
- {
- windfarm=windfarm3;
- }
- else if(windfarm4!=null && windfarm4!="")
- {
- windfarm=windfarm4;
- }
- else if(windfarm5!=null && windfarm5!="")
- {
- windfarm=windfarm5;
- }
-
- if(windturbineid2!=null && windturbineid2!="")
- {
- windturbineid=windturbineid2;
- }
- else if(windturbineid3!=null && windturbineid3!="")
- {
- windturbineid=windturbineid3;
- }
- else if(windturbineid4!=null && windturbineid4!="")
- {
- windturbineid=windturbineid4;
- }else if(windturbineid5!=null && windturbineid5!="")
- {
- windturbineid=windturbineid5;
- }
-
- if(recorddate2!=null && recorddate2!="")
- {
- recorddate=recorddate2;
- }
- else if(recorddate3!=null && recorddate3!="")
- {
- recorddate=recorddate3;
- }
- else if(recorddate4!=null && recorddate4!="")
- {
- recorddate=recorddate4;
- }else if(recorddate5!=null && recorddate5!="")
- {
- recorddate=recorddate5;
- }
- /****************************************************************/
- $("#tab1").attr("src","<%=request.getContextPath() %>/wtgoodness/detaillineindex.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- }else if(ui.index==1)
- {
- var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
- var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
- var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
- var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
-
- var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
- var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
- var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
- var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
-
- var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
- var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
- var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
- var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
-
- var windfarm;
- var recorddate;
- var windturbineid;
-
- if(windfarm1!=null && windfarm1!="")
- {
- windfarm=windfarm1;
- }
- else if(windfarm3!=null && windfarm3!="")
- {
- windfarm=windfarm3;
- }
- else if(windfarm4!=null && windfarm4!="")
- {
- windfarm=windfarm4;
- }
- else if(windfarm5!=null && windfarm5!="")
- {
- windfarm=windfarm5;
- }
-
- if(windturbineid1!=null && windturbineid1!="")
- {
- windturbineid=windturbineid1;
- }
- else if(windturbineid3!=null && windturbineid3!="")
- {
- windturbineid=windturbineid3;
- }
- else if(windturbineid4!=null && windturbineid4!="")
- {
- windturbineid=windturbineid4;
- }else if(windturbineid5!=null && windturbineid5!="")
- {
- windturbineid=windturbineid5;
- }
-
- if(recorddate1!=null && recorddate1!="")
- {
- recorddate=recorddate1;
- }
- else if(recorddate3!=null && recorddate3!="")
- {
- recorddate=recorddate3;
- }
- else if(recorddate4!=null && recorddate4!="")
- {
- recorddate=recorddate4;
- }
- else if(recorddate5!=null && recorddate5!="")
- {
- recorddate=recorddate5;
- }
- /****************************************************************/
- $("#tab2").attr("src","<%=request.getContextPath() %>/wtgoodness/detailindex.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
- $("#tab1").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
-
- }else if(ui.index==2)
- {
- var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
- var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
- var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
- var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
-
- var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
- var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
- var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
- var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
-
- var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
- var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
- var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
- var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
-
- var windfarm;
- var recorddate;
- var windturbineid;
-
- if(windfarm2!=null && windfarm2!="")
- {
- windfarm=windfarm2;
- }
- else if(windfarm1!=null && windfarm1!="")
- {
- windfarm=windfarm1;
- }
- else if(windfarm4!=null && windfarm4!="")
- {
- windfarm=windfarm4;
- }else if(windfarm5!=null && windfarm5!="")
- {
- windfarm=windfarm5;
- }
-
- if(windturbineid2!=null && windturbineid2!="")
- {
- windturbineid=windturbineid2;
- }
- else if(windturbineid1!=null && windturbineid1!="")
- {
- windturbineid=windturbineid1;
- }
- else if(windturbineid4!=null && windturbineid4!="")
- {
- windturbineid=windturbineid4;
- }else if(windturbineid5!=null && windturbineid5!="")
- {
- windturbineid=windturbineid5;
- }
-
- if(recorddate2!=null && recorddate2!="")
- {
- recorddate=recorddate2;
- }
- else if(recorddate1!=null && recorddate1!="")
- {
- recorddate=recorddate1;
- }
- else if(recorddate4!=null && recorddate4!="")
- {
- recorddate=recorddate4;
- }else if(recorddate5!=null && recorddate5!="")
- {
- recorddate=recorddate5;
- }
- /****************************************************************/
- $("#tab3").attr("src","<%=request.getContextPath() %>/wtgoodness/wpdetailindex.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
-
- }else if(ui.index==3)
- {
- var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
- var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
- var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
- var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
-
- var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
- var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
- var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
- var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
-
- var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
- var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
- var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
- var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
- var windfarm;
- var recorddate;
- var windturbineid;
-
- if(windfarm2!=null && windfarm2!="")
- {
- windfarm=windfarm2;
- }
- else if(windfarm3!=null && windfarm3!="")
- {
- windfarm=windfarm3;
- }
- else if(windfarm1!=null && windfarm1!="")
- {
- windfarm=windfarm1;
- }
- else if(windfarm5!=null && windfarm5!="")
- {
- windfarm=windfarm5;
- }
-
- if(windturbineid2!=null && windturbineid2!="")
- {
- windturbineid=windturbineid2;
- }
- else if(windturbineid3!=null && windturbineid3!="")
- {
- windturbineid=windturbineid3;
- }
- else if(windturbineid1!=null && windturbineid1!="")
- {
- windturbineid=windturbineid1;
- }
- else if(windturbineid5!=null && windturbineid5!="")
- {
- windturbineid=windturbineid5;
- }
-
- if(recorddate2!=null && recorddate2!="")
- {
- recorddate=recorddate2;
- }
- else if(recorddate3!=null && recorddate3!="")
- {
- recorddate=recorddate3;
- }
- else if(recorddate1!=null && recorddate1!="")
- {
- recorddate=recorddate1;
- }
- else if(recorddate5!=null && recorddate5!="")
- {
- recorddate=recorddate5;
- }
- /****************************************************************/
- $("#tab4").attr("src","<%=request.getContextPath() %>/wtgoodness/wtdetailindex.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab5").attr("src","about:blank");
- }
- else if(ui.index==4)
- {
- var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
- var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
- var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
- var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
-
- var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
- var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
- var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
- var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
-
- var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
- var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
- var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
- var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
-
- var windfarm;
- var recorddate;
- var windturbineid;
-
- if(windfarm2!=null && windfarm2!="")
- {
- windfarm=windfarm2;
- }
- else if(windfarm3!=null && windfarm3!="")
- {
- windfarm=windfarm3;
- }
- else if(windfarm1!=null && windfarm1!="")
- {
- windfarm=windfarm1;
- }else if(windfarm4!=null && windfarm4!="")
- {
- windfarm=windfarm4;
- }
-
- if(windturbineid2!=null && windturbineid2!="")
- {
- windturbineid=windturbineid2;
- }
- else if(windturbineid3!=null && windturbineid3!="")
- {
- windturbineid=windturbineid3;
- }
- else if(windturbineid1!=null && windturbineid1!="")
- {
- windturbineid=windturbineid1;
- }else if(windturbineid4!=null && windturbineid4!="")
- {
- windturbineid=windturbineid4;
- }
-
- if(recorddate2!=null && recorddate2!="")
- {
- recorddate=recorddate2;
- }
- else if(recorddate3!=null && recorddate3!="")
- {
- recorddate=recorddate3;
- }
- else if(recorddate1!=null && recorddate1!="")
- {
- recorddate=recorddate1;
- }else if(recorddate4!=null && recorddate4!="")
- {
- recorddate=recorddate4;
- }
- /****************************************************************/
- $("#tab5").attr("src","<%=request.getContextPath() %>/wtgoodness/detailpieindex.action?windfarm="+windfarm
- +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
- $("#tab1").attr("src","about:blank");
- $("#tab2").attr("src","about:blank");
- $("#tab3").attr("src","about:blank");
- $("#tab4").attr("src","about:blank");
-
- }
- }
- });
- var wp='<s:property value="windfarm"/>';
- var wt='<s:property value="windturbineid"/>';
- var rd='<s:property value="recorddate"/>';
- $("#tab1").attr("src","<%=request.getContextPath() %>/wtgoodness/detaillineindex.action?windfarm="+wp
- +"&windturbineid="+wt +"&recorddate="+rd);
- });
- </script>
- </head>
- <body>
- <div id="tabs" style="width: 1560px;height: 795px;border: 0px;margin: 0px">
- <ul >
- <li><a href="#tabs-1" >风机运行情况信息</a></li>
- <li><a href="#tabs-2" >风机日详细信息</a></li>
- <li><a href="#tabs-3">风场玫瑰图</a></li>
- <li><a href="#tabs-4" >风机玫瑰图</a></li>
- <li><a href="#tabs-5">风机切入切出分析</a></li>
- </ul>
- <div id="tabs-1" style="border: 0px;margin: 0px">
- <iframe id="tab1" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-2" style="border: 0px;margin: 0px">
- <iframe id="tab2" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-3" style="border: 0px;margin: 0px">
- <iframe id="tab3" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-4" style="border: 0px;margin: 0px">
- <iframe id="tab4" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
- </div>
- <div id="tabs-5" style="border: 0px;margin: 0px">
- <iframe id="tab5" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
- </div>
- </div>
- </body>
- </html>
|