wtinfo.jsp 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp" %>
  3. <head>
  4. <script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js"></script>
  5. <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js"></script>
  6. <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js"></script>
  7. <script type="text/ecmascript" src="<%=request.getContextPath()%>/resource/js/system/jqdatagrid.js"></script>
  8. <script src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js" type="text/javascript"></script>
  9. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
  10. <link rel="stylesheet" type="text/css" media="screen" href="<%=request.getContextPath() %>/resource/plugin/jqgrid/css/ui.jqgrid.css" />
  11. <link rel="stylesheet" href="<%=request.getContextPath()%>/resource/css/ztree/zTreeStyle.css" type="text/css">
  12. <script src="<%=request.getContextPath()%>/resource/js/ztree/jquery.ztree.all.min.js" type="text/javascript"></script>
  13. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js" type="text/javascript"></script>
  14. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js"> </script>
  15. <script type="text/javascript" src="<%=request.getContextPath()%>/resource/plugin/highslide/highslide-with-html.js"></script>
  16. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/highslide/highslide.css" />
  17. <style type="text/css">
  18. .normal {
  19. border-right-style: solid;
  20. border-bottom-style: solid;
  21. border-left-style: solid;
  22. border-top-style: solid;
  23. border-top-color: #ffffff;
  24. border-left-color: #c1c1c1;
  25. border-right-color: #c1c1c1;
  26. border-bottom-color: #c1c1c1;
  27. border-width: 1px;
  28. width: 100px;
  29. height: 28px;
  30. float: left;
  31. margin-top: -1px;
  32. cursor: pointer;
  33. text-align: center;
  34. line-height: 28px;
  35. overflow: hidden;
  36. font-weight: bold;
  37. font-size: 12px;
  38. font-family: tahoma, arial, verdana, sans-serif;
  39. }
  40. .disable {
  41. border-right-style: solid;
  42. border-bottom-style: solid;
  43. border-left-style: solid;
  44. border-top-style: solid;
  45. border-top-color: #c1c1c1;
  46. border-left-color: #c1c1c1;
  47. border-right-color: #c1c1c1;
  48. border-bottom-color: #c1c1c1;
  49. border-width: 1px;
  50. width: 100px;
  51. height: 25px;
  52. float: left;
  53. margin-top: -1px;
  54. cursor: pointer;
  55. text-align: center;
  56. background-color: #e1e1e1;
  57. line-height: 25px;
  58. overflow: hidden;
  59. font-weight: bold;
  60. font-size: 12px;
  61. font-family: tahoma, arial, verdana, sans-serif;
  62. }
  63. .panelcontainer {
  64. width: 100%;
  65. height: 70px;
  66. border-style: solid;
  67. border-color: #C1C1C1;
  68. border-width: 1px;
  69. }
  70. .panelquery {
  71. width: 100%;
  72. height: 25px;
  73. background-color: #c1c1c1;
  74. line-height: 25px;
  75. }
  76. .panelquerytext {
  77. margin-left: 3px;
  78. font-weight: bold;
  79. font-size: 12px;
  80. font-family: tahoma, arial, verdana, sans-serif;
  81. }
  82. .querycondcontainer {
  83. line-height: 39px;
  84. padding: 3px;
  85. float: left;
  86. font-size: 12px;
  87. }
  88. .text_title {
  89. font-family: "宋体";
  90. font-size: 12px;
  91. color: #000;
  92. text-decoration: none;
  93. }
  94. .text_unit {
  95. font-family: "宋体";
  96. font-size: 12px;
  97. color: #333;
  98. text-decoration: none;
  99. }
  100. .text_main{
  101. font-family: Arial, Helvetica, sans-serif;
  102. font-size: 12px;
  103. color: #000;
  104. text-decoration: none;
  105. font-weight: bold;
  106. }
  107. #fzy {
  108. width: 540px;
  109. height: 540px;
  110. z-index: 1;
  111. }
  112. </style>
  113. <script type="text/javascript">
  114. var series;
  115. var options1;
  116. var options2;
  117. var chart1;
  118. var chart2;
  119. $(document).ready(function () {
  120. initial();
  121. var gaid=$("#gaid").val();
  122. wpAllInfoAjaxs(gaid,"3");
  123. createPolarChat(gaid);
  124. });
  125. function wpAllInfoAjaxs(gaid,type) {
  126. $.ajax( {
  127. url : "/gradeassessment/wtdayinfo.action?gaid="+gaid,
  128. type : "post",
  129. cache : false,
  130. dataType : "json",
  131. data : {},
  132. ifModified : false,
  133. success : function(res) {
  134. $("#wtid").html(res["windturbineid"] + "");
  135. if(type==1)
  136. {
  137. $("#projectid"+"1").html(res["projectid"] + "&nbsp;");
  138. $("#lineid"+"1").html(res["lineid"] + "&nbsp;");
  139. $("#wtid"+"1").html(res["windturbineid"] + "&nbsp;");
  140. $("#dayfdl"+"1").html(res["dayfdl"] + "&nbsp;");
  141. $("#monthfdl"+"1").html(Math.round(res["monthfdl"]) + "&nbsp;");
  142. $("#yearfdl"+"1").html(Math.round(res["yearfdl"]) + "&nbsp;");
  143. $("#dayllfdl"+"1").html(res["dayllfdl"] + "&nbsp;");
  144. $("#monthllfdl"+"1").html(Math.round(res["monthllfdl"]) + "&nbsp;");
  145. $("#yearllfdl"+"1").html(Math.round(res["yearllfdl"]) + "&nbsp;");
  146. $("#dayfs"+"1").html(res["dayfs"] + "&nbsp;");
  147. $("#monthfs"+"1").html(Math.round(res["monthfs"]) + "&nbsp;");
  148. $("#yearfs"+"1").html(Math.round(res["yearfs"]) + "&nbsp;");
  149. $("#daygl"+"1").html(res["daygl"] + "&nbsp;");
  150. $("#monthgl"+"1").html(Math.round(res["monthgl"] )+ "");
  151. $("#yeargl"+"1").html(Math.round(res["yeargl"]) + "&nbsp;");
  152. $("#daygzssdl"+"1").html(res["daygzssdl"] + "&nbsp;");
  153. $("#monthgzssdl"+"1").html(Math.round(res["monthgzssdl"]) + "&nbsp;");
  154. $("#yeargzssdl"+"1").html(Math.round(res["yeargzssdl"]) + "&nbsp;");
  155. $("#dayxdssdl"+"1").html(res["dayxdssdl"] + "&nbsp;");
  156. $("#monthxdssdl"+"1").html(Math.round(res["monthxdssdl"]) + "&nbsp;");
  157. $("#yearxdssdl"+"1").html(Math.round(res["yearxdssdl"]) + "&nbsp;");
  158. $("#daywhssdl"+"1").html(res["daywhssdl"] + "&nbsp;");
  159. $("#monthwhssdl"+"1").html(Math.round(res["monthwhssdl"]) + "&nbsp;");
  160. $("#yearwhssdl"+"1").html(Math.round(res["yearwhssdl"]) + "&nbsp;");
  161. $("#dayxnssdl"+"1").html(res["dayxnssdl"] + "&nbsp;");
  162. $("#monthxnssdl"+"1").html(Math.round(res["monthxnssdl"]) + "&nbsp;");
  163. $("#yearxnssdl"+"1").html(Math.round(res["yearxnssdl"]) + "&nbsp;");
  164. $("#daygzsj"+"1").html(res["daygzsj"] + "&nbsp;");
  165. $("#monthgzsj"+"1").html(Math.round(res["monthgzsj"]) + "&nbsp;");
  166. $("#yeargzsj"+"1").html(Math.round(res["yeargzsj"] )+ "");
  167. $("#daywhsj"+"1").html(res["daywhsj"] + "&nbsp;");
  168. $("#monthwhsj"+"1").html(Math.round(res["monthwhsj"]) + "&nbsp;");
  169. $("#yearwhsj"+"1").html(Math.round(res["yearwhsj"]) + "&nbsp;");
  170. $("#dayyxsj"+"1").html(res["dayyxsj"] + "&nbsp;");
  171. $("#monthyxsj"+"1").html(Math.round(res["monthyxsj"]) + "&nbsp;");
  172. $("#yearyxsj"+"1").html(Math.round(res["yearyxsj"]) + "&nbsp;");
  173. $("#daytjsj"+"1").html(res["daytjsj"] + "&nbsp;");
  174. $("#monthtjsj"+"1").html(Math.round(res["monthtjsj"]) + "&nbsp;");
  175. $("#yeartjsj"+"1").html(Math.round(res["yeartjsj"]) + "&nbsp;");
  176. $("#daylyxs"+"1").html(res["daylyxs"] + "&nbsp;");
  177. $("#monthlyxs"+"1").html(Math.round(res["monthlyxs"]) + "&nbsp;");
  178. $("#yearlyxs"+"1").html(Math.round(res["yearlyxs"]) + "&nbsp;");
  179. $("#daynhyd"+"1").html(res["daynhyd"] + "&nbsp;");
  180. $("#monthnhyd"+"1").html(Math.round(res["monthnhyd"]) + "&nbsp;");
  181. $("#yearnhyd"+"1").html(Math.round(res["yearnhyd"] )+ "");
  182. $("#daysbklyl"+"1").html(res["daysbklyl"] + "&nbsp;");
  183. $("#monthsbklyl"+"1").html(Math.round(res["monthsbklyl"]) + "&nbsp;");
  184. $("#yearsbklyl"+"1").html(Math.round(res["yearsbklyl"]) + "&nbsp;");
  185. $("#daydxkyxs"+"1").html(res["daydxkyxs"] + "&nbsp;");
  186. $("#monthdxkyxs"+"1").html(Math.round(res["monthdxkyxs"]) + "&nbsp;");
  187. $("#yeardxkyxs"+"1").html(Math.round(res["yeardxkyxs"]) + "&nbsp;");
  188. $("#dayyxfss"+"1").html(res["dayyxfss"] + "&nbsp;");
  189. $("#monthyxfss"+"1").html(Math.round(res["monthyxfss"]) + "&nbsp;");
  190. $("#yearyxfss"+"1").html(Math.round(res["yearyxfss"] )+ "");
  191. $("#dayxfqr"+"1").html(res["dayxfqr"] + "&nbsp;");
  192. $("#monthxfqr"+"1").html(Math.round(res["monthxfqr"]) + "&nbsp;");
  193. $("#yearxfqr"+"1").html(Math.round(res["yearxfqr"]) + "&nbsp;");
  194. $("#dayjfpl"+"1").html(res["dayjfpl"] + "&nbsp;");
  195. $("#monthjfpl"+"1").html(Math.round(res["monthjfpl"]) + "&nbsp;");
  196. $("#yearjfpl"+"1").html(Math.round(res["yearjfpl"]) + "&nbsp;");
  197. $("#dayglyzxxs"+"1").html(res["dayglyzxxs"] + "&nbsp;");
  198. $("#monthglyzxxs"+"1").html(Math.round(res["monthglyzxxs"]) + "&nbsp;");
  199. $("#yearglyzxxs"+"1").html(Math.round(res["yearglyzxxs"] )+ "");
  200. $("#type"+"1").html(res["type"] + "&nbsp;");
  201. $("#rank"+"1").html(res["rank"] + "&nbsp;");
  202. $("#level"+"1").html(res["level"] + "&nbsp;");
  203. }else if(type==2)
  204. {
  205. $("#projectid"+"2").html(res["projectid"] + "&nbsp;");
  206. $("#lineid"+"2").html(res["lineid"] + "&nbsp;");
  207. $("#wtid"+"2").html(res["windturbineid"] + "&nbsp;");
  208. $("#dayfdl"+"2").html(res["dayfdl"] + "&nbsp;");
  209. $("#monthfdl"+"2").html(Math.round(res["monthfdl"]) + "&nbsp;");
  210. $("#yearfdl"+"2").html(Math.round(res["yearfdl"]) + "&nbsp;");
  211. $("#dayllfdl"+"2").html(res["dayllfdl"] + "&nbsp;");
  212. $("#monthllfdl"+"2").html(Math.round(res["monthllfdl"]) + "&nbsp;");
  213. $("#yearllfdl"+"2").html(Math.round(res["yearllfdl"]) + "&nbsp;");
  214. $("#dayfs"+"2").html(res["dayfs"] + "&nbsp;");
  215. $("#monthfs"+"2").html(Math.round(res["monthfs"]) + "&nbsp;");
  216. $("#yearfs"+"2").html(Math.round(res["yearfs"]) + "&nbsp;");
  217. $("#daygl"+"2").html(res["daygl"] + "&nbsp;");
  218. $("#monthgl"+"2").html(Math.round(res["monthgl"] )+ "");
  219. $("#yeargl"+"2").html(Math.round(res["yeargl"]) + "&nbsp;");
  220. $("#daygzssdl"+"2").html(res["daygzssdl"] + "&nbsp;");
  221. $("#monthgzssdl"+"2").html(Math.round(res["monthgzssdl"]) + "&nbsp;");
  222. $("#yeargzssdl"+"2").html(Math.round(res["yeargzssdl"]) + "&nbsp;");
  223. $("#dayxdssdl"+"2").html(res["dayxdssdl"] + "&nbsp;");
  224. $("#monthxdssdl"+"2").html(Math.round(res["monthxdssdl"]) + "&nbsp;");
  225. $("#yearxdssdl"+"2").html(Math.round(res["yearxdssdl"]) + "&nbsp;");
  226. $("#daywhssdl"+"2").html(res["daywhssdl"] + "&nbsp;");
  227. $("#monthwhssdl"+"2").html(Math.round(res["monthwhssdl"]) + "&nbsp;");
  228. $("#yearwhssdl"+"2").html(Math.round(res["yearwhssdl"]) + "&nbsp;");
  229. $("#dayxnssdl"+"2").html(res["dayxnssdl"] + "&nbsp;");
  230. $("#monthxnssdl"+"2").html(Math.round(res["monthxnssdl"]) + "&nbsp;");
  231. $("#yearxnssdl"+"2").html(Math.round(res["yearxnssdl"]) + "&nbsp;");
  232. $("#daygzsj"+"2").html(res["daygzsj"] + "&nbsp;");
  233. $("#monthgzsj"+"2").html(Math.round(res["monthgzsj"]) + "&nbsp;");
  234. $("#yeargzsj"+"2").html(Math.round(res["yeargzsj"] )+ "");
  235. $("#daywhsj"+"2").html(res["daywhsj"] + "&nbsp;");
  236. $("#monthwhsj"+"2").html(Math.round(res["monthwhsj"]) + "&nbsp;");
  237. $("#yearwhsj"+"2").html(Math.round(res["yearwhsj"]) + "&nbsp;");
  238. $("#dayyxsj"+"2").html(res["dayyxsj"] + "&nbsp;");
  239. $("#monthyxsj"+"2").html(Math.round(res["monthyxsj"]) + "&nbsp;");
  240. $("#yearyxsj"+"2").html(Math.round(res["yearyxsj"]) + "&nbsp;");
  241. $("#daytjsj"+"2").html(res["daytjsj"] + "&nbsp;");
  242. $("#monthtjsj"+"2").html(Math.round(res["monthtjsj"]) + "&nbsp;");
  243. $("#yeartjsj"+"2").html(Math.round(res["yeartjsj"]) + "&nbsp;");
  244. $("#daylyxs"+"2").html(res["daylyxs"] + "&nbsp;");
  245. $("#monthlyxs"+"2").html(Math.round(res["monthlyxs"]) + "&nbsp;");
  246. $("#yearlyxs"+"2").html(Math.round(res["yearlyxs"]) + "&nbsp;");
  247. $("#daynhyd"+"2").html(res["daynhyd"] + "&nbsp;");
  248. $("#monthnhyd"+"2").html(Math.round(res["monthnhyd"]) + "&nbsp;");
  249. $("#yearnhyd"+"2").html(Math.round(res["yearnhyd"] )+ "");
  250. $("#daysbklyl"+"2").html(res["daysbklyl"] + "&nbsp;");
  251. $("#monthsbklyl"+"2").html(Math.round(res["monthsbklyl"]) + "&nbsp;");
  252. $("#yearsbklyl"+"2").html(Math.round(res["yearsbklyl"]) + "&nbsp;");
  253. $("#daydxkyxs"+"2").html(res["daydxkyxs"] + "&nbsp;");
  254. $("#monthdxkyxs"+"2").html(Math.round(res["monthdxkyxs"]) + "&nbsp;");
  255. $("#yeardxkyxs"+"2").html(Math.round(res["yeardxkyxs"]) + "&nbsp;");
  256. $("#dayyxfss"+"2").html(res["dayyxfss"] + "&nbsp;");
  257. $("#monthyxfss"+"2").html(Math.round(res["monthyxfss"]) + "&nbsp;");
  258. $("#yearyxfss"+"2").html(Math.round(res["yearyxfss"] )+ "");
  259. $("#dayxfqr"+"2").html(res["dayxfqr"] + "&nbsp;");
  260. $("#monthxfqr"+"2").html(Math.round(res["monthxfqr"]) + "&nbsp;");
  261. $("#yearxfqr"+"2").html(Math.round(res["yearxfqr"]) + "&nbsp;");
  262. $("#dayjfpl"+"2").html(res["dayjfpl"] + "&nbsp;");
  263. $("#monthjfpl"+"2").html(Math.round(res["monthjfpl"]) + "&nbsp;");
  264. $("#yearjfpl"+"2").html(Math.round(res["yearjfpl"]) + "&nbsp;");
  265. $("#dayglyzxxs"+"2").html(res["dayglyzxxs"] + "&nbsp;");
  266. $("#monthglyzxxs"+"2").html(Math.round(res["monthglyzxxs"]) + "&nbsp;");
  267. $("#yearglyzxxs"+"2").html(Math.round(res["yearglyzxxs"] )+ "&nbsp;");
  268. $("#type"+"2").html(res["type"] + "&nbsp;");
  269. $("#rank"+"2").html(res["rank"] + "&nbsp;");
  270. $("#level"+"2").html(res["level"] + "&nbsp;");
  271. }else
  272. {
  273. $("#projectid").html(res["projectid"] + "");
  274. $("#lineid").html(res["lineid"] + "");
  275. $("#wtid").html(res["windturbineid"] + "");
  276. $("#dayfdl").html(res["dayfdl"] + "");
  277. $("#monthfdl").html(Math.round(res["monthfdl"]) + "");
  278. $("#yearfdl").html(Math.round(res["yearfdl"]) + "");
  279. $("#dayllfdl").html(res["dayllfdl"] + "");
  280. $("#monthllfdl").html(Math.round(res["monthllfdl"]) + "");
  281. $("#yearllfdl").html(Math.round(res["yearllfdl"]) + "");
  282. $("#dayfs").html(res["dayfs"] + "");
  283. $("#monthfs").html(Math.round(res["monthfs"]) + "");
  284. $("#yearfs").html(Math.round(res["yearfs"]) + "");
  285. $("#daygl").html(res["daygl"] + "");
  286. $("#monthgl").html(Math.round(res["monthgl"] )+ "");
  287. $("#yeargl").html(Math.round(res["yeargl"]) + "");
  288. $("#daygzssdl").html(res["daygzssdl"] + "");
  289. $("#monthgzssdl").html(Math.round(res["monthgzssdl"]) + "");
  290. $("#yeargzssdl").html(Math.round(res["yeargzssdl"]) + "");
  291. $("#dayxdssdl").html(res["dayxdssdl"] + "");
  292. $("#monthxdssdl").html(Math.round(res["monthxdssdl"]) + "");
  293. $("#yearxdssdl").html(Math.round(res["yearxdssdl"]) + "");
  294. $("#daywhssdl").html(res["daywhssdl"] + "");
  295. $("#monthwhssdl").html(Math.round(res["monthwhssdl"]) + "");
  296. $("#yearwhssdl").html(Math.round(res["yearwhssdl"]) + "");
  297. $("#dayxnssdl").html(res["dayxnssdl"] + "");
  298. $("#monthxnssdl").html(Math.round(res["monthxnssdl"]) + "");
  299. $("#yearxnssdl").html(Math.round(res["yearxnssdl"]) + "");
  300. $("#daygzsj").html(res["daygzsj"] + "");
  301. $("#monthgzsj").html(Math.round(res["monthgzsj"]) + "");
  302. $("#yeargzsj").html(Math.round(res["yeargzsj"] )+ "");
  303. $("#daywhsj").html(res["daywhsj"] + "");
  304. $("#monthwhsj").html(Math.round(res["monthwhsj"]) + "");
  305. $("#yearwhsj").html(Math.round(res["yearwhsj"]) + "");
  306. $("#dayyxsj").html(res["dayyxsj"] + "");
  307. $("#monthyxsj").html(Math.round(res["monthyxsj"]) + "");
  308. $("#yearyxsj").html(Math.round(res["yearyxsj"]) + "");
  309. $("#daytjsj").html(res["daytjsj"] + "");
  310. $("#monthtjsj").html(Math.round(res["monthtjsj"]) + "");
  311. $("#yeartjsj").html(Math.round(res["yeartjsj"]) + "");
  312. $("#daylyxs").html(res["daylyxs"] + "");
  313. $("#monthlyxs").html(Math.round(res["monthlyxs"]) + "");
  314. $("#yearlyxs").html(Math.round(res["yearlyxs"]) + "");
  315. $("#daynhyd").html(res["daynhyd"] + "");
  316. $("#monthnhyd").html(Math.round(res["monthnhyd"]) + "");
  317. $("#yearnhyd").html(Math.round(res["yearnhyd"] )+ "");
  318. $("#daysbklyl").html(res["daysbklyl"] + "");
  319. $("#monthsbklyl").html(Math.round(res["monthsbklyl"]) + "");
  320. $("#yearsbklyl").html(Math.round(res["yearsbklyl"]) + "");
  321. $("#daydxkyxs").html(res["daydxkyxs"] + "");
  322. $("#monthdxkyxs").html(Math.round(res["monthdxkyxs"]) + "");
  323. $("#yeardxkyxs").html(Math.round(res["yeardxkyxs"]) + "");
  324. $("#dayyxfss").html(res["dayyxfss"] + "");
  325. $("#monthyxfss").html(Math.round(res["monthyxfss"]) + "");
  326. $("#yearyxfss").html(Math.round(res["yearyxfss"] )+ "");
  327. $("#dayxfqr").html(res["dayxfqr"] + "");
  328. $("#monthxfqr").html(Math.round(res["monthxfqr"]) + "");
  329. $("#yearxfqr").html(Math.round(res["yearxfqr"]) + "");
  330. $("#dayjfpl").html(res["dayjfpl"] + "");
  331. $("#monthjfpl").html(Math.round(res["monthjfpl"]) + "");
  332. $("#yearjfpl").html(Math.round(res["yearjfpl"]) + "");
  333. $("#dayglyzxxs").html(res["dayglyzxxs"] + "");
  334. $("#monthglyzxxs").html(Math.round(res["monthglyzxxs"]) + "");
  335. $("#yearglyzxxs").html(Math.round(res["yearglyzxxs"] )+ "");
  336. $("#type").html(res["type"] + "");
  337. $("#rank").html(res["rank"] + "");
  338. $("#level").html(res["level"] + "");
  339. }
  340. }
  341. });
  342. }
  343. function initial()
  344. {
  345. $("#windfarm").attr("value", '<s:property value="windfarm"/>');
  346. $("#recorddate").attr("value", '<s:property value="recorddate"/>');
  347. /******************************************玫瑰图1***********************************************/
  348. options1 = {
  349. chart: {
  350. renderTo : 'fzy',
  351. polar: true,
  352. width:540,
  353. height:540,
  354. type: 'area'
  355. },
  356. title: {
  357. text: '',
  358. x: 0
  359. },
  360. pane: {
  361. size: '70%'
  362. },
  363. xAxis: {
  364. categories: ['平均切入风速','性能损失电量','拟合优度','功率一致性系数','利用小时','设备可利用率','等效可利用系数','有效风时数','平均风速','静风频率'
  365. ],
  366. tickmarkPlacement: 'on',
  367. lineWidth: 0
  368. },
  369. yAxis: {
  370. gridLineInterpolation: 'polygon',
  371. lineWidth: 0,
  372. min: 0
  373. },
  374. tooltip: {
  375. shared: true,
  376. pointFormat: '<span style="color:{series.color}"> <b>{point.y:,.0f}</b><br/>'
  377. },
  378. series: [{
  379. name: '等级评定分析',
  380. data: [],
  381. pointPlacement: 'on'
  382. }]
  383. }
  384. }
  385. function createPolarChat(gaid)
  386. {
  387. var url = "/gradeassessment/wtdaychart.action?gaid=" + gaid;
  388. $.ajax( {
  389. url : url,
  390. type : "post",
  391. cache : false,
  392. dataType : "json",
  393. data : {},
  394. ifModified : false,
  395. success : function(result) {
  396. var data1 = [];
  397. if(result.data !=null)
  398. {
  399. $.each(result.data, function(m, obj) {
  400. if (obj.data1 != null) {
  401. data1.push(parseFloat(obj.data1));
  402. }
  403. });
  404. if(null !=options1.series[0])
  405. {
  406. options1.series[0].data = data1;
  407. }
  408. chart1 = new Highcharts.Chart(options1);
  409. }
  410. }
  411. });
  412. }
  413. </script>
  414. <style type="text/css">
  415. fieldset legend {
  416. color:#302A2A;
  417. font: bold 16px/2 Verdana, Geneva, sans-serif;
  418. font-weight: bold;
  419. text-align: left;
  420. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  421. }
  422. </style>
  423. </head>
  424. <body>
  425. <s:hidden id="gaid"></s:hidden>
  426. <table width='1000px' border='1' cellspacing='0' cellpadding='0' bgcolor='#efefef'>
  427. <tr>
  428. <td width='501' height='30' align='center' bgcolor='#FFFFFF'>
  429. <span class='text_main' >风机编号:</span><span id='wtid' class='text_title'></span></td>
  430. <td height='25' colspan='5' align='center' bgcolor='#FFFFFF'><span class='text_main'>基础指标</span><span class='value_Name'></span></td>
  431. </tr>
  432. <tr>
  433. <td width='501' height='26' align='center' bgcolor='#FFFFFF'><span id='' class='text_main'>等级评定:</span><span id='level' class='text_title'></span></td>
  434. <td width='126' height='26' align='center' bgcolor='#FFFFFF'><span class='text_main' >类型</span></td>
  435. <td width='166' align='center' bgcolor='#FFFFFF'><span class='text_main' >指标</span></td>
  436. <td width='66' align='center' bgcolor='#FFFFFF'><span class='text_main' >数值</span></td>
  437. <td width='66' align='center' bgcolor='#FFFFFF'><span class='text_main' >排名</span></td>
  438. <td width='68' align='center' bgcolor='#FFFFFF'><span class='text_main' >评分</span></td>
  439. </tr>
  440. <tr>
  441. <td width='501' height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_main'>综合排名:</span><span id='rank' class='text_title'></span></td>
  442. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  443. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>发电量</span></td>
  444. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayfdl' class='text_title'></span></td>
  445. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthfdl' class='text_title'></span></td>
  446. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearfdl' class='text_title'></span></td>
  447. </tr>
  448. <tr>
  449. <td width='501' rowspan='19' align='center' bgcolor='#FFFFFF'><div id='fzy'></div></td>
  450. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  451. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>理论发电量</span></td>
  452. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayllfdl' class='text_title'></span></td>
  453. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthllfdl' class='text_title'></span></td>
  454. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearllfdl' class='text_title'></span></td>
  455. </tr>
  456. <tr>
  457. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  458. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>平均功率</span></td>
  459. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daygl' class='text_title'></span></td>
  460. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthgl' class='text_title'></span></td>
  461. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yeargl' class='text_title'></span></td>
  462. </tr>
  463. <tr>
  464. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  465. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>故障损失电量</span></td>
  466. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daygzssdl' class='text_title'></span></td>
  467. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthgzssdl' class='text_title'></span></td>
  468. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yeargzssdl' class='text_title'></span></td>
  469. </tr>
  470. <tr>
  471. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  472. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>限电损失电量</span></td>
  473. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayxdssdl' class='text_title'></span></td>
  474. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthxdssdl' class='text_title'></span></td>
  475. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearxdssdl' class='text_title'></span></td>
  476. </tr>
  477. <tr>
  478. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  479. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>维护损失电量</span></td>
  480. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daywhssdl' class='text_title'></span></td>
  481. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthwhssdl' class='text_title'></span></td>
  482. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearwhssdl' class='text_title'></span></td>
  483. </tr>
  484. <tr>
  485. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  486. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>故障时间</span></td>
  487. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daygzsj' class='text_title'></span></td>
  488. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthgzsj' class='text_title'></span></td>
  489. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yeargzsj' class='text_title'></span></td>
  490. </tr>
  491. <tr>
  492. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  493. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>维护时间</span></td>
  494. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daywhsj' class='text_title'></span></td>
  495. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthwhsj' class='text_title'></span></td>
  496. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearwhsj' class='text_title'></span></td>
  497. </tr>
  498. <tr>
  499. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  500. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>运行时间</span></td>
  501. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayyxsj' class='text_title'></span></td>
  502. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthyxsj' class='text_title'></span></td>
  503. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearyxsj' class='text_title'></span></td>
  504. </tr>
  505. <tr>
  506. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>&nbsp;&nbsp;</span></td>
  507. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>停机时间</span></td>
  508. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daytjsj' class='text_title'></span></td>
  509. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthtjsj' class='text_title'></span></td>
  510. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yeartjsj' class='text_title'></span></td>
  511. </tr>
  512. <tr>
  513. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>性能</span></td>
  514. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>平均切入风速</span></td>
  515. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayxfqr' class='text_title'></span></td>
  516. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthxfqr' class='text_title'></span></td>
  517. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearxfqr' class='text_title'></span></td>
  518. </tr>
  519. <tr>
  520. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>性能</span></td>
  521. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>性能损失电量</span></td>
  522. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayxnssdl' class='text_title'></span></td>
  523. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthxnssdl' class='text_title'></span></td>
  524. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearxnssdl' class='text_title'></span></td>
  525. </tr>
  526. <tr>
  527. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>性能</span></td>
  528. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>拟合优度</span></td>
  529. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daynhyd' class='text_title'></span></td>
  530. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthnhyd' class='text_title'></span></td>
  531. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearnhyd' class='text_title'></span></td>
  532. </tr>
  533. <tr>
  534. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>性能</span></td>
  535. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>功率一致性系数</span></td>
  536. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayglyzxxs' class='text_title'></span></td>
  537. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthglyzxxs' class='text_title'></span></td>
  538. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearglyzxxs' class='text_title'></span></td>
  539. </tr>
  540. <tr>
  541. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>可靠性管理</span></td>
  542. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>利用小时</span></td>
  543. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daylyxs' class='text_title'></span></td>
  544. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthlyxs' class='text_title'></span></td>
  545. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearlyxs' class='text_title'></span></td>
  546. </tr>
  547. <tr>
  548. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>可靠性管理</span></td>
  549. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>设备可利用率</span></td>
  550. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daysbklyl' class='text_title'></span></td>
  551. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthsbklyl' class='text_title'></span></td>
  552. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearsbklyl' class='text_title'></span></td>
  553. </tr>
  554. <tr>
  555. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>可靠性管理</span></td>
  556. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>等效可利用系数</span></td>
  557. <td height='28' align='center' bgcolor='#FFFFFF'><span id='daydxkyxs' class='text_title'></span></td>
  558. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthdxkyxs' class='text_title'></span></td>
  559. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yeardxkyxs' class='text_title'></span></td>
  560. </tr>
  561. <tr>
  562. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>可靠性管理</span></td>
  563. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>有效风时数</span></td>
  564. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayyxfss' class='text_title'></span></td>
  565. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthyxfss' class='text_title'></span></td>
  566. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearyxfss' class='text_title'></span></td>
  567. </tr>
  568. <tr>
  569. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>资源</span></td>
  570. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>平均风速</span></td>
  571. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayfs' class='text_title'></span></td>
  572. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthfs' class='text_title'></span></td>
  573. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearfs' class='text_title'></span></td>
  574. </tr>
  575. <tr>
  576. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>资源</span></td>
  577. <td height='28' align='center' bgcolor='#FFFFFF'><span id='' class='text_title'>静风频率</span></td>
  578. <td height='28' align='center' bgcolor='#FFFFFF'><span id='dayjfpl' class='text_title'></span></td>
  579. <td height='28' align='center' bgcolor='#FFFFFF'><span id='monthjfpl' class='text_title'></span></td>
  580. <td height='28' align='center' bgcolor='#FFFFFF'><span id='yearjfpl' class='text_title'></span></td>
  581. </tr>
  582. </table>
  583. </form>
  584. </body>