top3.jsp 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <%@ page language="java" contentType="text/html;charset=utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <title>top</title>
  8. <script src="<%=request.getContextPath()%>/resource/js/jquery-1.2.6.pack.js" type="text/javascript"></script>
  9. <script src="<%=request.getContextPath()%>/resource/js/jquery.epiclock.js" type="text/javascript"></script>
  10. <script type="text/javascript">
  11. $(document).ready(function() {
  12. $('#epiClock1').epiclock({ format : ' Y年F月j日 ' }); //绑定
  13. $('#epiClock2').epiclock({ format : ' D '}); //绑定
  14. $('#epiClock3').epiclock({ format : ' G:i:s' }); //绑定
  15. $.epiclock();
  16. queryApData();
  17. window.setInterval(queryApData,60000);
  18. });
  19. function queryApData() {
  20. $.ajax( {url : "<%=request.getContextPath()%>/top/queryAp.action?queryType=gf",
  21. type : "post",
  22. cache : false,
  23. dataType : "json",
  24. data : {},
  25. ifModified : false,
  26. success : function(res) {
  27. $("#zjrl").html(res["zjrl"] + "");
  28. $("#aqts").html(res["aqts"] + "");
  29. $("#rfdl").html(res["rfdl"] + "");
  30. $("#yfdl").html(res["yfdl"] + "");
  31. $("#nfdl").html(res["nfdl"] + "");
  32. $("#pjfs").html(res["pjfs"] + "");
  33. $("#sjgl").html(res["sjgl"] + "");
  34. $("#lxfdl").html(res["lxfdl"] + "");
  35. $("#swdl").html(res["swdl"] + "");
  36. $("#gwdl").html(res["gwdl"] + "");
  37. $("#yxfss").html(res["yxfss"] + "");
  38. $("#lyxs").html(res["lyxs"] + "");
  39. $("#cydl").html(res["cydl"] + "");
  40. $("#gzssdl").html(res["gzssdl"] + "");
  41. $("#fjxnwdb").html(res["fjxnwdb"] + "");
  42. $("#zhcydl").html(res["zhcydl"] + "");
  43. $("#sbklyl").html(res["sbklyl"] + "");
  44. $("#dxkyxs").html(res["dxkyxs"] + "");
  45. $("#csl").html(res["csl"] + "");
  46. }
  47. });
  48. }
  49. </script>
  50. <style type="text/css">
  51. body {
  52. margin-left: 0px;
  53. margin-top: 0px;
  54. margin-right: 0px;
  55. margin-bottom: 0px;
  56. }
  57. .ScreenText {
  58. font-family: Arial, Helvetica, sans-serif;
  59. font-size: 24px;
  60. font-style: normal;
  61. font-weight: bold;
  62. color: #FF0;
  63. text-decoration: none;
  64. }
  65. .TextCSS {
  66. font-family: Arial, Helvetica, sans-serif;
  67. font-size: 18px;
  68. font-style: normal;
  69. font-weight: bold;
  70. color: #FF0;
  71. text-decoration: none;
  72. }
  73. </style>
  74. <link href="ScreenText.css" rel="stylesheet" type="text/css" />
  75. </head>
  76. <body>
  77. <table width="1920" border="0" cellspacing="1" cellpadding="0" bgcolor="#B2B200">
  78. <tr>
  79. <td width="250" height="128" rowspan="4" align="center" valign="top" bgcolor="#0B4F27"><table width="100%" height="128" border="0" cellspacing="0" cellpadding="0">
  80. <tr >
  81. <td height="43" align="center" class="ScreenText"><div id="epiClock1" style="text-align:center;height: 30"></div></td>
  82. </tr>
  83. <tr>
  84. <td height="43" align="center" class="ScreenText"><div id="epiClock2" style="text-align:center;height: 30"></div></td>
  85. </tr>
  86. <tr>
  87. <td height="43" align="center" class="ScreenText"><div id="epiClock3" style="text-align:center;height: 30"></div></td>
  88. </tr>
  89. </table></td>
  90. <td width="30" rowspan="4" align="center" valign="middle" bgcolor="#0B4F27" ><span class="ScreenText">光</span><br />
  91. <br />
  92. <span class="ScreenText">伏</span></td>
  93. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">容量:<span id="zjrl"></td>
  94. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">安全天数:<span id="aqts"></td>
  95. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">日发电量:<span id="rfdl"></td>
  96. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">月发电量:<span id="yfdl"></td>
  97. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">年发电量:<span id="nfdl"></td>
  98. </tr>
  99. <tr>
  100. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">平均风速:<span id="pjfs"></td>
  101. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">实时功率:<span id="sjgl"></td>
  102. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">理想发电量:<span id="lxfdl"></td>
  103. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">上网电量:<span id="swdl"></td>
  104. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">购网电量:<span id="gwdl"></td>
  105. </tr>
  106. <tr>
  107. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">有效风时数:<span id="yxfss"></td>
  108. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">利用小时数:<span id="lyxs"></td>
  109. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">场用电量:<span id="cydl"></td>
  110. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">故障损失电量:<span id="gzssdl"></td>
  111. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">风机性能损失电量:<span id="fjxnwdb"></td>
  112. </tr>
  113. <tr>
  114. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">综合场用电率:<span id="zhcydl"></td>
  115. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">设备可利用率:<span id="sbklyl"></td>
  116. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">等效可用系数:<span id="dxkyxs"></td>
  117. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">场损率:<span id="csl"></td>
  118. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS"></td>
  119. </tr>
  120. </table>
  121. </body>
  122. </html>