windfarm.jsp 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113
  1. <%@ page language="java" contentType="text/html;charset=utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <html>
  4. <head>
  5. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
  6. <script src="<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js" type="text/javascript"></script>
  7. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
  8. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js" type="text/javascript"> </script>
  9. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js"></script>
  10. <script type="text/javascript" src="<%=request.getContextPath() %>/pages/monitor/nss/windfarm.js"></script>
  11. <script src="<%=request.getContextPath()%>/resource/js/highcharts/modules/solid-gauge.src.js"></script>
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  13. <style type="text/css">
  14. body {
  15. margin-left: 0px;
  16. margin-top: 0px;
  17. margin-right: 0px;
  18. margin-bottom: 0px;
  19. }
  20. .value_Name {
  21. font-family: "Times New Roman", Times, serif;
  22. font-size: 14px;
  23. font-weight: bolder;
  24. color: #666;
  25. }
  26. .station_Name {
  27. font-family: "Times New Roman", Times, serif;
  28. font-size: 14px;
  29. font-weight: bolder;
  30. color: #666;
  31. }
  32. .valueinfo_Name {
  33. font-family: "Times New Roman", Times, serif;
  34. font-size: 12px;
  35. font-weight: bolder;
  36. color: #666;
  37. text-align: center;
  38. }
  39. @font-face {
  40. font-family: 'fontNameRegular';
  41. src:
  42. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.eot')
  43. ;
  44. src: local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont Regular'
  45. ),
  46. local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont'),
  47. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.woff')
  48. format('woff'),
  49. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.ttf')
  50. format('truetype'),
  51. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.svg#fontName')
  52. format('svg');
  53. font-size: 36px;
  54. font-weight: bolder;
  55. }
  56. .item_Name { font-family: Arial, Helvetica, sans-serif;
  57. font-size: 12px;
  58. font-weight: bolder;
  59. color: #333;
  60. }
  61. .unit_Name { font-family: Arial, Helvetica, sans-serif;
  62. font-size: 12px;
  63. color: #333;
  64. }
  65. #apDiv1 {
  66. position: absolute;
  67. width: 22px;
  68. height: 12px;
  69. z-index: 1;
  70. left: 741px;
  71. top: 472px;
  72. }
  73. #apDiv2 {
  74. position: absolute;
  75. width: 22px;
  76. height: 12px;
  77. z-index: 2;
  78. left: 744px;
  79. top: 638px;
  80. }
  81. #apDiv3 {
  82. position: absolute;
  83. left: 810px;
  84. top: 472px;
  85. width: 22px;
  86. height: 12px;
  87. z-index: 3;
  88. }
  89. #apDiv4 {
  90. position: absolute;
  91. left: 810px;
  92. top: 580px;
  93. width: 22px;
  94. height: 12px;
  95. z-index: 4;
  96. }
  97. #apDiv5 {
  98. position: absolute;
  99. left: 810px;
  100. top: 693px;
  101. width: 22px;
  102. height: 12px;
  103. z-index: 5;
  104. }
  105. #apDiv6 {
  106. position: absolute;
  107. left: 879px;
  108. top: 580px;
  109. width: 22px;
  110. height: 12px;
  111. z-index: 6;
  112. }
  113. #apDiv7 {
  114. position: absolute;
  115. left: 879px;
  116. top: 472px;
  117. width: 22px;
  118. height: 12px;
  119. z-index: 7;
  120. }
  121. #apDiv8 {
  122. position: absolute;
  123. left: 879px;
  124. top: 693px;
  125. width: 22px;
  126. height: 12px;
  127. z-index: 8;
  128. }
  129. #apDiv9 {
  130. position: absolute;
  131. left: 912px;
  132. top: 428px;
  133. width: 22px;
  134. height: 12px;
  135. z-index: 9;
  136. }
  137. #apDiv10 {
  138. position: absolute;
  139. left: 913px;
  140. top: 472px;
  141. width: 22px;
  142. height: 12px;
  143. z-index: 10;
  144. }
  145. #apDiv11 {
  146. position: absolute;
  147. left: 913px;
  148. top: 508px;
  149. width: 22px;
  150. height: 12px;
  151. z-index: 11;
  152. }
  153. #apDiv12 {
  154. position: absolute;
  155. left: 913px;
  156. top: 545px;
  157. width: 22px;
  158. height: 12px;
  159. z-index: 12;
  160. }
  161. #apDiv13 {
  162. position: absolute;
  163. left: 913px;
  164. top: 580px;
  165. width: 22px;
  166. height: 12px;
  167. z-index: 13;
  168. }
  169. #apDiv14 {
  170. position: absolute;
  171. left: 914px;
  172. top: 616px;
  173. width: 22px;
  174. height: 12px;
  175. z-index: 14;
  176. }
  177. #apDiv15 {
  178. position: absolute;
  179. left: 915px;
  180. top: 655px;
  181. width: 22px;
  182. height: 12px;
  183. z-index: 15;
  184. }
  185. #apDiv16 {
  186. position: absolute;
  187. left: 915px;
  188. top: 693px;
  189. width: 22px;
  190. height: 12px;
  191. z-index: 16;
  192. }
  193. #apDiv17 {
  194. position: absolute;
  195. left: 915px;
  196. top: 735px;
  197. width: 22px;
  198. height: 12px;
  199. z-index: 17;
  200. }
  201. .project_text {
  202. font-family: "宋体";
  203. font-size: 12px;
  204. font-weight: bolder;
  205. color: #FFF;
  206. text-decoration: none;
  207. }
  208. #apDiv18 {
  209. position: absolute;
  210. left: 135px;
  211. top: 106px;
  212. width: 131px;
  213. height: 19px;
  214. z-index: 18;
  215. }
  216. #apDiv19 {
  217. position: absolute;
  218. left: 114px;
  219. top: 362px;
  220. width: 125px;
  221. height: 21px;
  222. z-index: 19;
  223. }
  224. #apDiv20 {
  225. position: absolute;
  226. left: 174px;
  227. top: 588px;
  228. width: 122px;
  229. height: 21px;
  230. z-index: 20;
  231. }
  232. #apDiv21 {
  233. position: absolute;
  234. left: 1812px;
  235. top: 505px;
  236. width: 56px;
  237. height: 106px;
  238. z-index: 21;
  239. }
  240. #apDiv22 {
  241. position: absolute;
  242. left: 1812px;
  243. top: 505px;
  244. width: 55px;
  245. height: 102px;
  246. z-index: 22;
  247. }
  248. #apDiv23 {
  249. position: absolute;
  250. left: 640px;
  251. top: 505px;
  252. width: 53px;
  253. height: 88px;
  254. z-index: 21;
  255. }
  256. #apDiv24 {
  257. position: absolute;
  258. left: 640px;
  259. top: 505px;
  260. width: 52px;
  261. height: 92px;
  262. z-index: 22;
  263. }
  264. </style>
  265. <script type="text/javascript">
  266. $(document).ready(function() {
  267. $("#pagenums").val(1);
  268. wpaction();
  269. window.setInterval(wpaction, 60000);
  270. });
  271. function goback()
  272. {
  273. $("#f1").attr("action","/matrix/monitormainIndex.action").submit();
  274. }
  275. function wpaction()
  276. {
  277. wpAllInfoAjax();
  278. apdata();
  279. if(state=='zm')
  280. {
  281. leftclick();
  282. }else
  283. {
  284. rightclick();
  285. }
  286. wpSwitchInfoAjax();
  287. }
  288. var state='zm';
  289. function leftover()
  290. {
  291. $("#apDiv23").css("display", "none");
  292. $("#apDiv24").css("display", "");
  293. }
  294. function leftout()
  295. {
  296. if(state=='jz')
  297. {
  298. $("#apDiv23").css("display", "");
  299. $("#apDiv24").css("display", "none");
  300. }
  301. }
  302. function leftclick()
  303. {
  304. $("#apDiv21").css("display", "");
  305. $("#apDiv22").css("display", "none");
  306. $("#apDiv23").css("display", "none");
  307. $("#apDiv24").css("display", "none");
  308. $("#container3").css("display", "none");
  309. $("#container4").css("display", "");
  310. $("#apDiv1").css("display", "");
  311. $("#apDiv2").css("display", "");
  312. $("#apDiv3").css("display", "");
  313. $("#apDiv4").css("display", "");
  314. $("#apDiv5").css("display", "");
  315. $("#apDiv6").css("display", "");
  316. $("#apDiv7").css("display", "");
  317. $("#apDiv8").css("display", "");
  318. $("#apDiv9").css("display", "");
  319. $("#apDiv10").css("display", "");
  320. $("#apDiv11").css("display", "");
  321. $("#apDiv12").css("display", "");
  322. $("#apDiv13").css("display", "");
  323. $("#apDiv14").css("display", "");
  324. $("#apDiv15").css("display", "");
  325. $("#apDiv16").css("display", "");
  326. $("#apDiv17").css("display", "");
  327. $("#apDiv18").css("display", "");
  328. $("#apDiv19").css("display", "");
  329. $("#apDiv20").css("display", "");
  330. getDetail();
  331. state='zm';
  332. }
  333. function rightover()
  334. {
  335. $("#apDiv21").css("display", "none");
  336. $("#apDiv22").css("display", "");
  337. }
  338. function rightout()
  339. {
  340. if(state=='zm')
  341. {
  342. $("#apDiv21").css("display", "");
  343. $("#apDiv22").css("display", "none");
  344. }
  345. }
  346. function rightclick()
  347. {
  348. $("#apDiv21").css("display", "none");
  349. $("#apDiv22").css("display", "none");
  350. $("#apDiv23").css("display", "");
  351. $("#apDiv24").css("display", "none");
  352. $("#container3").css("display", "");
  353. $("#container4").css("display", "none");
  354. $("#apDiv1").css("display", "none");
  355. $("#apDiv2").css("display", "none");
  356. $("#apDiv3").css("display", "none");
  357. $("#apDiv4").css("display", "none");
  358. $("#apDiv5").css("display", "none");
  359. $("#apDiv6").css("display", "none");
  360. $("#apDiv7").css("display", "none");
  361. $("#apDiv8").css("display", "none");
  362. $("#apDiv9").css("display", "none");
  363. $("#apDiv10").css("display", "none");
  364. $("#apDiv11").css("display", "none");
  365. $("#apDiv12").css("display", "none");
  366. $("#apDiv13").css("display", "none");
  367. $("#apDiv14").css("display", "none");
  368. $("#apDiv15").css("display", "none");
  369. $("#apDiv16").css("display", "none");
  370. $("#apDiv17").css("display", "none");
  371. $("#apDiv18").css("display", "none");
  372. $("#apDiv19").css("display", "none");
  373. $("#apDiv20").css("display", "none");
  374. getfjjz();
  375. state='jz';
  376. }
  377. function wpSwitchInfoAjax() {
  378. $.ajax( {
  379. url : "windfarmswitchinfo.action?wfName=NSS_FDC",
  380. type : "post",
  381. cache : false,
  382. dataType : "json",
  383. data : {},
  384. ifModified : false,
  385. success : function(res) {
  386. getbackgrounds($("#apDiv1"),res["nss121"]);
  387. getbackgrounds($("#apDiv2"),res["nss111"]);
  388. getbackgrounds($("#apDiv3"),res["nss103"]);
  389. getbackgrounds($("#apDiv4"),res["nss102"]);
  390. getbackgrounds($("#apDiv5"),res["nss101"]);
  391. getbackgrounds($("#apDiv6"),res["nss302"]);
  392. getbackgrounds($("#apDiv7"),res["nss303"]);
  393. getbackgrounds($("#apDiv8"),res["nss301"]);
  394. getbackgrounds($("#apDiv9"),res["nss354"]);
  395. getbackgrounds($("#apDiv10"),res["nss353"]);
  396. getbackgrounds($("#apDiv11"),res["nss351"]);
  397. getbackgrounds($("#apDiv12"),res["nss323"]);
  398. getbackgrounds($("#apDiv13"),res["nss322"]);
  399. getbackgrounds($("#apDiv14"),res["nss321"]);
  400. getbackgrounds($("#apDiv15"),res["nss314"]);
  401. getbackgrounds($("#apDiv16"),res["nss313"]);
  402. getbackgrounds($("#apDiv17"),res["nss312"]);
  403. }
  404. });
  405. }
  406. function getbackgrounds(obj,value)
  407. {
  408. if(value==1)
  409. {
  410. obj.css("background","#F00");
  411. }else
  412. {
  413. obj.css("background","#0F0");
  414. }
  415. }
  416. function getDetail()
  417. {
  418. $.ajax({
  419. url : "ztAjax.action?wfName=NSS_FDC",
  420. type : "post",
  421. cache : false,
  422. dataType : "json",
  423. data : {},
  424. async : false,
  425. ifModified : false,
  426. success : function(res) {
  427. var html1 = "<table width='573' border='0' cellspacing='0' cellpadding='0'>";
  428. html1 =html1+"<tr>";
  429. html1 =html1+createTd(res["9"],"left",68);
  430. html1 =html1+"</tr>";
  431. html1 =html1+"<tr>";
  432. html1 =html1+createTd(res["8"],"left",58);
  433. html1 =html1+"</tr>";
  434. html1 =html1+"<tr>";
  435. html1 =html1+createTd(res["7"],"left",58);
  436. html1 =html1+"</tr>";
  437. html1 =html1+"<tr>";
  438. html1 =html1+createTd(res["6"],"left",58);
  439. html1 =html1+"</tr>";
  440. html1 =html1+"<tr>";
  441. html1 =html1+createTd(res["5"],"left",58);
  442. html1 =html1+"</tr>";
  443. html1 =html1+"<tr>";
  444. html1 =html1+createTd(res["4"],"left",66);
  445. html1 =html1+"</tr>";
  446. html1 =html1+"<tr>";
  447. html1 =html1+createTd(res["3"],"left",59);
  448. html1 =html1+"</tr>";
  449. html1 =html1+"<tr>";
  450. html1 =html1+createTd(res["2"],"left",62);
  451. html1 =html1+"</tr>";
  452. html1 =html1+"<tr>";
  453. html1 =html1+createTd(res["1"],"left",58);
  454. html1 =html1+"</tr>";
  455. html1 =html1+"</table>";
  456. $("#container2").html(html1);
  457. }
  458. });
  459. }
  460. function createTd(result,type,height) {
  461. var html;
  462. if(type=='left')
  463. {
  464. html = "<td height='"+height+"' align='left' valign='bottom'> ";
  465. }else if(type=='right')
  466. {
  467. html = "<td height='"+height+"' align='right' valign='bottom'> ";
  468. }
  469. $.each(result,function(i, value) {
  470. html += "<img style='cursor: pointer;' ";
  471. var color;
  472. switch(value["windTurbineState"]){
  473. case 1:
  474. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/run_Icon.gif' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  475. break;
  476. case 0:
  477. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  478. break;
  479. case 4:
  480. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/repair_Icon.fw.png' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  481. break;
  482. case 2:
  483. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/stop_Icon.fw.png' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  484. break;
  485. case 3:
  486. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/interrupt_Icon.fw.png' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  487. break;
  488. case 5:
  489. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  490. break;
  491. case 6:
  492. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' onclick=gowt('"+value["windTurbineCode"]+"') width='33' height='45' />";
  493. break;
  494. }
  495. html +=color;
  496. });
  497. html +="</td>";
  498. return html;
  499. }
  500. function getfjjz(type)
  501. {
  502. var num=1;
  503. if(type=="+")
  504. {
  505. num=2;
  506. $("#pagenums").val(2);
  507. }else if(type=="-")
  508. {
  509. num=1;
  510. $("#pagenums").val(1);
  511. }
  512. $.ajax({
  513. url : "stateAjax.action?wfName=NSS_FDC&type=wp&pagenums="+num,
  514. type : "post",
  515. cache : false,
  516. dataType : "json",
  517. data : {},
  518. async : false,
  519. ifModified : false,
  520. success : function(res) {
  521. var html1 = "<table width='1252' border='0' cellspacing='0' cellpadding='0'>";
  522. html1 =html1+createjzTd(res);
  523. html1 =html1+"</table>";
  524. $("#container3").html(html1);
  525. if(num==2)
  526. {
  527. $("#xyb").attr("disabled",true);
  528. $("#syb").attr("disabled",false);
  529. }else if(num==1)
  530. {
  531. $("#syb").attr("disabled",true);
  532. $("#xyb").attr("disabled",false);
  533. }
  534. }
  535. });
  536. }
  537. function createjzTd(result) {
  538. var num=0;
  539. var html;
  540. html="<tr>";
  541. $.each(result,function(i, value) {
  542. var str=value["windTurbineId"];
  543. html += "<td width='123' height='80' onclick=gowt('"+str+"') style='cursor: pointer;' > ";
  544. html += "<table width='125' border='0' cellspacing='0' cellpadding='0' height='90' background='<%=request.getContextPath()%>/resource/images/system/pictures/fj_m_icon.jpg'>";
  545. html += "<tr>";
  546. html += "<td height='12' colspan='2' align='center' valign='bottom'>";
  547. html += "<table width='123' height='10' border='0' cellspacing='0' cellpadding='0'>";
  548. html += " <tr>";
  549. html += " <td align='center' class='valueinfo_Name'>"+str.substring(str.length-2,str.length)+"号"+"</td>";
  550. html += " </tr>";
  551. html += "</table>";
  552. html += " </td>";
  553. html += " </tr>";
  554. html += "<tr>";
  555. html += "<td height='55' colspan='2'><table width='125' border='0' cellspacing='0' cellpadding='0'>";
  556. html += " <tr>";
  557. html += " <td width='43' height='55' rowspan='2'>&nbsp;</td>";
  558. html += " <td width='39' rowspan='2' align='center'>";
  559. html += "<img ";
  560. var color;
  561. switch(value["state"]){
  562. case 1:
  563. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/run_Icon.gif' width='33' height='45' />";
  564. break;
  565. case 0:
  566. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png' width='33' height='45' />";
  567. break;
  568. case 4:
  569. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/repair_Icon.fw.png' width='33' height='45' />";
  570. break;
  571. case 2:
  572. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/stop_Icon.fw.png' width='33' height='45' />";
  573. break;
  574. case 3:
  575. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/interrupt_Icon.fw.png' width='33' height='45' />";
  576. break;
  577. case 5:
  578. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' width='33' height='45' />";
  579. break;
  580. case 6:
  581. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' width='33' height='45' />";
  582. break;
  583. }
  584. html +=color;
  585. html += "</td>";
  586. html += " <td width='39' height='28' align='right'>&nbsp;</td>";
  587. html += " <td width='4' align='right'>&nbsp;</td>";
  588. html += " </tr>";
  589. html += " <tr>";
  590. html += " <td height='30' colspan='2'>&nbsp;</td>";
  591. html += " </tr>";
  592. html += "</table></td>";
  593. html += "</tr>";
  594. html += "<tr>";
  595. html += "<td width='63' height='20' align='center' class='valueinfo_Name'>"+value["speed"]+"</td>";
  596. html += "<td width='62' align='center' class='valueinfo_Name'>"+value["power"]+"</td>";
  597. html += "</tr>";
  598. html += "</table>";
  599. html +="</td>";
  600. num++;
  601. if(num>=10)
  602. {
  603. html +="</tr>";
  604. html +="<tr>";
  605. num=0;
  606. }
  607. });
  608. html+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
  609. html+="<tr>";
  610. html+="<td height='40' align='right' class='value_Name' ><button value='' id='syb' disabled='disabled' onclick=getfjjz('-')>上一页</button><button value='' id='xyb' onclick=getfjjz('+')>下一页</button></td>";
  611. html+="</tr>";
  612. html+="</table>";
  613. html+="</tr>";
  614. return html;
  615. }
  616. function gowt(wtName)
  617. {
  618. $("#f1").attr("action","/windfarm/wtindex.action?wfName=NSS_FDC&wtName="+wtName).submit();
  619. }
  620. function project1()
  621. {
  622. $("#f1").attr("action","/windfarm/nssproject1.action?wfName=NSS01_GC").submit();
  623. }
  624. function project2()
  625. {
  626. $("#f1").attr("action","/windfarm/nssproject2.action?wfName=NSS02_GC").submit();
  627. }
  628. function project3()
  629. {
  630. $("#f1").attr("action","/windfarm/nssproject3.action?wfName=NSS03_GC").submit();
  631. }
  632. function windfarm()
  633. {
  634. $("#f1").attr("action","/windfarm/nssindex.action?wfName=NSS_FDC").submit();
  635. }
  636. function tower()
  637. {
  638. $("#f1").attr("action","/windfarm/nsswindtower.action?windfarm=NSS_FDC").submit();
  639. }
  640. function powerfirst()
  641. {
  642. $("#f1").attr("action","/windfarm/nsspowerfirst.action?wfName=NSS_FDC").submit();
  643. }
  644. function wtinfo()
  645. {
  646. $("#f1").attr("action","/windfarm/wtindex.action?wfName=NSS_FDC").submit();
  647. }
  648. function power()
  649. {
  650. $("#f1").attr("action","/windfarm/powerindex.action?wfName=NSS_FDC").submit();
  651. }
  652. function fjpb()
  653. {
  654. $("#f1").attr("action","/windfarm/nssstation1.action?wfName=NSS01_GC").submit();
  655. }
  656. </script>
  657. </head>
  658. <body>
  659. <form action="" id="f1" method="post" style="width: 1883px">
  660. <s:hidden id="pagenums" value="1"></s:hidden>
  661. <div id="apDiv3" style="background:#F00"></div>
  662. <div id="apDiv4" style="background:#F00"></div>
  663. <div id="apDiv5" style="background:#F00"></div>
  664. <div id="apDiv6" style="background:#F00"></div>
  665. <div id="apDiv7" style="background:#F00"></div>
  666. <div id="apDiv8" style="background:#F00"></div>
  667. <div id="apDiv9" style="background:#F00"></div>
  668. <div id="apDiv10" style="background:#F00"></div>
  669. <div id="apDiv11" style="background:#F00"></div>
  670. <div id="apDiv12" style="background:#F00"></div>
  671. <div id="apDiv13" style="background:#F00"></div>
  672. <div id="apDiv14" style="background:#F00"></div>
  673. <div id="apDiv15" style="background:#F00"></div>
  674. <div id="apDiv16" style="background:#F00"></div>
  675. <div id="apDiv17" style="background:#F00"></div>
  676. <div id="apDiv18"></div>
  677. <div id="apDiv21"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_alpha_Right.fw.png" width="50" height="100" onmouseover="rightover()"/></div>
  678. <div id="apDiv22"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_right.fw.png" width="50" height="100" onmouseout="rightout()" onmousedown="rightclick()"/></div>
  679. <div id="apDiv23"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_alpha_left.fw.png" width="50" height="100" onmouseover="leftover()"/></div>
  680. <div id="apDiv24"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/rollover_left.fw.png" width="50" height="100" onmouseout="leftout()" onmousedown="leftclick()"/></div>
  681. <table width="1880" border="0" align="center" cellpadding="0" cellspacing="0">
  682. <tr>
  683. <td height="58" colspan="5" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_Top.jpg"><table width="1880" border="0" cellspacing="0" cellpadding="0" height="58">
  684. <tr>
  685. <td width="36" height="25">&nbsp;</td>
  686. <td width="64" rowspan="2" align="center">&nbsp;</td>
  687. <td width="125" align="center" valign="bottom" class="station_Name">装机容量</td>
  688. <td width="123"align="center" valign="bottom" class="station_Name">总功率</td>
  689. <td width="125"align="center" valign="bottom" class="station_Name">日发电量</td>
  690. <td width="124"align="center" valign="bottom" class="station_Name">月发电量</td>
  691. <td width="124"align="center" valign="bottom" class="station_Name">年发电量</td>
  692. <td width="123"align="center" valign="bottom" class="station_Name">温度</td>
  693. <td width="123"align="center" valign="bottom" class="station_Name">平均风速</td>
  694. <td width="127"align="center" valign="bottom" class="station_Name">接入台数</td>
  695. <td width="121"align="center" valign="bottom" class="station_Name">运行台数</td>
  696. <td width="125"align="center" valign="bottom" class="station_Name">待机台数</td>
  697. <td width="123"align="center" valign="bottom" class="station_Name">故障台数</td>
  698. <td width="126"align="center" valign="bottom" class="station_Name">维护台数</td>
  699. <td width="124"align="center" valign="bottom" class="station_Name">离线台数</td>
  700. <td width="124"align="center" valign="bottom" class="station_Name">限电台数</td>
  701. <td width="43"align="center" valign="bottom" class="station_Name" style='cursor: pointer;' onclick="goback()"></td>
  702. </tr>
  703. <tr>
  704. <td height="28">&nbsp;</td>
  705. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="zjrl"></span></td>
  706. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="zgl" ></span></td>
  707. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="rfdl" ></span></td>
  708. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="yfdl" ></span></td>
  709. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="nfdl" ></span></td>
  710. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="wd" ></span></td>
  711. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="pjfs" ></span></td>
  712. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="jrts" ></span></td>
  713. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="yxts" ></span></td>
  714. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="djts" ></span></td>
  715. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="gzts" ></span></td>
  716. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="whts" ></span></td>
  717. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="lxts" ></span></td>
  718. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="xdts" ></span></td>
  719. <td align="center" style='cursor: pointer;' onclick="goback()"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/back_icon.fw.png" width="18" height="19" /></td>
  720. </tr>
  721. </table></td>
  722. </tr>
  723. <tr>
  724. <td width="37" rowspan="3" valign="top"><table width="35" border="0" cellspacing="0" cellpadding="0">
  725. </table>
  726. <img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_zm_Button_selected.jpg" width="35" height="80" /><table width="35" border="0" cellspacing="0" cellpadding="0">
  727. <tr></tr>
  728. <tr>
  729. <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_fjpb_button_link.jpg" width="35" height="80" onclick="fjpb()" style="cursor: pointer;" /></td>
  730. </tr>
  731. <tr>
  732. <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_fjinfo_button_link.jpg" width="35" height="80" onclick="wtinfo()" style="cursor: pointer;" /></td>
  733. </tr>
  734. <tr>
  735. <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_syz_button_link.jpg" width="35" height="80" onclick="powerfirst()" style="cursor: pointer;" /></td>
  736. </tr>
  737. <tr>
  738. <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_line_button_link.jpg" width="35" height="80" onclick="power()" style="cursor: pointer;" /></td>
  739. </tr>
  740. <tr>
  741. <td align="center" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_cft_button_link.jpg" width="35" height="80" onclick="tower()" style="cursor: pointer;" /></td>
  742. </tr>
  743. </table></td>
  744. <td width="560" rowspan="3" valign="top"><table width="559" border="0" cellspacing="0" cellpadding="0">
  745. <tr>
  746. <td height="33"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  747. <tr>
  748. <td width="16%" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_Button.jpg" width="90" height="33" onclick="windfarm()"/></td>
  749. <td width="16%" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/first_Station_button.jpg" width="90" height="33" onclick="project1()" style="cursor: pointer;" /></td>
  750. <td width="16%" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/second_station_Button.jpg" width="90" height="33" onclick="project2()" style="cursor: pointer;" /></td>
  751. <td width="52%" height="33" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/third_station_Button.jpg" width="90" height="33" onclick="project3()" style="cursor: pointer;" /></td>
  752. </tr>
  753. </table></td>
  754. </tr>
  755. <tr>
  756. <td width="560" height="735" align="center" valign="top" background="<%=request.getContextPath()%>/resource/images/system/pictures/nsh_All_Map.jpg"><table width="560" border="0" cellspacing="0" cellpadding="0">
  757. <tr>
  758. <td height="40" colspan="2">&nbsp;</td>
  759. </tr>
  760. <tr>
  761. <td height="200" colspan="2" valign="top"><table width="560" border="0" cellspacing="0" cellpadding="0">
  762. <tr>
  763. <td width="53" height="200">&nbsp;</td>
  764. <td width="226" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  765. <tr>
  766. <td width="45%" height="25" class="project_text">日发电量</td>
  767. <td width="55%" class="project_text"><span id="rfdl2" ></span></td>
  768. </tr>
  769. <tr>
  770. <td height="25" class="project_text">平均风速</td>
  771. <td class="project_text"><span id="pjfs2" ></span></td>
  772. </tr>
  773. <tr>
  774. <td height="25" class="project_text">接入台数</td>
  775. <td class="project_text"><span id="jrts2" ></span></td>
  776. </tr>
  777. <tr>
  778. <td height="25" class="project_text">运行台数</td>
  779. <td class="project_text"><span id="yxts2" ></span></td>
  780. </tr>
  781. <tr>
  782. <td height="25" class="project_text">待机台数</td>
  783. <td class="project_text"><span id="djts2" ></span></td>
  784. </tr>
  785. <tr>
  786. <td height="25" class="project_text">维护台数</td>
  787. <td class="project_text"><span id="whts2" ></span></td>
  788. </tr>
  789. <tr>
  790. <td height="25" class="project_text">停机台数</td>
  791. <td class="project_text"><span id="gzts2" ></span></td>
  792. </tr>
  793. <tr>
  794. <td height="25" class="project_text">限电台数</td>
  795. <td class="project_text"><span id="xdts2" ></span></td>
  796. </tr>
  797. </table></td>
  798. <td width="281">&nbsp;</td>
  799. </tr>
  800. </table></td>
  801. </tr>
  802. <tr>
  803. <td height="50" colspan="2">&nbsp;</td>
  804. </tr>
  805. <tr>
  806. <td height="200" colspan="2" valign="top"><table width="560" border="0" cellspacing="0" cellpadding="0">
  807. <tr>
  808. <td width="30" height="200">&nbsp;</td>
  809. <td width="223" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  810. <tr>
  811. <td width="45%" height="25" class="project_text">日发电量</td>
  812. <td width="55%" class="project_text"><span id="rfdl1" ></span></td>
  813. </tr>
  814. <tr>
  815. <td height="25" class="project_text">平均风速</td>
  816. <td class="project_text"><span id="pjfs1" ></span></td>
  817. </tr>
  818. <tr>
  819. <td height="25" class="project_text">接入台数</td>
  820. <td class="project_text"><span id="jrts1" ></span></td>
  821. </tr>
  822. <tr>
  823. <td height="25" class="project_text">运行台数</td>
  824. <td class="project_text"><span id="yxts1" ></span></td>
  825. </tr>
  826. <tr>
  827. <td height="25" class="project_text">待机台数</td>
  828. <td class="project_text"><span id="djts1" ></span></td>
  829. </tr>
  830. <tr>
  831. <td height="25" class="project_text">维护台数</td>
  832. <td class="project_text"><span id="whts1" ></span></td>
  833. </tr>
  834. <tr>
  835. <td height="25" class="project_text">停机台数</td>
  836. <td class="project_text"><span id="gzts1" ></span></td>
  837. </tr>
  838. <tr>
  839. <td height="25" class="project_text">限电台数</td>
  840. <td class="project_text"><span id="xdts1" ></span></td>
  841. </tr>
  842. </table></td>
  843. <td width="307">&nbsp;</td>
  844. </tr>
  845. </table></td>
  846. </tr>
  847. <tr>
  848. <td height="35" colspan="2">&nbsp;</td>
  849. </tr>
  850. <tr>
  851. <td width="102" height="160" valign="top">&nbsp;</td>
  852. <td width="458" valign="top"><table width="52%" border="0" cellspacing="0" cellpadding="0">
  853. <tr>
  854. <td width="45%" height="25" class="project_text">日发电量</td>
  855. <td width="55%" class="project_text"><span id="rfdl3" ></span></td>
  856. </tr>
  857. <tr>
  858. <td height="25" class="project_text">平均风速</td>
  859. <td class="project_text"><span id="pjfs3" ></span></td>
  860. </tr>
  861. <tr>
  862. <td height="25" class="project_text">接入台数</td>
  863. <td class="project_text"><span id="jrts3" ></span></td>
  864. </tr>
  865. <tr>
  866. <td height="25" class="project_text">运行台数</td>
  867. <td class="project_text"><span id="yxts3" ></span></td>
  868. </tr>
  869. <tr>
  870. <td height="25" class="project_text">待机台数</td>
  871. <td class="project_text"><span id="djts3" ></span></td>
  872. </tr>
  873. <tr>
  874. <td height="25" class="project_text">维护台数</td>
  875. <td class="project_text"><span id="whts3" ></span></td>
  876. </tr>
  877. <tr>
  878. <td height="25" class="project_text">停机台数</td>
  879. <td class="project_text"><span id="gzts3" ></span></td>
  880. </tr>
  881. <tr>
  882. <td height="25" class="project_text">限电台数</td>
  883. <td class="project_text"><span id="xdts3" ></span></td>
  884. </tr>
  885. </table></td>
  886. </tr>
  887. </table></td>
  888. </tr>
  889. </table></td>
  890. </tr>
  891. <tr>
  892. <td width="640" valign="top"><table width="640" border="0" cellspacing="0" cellpadding="0">
  893. <tr>
  894. <td width="30" rowspan="3"><table width="30" border="0" cellspacing="0" cellpadding="0">
  895. <tr>
  896. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_top.jpg" width="30" height="3" /></td>
  897. </tr>
  898. <tr>
  899. <td width="30" height="200" align="center" valign="middle" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_middle.jpg" class="station_Name">运<br />
  900. 行<br />
  901. 参<br />
  902. 数</td>
  903. </tr>
  904. <tr>
  905. <td valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_bottom.jpg" width="30" height="3" /></td>
  906. </tr>
  907. </table></td>
  908. <td width="620" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_top.jpg" width="609" height="3" /></td>
  909. </tr>
  910. <tr>
  911. <td width="609" height="200" align="center" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  912. <tr>
  913. <td width="120" height="48" align="center" bgcolor="#FFFFFF"><span class="value_Name">限电时间(小时)</span></td>
  914. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">故障停机时间(小时)</span></td>
  915. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">维护停机时间(小时)</span></td>
  916. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">风机报警次数(次数)</span></td>
  917. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">风机故障次数(次数)</span></td>
  918. </tr>
  919. <tr>
  920. <td height="49" align="center" bgcolor="#FFFFFF"><span class="value_Name" id="xdxs" ></span></td>
  921. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="gzxs" ></td>
  922. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="whxs" ></span></td>
  923. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="bjcs" ></span></td>
  924. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="gzcs" ></span></td>
  925. </tr>
  926. <tr>
  927. <td height="48" align="center" bgcolor="#FFFFFF"><span class="value_Name">限电损失(kw/h)</span></td>
  928. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">故障停机损失(kw/h)</span></td>
  929. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">维护停机损失(kw/h)</span></td>
  930. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">性能损失电量(kw/h)</span></td>
  931. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">受累损失电量(kw/h)</span></td>
  932. </tr>
  933. <tr>
  934. <td height="49" align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rxdss" ></span></td>
  935. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rgzss" ></span></td>
  936. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rwhss" ></span></td>
  937. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rqfss" ></span></td>
  938. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rslss" ></span></td>
  939. </tr>
  940. </table></td>
  941. </tr>
  942. <tr>
  943. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_bottom.jpg" width="609" height="3" /></td>
  944. </tr>
  945. </table></td>
  946. <td width="642" valign="top"><table width="640" border="0" cellspacing="0" cellpadding="0">
  947. <tr>
  948. <td width="30" rowspan="3"><table width="30" border="0" cellspacing="0" cellpadding="0">
  949. <tr>
  950. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_top.jpg" width="30" height="3" /></td>
  951. </tr>
  952. <tr>
  953. <td width="30" height="200" align="center" valign="middle" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_middle.jpg" class="station_Name">功<br />
  954. 率<br />
  955. 曲<br />
  956. 线</td>
  957. </tr>
  958. <tr>
  959. <td valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_bottom.jpg" width="30" height="3" /></td>
  960. </tr>
  961. </table></td>
  962. <td width="620" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_top.jpg" width="609" height="3" /></td>
  963. </tr>
  964. <tr>
  965. <td width="609" height="200" align="center" valign="top">
  966. <div id="container1" style="width: 600px; height: 200px; float: left; border: 0px;"></div>
  967. </td>
  968. </tr>
  969. <tr>
  970. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_bottom.jpg" width="609" height="3" /></td>
  971. </tr>
  972. </table></td>
  973. </tr>
  974. <tr>
  975. <td colspan="2" valign="top"><table width="1282" border="0" cellspacing="0" cellpadding="0">
  976. <tr>
  977. <td width="30" rowspan="3" valign="top" bgcolor="#FFFFFF"><table width="30" border="0" cellspacing="0" cellpadding="0">
  978. <tr>
  979. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_top.jpg" width="30" height="3" /></td>
  980. </tr>
  981. <tr>
  982. <td width="30" height="561" align="center" valign="middle" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_middle.jpg" class="station_Name">场<br />
  983. 站<br />
  984. 总<br />
  985. 貌</td>
  986. </tr>
  987. <tr>
  988. <td valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_bottom.jpg" width="30" height="3" /></td>
  989. </tr>
  990. </table></td>
  991. <td width="620" height="3" valign="top" ><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_top_Long.jpg" width="1250" height="3" /></td>
  992. </tr>
  993. <tr>
  994. <td width="1252" height="536" align="center" valign="top">
  995. <div id="container4" >
  996. <table width="1250" border="0" cellspacing="0" cellpadding="0">
  997. <tr>
  998. <td width="484">
  999. <img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_zongmao_left.jpg" width="484" height="561" />
  1000. <div id="apDiv1" style="background:#F00"></div>
  1001. </td>
  1002. <td width="573" align="center" valign="top" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_zongmao_center.jpg">
  1003. <div id="apDiv2" style="background:#F00"></div>
  1004. <div id="container2" style="width: 573; height: 536; float: left; border: 0;"></div>
  1005. </td>
  1006. <td width="192"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_zongmao_right.jpg" width="194" height="536" /></td>
  1007. </tr>
  1008. </table>
  1009. </div>
  1010. <div id="container3" style="width: 1257; height: 536; float: left; border: 0;"></div>
  1011. </td>
  1012. </tr>
  1013. </table></td>
  1014. </tr>
  1015. </table>
  1016. </form>
  1017. </body>
  1018. </html>