index.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <link href="css/base.css" rel="stylesheet">
  8. <link href="css/index.css" rel="stylesheet">
  9. <title>测试demo</title>
  10. </head>
  11. <body>
  12. <div style="height:30px"></div>
  13. <div class="container">
  14. <div class="connect-sec">
  15. <div class="filter-item">
  16. <span>服务端IP:</span>
  17. <input type="text" id="ip" placeholder="请输入ip地址" value="wss://iot.usky.cn">
  18. </div>
  19. <div class="filter-item">
  20. <span>服务端口:</span>
  21. <input type="text" id="sort" placeholder="请输入端口" value="55120" style="width:40px">
  22. </div>
  23. <button class="openWebsocket">打开websocket</button>
  24. <button class="closeWebsocket">断开websocket</button>
  25. </div>
  26. <div class="param-sec">
  27. <div class="filter-item">
  28. <span>站点ID:</span>
  29. <input type="text" id="stationId" placeholder="请输入站点id">
  30. </div>
  31. <div class="filter-item">
  32. <span>站点名称:</span>
  33. <input type="text" id="stationName" placeholder="请输入站点名称">
  34. </div>
  35. <div class="filter-item">
  36. <span>设备ID:</span>
  37. <input type="text" id="deviceId" placeholder="请输入设备ID">
  38. </div>
  39. <div class="filter-item">
  40. <span>监控编号:</span>
  41. <input type="text" id="busAddr" placeholder="请输入监控编号">
  42. </div>
  43. <div class="filter-item">
  44. <span>数量:</span>
  45. <input type="text" id="count" placeholder="请输入元素数量">
  46. </div>
  47. <div class="filter-item">
  48. <span>记录开始序号:</span>
  49. <input type="text" id="start" placeholder="请输入记录开始序号">
  50. </div>
  51. <div class="filter-item">
  52. <span>记录查询数量:</span>
  53. <input type="text" id="limit" placeholder="请输入记录查询数量">
  54. </div>
  55. <div class="filter-item">
  56. <span>排序规则:</span>
  57. <input type="text" id="order" placeholder="请输入排序规则">
  58. </div>
  59. <div class="filter-item">
  60. <span>记录时间:</span>
  61. <input type="text" id="time" placeholder="请输入数据采集时间">
  62. </div>
  63. </div>
  64. <div class="button-sec">
  65. <button class="siteCondition">站点工况</button>
  66. <button class="siteDetail">站点详情</button>
  67. <button class="getDeviceDetail">设备采集</button>
  68. <button class="getPointValue">点位数据</button>
  69. <button class="getPatrolRecord">巡检记录</button>
  70. <button class="getPatrolDetail">记录数据</button>
  71. </div>
  72. <div class="data-view">
  73. <div class="send-status"></div>
  74. </div>
  75. </div>
  76. </div>
  77. <script src="js/jquery.js"></script>
  78. <script src="js/util.js"></script>
  79. <script src="js/index.js"></script>
  80. <script>
  81. </script>
  82. </body>
  83. </html>