123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <%@ page language="java" contentType="text/html;charset=utf-8"%>
- <%@include file="/pages/includes/taglibs.jsp"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
-
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>top</title>
- <script src="<%=request.getContextPath()%>/resource/js/jquery-1.2.6.pack.js" type="text/javascript"></script>
- <script src="<%=request.getContextPath()%>/resource/js/jquery.epiclock.js" type="text/javascript"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('#epiClock1').epiclock({ format : ' Y年F月j日 ' }); //绑定
- $('#epiClock2').epiclock({ format : ' D '}); //绑定
- $('#epiClock3').epiclock({ format : ' G:i:s' }); //绑定
- $.epiclock();
- queryApData();
- window.setInterval(queryApData,60000);
- });
- function queryApData() {
-
- $.ajax( {url : "<%=request.getContextPath()%>/top/findInfo.action",
- type : "post",
- cache : false,
- dataType : "json",
- data : {},
- ifModified : false,
- success : function(res) {
-
- $("#aqts").html(res["aqts"] + "");
- $("#zjrl").html(res["zjrl"] + "");
- $("#rfdl").html(res["rfdl"] + "");
- $("#yfdl").html(res["yfdl"] + "");
- $("#nfdl").html(res["nfdl"] + "");
- $("#pjfs").html(res["pjfs"] + "");
- $("#sjgl").html(res["sjgl"] + "");
-
- $("#fzjrl").html(res["fzjrl"] + "");
- $("#frfdl").html(res["frfdl"] + "");
- $("#fyfdl").html(res["fyfdl"] + "");
- $("#fnfdl").html(res["fnfdl"] + "");
- $("#fpjfs").html(res["fpjfs"] + "");
- $("#fsjgl").html(res["fsjgl"] + "");
-
- $("#gzjrl").html(res["gzjrl"] + "");
- $("#grfdl").html(res["grfdl"] + "");
- $("#gyfdl").html(res["gyfdl"] + "");
- $("#gnfdl").html(res["gnfdl"] + "");
- $("#gpjfs").html(res["gpjfs"] + "");
- $("#gsjgl").html(res["gsjgl"] + "");
-
- }
- });
- }
- </script>
- <style type="text/css">
- body {
- margin-left: 0px;
- margin-top: 0px;
- margin-right: 0px;
- margin-bottom: 0px;
- }
- .ScreenText {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 24px;
- font-style: normal;
- font-weight: bold;
- color: #FF0;
- text-decoration: none;
- }
- .TextCSS {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 18px;
- font-style: normal;
- font-weight: bold;
- color: #FF0;
- text-decoration: none;
- }
- </style>
- <link href="ScreenText.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <table width="1920" border="0" cellspacing="1" cellpadding="0" bgcolor="#B2B200">
- <tr>
- <td width="250" height="128" rowspan="4" align="center" valign="top" bgcolor="#0B4F27"><table width="100%" height="128" border="0" cellspacing="0" cellpadding="0">
- <tr >
- <td height="43" align="center" class="ScreenText"><div id="epiClock1" style="text-align:center;height: 30"></div></td>
- </tr>
- <tr>
- <td height="43" align="center" class="ScreenText"><div id="epiClock2" style="text-align:center;height: 30"></div></td>
- </tr>
- <tr>
- <td height="43" align="center" class="ScreenText"><div id="epiClock3" style="text-align:center;height: 30"></div></td>
- </tr>
- </table></td>
-
- <td height="32" colspan="2" align="center" valign="middle" bgcolor="#0B4F27" class="ScreenText">综合参数</td>
- <td height="32" colspan="2" align="center" valign="middle" bgcolor="#0B4F27" class="ScreenText">风电参数</td>
- <td height="32" colspan="2" align="center" valign="middle" bgcolor="#0B4F27" class="ScreenText">光伏参数</td></tr>
- <tr>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">装机容量:<span id="zjrl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">日发电量:<span id="rfdl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">装机容量:<span id="fzjrl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">日发电量:<span id="frfdl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">装机容量:<span id="gzjrl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">日发电量:<span id="grfdl"></td>
-
- </tr>
- <tr>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">安全天数:<span id="aqts"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">月发电量:<span id="yfdl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">平均风速:<span id="fpjfs"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">月发电量:<span id="fyfdl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">日照强度:<span id="gpjfs"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">月发电量:<span id="gyfdl"></td>
-
- </tr>
- <tr>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">总功率:<span id="sjgl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">年发电量:<span id="nfdl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">实时功率:<span id="fsjgl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">年发电量:<span id="fnfdl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">实时功率:<span id="gsjgl"></td>
- <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">年发电量:<span id="gnfdl"></td>
-
- </tr>
- </table>
- </body>
- </html>
|