motorlist.tpl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="zh">
  4. <meta charset="UTF-8">
  5. <link rel="stylesheet" href="../../lib/app/css/app.min.css">
  6. <link rel="stylesheet" href="../../lib/simple-line-icons/css/simple-line-icons.css">
  7. <link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../../lib/webo/css/ui.css">
  9. <style>
  10. .panel-heading{
  11. border: none;
  12. background-color: transparent !important;
  13. color: #FFFFFF !important;
  14. }
  15. .panel{
  16. background-color: transparent !important;
  17. border-color: #147890!important;
  18. }
  19. html{
  20. overflow-y:auto;
  21. overflow-x:hidden
  22. }
  23. .text-left{
  24. padding-left: 2px !important;
  25. }
  26. .motoritem{
  27. height:370px;
  28. width: 250px;
  29. border:1px solid #147890;
  30. margin-right: 20px;
  31. margin-bottom: 20px;
  32. top: 22px;
  33. left: 40px;
  34. padding: 0;
  35. float:left;
  36. display: block;
  37. position:relative;
  38. }
  39. .motoritem:hover{
  40. border:1px solid #19a6c8;
  41. }
  42. .motorimg{
  43. width: 250px;
  44. height: 210px;
  45. float:left;
  46. display: block;
  47. }
  48. .motorimg:hover{
  49. cursor:pointer;
  50. }
  51. .motormore{
  52. width: 250px;
  53. height: 121px;
  54. float:left;
  55. display: block;
  56. }
  57. .motorprice{
  58. width: 250px;
  59. height: 22px;
  60. float:left;
  61. margin: 11px 0;
  62. padding: 0 10px;
  63. display: block;
  64. line-height: 22px;
  65. }
  66. .motorname{
  67. float: left;
  68. font-size: 18px;
  69. zoom: 1;
  70. }
  71. .sspan{
  72. letter-spacing: 0.8px;
  73. color: #F40;
  74. font-weight: 700;
  75. }
  76. .table > tbody > tr > td, .table > tfoot > tr > td {
  77. padding: 0;
  78. font-size: 6px;
  79. height: 30px;
  80. color: #FFFFFF;
  81. border: 0;
  82. }
  83. .width100{
  84. width: 100px;
  85. }
  86. .width70{
  87. width: 70px;
  88. }
  89. .article{
  90. height: 555px;
  91. }
  92. .titleimg{
  93. background: url("../static/images/titlebg.png") no-repeat bottom center;
  94. color: #ffffff;
  95. }
  96. .table {
  97. width: 244px;
  98. }
  99. </style>
  100. </head>
  101. <body style="background-color: #2E3342">
  102. <div class="wrapper bg-white b-b wb-show-on-top" id="title">
  103. <a class="h3 v-bottom" href="/">华力智慧电源</a>
  104. </div>
  105. <div class="row wrapper">
  106. <div class="col-md-12 col-sm12">
  107. <a class="btn btn-default" href="/ui/list/wpvehicle"><i class="icon icon-arrow-left"></i>返回</a>
  108. <a class="btn btn-primary" href="/wpvehicle/wpldstatus?sn={{.DeviceId}}">实时</a>
  109. <a href="/wpvehicle/motorlist">
  110. <span class="glyphicon glyphicon-th-large" style="color: #FFFFFF;float: right;font-size: 20px;">&nbsp;&nbsp;&nbsp;</span>
  111. </a>
  112. <a href="/wpvehicle/motoralignlist">
  113. <span class="glyphicon glyphicon-align-justify" style="color: #CCCCCC;float: right;padding-right: 25px;font-size: 20px;"></span>
  114. </a>
  115. </div>
  116. </div>
  117. <div class="container-fluid" style="width: 100%;height: 100%;">
  118. <div class="row" id="mainRow" style="width: 100%;height: 100%;">
  119. <div class="motoritem col-md-2">
  120. <div class="motorimg">
  121. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  122. </div>
  123. <div class="motormore">
  124. <div class="motorprice">
  125. <div class="motorname"><span class="sspan">电机300A</span></div>
  126. </div>
  127. <div>
  128. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  129. <tr>
  130. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  131. </tr>
  132. <tr>
  133. <td class="width100">定子绕组温度值1:</td>
  134. <td>100℃</td>
  135. <td class="width70">轴承温度值1:</td>
  136. <td>100℃</td>
  137. </tr>
  138. <tr>
  139. <td>定子绕组温度值2:</td>
  140. <td>100℃</td>
  141. <td>轴承温度值2:</td>
  142. <td>100℃</td>
  143. </tr>
  144. <tr>
  145. <td>定子绕组温度值3:</td>
  146. <td>100℃</td>
  147. </tr>
  148. </table>
  149. </div>
  150. </div>
  151. </div>
  152. <div class="motoritem col-md-2">
  153. <div class="motorimg">
  154. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  155. </div>
  156. <div class="motormore">
  157. <div class="motorprice">
  158. <div class="motorname"><span class="sspan">电机300A</span></div>
  159. </div>
  160. <div>
  161. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  162. <tr>
  163. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  164. </tr>
  165. <tr>
  166. <td class="width100">定子绕组温度值1:</td>
  167. <td>100℃</td>
  168. <td class="width70">轴承温度值1:</td>
  169. <td>100℃</td>
  170. </tr>
  171. <tr>
  172. <td>定子绕组温度值2:</td>
  173. <td>100℃</td>
  174. <td>轴承温度值2:</td>
  175. <td>100℃</td>
  176. </tr>
  177. <tr>
  178. <td>定子绕组温度值3:</td>
  179. <td>100℃</td>
  180. </tr>
  181. </table>
  182. </div>
  183. </div>
  184. </div>
  185. <div class="motoritem col-md-2">
  186. <div class="motorimg">
  187. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  188. </div>
  189. <div class="motormore">
  190. <div class="motorprice">
  191. <div class="motorname"><span class="sspan">电机300A</span></div>
  192. </div>
  193. <div>
  194. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  195. <tr>
  196. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  197. </tr>
  198. <tr>
  199. <td class="width100">定子绕组温度值1:</td>
  200. <td>100℃</td>
  201. <td class="width70">轴承温度值1:</td>
  202. <td>100℃</td>
  203. </tr>
  204. <tr>
  205. <td>定子绕组温度值2:</td>
  206. <td>100℃</td>
  207. <td>轴承温度值2:</td>
  208. <td>100℃</td>
  209. </tr>
  210. <tr>
  211. <td>定子绕组温度值3:</td>
  212. <td>100℃</td>
  213. </tr>
  214. </table>
  215. </div>
  216. </div>
  217. </div>
  218. <div class="motoritem col-md-2">
  219. <div class="motorimg">
  220. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  221. </div>
  222. <div class="motormore">
  223. <div class="motorprice">
  224. <div class="motorname"><span class="sspan">电机300A</span></div>
  225. </div>
  226. <div>
  227. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  228. <tr>
  229. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  230. </tr>
  231. <tr>
  232. <td class="width100">定子绕组温度值1:</td>
  233. <td>100℃</td>
  234. <td class="width70">轴承温度值1:</td>
  235. <td>100℃</td>
  236. </tr>
  237. <tr>
  238. <td>定子绕组温度值2:</td>
  239. <td>100℃</td>
  240. <td>轴承温度值2:</td>
  241. <td>100℃</td>
  242. </tr>
  243. <tr>
  244. <td>定子绕组温度值3:</td>
  245. <td>100℃</td>
  246. </tr>
  247. </table>
  248. </div>
  249. </div>
  250. </div>
  251. <div class="motoritem col-md-2">
  252. <div class="motorimg">
  253. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  254. </div>
  255. <div class="motormore">
  256. <div class="motorprice">
  257. <div class="motorname"><span class="sspan">电机300A</span></div>
  258. </div>
  259. <div>
  260. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  261. <tr>
  262. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  263. </tr>
  264. <tr>
  265. <td class="width100">定子绕组温度值1:</td>
  266. <td>100℃</td>
  267. <td class="width70">轴承温度值1:</td>
  268. <td>100℃</td>
  269. </tr>
  270. <tr>
  271. <td>定子绕组温度值2:</td>
  272. <td>100℃</td>
  273. <td>轴承温度值2:</td>
  274. <td>100℃</td>
  275. </tr>
  276. <tr>
  277. <td>定子绕组温度值3:</td>
  278. <td>100℃</td>
  279. </tr>
  280. </table>
  281. </div>
  282. </div>
  283. </div>
  284. <div class="motoritem col-md-2">
  285. <div class="motorimg">
  286. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  287. </div>
  288. <div class="motormore">
  289. <div class="motorprice">
  290. <div class="motorname"><span class="sspan">电机300A</span></div>
  291. </div>
  292. <div>
  293. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  294. <tr>
  295. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  296. </tr>
  297. <tr>
  298. <td class="width100">定子绕组温度值1:</td>
  299. <td>100℃</td>
  300. <td class="width70">轴承温度值1:</td>
  301. <td>100℃</td>
  302. </tr>
  303. <tr>
  304. <td>定子绕组温度值2:</td>
  305. <td>100℃</td>
  306. <td>轴承温度值2:</td>
  307. <td>100℃</td>
  308. </tr>
  309. <tr>
  310. <td>定子绕组温度值3:</td>
  311. <td>100℃</td>
  312. </tr>
  313. </table>
  314. </div>
  315. </div>
  316. </div>
  317. <div class="motoritem col-md-2">
  318. <div class="motorimg">
  319. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  320. </div>
  321. <div class="motormore">
  322. <div class="motorprice">
  323. <div class="motorname"><span class="sspan">电机300A</span></div>
  324. </div>
  325. <div>
  326. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  327. <tr>
  328. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  329. </tr>
  330. <tr>
  331. <td class="width100">定子绕组温度值1:</td>
  332. <td>100℃</td>
  333. <td class="width70">轴承温度值1:</td>
  334. <td>100℃</td>
  335. </tr>
  336. <tr>
  337. <td>定子绕组温度值2:</td>
  338. <td>100℃</td>
  339. <td>轴承温度值2:</td>
  340. <td>100℃</td>
  341. </tr>
  342. <tr>
  343. <td>定子绕组温度值3:</td>
  344. <td>100℃</td>
  345. </tr>
  346. </table>
  347. </div>
  348. </div>
  349. </div>
  350. <div class="motoritem col-md-2" style="border: 1px solid red">
  351. <div class="motorimg">
  352. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  353. </div>
  354. <div class="motormore">
  355. <div class="motorprice">
  356. <div class="motorname"><span class="sspan">电机300A</span></div>
  357. </div>
  358. <div>
  359. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  360. <tr>
  361. <td colspan="4" class="hide1" style="background-color: red;text-align: center;line-height: 28px;font-size: 18px">温度过高</td>
  362. </tr>
  363. <tr>
  364. <td class="width100">定子绕组温度值1:</td>
  365. <td>100℃</td>
  366. <td class="width70">轴承温度值1:</td>
  367. <td>100℃</td>
  368. </tr>
  369. <tr>
  370. <td style="color:red">定子绕组温度值2:</td>
  371. <td style="color:red">200℃</td>
  372. <td>轴承温度值2:</td>
  373. <td>100℃</td>
  374. </tr>
  375. <tr>
  376. <td>定子绕组温度值3:</td>
  377. <td>100℃</td>
  378. </tr>
  379. </table>
  380. </div>
  381. </div>
  382. </div>
  383. <div class="motoritem col-md-2">
  384. <div class="motorimg">
  385. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  386. </div>
  387. <div class="motormore">
  388. <div class="motorprice">
  389. <div class="motorname"><span class="sspan">电机300A</span></div>
  390. </div>
  391. <div>
  392. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  393. <tr>
  394. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  395. </tr>
  396. <tr>
  397. <td class="width100">定子绕组温度值1:</td>
  398. <td>100℃</td>
  399. <td class="width70">轴承温度值1:</td>
  400. <td>100℃</td>
  401. </tr>
  402. <tr>
  403. <td>定子绕组温度值2:</td>
  404. <td>100℃</td>
  405. <td>轴承温度值2:</td>
  406. <td>100℃</td>
  407. </tr>
  408. <tr>
  409. <td>定子绕组温度值3:</td>
  410. <td>100℃</td>
  411. </tr>
  412. </table>
  413. </div>
  414. </div>
  415. </div>
  416. <div class="motoritem col-md-2">
  417. <div class="motorimg">
  418. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  419. </div>
  420. <div class="motormore">
  421. <div class="motorprice">
  422. <div class="motorname"><span class="sspan">电机300A</span></div>
  423. </div>
  424. <div>
  425. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  426. <tr>
  427. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  428. </tr>
  429. <tr>
  430. <td class="width100">定子绕组温度值1:</td>
  431. <td>100℃</td>
  432. <td class="width70">轴承温度值1:</td>
  433. <td>100℃</td>
  434. </tr>
  435. <tr>
  436. <td>定子绕组温度值2:</td>
  437. <td>100℃</td>
  438. <td>轴承温度值2:</td>
  439. <td>100℃</td>
  440. </tr>
  441. <tr>
  442. <td>定子绕组温度值3:</td>
  443. <td>100℃</td>
  444. </tr>
  445. </table>
  446. </div>
  447. </div>
  448. </div>
  449. <div class="motoritem col-md-2">
  450. <div class="motorimg">
  451. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  452. </div>
  453. <div class="motormore">
  454. <div class="motorprice">
  455. <div class="motorname"><span class="sspan">电机300A</span></div>
  456. </div>
  457. <div>
  458. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  459. <tr>
  460. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  461. </tr>
  462. <tr>
  463. <td class="width100">定子绕组温度值1:</td>
  464. <td>100℃</td>
  465. <td class="width70">轴承温度值1:</td>
  466. <td>100℃</td>
  467. </tr>
  468. <tr>
  469. <td>定子绕组温度值2:</td>
  470. <td>100℃</td>
  471. <td>轴承温度值2:</td>
  472. <td>100℃</td>
  473. </tr>
  474. <tr>
  475. <td>定子绕组温度值3:</td>
  476. <td>100℃</td>
  477. </tr>
  478. </table>
  479. </div>
  480. </div>
  481. </div>
  482. <div class="motoritem col-md-2">
  483. <div class="motorimg">
  484. <a href="/wpvehicle/motorstatus"><img src="/static/images/img1.png" class="img-responsive center-block" width="100%"></a>
  485. </div>
  486. <div class="motormore">
  487. <div class="motorprice">
  488. <div class="motorname"><span class="sspan">电机300A</span></div>
  489. </div>
  490. <div>
  491. <table class="table" width="247" style="margin: 12px 0 0 3px;">
  492. <tr>
  493. <td colspan="4" class="hide" style="background-color: red;text-align: center;line-height: 20px;font-size: 20px">钉子绕组温度过高</td>
  494. </tr>
  495. <tr>
  496. <td class="width100">定子绕组温度值1:</td>
  497. <td>100℃</td>
  498. <td class="width70">轴承温度值1:</td>
  499. <td>100℃</td>
  500. </tr>
  501. <tr>
  502. <td>定子绕组温度值2:</td>
  503. <td>100℃</td>
  504. <td>轴承温度值2:</td>
  505. <td>100℃</td>
  506. </tr>
  507. <tr>
  508. <td>定子绕组温度值3:</td>
  509. <td>100℃</td>
  510. </tr>
  511. </table>
  512. </div>
  513. </div>
  514. </div>
  515. </div>
  516. </div>
  517. <script src="../../lib/app/js/app.src.js"></script>
  518. <script src="../../lib/webo/js/ui.js"></script>
  519. <script>
  520. function refreshData() {
  521. $.ajax({
  522. url: "/item/list/wpvehicle?",
  523. type: "Post",
  524. data: {
  525. "sid":"{{.DeviceId}}"
  526. }
  527. });
  528. }
  529. $(function (){
  530. $(".gsStart").on("click", function () {
  531. $.ajax({
  532. url: "/item/update/wpvehicle",
  533. type: 'post',
  534. data:{
  535. "sn":"{{.ssn}}",
  536. "lock":"start"
  537. },
  538. success: function () {
  539. $.post("/genset/status/operate", {
  540. sn: "{{.DeviceId}}",
  541. operate: "ldstart"
  542. },
  543. function (data, status) {
  544. })
  545. },
  546. error: function () {
  547. showAlert('启动失败!', 'danger');
  548. }
  549. })
  550. });
  551. $(".gsStop").on("click", function () {
  552. $.ajax({
  553. url: "/item/update/wpvehicle",
  554. type: 'post',
  555. data:{
  556. "sn":"{{.ssn}}",
  557. "lock":"stop"
  558. },
  559. success: function () {
  560. $.post("/genset/status/operate", {
  561. sn: "{{.DeviceId}}",
  562. operate: "ldstop"
  563. },
  564. function (data, status) {
  565. })
  566. },
  567. error: function () {
  568. showAlert('启动失败!', 'danger');
  569. }
  570. })
  571. });
  572. refreshData();
  573. // DelayAlert.init({selector:"#delay_alert"});
  574. // 定时刷新数据
  575. refreshTimerId = setInterval(refreshData, 5000);
  576. })
  577. </script>
  578. </body>
  579. </html>