wtinfo.jsp 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160
  1. <%@ page language="java" contentType="text/html;charset=utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
  4. <head>
  5. <script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js"></script>
  6. <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js"></script>
  7. <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js"></script>
  8. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
  9. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
  10. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js" type="text/javascript"> </script>
  11. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js"></script>
  12. <script type="text/javascript" src="<%=request.getContextPath() %>/pages/monitor/wtinfo.js"></script>
  13. <script src="<%=request.getContextPath()%>/resource/js/highcharts/modules/solid-gauge.src.js"></script>
  14. <script type="text/ecmascript" src="<%=request.getContextPath()%>/resource/js/system/jqdatagrid.js"></script>
  15. <link rel="stylesheet" type="text/css" media="screen" href="<%=request.getContextPath() %>/resource/plugin/jqgrid/css/ui.jqgrid.css" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  16. <style type="text/css">
  17. body {
  18. margin-left: 0px;
  19. margin-top: 0px;
  20. margin-right: 0px;
  21. margin-bottom: 0px;
  22. }
  23. .value_Name {
  24. font-family: "Times New Roman", Times, serif;
  25. font-size: 14px;
  26. font-weight: bolder;
  27. color: #666;
  28. }
  29. a:link,a:visited{ /* 超链接正常状态、被访问过的样式 */
  30. color:#000000;
  31. padding:4px 10px 4px 10px;
  32. background-color:#f1f1f1;
  33. text-decoration:none;
  34. border-top:1px solid #EEEEEE; /* 边框实现阴影效果 */
  35. border-left:1px solid #EEEEEE;
  36. border-bottom:1px solid #717171;
  37. border-right:1px solid #717171;
  38. }
  39. a:hover{ /* 鼠标指针经过时的超链接 */
  40. color:#821818; /* 改变文字颜色 */
  41. padding:5px 8px 3px 12px; /* 改变文字位置 */
  42. background-color:#e2c4c9; /* 改变背景色 */
  43. border-top:1px solid #717171; /* 边框变换,实现“按下去”的效果 */
  44. border-left:1px solid #717171;
  45. border-bottom:1px solid #EEEEEE;
  46. border-right:1px solid #EEEEEE;
  47. }
  48. .station_Name {
  49. font-family: "Times New Roman", Times, serif;
  50. font-size: 14px;
  51. font-weight: bolder;
  52. color: #666;
  53. }
  54. @font-face {
  55. font-family: 'fontNameRegular';
  56. src:
  57. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.eot')
  58. ;
  59. src: local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont Regular'
  60. ),
  61. local('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont'),
  62. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.woff')
  63. format('woff'),
  64. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.ttf')
  65. format('truetype'),
  66. url('<%=request.getContextPath()%>/resource/fonts/DS-DIGIT-webfont.svg#fontName')
  67. format('svg');
  68. font-size: 36px;
  69. font-weight: bolder;
  70. }
  71. .item_Name { font-family: Arial, Helvetica, sans-serif;
  72. font-size: 12px;
  73. font-weight: bolder;
  74. color: #333;
  75. }
  76. .unit_Name { font-family: Arial, Helvetica, sans-serif;
  77. font-size: 12px;
  78. color: #333;
  79. }
  80. valueinfo_Name {
  81. font-family: "Times New Roman", Times, serif;
  82. font-size: 14px;
  83. font-weight: bolder;
  84. color: #183852;
  85. text-align: center;
  86. }
  87. .valueinfo2_Name {
  88. font-family: "Times New Roman", Times, serif;
  89. font-size: 12px;
  90. font-weight: bolder;
  91. color: #336891;
  92. text-align: center;
  93. }
  94. #apDiv1 {
  95. position: absolute;
  96. width: 22px;
  97. height: 12px;
  98. z-index: 1;
  99. left: 741px;
  100. top: 467px;
  101. }
  102. #apDiv2 {
  103. position: absolute;
  104. width: 22px;
  105. height: 12px;
  106. z-index: 2;
  107. left: 744px;
  108. top: 633px;
  109. }
  110. #apDiv3 {
  111. position: absolute;
  112. left: 817px;
  113. top: 467px;
  114. width: 22px;
  115. height: 12px;
  116. z-index: 3;
  117. }
  118. #apDiv4 {
  119. position: absolute;
  120. left: 817px;
  121. top: 576px;
  122. width: 22px;
  123. height: 12px;
  124. z-index: 4;
  125. }
  126. #apDiv5 {
  127. position: absolute;
  128. left: 816px;
  129. top: 687px;
  130. width: 22px;
  131. height: 12px;
  132. z-index: 5;
  133. }
  134. #apDiv6 {
  135. position: absolute;
  136. left: 879px;
  137. top: 576px;
  138. width: 22px;
  139. height: 12px;
  140. z-index: 6;
  141. }
  142. #apDiv7 {
  143. position: absolute;
  144. left: 879px;
  145. top: 468px;
  146. width: 22px;
  147. height: 12px;
  148. z-index: 7;
  149. }
  150. #apDiv8 {
  151. position: absolute;
  152. left: 879px;
  153. top: 687px;
  154. width: 22px;
  155. height: 12px;
  156. z-index: 8;
  157. }
  158. #apDiv9 {
  159. position: absolute;
  160. left: 912px;
  161. top: 424px;
  162. width: 22px;
  163. height: 12px;
  164. z-index: 9;
  165. }
  166. #apDiv21 {
  167. position: absolute;
  168. left: 1812px;
  169. top: 405px;
  170. width: 56px;
  171. height: 106px;
  172. z-index: 21;
  173. }
  174. #apDiv22 {
  175. position: absolute;
  176. left: 1812px;
  177. top: 405px;
  178. width: 55px;
  179. height: 102px;
  180. z-index: 22;
  181. }
  182. #apDiv23 {
  183. position: absolute;
  184. left: 140px;
  185. top: 405px;
  186. width: 53px;
  187. height: 88px;
  188. z-index: 21;
  189. }
  190. #apDiv24 {
  191. position: absolute;
  192. left: 140px;
  193. top: 405px;
  194. width: 52px;
  195. height: 92px;
  196. z-index: 22;
  197. }
  198. #bjjd {
  199. position: absolute;
  200. left: 162px;
  201. top: 604px;
  202. width: 75px;
  203. height: 25px;
  204. z-index: 1;
  205. }
  206. #phjd {
  207. position: absolute;
  208. left: 138px;
  209. top: 692px;
  210. width: 65px;
  211. height: 25px;
  212. z-index: 2;
  213. }
  214. #dl1 {
  215. position: absolute;
  216. left: 159px;
  217. top: 127px;
  218. width: 83px;
  219. height: 16px;
  220. z-index: 3;
  221. }
  222. #dl2 {
  223. position: absolute;
  224. left: 159px;
  225. top: 148px;
  226. width: 83px;
  227. height: 16px;
  228. z-index: 4;
  229. }
  230. #apDiv414 {
  231. position: absolute;
  232. left: 1683px;
  233. top: 235px;
  234. width: 80px;
  235. height: 18px;
  236. z-index: 5;
  237. }
  238. #dl3 {
  239. position: absolute;
  240. left: 159px;
  241. top: 169px;
  242. width: 85px;
  243. height: 16px;
  244. z-index: 5;
  245. }
  246. #dy1 {
  247. position: absolute;
  248. left: 159px;
  249. top: 189px;
  250. width: 84px;
  251. height: 18px;
  252. z-index: 6;
  253. }
  254. #dy2 {
  255. position: absolute;
  256. left: 159px;
  257. top: 211px;
  258. width: 86px;
  259. height: 16px;
  260. z-index: 7;
  261. }
  262. #dy3 {
  263. position: absolute;
  264. left: 159px;
  265. top: 232px;
  266. width: 84px;
  267. height: 15px;
  268. z-index: 8;
  269. }
  270. #fdjzs {
  271. position: absolute;
  272. left: 145px;
  273. top: 305px;
  274. width: 40px;
  275. height: 18px;
  276. z-index: 9;
  277. }
  278. #wd1 {
  279. position: absolute;
  280. left: 145px;
  281. top: 323px;
  282. width: 51px;
  283. height: 17px;
  284. z-index: 10;
  285. }
  286. #wd2 {
  287. position: absolute;
  288. left: 145px;
  289. top: 344px;
  290. width: 51px;
  291. height: 17px;
  292. z-index: 11;
  293. }
  294. #wd3 {
  295. position: absolute;
  296. left: 145px;
  297. top: 363px;
  298. width: 52px;
  299. height: 16px;
  300. z-index: 12;
  301. }
  302. #zcwda {
  303. position: absolute;
  304. left: 145px;
  305. top: 380px;
  306. width: 49px;
  307. height: 20px;
  308. z-index: 48;
  309. }
  310. #zcwdb {
  311. position: absolute;
  312. left: 145px;
  313. top: 398px;
  314. width: 47px;
  315. height: 21px;
  316. z-index: 49;
  317. }
  318. #ylzs {
  319. position: absolute;
  320. left: 145px;
  321. top: 416px;
  322. width: 37px;
  323. height: 18px;
  324. z-index: 13;
  325. }
  326. #apDiv424 {
  327. position: absolute;
  328. left: -2947px;
  329. top: 1330px;
  330. width: 57px;
  331. height: 20px;
  332. z-index: 14;
  333. }
  334. #apDiv425 {
  335. position: absolute;
  336. left: -2947px;
  337. top: 1362px;
  338. width: 58px;
  339. height: 19px;
  340. z-index: 15;
  341. }
  342. #apDiv426 {
  343. position: absolute;
  344. left: -2947px;
  345. top: 1391px;
  346. width: 58px;
  347. height: 21px;
  348. z-index: 16;
  349. }
  350. #apDiv427 {
  351. position: absolute;
  352. left: 313px;
  353. top: 678px;
  354. width: 102px;
  355. height: 32px;
  356. z-index: 17;
  357. }
  358. #apDiv428 {
  359. position: absolute;
  360. left: 593px;
  361. top: 659px;
  362. width: 80px;
  363. height: 19px;
  364. z-index: 18;
  365. }
  366. #apDiv429 {
  367. position: absolute;
  368. left: 886px;
  369. top: 558px;
  370. width: 90px;
  371. height: 20px;
  372. z-index: 19;
  373. }
  374. #apDiv436 {
  375. position: absolute;
  376. left: 82px;
  377. top: 68px;
  378. width: 90px;
  379. height: 19px;
  380. z-index: 26;
  381. }
  382. #fjbh {
  383. position: absolute;
  384. left: 112px;
  385. top: 041px;
  386. width: 443px;
  387. height: 26px;
  388. z-index: 27;
  389. }
  390. #zsxzzdz {
  391. position: absolute;
  392. left: 1727px;
  393. top: 100px;
  394. width: 101px;
  395. height: 21px;
  396. z-index: 31;
  397. }
  398. #zsxz {
  399. position: absolute;
  400. left: 1727px;
  401. top: 130px;
  402. width: 106px;
  403. height: 25px;
  404. z-index: 32;
  405. }
  406. #container2 {
  407. position: absolute;
  408. left: 281px;
  409. top: 115px;
  410. width: 142px;
  411. height: 142px;
  412. z-index: 33;
  413. }
  414. #container3 {
  415. position: absolute;
  416. left: 432px;
  417. top: 116px;
  418. width: 142px;
  419. height: 142px;
  420. z-index: 34;
  421. }
  422. #fs {
  423. position: absolute;
  424. left: 1727px;
  425. top: 164px;
  426. width: 95px;
  427. height: 25px;
  428. z-index: 35;
  429. }
  430. #gl {
  431. position: absolute;
  432. left: 1727px;
  433. top: 196px;
  434. width: 96px;
  435. height: 24px;
  436. z-index: 36;
  437. }
  438. #llgl {
  439. position: absolute;
  440. left: 1727px;
  441. top: 228px;
  442. width: 95px;
  443. height: 24px;
  444. z-index: 37;
  445. }
  446. #yfgl {
  447. position: absolute;
  448. left: 1727px;
  449. top: 262px;
  450. width: 92px;
  451. height: 23px;
  452. z-index: 38;
  453. }
  454. #wggl {
  455. position: absolute;
  456. left: 1727px;
  457. top: 294px;
  458. width: 92px;
  459. height: 23px;
  460. z-index: 39;
  461. }
  462. #glys {
  463. position: absolute;
  464. left: 1727px;
  465. top: 326px;
  466. width: 85px;
  467. height: 25px;
  468. z-index: 40;
  469. }
  470. #klyl {
  471. position: absolute;
  472. left: 1727px;
  473. top: 358px;
  474. width: 90px;
  475. height: 24px;
  476. z-index: 41;
  477. }
  478. #fx {
  479. position: absolute;
  480. left: 1727px;
  481. top: 394px;
  482. width: 87px;
  483. height: 23px;
  484. z-index: 42;
  485. }
  486. #fjpl {
  487. position: absolute;
  488. left: 1727px;
  489. top: 426px;
  490. width: 91px;
  491. height: 22px;
  492. z-index: 43;
  493. }
  494. #hjwd {
  495. position: absolute;
  496. left: 1727px;
  497. top: 454px;
  498. width: 91px;
  499. height: 23px;
  500. z-index: 44;
  501. }
  502. #jcwd {
  503. position: absolute;
  504. left: 1727px;
  505. top: 487px;
  506. width: 92px;
  507. height: 22px;
  508. z-index: 45;
  509. }
  510. #tdwd {
  511. position: absolute;
  512. left: 1734px;
  513. top: 518px;
  514. width: 88px;
  515. height: 23px;
  516. z-index: 46;
  517. }
  518. #jcgwd {
  519. position: absolute;
  520. left: 1739px;
  521. top: 550px;
  522. width: 86px;
  523. height: 22px;
  524. z-index: 47;
  525. }
  526. #zw1 {
  527. position: absolute;
  528. left: 168px;
  529. top: 475px;
  530. width: 49px;
  531. height: 20px;
  532. z-index: 48;
  533. }
  534. #zw2 {
  535. position: absolute;
  536. left: 168px;
  537. top: 506px;
  538. width: 47px;
  539. height: 21px;
  540. z-index: 49;
  541. }
  542. #clxwd {
  543. position: absolute;
  544. left: 168px;
  545. top: 533px;
  546. width: 49px;
  547. height: 20px;
  548. z-index: 50;
  549. }
  550. #tb {
  551. position: absolute;
  552. left: 58px;
  553. top: 031px;
  554. width: 38px;
  555. height: 38px;
  556. z-index: 51;
  557. }
  558. #apDiv10 {
  559. position: absolute;
  560. left: 51px;
  561. top: 228px;
  562. width: 93px;
  563. height: 23px;
  564. z-index: 52;
  565. }
  566. #zsxzbt {
  567. position: absolute;
  568. left: 1628px;
  569. top: 106px;
  570. width: 91px;
  571. height: 21px;
  572. z-index: 52;
  573. color: #6f93b0;
  574. font-family: "Times New Roman", Times, serif;
  575. }
  576. #fxbt {
  577. position: absolute;
  578. left: 281px;
  579. top: 93px;
  580. width: 141px;
  581. height: 22px;
  582. z-index: 53;
  583. }
  584. #dfjdbt {
  585. position: absolute;
  586. left: 432px;
  587. top: 92px;
  588. width: 141px;
  589. height: 22px;
  590. z-index: 54;
  591. }
  592. /********************************************************************************************/
  593. #rssdl {
  594. position: absolute;
  595. left:315px;
  596. top: 655px;
  597. width: 200px;
  598. height: 30px;
  599. z-index: 28;
  600. }
  601. #rxdss {
  602. position: absolute;
  603. left: 615px;
  604. top: 655px;
  605. width: 200px;
  606. height: 30px;
  607. z-index: 29;
  608. }
  609. #rgzss {
  610. position: absolute;
  611. left: 915px;
  612. top: 655px;
  613. width: 200px;
  614. height: 30px;
  615. z-index: 30;
  616. }
  617. #djrfdl {
  618. position: absolute;
  619. left: 1215px;
  620. top: 655px;
  621. width: 200px;
  622. height: 30px;
  623. z-index: 23;
  624. }
  625. #rlldl {
  626. position: absolute;
  627. left: 1515px;
  628. top: 655px;
  629. width: 200px;
  630. height: 30px;
  631. z-index: 20;
  632. }
  633. /********************************************************************************************/
  634. #rjxss {
  635. position: absolute;
  636. left: 315px;
  637. top: 700px;
  638. width: 200px;
  639. height: 30px;
  640. z-index: 24;
  641. }
  642. #rqfss {
  643. position: absolute;
  644. left: 615px;
  645. top: 700px;
  646. width: 200px;
  647. height: 30px;
  648. z-index: 25;
  649. }
  650. #rslss {
  651. position: absolute;
  652. left: 915px;
  653. top: 700px;
  654. width: 200px;
  655. height: 30px;
  656. z-index: 25;
  657. }
  658. #pjfs {
  659. position: absolute;
  660. left: 1215px;
  661. top: 700px;
  662. width: 200px;
  663. height: 30px;
  664. z-index: 21;
  665. }
  666. #rpjgl {
  667. position: absolute;
  668. left: 1515px;
  669. top: 700px;
  670. width: 200px;
  671. height: 30px;
  672. z-index: 23;
  673. }
  674. /********************************************************************************************/
  675. </style>
  676. <script type="text/javascript">
  677. var pagenum;
  678. $(document).ready(function() {
  679. wtvalueinfo('<s:property value="wtName"/>');
  680. chart1 = new Highcharts.Chart(options1);
  681. chart2 = new Highcharts.Chart(options2);
  682. });
  683. function wtloop()
  684. {
  685. var wtName=$("#wtName").val();
  686. wtvalueinfo(wtName);
  687. }
  688. function goback()
  689. {
  690. $("#f1").attr("action","/matrix/monitormainIndex.action").submit();
  691. }
  692. function queryData(){
  693. $("#gridTable").jqGrid('GridUnload');
  694. showJqGrid();
  695. }
  696. function wtvalueinfo(wtName) {
  697. /*var wt=$("#wtName").val();
  698. $("#"+wt).attr("disabled",false);
  699. $("#wtName").val(wtName);
  700. $("#"+wtName).attr("disabled",true);*/
  701. if(wtName=='')
  702. {
  703. wtName='MG01_01'
  704. }
  705. var temp=wtName.substring(wtName.length-3,wtName.length);
  706. if(!isNaN(temp))
  707. {
  708. temp=temp+"号风机";
  709. }else
  710. {
  711. temp=wtName.substring(wtName.length-2,wtName.length)+"号风机";
  712. }
  713. $.ajax({
  714. url : "/windfarm/wtrealtimeinfo.action?wtName="+wtName,
  715. type : "post",
  716. cache : false,
  717. dataType : "json",
  718. data : {},
  719. ifModified : false,
  720. success : function(res) {
  721. /******************赋值**********************/
  722. $("#bjjd").html(res["bjjd"] + "");
  723. $("#phjd").html(res["phjd"] + "");
  724. $("#dl1").html(res["dl1"] + "");
  725. $("#dl2").html(res["dl2"] + "");
  726. $("#dl3").html(res["dl3"] + "");
  727. $("#dy1").html(res["dy1"] + "");
  728. $("#dy2").html(res["dy2"] + "");
  729. $("#dy3").html(res["dy3"] + "");
  730. $("#fdjzs").html(res["fdjzs"] + "");
  731. $("#wd1").html(res["wd1"] + "");
  732. $("#wd2").html(res["wd2"] + "");
  733. $("#wd3").html(res["wd3"] + "");
  734. $("#ylzs").html(res["ylzs"] + "");
  735. $("#zcwda").html(res["zcwda"] + "");
  736. $("#zcwdb").html(res["zcwdb"] + "");
  737. $("#zw1").html(res["zw1"] + "");
  738. $("#zw2").html(res["zw2"] + "");
  739. $("#clxwd").html(res["clxwd"] + "");
  740. $("#gl").html(res["gl"] + "");
  741. $("#fs").html(res["fs"] + "");
  742. $("#glys").html(res["glys"] + "");
  743. $("#hjwd").html(res["hjwd"] + "");
  744. $("#fx").html(res["fx"] + "");
  745. $("#fjpl").html(res["fjpl"] + "");
  746. $("#wggl").html(res["wggl"] + "");
  747. $("#klyl").html(res["klyl"] + "");
  748. $("#djrfdl").html("日发电量:"+res["rfdl"] + "");
  749. $("#rgzss").html("日故障损失:"+res["rgzss"] + "");
  750. $("#rjxss").html("日检修损失:"+res["rjxss"] + "");
  751. $("#rqfss").html("日性能损失:"+res["rqfss"] + "");
  752. $("#rxdss").html("日限电损失:"+res["rxdss"] + "");
  753. $("#rssdl").html("日损失电量:"+res["rssdl"] + "");
  754. $("#rlldl").html("日理论电量:"+res["rlldl"] + "");
  755. $("#pjfs").html("日平均风速:"+res["pjfs"] + "");
  756. $("#rslss").html("日受累损失:"+res["rslss"] + "");
  757. $("#rpjgl").html("日平均功率:"+res["rpjgl"] + "");
  758. $("#llgl").html(res["llgl"] + "");
  759. $("#yfgl").html(res["yfgl"] + "");
  760. $("#jcwwd").html(res["jcwwd"] + "");
  761. $("#jcwd").html(res["jcwd"] + "");
  762. $("#tdwd").html(res["tdwd"] + "");
  763. $("#jcgwd").html(res["jcgwd"] + "");
  764. $("#dfjd").html(res["dfjd"] + "");
  765. $("#zsxzzdz").html(res["zsxzzdz"] + "");
  766. $("#zsxz").html(res["zsxz"] + "");
  767. var point1 = chart1.series[0].points[0]
  768. point1.update(res["fx"]);
  769. var point2 = chart2.series[0].points[0]
  770. point2.update(res["dfjd"]);
  771. if(res["dfjd"]==2)
  772. {
  773. $("#zsxzbt").html("功率控制限值");
  774. }else
  775. {
  776. $("#zsxzbt").html("转速限值");
  777. }
  778. switch(res["fjzt"]){
  779. case 1:
  780. $("#fjbh").html(temp+"当前状态为:运行");
  781. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_run.fw.png' width='45' height='45' />");
  782. break;
  783. case 0:
  784. $("#fjbh").html(temp+"当前状态为:待机")
  785. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_standBy.fw.png' width='45' height='45' />");
  786. break;
  787. case 4:
  788. $("#fjbh").html(temp+"当前状态为:检修")
  789. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Repair.fw.png' width='45' height='45' />");
  790. break;
  791. case 2:
  792. $("#fjbh").html(temp+"当前状态为:停机")
  793. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Error.fw.png' width='45' height='45' />");
  794. break;
  795. case 3:
  796. $("#fjbh").html(temp+"当前状态为:中断")
  797. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_interrupt.fw.png' width='45' height='45' />");
  798. break;
  799. case 5:
  800. $("#fjbh").html(temp+"当前状态为:非停机限电")
  801. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Limit.fw.png' width='45' height='45' />");
  802. break;
  803. case 6:
  804. $("#fjbh").html(temp+"当前状态为:停机限电")
  805. $("#tb").html("<img src='<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_Limit.fw.png' width='45' height='45' />");
  806. break;
  807. }
  808. }
  809. });
  810. }
  811. function wpAllInfoAjax() {
  812. $.ajax( {
  813. url : "/windfarm/windfarmrealtimeinfo.action?wfName=MHS_FDC",
  814. type : "post",
  815. cache : false,
  816. dataType : "json",
  817. data : {},
  818. ifModified : false,
  819. success : function(res) {
  820. $("#zjrl").html(res["zjrl"] + "");
  821. $("#zgl").html(res["zgl"] + "");
  822. $("#pjfs").html(res["pjfs"] + "");
  823. $("#rfdl").html(res["rfdl"] + "");
  824. $("#yfdl").html(res["yfdl"] + "");
  825. $("#nfdl").html(res["nfdl"] + "");
  826. $("#yxts").html(res["yxts"] + "");
  827. $("#djts").html(res["djts"] + "");
  828. $("#whts").html(res["whts"] + "");
  829. $("#gzts").html(res["gzts"] + "");
  830. $("#lxts").html(res["lxts"] + "");
  831. $("#xdts").html(res["xdts"] + "");
  832. $("#jrts").html(res["jrts"] + "");
  833. $("#wd").html(res["wd"] + "");
  834. }
  835. });
  836. }
  837. function windfarm()
  838. {
  839. $("#f1").attr("action","/windfarm/mhsindex.action?wfName=MHS_FDC").submit();
  840. }
  841. function tower()
  842. {
  843. $("#f1").attr("action","/windfarm/mhswindtower.action?windfarm=MHS_FDC").submit();
  844. }
  845. function powerfirst()
  846. {
  847. $("#f1").attr("action","/windfarm/mhspowerfirst.action?wfName=MHS_FDC").submit();
  848. }
  849. function wtinfo()
  850. {
  851. $("#f1").attr("action","/windfarm/mhswtindex.action?wfName=MHS_FDC").submit();
  852. }
  853. function power()
  854. {
  855. $("#f1").attr("action","/windfarm/mhspowerindex.action?wfName=MHS_FDC").submit();
  856. }
  857. function fjpb()
  858. {
  859. $("#f1").attr("action","/windfarm/mhsstation1.action?wfName=MHS01_GC").submit();
  860. }
  861. var state='zm';
  862. function leftover()
  863. {
  864. $("#apDiv23").css("display", "none");
  865. $("#apDiv24").css("display", "");
  866. }
  867. function leftout()
  868. {
  869. if(state=='jz')
  870. {
  871. $("#apDiv23").css("display", "");
  872. $("#apDiv24").css("display", "none");
  873. }
  874. }
  875. function leftclick()
  876. {
  877. $("#apDiv21").css("display", "");
  878. $("#apDiv22").css("display", "none");
  879. $("#apDiv23").css("display", "none");
  880. $("#apDiv24").css("display", "none");
  881. $("#container4").css("display", "none");
  882. $("#container5").css("display", "");
  883. $("#bjjd").css("display", "");
  884. $("#phjd").css("display", "");
  885. $("#dl1").css("display", "");
  886. $("#dl2").css("display", "");
  887. $("#dl3").css("display", "");
  888. $("#dy1").css("display", "");
  889. $("#dy2").css("display", "");
  890. $("#dy3").css("display", "");
  891. $("#fdjzs").css("display", "");
  892. $("#wd1").css("display", "");
  893. $("#wd2").css("display", "");
  894. $("#wd3").css("display", "");
  895. $("#ylzs").css("display", "");
  896. $("#zcwda").css("display", "");
  897. $("#zcwdb").css("display", "");
  898. $("#zw1").css("display", "");
  899. $("#zw2").css("display", "");
  900. $("#clxwd").css("display", "");
  901. $("#gl").css("display", "");
  902. $("#fs").css("display", "");
  903. $("#glys").css("display", "");
  904. $("#hjwd").css("display", "");
  905. $("#fx").css("display", "");
  906. $("#fjpl").css("display", "");
  907. $("#wggl").css("display", "");
  908. $("#djrfdl").css("display", "");
  909. $("#klyl").css("display", "");
  910. $("#fjpl").css("display", "");
  911. $("#rgzss").css("display", "");
  912. $("#rjxss").css("display", "");
  913. $("#rqfss").css("display", "");
  914. $("#rxdss").css("display", "");
  915. $("#rssdl").css("display", "");
  916. $("#llgl").css("display", "");
  917. $("#yfgl").css("display", "");
  918. $("#rlldl").css("display", "");
  919. $("#rpjgl").css("display", "");
  920. $("#rslss").css("display", "");
  921. $("#pjfs").css("display", "");
  922. $("#jcwwd").css("display", "");
  923. $("#jcwd").css("display", "");
  924. $("#tdwd").css("display", "");
  925. $("#jcgwd").css("display", "");
  926. $("#dfjd").css("display", "");
  927. $("#zsxzzdz").css("display", "");
  928. $("#zsxz").css("display", "");
  929. $("#zsxzbt").css("display", "");
  930. $("#fxbt").css("display", "");
  931. $("#dfjdbt").css("display", "");
  932. $("#container2").css("display", "");
  933. $("#container3").css("display", "");
  934. state='zm';
  935. }
  936. function rightover()
  937. {
  938. $("#apDiv21").css("display", "none");
  939. $("#apDiv22").css("display", "");
  940. }
  941. function rightout()
  942. {
  943. if(state=='zm')
  944. {
  945. $("#apDiv21").css("display", "");
  946. $("#apDiv22").css("display", "none");
  947. }
  948. }
  949. function rightclick()
  950. {
  951. $("#apDiv21").css("display", "none");
  952. $("#apDiv22").css("display", "none");
  953. $("#apDiv23").css("display", "");
  954. $("#apDiv24").css("display", "none");
  955. $("#container4").css("display", "");
  956. $("#container5").css("display", "none");
  957. $("#bjjd").css("display", "none");
  958. $("#phjd").css("display", "none");
  959. $("#dl1").css("display", "none");
  960. $("#dl2").css("display", "none");
  961. $("#dl3").css("display", "none");
  962. $("#dy1").css("display", "none");
  963. $("#dy2").css("display", "none");
  964. $("#dy3").css("display", "none");
  965. $("#fdjzs").css("display", "none");
  966. $("#wd1").css("display", "none");
  967. $("#wd2").css("display", "none");
  968. $("#wd3").css("display", "none");
  969. $("#ylzs").css("display", "none");
  970. $("#zcwda").css("display", "none");
  971. $("#zcwdb").css("display", "none");
  972. $("#zw1").css("display", "none");
  973. $("#zw2").css("display", "none");
  974. $("#clxwd").css("display", "none");
  975. $("#gl").css("display", "none");
  976. $("#fs").css("display", "none");
  977. $("#glys").css("display", "none");
  978. $("#hjwd").css("display", "none");
  979. $("#fx").css("display", "none");
  980. $("#fjpl").css("display", "none");
  981. $("#rgzss").css("display", "none");
  982. $("#rjxss").css("display", "none");
  983. $("#rqfss").css("display", "none");
  984. $("#rxdss").css("display", "none");
  985. $("#rssdl").css("display", "none");
  986. $("#llgl").css("display", "none");
  987. $("#yfgl").css("display", "none");
  988. $("#rlldl").css("display", "none");
  989. $("#rpjgl").css("display", "none");
  990. $("#rslss").css("display", "none");
  991. $("#pjfs").css("display", "none");
  992. $("#jcwwd").css("display", "none");
  993. $("#jcwd").css("display", "none");
  994. $("#tdwd").css("display", "none");
  995. $("#jcgwd").css("display", "none");
  996. $("#dfjd").css("display", "none");
  997. $("#zsxzzdz").css("display", "none");
  998. $("#zsxz").css("display", "none");
  999. $("#zsxzbt").css("display", "none");
  1000. $("#fxbt").css("display", "none");
  1001. $("#dfjdbt").css("display", "none");
  1002. $("#container2").css("display", "none");
  1003. $("#container3").css("display", "none"); $("#wggl").css("display", "none");
  1004. $("#wggl").css("display", "none");
  1005. $("#djrfdl").css("display", "none");
  1006. $("#klyl").css("display", "none");
  1007. //queryData();
  1008. state='jz';
  1009. }
  1010. </script>
  1011. </head>
  1012. <body>
  1013. <form action="" id="f1" method="post" style="width: 1883px">
  1014. <div class="value_Name" id="fjbh">风机信息</div>
  1015. <s:hidden id="wtName" ></s:hidden>
  1016. <s:hidden id="pagenums" value="1"></s:hidden>
  1017. <div id="bjjd"></div>
  1018. <div id="phjd"></div>
  1019. <div id="dl1"></div>
  1020. <div id="dl2"></div>
  1021. <div id="dl3"></div>
  1022. <div id="dy1"></div>
  1023. <div id="dy2"></div>
  1024. <div id="dy3"></div>
  1025. <div id="fdjzs"></div>
  1026. <div id="wd1"></div>
  1027. <div id="wd2"></div>
  1028. <div id="wd3"></div>
  1029. <div id="ylzs"></div>
  1030. <div id="zcwda"></div>
  1031. <div id="zcwdb"></div>
  1032. <div class="value_Name" id="apDiv436">风机信息</div>
  1033. <div class="station_Name" id="fjbh"></div>
  1034. <div id="zsxzzdz"></div>
  1035. <div id="zsxz"></div>
  1036. <div id="container2"></div>
  1037. <div id="container3"></div>
  1038. <div id="fs"></div>
  1039. <div id="gl"></div>
  1040. <div id="llgl"></div>
  1041. <div id="yfgl"></div>
  1042. <div id="wggl"></div>
  1043. <div id="glys"></div>
  1044. <div id="klyl"></div>
  1045. <div id="fx"></div>
  1046. <div id="fjpl"></div>
  1047. <div id="hjwd"></div>
  1048. <div id="jcwd"></div>
  1049. <div id="tdwd"></div>
  1050. <div id="jcgwd"></div>
  1051. <div id="zw1"></div>
  1052. <div id="zw2"></div>
  1053. <div id="clxwd"></div>
  1054. <div id="rssdl" style="color: #274d6b;font-weight: bold;"></div>
  1055. <div id="rxdss" style="color: #274d6b;font-weight: bold;"></div>
  1056. <div id="rgzss" style="color: #274d6b;font-weight: bold;"></div>
  1057. <div id="djrfdl" style="color: #274d6b;font-weight: bold;"></div>
  1058. <div id="rlldl" style="color: #274d6b;font-weight: bold;"></div>
  1059. <div id="rjxss" style="color: #274d6b;font-weight: bold;"></div>
  1060. <div id="rqfss" style="color: #274d6b;font-weight: bold;"></div>
  1061. <div id="rslss" style="color: #274d6b;font-weight: bold;"></div>
  1062. <div id="pjfs" style="color: #274d6b;font-weight: bold;"></div>
  1063. <div id="rpjgl" style="color: #274d6b;font-weight: bold;"></div>
  1064. <div id="tb"><img src="<%=request.getContextPath()%>/resource/images/system/pictures/windtrueLight_run.fw.png" width="45" height="45" /></div>
  1065. <div class="valueinfo2_Name" id="zsxzbt">转速限值</div>
  1066. <div class="valueinfo2_Name" id="fxbt">风向</div>
  1067. <div class="valueinfo2_Name" id="dfjdbt">对风角度</div>
  1068. <table width="1880" border="0" align="center" cellpadding="0" cellspacing="0">
  1069. <tr>
  1070. <td height="58px"></td>
  1071. <td width="1863" height="766" align="center" valign="top"><table width="1840" height="766" border="0" cellspacing="0" cellpadding="0">
  1072. <tr>
  1073. <td height="30" align="left" class="station_Name"><div id="container1"></div>
  1074. </td>
  1075. </tr>
  1076. <tr>
  1077. <td id="container5" width="1840" height="706" align="center" background="<%=request.getContextPath()%>/resource/images/system/pictures/fj.fw.png"></td>
  1078. <td id="container4" height="706" align="center" style="display: none"><br/><br/><table id='gridTable' ></table></td>
  1079. </tr>
  1080. </table></td>
  1081. </tr>
  1082. </table>
  1083. </form>
  1084. </body>