top.jsp 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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/queryApA.action?queryType=qb",
  21. type : "post",
  22. cache : false,
  23. dataType : "json",
  24. data : {},
  25. ifModified : false,
  26. success : function(res) {
  27. $("#zjts").html(res["zjts"] + "");
  28. $("#zjrl").html(res["zjrl"] + "");
  29. $("#aqts").html(res["aqts"] + "");
  30. $("#rfdl").html(res["rfdl"] + "");
  31. $("#yfdl").html(res["yfdl"] + "");
  32. $("#nfdl").html(res["nfdl"] + "");
  33. $("#pjfs").html(res["pjfs"] + "");
  34. $("#sjgl").html(res["sjgl"] + "");
  35. $("#swdl").html(res["swdl"] + "");
  36. $("#gwdl").html(res["gwdl"] + "");
  37. $("#yxfss").html(res["yxfss"] + "");
  38. $("#lyxs").html(res["lyxs"] + "");
  39. $("#whssdl").html(res["whssdl"] + "");
  40. $("#xdssdl").html(res["xdssdl"] + "");
  41. $("#gzssdl").html(res["gzssdl"] + "");
  42. $("#fjxnwdb").html(res["fjxnwdb"] + "");
  43. $("#zhcydl").html(res["zhcydl"] + "");
  44. $("#sbklyl").html(res["sbklyl"] + "");
  45. $("#dxkyxs").html(res["dxkyxs"] + "");
  46. $("#zhcydla").html(res["zhcydla"] + "");
  47. }
  48. });
  49. }
  50. </script>
  51. <style type="text/css">
  52. body {
  53. margin-left: 0px;
  54. margin-top: 0px;
  55. margin-right: 0px;
  56. margin-bottom: 0px;
  57. }
  58. .ScreenText {
  59. font-family: Arial, Helvetica, sans-serif;
  60. font-size: 24px;
  61. font-style: normal;
  62. font-weight: bold;
  63. color: #FF0;
  64. text-decoration: none;
  65. }
  66. .TextCSS {
  67. font-family: Arial, Helvetica, sans-serif;
  68. font-size: 18px;
  69. font-style: normal;
  70. font-weight: bold;
  71. color: #FF0;
  72. text-decoration: none;
  73. }
  74. </style>
  75. <link href="ScreenText.css" rel="stylesheet" type="text/css" />
  76. </head>
  77. <body>
  78. <table width="1920" border="0" cellspacing="1" cellpadding="0" bgcolor="#B2B200">
  79. <tr>
  80. <td width="250" height="128" rowspan="4" align="center" valign="top" bgcolor="#0B4F27"><table width="100%" height="128" border="0" cellspacing="0" cellpadding="0">
  81. <tr >
  82. <td height="43" align="center" class="ScreenText"><div id="epiClock1" style="text-align:center;height: 30"></div></td>
  83. </tr>
  84. <tr>
  85. <td height="43" align="center" class="ScreenText"><div id="epiClock2" style="text-align:center;height: 30"></div></td>
  86. </tr>
  87. <tr>
  88. <td height="43" align="center" class="ScreenText"><div id="epiClock3" style="text-align:center;height: 30"></div></td>
  89. </tr>
  90. </table></td>
  91. <td width="30" rowspan="4" align="center" valign="middle" bgcolor="#0B4F27" ><span class="ScreenText">全</span><br />
  92. <br />
  93. <span class="ScreenText">部</span></td>
  94. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">容量:<span id="zjrl"></td>
  95. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">台数:<span id="zjts"></td>
  96. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">日发电量:<span id="rfdl"></td>
  97. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">月发电量:<span id="yfdl"></td>
  98. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">年发电量:<span id="nfdl"></td>
  99. </tr>
  100. <tr>
  101. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">安全天数:<span id="aqts"></td>
  102. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">平均风速:<span id="pjfs"></td>
  103. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">实时功率:<span id="sjgl"></td>
  104. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">上网电量:<span id="swdl"></td>
  105. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">购网电量:<span id="gwdl"></td>
  106. </tr>
  107. <tr>
  108. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">计划发电量:<span id="zhcydla"></td>
  109. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">综合场用电量:<span id="zhcydla"></td>
  110. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">维护损失电量:<span id="whssdl"></td>
  111. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">限电损失电量:<span id="xdssdl"></td>
  112. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">故障损失电量:<span id="gzssdl"></td>
  113. </tr>
  114. <tr>
  115. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">有效风时数:<span id="yxfss"></td>
  116. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">利用小时数:<span id="lyxs"></td>
  117. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">综合场用电率:<span id="zhcydl"></td>
  118. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">设备可利用率:<span id="sbklyl"></td>
  119. <td width="348" height="32" align="center" valign="middle" bgcolor="#0B4F27" class="TextCSS">等效可用系数:<span id="dxkyxs"></td>
  120. </tr>
  121. </table>
  122. </body>
  123. </html>