equip.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  5. <title></title>
  6. <link rel="stylesheet" type="text/css" href="css/style.css">
  7. <script type="text/javascript" src="lib/jquery-1.11.3.min.js"></script>
  8. </head>
  9. <body>
  10. <div class="header">
  11. <ul class="nav clearfix">
  12. <li><a href="" title="">水润佳禾</a></li>
  13. <li><a href="" title="">雨农灌溉</a></li>
  14. <li><a href="" title="">灌溉商城</a></li>
  15. <li><a href="" title="">智慧农业</a></li>
  16. <li class="no-bg"><a href="" title="">登录新农宝盒云平台</a></li>
  17. </ul>
  18. </div>
  19. <div class="equip-top">
  20. <h3>大田一号管理</h3>
  21. <div class="avatar"><img src="img/equip2.jpg" width="106" height="106" alt=""></div>
  22. <img src="img/equip1.jpg" alt="" class="bg">
  23. <div class="txt">E:1234.54,W:2233.43</div>
  24. </div>
  25. <div class="equip">
  26. <div class="tabs clearfix">
  27. <a href="equip.html" class="active">设备控制</a>
  28. <a href="business.html">墒情分析</a>
  29. <a href="data.html">数据统计</a>
  30. <a href="log.html" class="no-bg">设备记录</a>
  31. </div>
  32. <div class="box clearfix">
  33. <div class="left">
  34. <div id="map" style="width::600px;height:400px;"><img src="img/equip3.jpg" width="600" height="400" alt=""></div>
  35. <div id="device_1_show" style="display:none;">
  36. <div class="all open J_allBtn" id="J_allBtn"></div>
  37. <div class="list">
  38. <div class="one J_valve open"></div>
  39. <div class="two J_valve valve open"></div>
  40. <div class="three J_valve open"></div>
  41. <div class="four J_valve close"></div>
  42. <div class="five J_valve close"></div>
  43. <div class="six J_valve close"></div>
  44. </div>
  45. </div>
  46. </div>
  47. <div class="right clearfix">
  48. <div class="all-info open" id="J_allInfo">
  49. <div class="title">设备运行中</div>
  50. <div class="btn J_allBtn">关闭水泵</div>
  51. </div>
  52. <div class="item">
  53. <div class="num">60m/s</div>
  54. <div class="name">总阀水流量</div>
  55. </div>
  56. <div class="item">
  57. <div class="num">60m³</div>
  58. <div class="name">本次总量</div>
  59. </div>
  60. <div class="item">
  61. <div class="num">30mpa</div>
  62. <div class="name">水压监测</div>
  63. </div>
  64. <div class="item">
  65. <div class="num">12h 32m 18s</div>
  66. <div class="name">灌溉时长</div>
  67. </div>
  68. </div>
  69. </div>
  70. <div class="equip-info clearfix" id="J_equipInfo">
  71. <div class="item open">
  72. <div class="state">阀门打开</div>
  73. <div class="name">1号阀门</div>
  74. </div>
  75. <div class="item open">
  76. <div class="state">阀门打开</div>
  77. <div class="name">2号阀门</div>
  78. </div>
  79. <div class="item open">
  80. <div class="state">阀门打开</div>
  81. <div class="name">3号阀门</div>
  82. </div>
  83. <div class="item close">
  84. <div class="state">阀门关闭</div>
  85. <div class="name">4号阀门</div>
  86. </div>
  87. <div class="item close">
  88. <div class="state">阀门关闭</div>
  89. <div class="name">5号阀门</div>
  90. </div>
  91. <div class="item close">
  92. <div class="state">阀门关闭</div>
  93. <div class="name">6号阀门</div>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="show-box" id="J_showBox">
  98. <div class="mark"></div>
  99. <div class="box">
  100. <div class="title" id="J_title">确认关闭设备</div>
  101. <div class="btn sure box_sure" id="J_sure">确认</div>
  102. <div class="btn cancel box_cancel" id="J_cancel">取消</div>
  103. </div>
  104. <div class="bigBox">
  105. <div class="title">设置启动参数</div>
  106. <div class="name">运转速度:(运转3分钟暂停20秒)</div>
  107. <div class="list bg small clearfix" id="J_speed">
  108. <div class="item">10%</div>
  109. <div class="item">20%</div>
  110. <div class="item">30%</div>
  111. <div class="item">40%</div>
  112. <div class="item">50%</div>
  113. <div class="item">60%</div>
  114. <div class="item">70%</div>
  115. <div class="item">80%</div>
  116. <div class="item">90%</div>
  117. <div class="item noBg">100%</div>
  118. </div>
  119. <div class="name">灌溉圈数:</div>
  120. <div class="list small bg clearfix" id="J_number">
  121. <div class="item">1</div>
  122. <div class="item">2</div>
  123. <div class="item">3</div>
  124. <div class="item">4</div>
  125. <div class="item noBg">5</div>
  126. </div>
  127. <div class="block clearfix">
  128. <div class="slider">
  129. <div class="name">转向设置:</div>
  130. <div class="list middle clearfix" id="J_direct">
  131. <div class="item">逆时针</div>
  132. <div class="item">顺时针</div>
  133. </div>
  134. </div>
  135. <div class="slider">
  136. <div class="name">同时打开水泵:</div>
  137. <div class="list middle clearfix">
  138. <div class="item">不打开</div>
  139. <div class="item">打开</div>
  140. </div>
  141. </div>
  142. </div>
  143. <div class="list big space"><div class="item">设置完成,确认启动</div></div>
  144. <div class="list big"><div class="item">取消设置</div></div>
  145. </div>
  146. </div>
  147. <div class="footer">
  148. <div class="txt">京ICP备123456号 联系电话:4001231234</div>
  149. </div>
  150. <script type="text/javascript" src="../js/device.js"></script>
  151. <script type="text/javascript">
  152. var device =
  153. {
  154. '.all-info' : ['.J_allBtn', '.title', '#J_allBtn']
  155. ,'#J_equipInfo .item' : ['.name', '.state', '.J_valve']
  156. };
  157. Maze_Device.Init(device);
  158. </script>
  159. </body>
  160. </html>