project2.jsp 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208
  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/mhs/project2.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. @font-face {
  33. font-family: 'fontNameRegular';
  34. src:
  35. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.eot')
  36. ;
  37. src: local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont Regular'
  38. ),
  39. local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont'),
  40. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.woff')
  41. format('woff'),
  42. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.ttf')
  43. format('truetype'),
  44. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.svg#fontName')
  45. format('svg');
  46. font-size: 36px;
  47. font-weight: bolder;
  48. }
  49. .item_Name { font-family: Arial, Helvetica, sans-serif;
  50. font-size: 12px;
  51. font-weight: bolder;
  52. color: #333;
  53. }
  54. .unit_Name { font-family: Arial, Helvetica, sans-serif;
  55. font-size: 12px;
  56. color: #333;
  57. }
  58. #apDiv1 {
  59. position: absolute;
  60. width: 22px;
  61. height: 12px;
  62. z-index: 1;
  63. left: 741px;
  64. top: 467px;
  65. }
  66. #apDiv2 {
  67. position: absolute;
  68. width: 22px;
  69. height: 12px;
  70. z-index: 2;
  71. left: 1812px;
  72. top: 496px;
  73. }
  74. #apDiv3 {
  75. position: absolute;
  76. left: 817px;
  77. top: 467px;
  78. width: 22px;
  79. height: 12px;
  80. z-index: 3;
  81. }
  82. #apDiv4 {
  83. position: absolute;
  84. left: 817px;
  85. top: 576px;
  86. width: 22px;
  87. height: 12px;
  88. z-index: 4;
  89. }
  90. #apDiv5 {
  91. position: absolute;
  92. left: 816px;
  93. top: 687px;
  94. width: 22px;
  95. height: 12px;
  96. z-index: 5;
  97. }
  98. #apDiv6 {
  99. position: absolute;
  100. left: 879px;
  101. top: 576px;
  102. width: 22px;
  103. height: 12px;
  104. z-index: 6;
  105. }
  106. #apDiv7 {
  107. position: absolute;
  108. left: 879px;
  109. top: 468px;
  110. width: 22px;
  111. height: 12px;
  112. z-index: 7;
  113. }
  114. #apDiv8 {
  115. position: absolute;
  116. left: 879px;
  117. top: 687px;
  118. width: 22px;
  119. height: 12px;
  120. z-index: 8;
  121. }
  122. #apDiv9 {
  123. position: absolute;
  124. left: 912px;
  125. top: 424px;
  126. width: 22px;
  127. height: 12px;
  128. z-index: 9;
  129. }
  130. #apDiv10 {
  131. position: absolute;
  132. left: 913px;
  133. top: 467px;
  134. width: 22px;
  135. height: 12px;
  136. z-index: 10;
  137. }
  138. #apDiv11 {
  139. position: absolute;
  140. left: 913px;
  141. top: 505px;
  142. width: 22px;
  143. height: 12px;
  144. z-index: 11;
  145. }
  146. #apDiv12 {
  147. position: absolute;
  148. left: 913px;
  149. top: 542px;
  150. width: 22px;
  151. height: 12px;
  152. z-index: 12;
  153. }
  154. #apDiv13 {
  155. position: absolute;
  156. left: 913px;
  157. top: 575px;
  158. width: 22px;
  159. height: 12px;
  160. z-index: 13;
  161. }
  162. #apDiv14 {
  163. position: absolute;
  164. left: 914px;
  165. top: 613px;
  166. width: 22px;
  167. height: 12px;
  168. z-index: 14;
  169. }
  170. #apDiv15 {
  171. position: absolute;
  172. left: 915px;
  173. top: 652px;
  174. width: 22px;
  175. height: 12px;
  176. z-index: 15;
  177. }
  178. #apDiv16 {
  179. position: absolute;
  180. left: 915px;
  181. top: 687px;
  182. width: 22px;
  183. height: 12px;
  184. z-index: 16;
  185. }
  186. #apDiv17 {
  187. position: absolute;
  188. left: 915px;
  189. top: 730px;
  190. width: 22px;
  191. height: 12px;
  192. z-index: 17;
  193. }
  194. .project_text {
  195. font-family: "宋体";
  196. font-size: 12px;
  197. font-weight: bolder;
  198. color: #FFF;
  199. text-decoration: none;
  200. }
  201. #apDiv18 {
  202. position: absolute;
  203. left: 135px;
  204. top: 106px;
  205. width: 131px;
  206. height: 19px;
  207. z-index: 18;
  208. }
  209. #apDiv19 {
  210. position: absolute;
  211. left: 114px;
  212. top: 362px;
  213. width: 125px;
  214. height: 21px;
  215. z-index: 19;
  216. }
  217. #apDiv20 {
  218. position: absolute;
  219. left: 174px;
  220. top: 588px;
  221. width: 122px;
  222. height: 21px;
  223. z-index: 20;
  224. }
  225. #apDiv21 {
  226. position: absolute;
  227. left: 287px;
  228. top: 94px;
  229. width: 37px;
  230. height: 51px;
  231. z-index: 18;
  232. }
  233. #apDiv22 {
  234. position: absolute;
  235. left: 338px;
  236. top: 212px;
  237. width: 28px;
  238. height: 41px;
  239. z-index: 19;
  240. }
  241. #apDiv23 {
  242. position: absolute;
  243. left: 447px;
  244. top: 461px;
  245. width: 27px;
  246. height: 40px;
  247. z-index: 20;
  248. }
  249. #apDiv24 {
  250. position: absolute;
  251. left: 486px;
  252. top: 522px;
  253. width: 32px;
  254. height: 42px;
  255. z-index: 21;
  256. }
  257. #apDiv25 {
  258. position: absolute;
  259. left: 441px;
  260. top: 610px;
  261. width: 29px;
  262. height: 40px;
  263. z-index: 22;
  264. }
  265. #apDiv26 {
  266. position: absolute;
  267. left: 460px;
  268. top: 701px;
  269. width: 32px;
  270. height: 43px;
  271. z-index: 23;
  272. }
  273. #apDiv27 {
  274. position: absolute;
  275. left: 420px;
  276. top: 753px;
  277. width: 31px;
  278. height: 46px;
  279. z-index: 24;
  280. }
  281. #apDiv28 {
  282. position: absolute;
  283. left: 551px;
  284. top: 386px;
  285. width: 29px;
  286. height: 44px;
  287. z-index: 25;
  288. }
  289. #apDiv29 {
  290. position: absolute;
  291. left: 495px;
  292. top: 403px;
  293. width: 31px;
  294. height: 39px;
  295. z-index: 26;
  296. }
  297. #apDiv30 {
  298. position: absolute;
  299. left: 477px;
  300. top: 313px;
  301. width: 35px;
  302. height: 47px;
  303. z-index: 27;
  304. }
  305. #apDiv31 {
  306. position: absolute;
  307. left: 288px;
  308. top: 258px;
  309. width: 35px;
  310. height: 48px;
  311. z-index: 28;
  312. }
  313. #apDiv32 {
  314. position: absolute;
  315. left: 339px;
  316. top: 299px;
  317. width: 33px;
  318. height: 47px;
  319. z-index: 29;
  320. }
  321. #apDiv33 {
  322. position: absolute;
  323. left: 366px;
  324. top: 341px;
  325. width: 36px;
  326. height: 55px;
  327. z-index: 30;
  328. }
  329. #apDiv34 {
  330. position: absolute;
  331. left: 387px;
  332. top: 395px;
  333. width: 38px;
  334. height: 54px;
  335. z-index: 31;
  336. }
  337. #apDiv35 {
  338. position: absolute;
  339. left: 297px;
  340. top: 504px;
  341. width: 35px;
  342. height: 48px;
  343. z-index: 32;
  344. }
  345. #apDiv36 {
  346. position: absolute;
  347. left: 260px;
  348. top: 437px;
  349. width: 38px;
  350. height: 50px;
  351. z-index: 33;
  352. }
  353. #apDiv37 {
  354. position: absolute;
  355. left: 232px;
  356. top: 354px;
  357. width: 36px;
  358. height: 51px;
  359. z-index: 34;
  360. }
  361. #apDiv38 {
  362. position: absolute;
  363. left: 61px;
  364. top: 130px;
  365. width: 36px;
  366. height: 51px;
  367. z-index: 35;
  368. }
  369. #apDiv39 {
  370. position: absolute;
  371. left: 106px;
  372. top: 166px;
  373. width: 38px;
  374. height: 53px;
  375. z-index: 36;
  376. }
  377. #apDiv40 {
  378. position: absolute;
  379. left: 154px;
  380. top: 236px;
  381. width: 36px;
  382. height: 51px;
  383. z-index: 37;
  384. }
  385. #apDiv41 {
  386. position: absolute;
  387. left: 194px;
  388. top: 288px;
  389. width: 40px;
  390. height: 54px;
  391. z-index: 38;
  392. }
  393. #apDiv42 {
  394. position: absolute;
  395. left: 46px;
  396. top: 289px;
  397. width: 34px;
  398. height: 49px;
  399. z-index: 39;
  400. }
  401. #apDiv43 {
  402. position: absolute;
  403. left: 86px;
  404. top: 329px;
  405. width: 33px;
  406. height: 47px;
  407. z-index: 40;
  408. }
  409. #apDiv44 {
  410. position: absolute;
  411. left: 136px;
  412. top: 334px;
  413. width: 37px;
  414. height: 53px;
  415. z-index: 41;
  416. }
  417. #apDiv45 {
  418. position: absolute;
  419. left: 154px;
  420. top: 398px;
  421. width: 33px;
  422. height: 46px;
  423. z-index: 42;
  424. }
  425. #apDiv46 {
  426. position: absolute;
  427. left: 165px;
  428. top: 449px;
  429. width: 37px;
  430. height: 48px;
  431. z-index: 43;
  432. }
  433. #apDiv47 {
  434. position: absolute;
  435. left: 190px;
  436. top: 505px;
  437. width: 36px;
  438. height: 51px;
  439. z-index: 44;
  440. }
  441. #apDiv48 {
  442. position: absolute;
  443. left: 228px;
  444. top: 554px;
  445. width: 39px;
  446. height: 57px;
  447. z-index: 45;
  448. }
  449. #apDiv49 {
  450. position: absolute;
  451. left: 262px;
  452. top: 636px;
  453. width: 37px;
  454. height: 51px;
  455. z-index: 46;
  456. }
  457. #apDiv50 {
  458. position: absolute;
  459. left: 308px;
  460. top: 646px;
  461. width: 39px;
  462. height: 55px;
  463. z-index: 47;
  464. }
  465. #apDiv51 {
  466. position: absolute;
  467. left: 370px;
  468. top: 713px;
  469. width: 38px;
  470. height: 51px;
  471. z-index: 48;
  472. }
  473. #apDiv52 {
  474. position: absolute;
  475. left: 398px;
  476. top: 523px;
  477. width: 40px;
  478. height: 52px;
  479. z-index: 49;
  480. }
  481. #apDiv53 {
  482. position: absolute;
  483. left: 1247px;
  484. top: 386px;
  485. width: 16px;
  486. height: 25px;
  487. z-index: 50;
  488. }
  489. #apDiv54 {
  490. position: absolute;
  491. left: 1248px;
  492. top: 487px;
  493. width: 14px;
  494. height: 25px;
  495. z-index: 51;
  496. }
  497. #apDiv55 {
  498. position: absolute;
  499. left: 1160px;
  500. top: 542px;
  501. width: 14px;
  502. height: 26px;
  503. z-index: 52;
  504. }
  505. #apDiv56 {
  506. position: absolute;
  507. left: 1247px;
  508. top: 541px;
  509. width: 15px;
  510. height: 27px;
  511. z-index: 53;
  512. }
  513. #apDiv57 {
  514. position: absolute;
  515. left: 1330px;
  516. top: 539px;
  517. width: 16px;
  518. height: 27px;
  519. z-index: 54;
  520. }
  521. #apDiv58 {
  522. position: absolute;
  523. left: 785px;
  524. top: 552px;
  525. width: 0px;
  526. height: 1px;
  527. z-index: 55;
  528. }
  529. #apDiv { position: absolute;
  530. left: 1810px;
  531. top: 386px;
  532. width: 55px;
  533. height: 102px;
  534. z-index: 22;
  535. }
  536. #apDiv59 { position: absolute;
  537. left: 1812px;
  538. top: 505px;
  539. width: 56px;
  540. height: 106px;
  541. z-index: 21;
  542. }
  543. #apDiv60 {
  544. position: absolute;
  545. left: 328px;
  546. top: 240px;
  547. width: 33px;
  548. height: 50px;
  549. z-index: 1;
  550. }
  551. #apDiv61 {
  552. position: absolute;
  553. left: 421px;
  554. top: 404px;
  555. width: 33px;
  556. height: 46px;
  557. z-index: 2;
  558. }
  559. #apDiv62 {
  560. position: absolute;
  561. left: 505px;
  562. top: 563px;
  563. width: 38px;
  564. height: 50px;
  565. z-index: 3;
  566. }
  567. #apDiv63 {
  568. position: absolute;
  569. left: 211px;
  570. top: 279px;
  571. width: 36px;
  572. height: 48px;
  573. z-index: 4;
  574. }
  575. #apDiv64 {
  576. position: absolute;
  577. left: 288px;
  578. top: 406px;
  579. width: 33px;
  580. height: 43px;
  581. z-index: 5;
  582. }
  583. #apDiv65 {
  584. position: absolute;
  585. left: 355px;
  586. top: 526px;
  587. width: 31px;
  588. height: 44px;
  589. z-index: 6;
  590. }
  591. #apDiv66 {
  592. position: absolute;
  593. left: 445px;
  594. top: 671px;
  595. width: 37px;
  596. height: 52px;
  597. z-index: 7;
  598. }
  599. #apDiv67 {
  600. position: absolute;
  601. left: 80px;
  602. top: 406px;
  603. width: 35px;
  604. height: 48px;
  605. z-index: 8;
  606. }
  607. #apDiv68 {
  608. position: absolute;
  609. left: 85px;
  610. top: 505px;
  611. width: 33px;
  612. height: 49px;
  613. z-index: 9;
  614. }
  615. #apDiv69 {
  616. position: absolute;
  617. left: 188px;
  618. top: 465px;
  619. width: 38px;
  620. height: 52px;
  621. z-index: 10;
  622. }
  623. #apDiv70 {
  624. position: absolute;
  625. left: 90px;
  626. top: 380px;
  627. width: 97px;
  628. height: 30px;
  629. z-index: 50;
  630. }
  631. </style>
  632. <script type="text/javascript">
  633. var limittype='pj';
  634. var pjinterval;
  635. var lineinterval;
  636. $(document).ready(function() {
  637. projectaction();
  638. });
  639. function getInterval()
  640. {
  641. clearInterval(lineinterval);
  642. clearInterval(pjinterval);
  643. if(limittype=='pj')
  644. {
  645. pjinterval=window.setInterval(projectaction, 60000);
  646. }else if(limittype=='ln')
  647. {
  648. lineinterval=window.setInterval(lineinfo, 60000);
  649. }
  650. }
  651. function goback()
  652. {
  653. $("#f1").attr("action","/matrix/monitormainIndex.action").submit();
  654. }
  655. function lineinfo()
  656. {
  657. var line=$("#lineid").val();
  658. lineaction(line);
  659. }
  660. function lineaction(line)
  661. {
  662. $("#lineid").val(line);
  663. limittype='ln';
  664. getInterval();
  665. wpAllInfoAjax(line);
  666. apdata(line);
  667. getlinejz(line);
  668. if(line=='MHS04_XL')
  669. {
  670. $("#apDiv70").html("<a href='#' ><img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_4line_Button.fw.png' width='94' height='27' /></a>");
  671. //$("#apDiv77").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_5line_Button.fw.png' width='94' height='27' />");
  672. //$("#apDiv78").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_6line_Button.fw.png' width='94' height='27' />");
  673. }
  674. //else if(line=='MHS05_XL')
  675. //{
  676. // $("#apDiv77").html("<a href='#' ><img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_5line_Button.fw.png' width='94' height='27' /></a>");
  677. // $("#apDiv76").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_4line_Button.fw.png' width='94' height='27' />");
  678. // $("#apDiv78").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_6line_Button.fw.png' width='94' height='27' />");
  679. //
  680. //}else if(line=='MHS06_XL')
  681. //{
  682. // $("#apDiv78").html("<a href='#' ><img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_3line_Button.fw.png' width='94' height='27' /></a>");
  683. // $("#apDiv76").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_6line_Button.fw.png' width='94' height='27' />");
  684. // $("#apDiv77").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/nsh_5line_Button.fw.png' width='94' height='27' />");
  685. //}
  686. }
  687. function projectaction()
  688. {
  689. wpAllInfoAjax('MHS02_GC');
  690. apdata('MHS02_GC');
  691. getpjjz('-');
  692. getInterval();
  693. }
  694. function getpjjz(type)
  695. {
  696. /*var num=parseInt($("#pagenums").val());
  697. if(type=="+")
  698. {
  699. num=num+1;
  700. $("#pagenums").val(num);
  701. }else if(type=="-")
  702. {
  703. if(num-1<1)
  704. {
  705. num=1;
  706. }else
  707. {
  708. num=num-1;
  709. }
  710. $("#pagenums").val(num);
  711. }*/
  712. $.ajax({
  713. url : "stateAjax.action?wfName=MHS02_GC&type=pj&pagenums=1",
  714. type : "post",
  715. cache : false,
  716. dataType : "json",
  717. data : {},
  718. async : false,
  719. ifModified : false,
  720. success : function(res) {
  721. var html1 = "<table width='1252' border='0' cellspacing='0' cellpadding='0'>";
  722. html1 =html1+createpjTd(res);
  723. html1 =html1+"</table>";
  724. $("#container3").html(html1);
  725. }
  726. });
  727. }
  728. function createpjTd(result) {
  729. var num=0;
  730. var html;
  731. html="<tr>";
  732. $.each(result,function(i, value) {
  733. var str=value["windTurbineId"];
  734. html += "<td width='123' height='86' onclick=gowt('"+str+"') style='cursor: pointer;' > ";
  735. html += "<table width='125' border='0' cellspacing='0' cellpadding='0' height='90' background='<%=request.getContextPath()%>/resource/images/system/pictures/fj_m_icon.jpg'>";
  736. html += "<tr>";
  737. html += "<td height='12' colspan='2' align='center' valign='bottom'>";
  738. html += "<table width='123' height='10' border='0' cellspacing='0' cellpadding='0'>";
  739. html += " <tr>";
  740. html += " <td align='center' style='font-size: 11px;'>"+str.substring(str.length-2,str.length)+"号"+"</td>";
  741. html += " </tr>";
  742. html += "</table>";
  743. html += " </td>";
  744. html += " </tr>";
  745. html += "<tr>";
  746. html += "<td height='58' colspan='2'><table width='125' border='0' cellspacing='0' cellpadding='0'>";
  747. html += " <tr>";
  748. html += " <td width='43' height='58' rowspan='2'>&nbsp;</td>";
  749. html += " <td width='39' rowspan='2' align='center'>";
  750. html += "<img ";
  751. var color;
  752. switch(value["state"]){
  753. case 1:
  754. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/run_Icon.gif' width='33' height='45' />";
  755. break;
  756. case 0:
  757. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png' width='33' height='45' />";
  758. break;
  759. case 4:
  760. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/repair_Icon.fw.png' width='33' height='45' />";
  761. break;
  762. case 2:
  763. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/stop_Icon.fw.png' width='33' height='45' />";
  764. break;
  765. case 3:
  766. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/interrupt_Icon.fw.png' width='33' height='45' />";
  767. break;
  768. case 5:
  769. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' width='33' height='45' />";
  770. break;
  771. case 6:
  772. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' width='33' height='45' />";
  773. break;
  774. }
  775. html +=color;
  776. html += "</td>";
  777. html += " <td width='39' height='28' align='right'>&nbsp;</td>";
  778. html += " <td width='4' align='right'>&nbsp;</td>";
  779. html += " </tr>";
  780. html += " <tr>";
  781. html += " <td height='30' colspan='2'>&nbsp;</td>";
  782. html += " </tr>";
  783. html += "</table></td>";
  784. html += "</tr>";
  785. html += "<tr>";
  786. html += "<td width='63' height='20' align='center'>"+value["speed"]+"</td>";
  787. html += "<td width='62' align='center'>"+value["power"]+"</td>";
  788. html += "</tr>";
  789. html += "</table>";
  790. html +="</td>";
  791. num++;
  792. if(num>=10)
  793. {
  794. html +="</tr>";
  795. html +="<tr>";
  796. num=0;
  797. }
  798. });
  799. /*html+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
  800. html+="<tr>";
  801. html+="<td height='40' align='right' class='value_Name' ><button value='' onclick=getfjjz('-')>上一页</button><button value='' onclick=getfjjz('+')>下一页</button></td>";
  802. html+="</tr>";
  803. html+="</table>";*/
  804. html+="</tr>";
  805. return html;
  806. }
  807. function getlinejz(wfName)
  808. {
  809. $.ajax({
  810. url : "stateAjax.action?wfName="+wfName+"&type=ln&pagenums=1",
  811. type : "post",
  812. cache : false,
  813. dataType : "json",
  814. data : {},
  815. async : false,
  816. ifModified : false,
  817. success : function(res) {
  818. var html1 = "<table width='1252' border='0' cellspacing='0' cellpadding='0'>";
  819. html1 =html1+createlineTd(res);
  820. html1 =html1+"</table>";
  821. $("#container3").html(html1);
  822. }
  823. });
  824. }
  825. function createlineTd(result) {
  826. var num=0;
  827. var html;
  828. html="<tr>";
  829. $.each(result,function(i, value) {
  830. var str=value["windTurbineId"];
  831. html += "<td width='123' height='86' onclick=gowt('"+str+"') style='cursor: pointer;' > ";
  832. html += "<table width='125' border='0' cellspacing='0' cellpadding='0' height='90' background='<%=request.getContextPath()%>/resource/images/system/pictures/fj_m_icon.jpg'>";
  833. html += "<tr>";
  834. html += "<td height='12' colspan='2' align='center' valign='bottom'>";
  835. html += "<table width='123' height='10' border='0' cellspacing='0' cellpadding='0'>";
  836. html += " <tr>";
  837. html += " <td align='center' style='font-size: 11px;'>"+str.substring(str.length-2,str.length)+"号"+"</td>";
  838. html += " </tr>";
  839. html += "</table>";
  840. html += " </td>";
  841. html += " </tr>";
  842. html += "<tr>";
  843. html += "<td height='58' colspan='2'><table width='125' border='0' cellspacing='0' cellpadding='0'>";
  844. html += " <tr>";
  845. html += " <td width='43' height='58' rowspan='2'>&nbsp;</td>";
  846. html += " <td width='39' rowspan='2' align='center'>";
  847. html += "<img ";
  848. var color;
  849. switch(value["state"]){
  850. case 1:
  851. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/run_Icon.gif' width='33' height='45' />";
  852. break;
  853. case 0:
  854. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png' width='33' height='45' />";
  855. break;
  856. case 4:
  857. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/repair_Icon.fw.png' width='33' height='45' />";
  858. break;
  859. case 2:
  860. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/stop_Icon.fw.png' width='33' height='45' />";
  861. break;
  862. case 3:
  863. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/interrupt_Icon.fw.png' width='33' height='45' />";
  864. break;
  865. case 5:
  866. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' width='33' height='45' />";
  867. break;
  868. case 6:
  869. color=" src='<%=request.getContextPath()%>/resource/images/system/pictures/limit_Icon.gif' width='33' height='45' />";
  870. break;
  871. }
  872. html +=color;
  873. html += "</td>";
  874. html += " <td width='39' height='28' align='right'>&nbsp;</td>";
  875. html += " <td width='4' align='right'>&nbsp;</td>";
  876. html += " </tr>";
  877. html += " <tr>";
  878. html += " <td height='30' colspan='2'>&nbsp;</td>";
  879. html += " </tr>";
  880. html += "</table></td>";
  881. html += "</tr>";
  882. html += "<tr>";
  883. html += "<td width='63' height='20' align='center'>"+value["speed"]+"</td>";
  884. html += "<td width='62' align='center'>"+value["power"]+"</td>";
  885. html += "</tr>";
  886. html += "</table>";
  887. html +="</td>";
  888. num++;
  889. if(num>=10)
  890. {
  891. html +="</tr>";
  892. html +="<tr>";
  893. num=0;
  894. }
  895. });
  896. html+="</tr>";
  897. return html;
  898. }
  899. function windfarm()
  900. {
  901. $("#f1").attr("action","/windfarm/mhsindex.action?wfName=MHS_FDC").submit();
  902. }
  903. function tower()
  904. {
  905. $("#f1").attr("action","/windfarm/mhswindtower.action?windfarm=MHS_FDC").submit();
  906. }
  907. function powerfirst()
  908. {
  909. $("#f1").attr("action","/windfarm/mhspowerfirst.action?wfName=MHS_FDC").submit();
  910. }
  911. function wtinfo()
  912. {
  913. $("#f1").attr("action","/windfarm/mhswtindex.action?wfName=MHS_FDC").submit();
  914. }
  915. function power()
  916. {
  917. $("#f1").attr("action","/windfarm/mhspowerindex.action?wfName=MHS_FDC").submit();
  918. }
  919. function fjpb()
  920. {
  921. $("#f1").attr("action","/windfarm/mhsstation1.action?wfName=MHS01_GC").submit();
  922. }
  923. function project1()
  924. {
  925. $("#f1").attr("action","/windfarm/mhsproject1.action?wfName=MHS01_GC").submit();
  926. }
  927. function project2()
  928. {
  929. $("#f1").attr("action","/windfarm/mhsproject1.action?wfName=MHS02_GC").submit();
  930. }
  931. function gowt(wtName)
  932. {
  933. $("#f1").attr("action","/windfarm/mhswtindex.action?wfName=MHS_FDC&wtName="+wtName).submit();
  934. }
  935. </script>
  936. </head>
  937. <body>
  938. <form action="" id="f1" method="post" style="width: 1883px">
  939. <s:hidden id="pagenums" value="1"></s:hidden>
  940. <s:hidden id="lineid" value="MHS04_XL"></s:hidden>
  941. <div id="apDiv60"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  942. <div id="apDiv61"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  943. <div id="apDiv62"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  944. <div id="apDiv63"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  945. <div id="apDiv64"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  946. <div id="apDiv65"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  947. <div id="apDiv66"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  948. <div id="apDiv67"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  949. <div id="apDiv68"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  950. <div id="apDiv69"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/standBy_Icon.fw.png" width="33" height="45" /></div>
  951. <div id="apDiv70" onclick=lineaction('MHS04_XL') style='cursor: pointer;'><img src="<%=request.getContextPath()%>/resource/images/system/pictures/nsh_4line_Button.fw.png" width="94" height="27" /></div>
  952. <table width="1880" border="0" align="center" cellpadding="0" cellspacing="0">
  953. <tr>
  954. <td height="58" colspan="5" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_Top_mhs.jpg"><table width="1880" border="0" cellspacing="0" cellpadding="0" height="58">
  955. <tr>
  956. <td width="36" height="25">&nbsp;</td>
  957. <td width="64" rowspan="2" align="center">&nbsp;</td>
  958. <td width="125" align="center" valign="bottom" class="station_Name">装机容量</td>
  959. <td width="123"align="center" valign="bottom" class="station_Name">总功率</td>
  960. <td width="125"align="center" valign="bottom" class="station_Name">日发电量</td>
  961. <td width="124"align="center" valign="bottom" class="station_Name">月发电量</td>
  962. <td width="124"align="center" valign="bottom" class="station_Name">年发电量</td>
  963. <td width="123"align="center" valign="bottom" class="station_Name">温度</td>
  964. <td width="123"align="center" valign="bottom" class="station_Name">平均风速</td>
  965. <td width="127"align="center" valign="bottom" class="station_Name">接入台数</td>
  966. <td width="121"align="center" valign="bottom" class="station_Name">运行台数</td>
  967. <td width="125"align="center" valign="bottom" class="station_Name">待机台数</td>
  968. <td width="123"align="center" valign="bottom" class="station_Name">故障台数</td>
  969. <td width="126"align="center" valign="bottom" class="station_Name">维护台数</td>
  970. <td width="124"align="center" valign="bottom" class="station_Name">离线台数</td>
  971. <td width="124"align="center" valign="bottom" class="station_Name">限电台数</td>
  972. <td width="43"align="center" valign="bottom" class="station_Name" style='cursor: pointer;' onclick="goback()"></td>
  973. </tr>
  974. <tr>
  975. <td height="28">&nbsp;</td>
  976. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="zjrl"></span></td>
  977. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="zgl" ></span></td>
  978. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="rfdl" ></span></td>
  979. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="yfdl" ></span></td>
  980. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="nfdl" ></span></td>
  981. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="wd" ></span></td>
  982. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="pjfs" ></span></td>
  983. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="jrts" ></span></td>
  984. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="yxts" ></span></td>
  985. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="djts" ></span></td>
  986. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="gzts" ></span></td>
  987. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="whts" ></span></td>
  988. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="lxts" ></span></td>
  989. <td align="center"><span style="font-family: fontNameRegular;font-size: 20px;font-weight: bolder; color: #666;" id="xdts" ></span></td>
  990. <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>
  991. </tr>
  992. </table></td>
  993. </tr>
  994. <tr>
  995. <td width="37" rowspan="3" valign="top"><table width="35" border="0" cellspacing="0" cellpadding="0">
  996. </table>
  997. <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">
  998. <tr></tr>
  999. <tr>
  1000. <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>
  1001. </tr>
  1002. <tr>
  1003. <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>
  1004. </tr>
  1005. <tr>
  1006. <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>
  1007. </tr>
  1008. <tr>
  1009. <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>
  1010. </tr>
  1011. <tr>
  1012. <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>
  1013. </tr>
  1014. </table></td>
  1015. <td width="540" rowspan="3" valign="top"><table width="559" border="0" cellspacing="0" cellpadding="0">
  1016. <tr>
  1017. <td height="33"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  1018. <tr>
  1019. <td width="16%" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_Button_noselected.jpg" width="90" height="33" onclick="windfarm()" style="cursor: pointer;"/></td>
  1020. <td width="16%" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/first_Station_button.jpg" width="90" height="33" onclick="project1()" /></td>
  1021. <td width="16%" valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/second_station_Button_selected.fw.png" width="90" height="33" onclick="project2()" style="cursor: pointer;"/></td>
  1022. <td width="52%" height="33" valign="bottom">&nbsp;</td>
  1023. </tr>
  1024. </table></td>
  1025. </tr>
  1026. <tr>
  1027. <td width="540" height="735" align="center" valign="top" background="<%=request.getContextPath()%>/resource/images/system/pictures/mhs_second_map.jpg">&nbsp;</td>
  1028. </tr>
  1029. </table></td>
  1030. </tr>
  1031. <tr>
  1032. <td width="640" valign="top"><table width="640" border="0" cellspacing="0" cellpadding="0">
  1033. <tr>
  1034. <td width="30" rowspan="3"><table width="30" border="0" cellspacing="0" cellpadding="0">
  1035. <tr>
  1036. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_top.jpg" width="30" height="3" /></td>
  1037. </tr>
  1038. <tr>
  1039. <td width="30" height="200" align="center" valign="middle" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_middle.jpg" class="station_Name">运<br />
  1040. 行<br />
  1041. 参<br />
  1042. 数</td>
  1043. </tr>
  1044. <tr>
  1045. <td valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_bottom.jpg" width="30" height="3" /></td>
  1046. </tr>
  1047. </table></td>
  1048. <td width="620" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_top.jpg" width="609" height="3" /></td>
  1049. </tr>
  1050. <tr>
  1051. <td width="609" height="200" align="center" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1052. <tr>
  1053. <td width="120" height="48" align="center" bgcolor="#FFFFFF"><span class="value_Name">限电时间(小时)</span></td>
  1054. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">故障停机时间(小时)</span></td>
  1055. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">维护停机时间(小时)</span></td>
  1056. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">风机报警次数(次数)</span></td>
  1057. <td width="120" align="center" bgcolor="#FFFFFF"><span class="value_Name">风机故障次数(次数)</span></td>
  1058. </tr>
  1059. <tr>
  1060. <td height="49" align="center" bgcolor="#FFFFFF"><span class="value_Name" id="xdxs" ></span></td>
  1061. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="gzxs" ></td>
  1062. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="whxs" ></span></td>
  1063. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="bjcs" ></span></td>
  1064. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="gzcs" ></span></td>
  1065. </tr>
  1066. <tr>
  1067. <td height="48" align="center" bgcolor="#FFFFFF"><span class="value_Name">限电损失(kw/h)</span></td>
  1068. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">故障停机损失(kw/h)</span></td>
  1069. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">维护停机损失(kw/h)</span></td>
  1070. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">性能损失电量(kw/h)</span></td>
  1071. <td align="center" bgcolor="#FFFFFF"><span class="value_Name">受累损失电量(kw/h)</span></td>
  1072. </tr>
  1073. <tr>
  1074. <td height="49" align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rxdss" ></span></td>
  1075. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rgzss" ></span></td>
  1076. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rwhss" ></span></td>
  1077. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rqfss" ></span></td>
  1078. <td align="center" bgcolor="#FFFFFF"><span class="value_Name" id="rslss" ></span></td>
  1079. </tr>
  1080. </table></td>
  1081. </tr>
  1082. <tr>
  1083. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_bottom.jpg" width="609" height="3" /></td>
  1084. </tr>
  1085. </table></td>
  1086. <td width="642" valign="top"><table width="640" border="0" cellspacing="0" cellpadding="0">
  1087. <tr>
  1088. <td width="30" rowspan="3"><table width="30" border="0" cellspacing="0" cellpadding="0">
  1089. <tr>
  1090. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_top.jpg" width="30" height="3" /></td>
  1091. </tr>
  1092. <tr>
  1093. <td width="30" height="200" align="center" valign="middle" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_middle.jpg" class="station_Name">功<br />
  1094. 率<br />
  1095. 曲<br />
  1096. 线</td>
  1097. </tr>
  1098. <tr>
  1099. <td valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_bottom.jpg" width="30" height="3" /></td>
  1100. </tr>
  1101. </table></td>
  1102. <td width="620" valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_top.jpg" width="609" height="3" /></td>
  1103. </tr>
  1104. <tr>
  1105. <td width="609" height="200" align="center" valign="top">
  1106. <div id="container1" style="width: 600px; height: 200px; float: left; border: 0px;"></div>
  1107. </td>
  1108. </tr>
  1109. <tr>
  1110. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_content_bottom.jpg" width="609" height="3" /></td>
  1111. </tr>
  1112. </table></td>
  1113. </tr>
  1114. <tr>
  1115. <td colspan="2" valign="top"><table width="1282" border="0" cellspacing="0" cellpadding="0">
  1116. <tr>
  1117. <td width="30" rowspan="3" valign="top" bgcolor="#FFFFFF"><table width="30" border="0" cellspacing="0" cellpadding="0">
  1118. <tr>
  1119. <td valign="top"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_top.jpg" width="30" height="3" /></td>
  1120. </tr>
  1121. <tr>
  1122. <td width="30" height="540" align="center" valign="middle" background="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_middle.jpg" class="station_Name">场<br />
  1123. 站<br />
  1124. 总<br />
  1125. 貌</td>
  1126. </tr>
  1127. <tr>
  1128. <td valign="bottom"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/station_item_bottom.jpg" width="30" height="3" /></td>
  1129. </tr>
  1130. </table></td>
  1131. <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>
  1132. </tr>
  1133. <tr>
  1134. <td width="1252" height="536" align="center" valign="top">
  1135. <div id="container3" style="width: 1257; height: 536; float: left; border: 0;"></div>
  1136. </td>
  1137. </tr>
  1138. </table>
  1139. </form>
  1140. </body>
  1141. </html>