vibration_test.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {% extends "index.html" %}
  2. {% block title %}水塔監控{% endblock %}
  3. {% block head %}
  4. {{ super() }}
  5. {% endblock %}
  6. {% block body %}
  7. <script type="text/javascript" src="/static/vibration.js"></script>
  8. <div id='select_boxes'>
  9. <select class="select-item" id="company-list" onChange="onChangeColumn1();">
  10. <option value=0>公司A</option>
  11. </select>
  12. <select class="select-item" id="factory-list" onChange="onChangeColumn2();">
  13. <option value=0>工廠A</option>
  14. </select>
  15. <select class="select-item" id="department-list" onChange="onChangeColumn3();">
  16. <option value=0>廠區A</option>
  17. </select>
  18. <select class="select-item" id="towerGroup-list">
  19. <option value=0>機組1</option>
  20. </select>
  21. <button id="tower_btn" onclick="click_button();"><i class="fas fa-search me-2"></i>搜尋</button>
  22. </div>
  23. <div id="tower-box">
  24. <div id="tower-img" class="text-white p-3">
  25. <select id="tower" onChange="show_tower_info();">
  26. </select>
  27. </div>
  28. </div>
  29. <div class="state card">
  30. <div class="row px-0 mx-0">
  31. <div class="col-lg-6">
  32. <div class="row px-0 mx-0">
  33. <div class="col-lg-6 py-3">
  34. <img style="object-fit: cover; width: 200px; height: 200px;border-radius: 50%;" class="img-fluid" src="/static/img/dev001.png" alt="">
  35. </div>
  36. <div class="col-lg-6 py-3">
  37. <div class="device">
  38. <p class="fw-bold mb-0">設備狀態:</p>
  39. <h1 style="color: #078B07;">健康<i style="color: #078B07;" class="fas fa-check-circle ps-1"></i></h1>
  40. </div>
  41. <div class="Connect">
  42. <p class="fw-bold mb-0">連線狀態:</p>
  43. <h1 style="color: #078B07;">正常</h1>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="col-lg-6 py-3">
  49. <div>
  50. <p>設備位區:<span class="fw-bold">台塑</span></p>
  51. </div>
  52. <div>
  53. <p>設備位置:<span class="fw-bold">公用四廠</span></p>
  54. </div>
  55. <div>
  56. <p>負責人:<span class="fw-bold">***</span></p>
  57. </div>
  58. <div>
  59. <p class="mb-0 mt-5">最後更新時間:2021/09/15 18:09</p>
  60. </div>
  61. </div>
  62. <hr>
  63. <div class="col-lg-12">
  64. <div style="width: 60%; margin: auto;">
  65. <div class="row px-0 mx-0">
  66. <div class="col-lg-6">
  67. <img class="img-fluid" src="/static/img/dev001-pic1.png" alt="">
  68. </div>
  69. <div class="col-lg-6">
  70. <img class="img-fluid" src="/static/img/dev001-pic2.png" alt="">
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div id='test'></div>
  78. <div class="card mt-5">
  79. <div class="row px-0 mx-0">
  80. <div class="col-lg-6">
  81. <h1>通道照片</h1>
  82. <img class="img-fluid" src="/static/img/dev001-chl.png" alt="">
  83. </div>
  84. <div class="col-lg-6">
  85. <h1>通道列表</h1>
  86. <table style="font-size: 16px;" class="table text-center">
  87. <thead>
  88. <tr>
  89. <th>編號</th>
  90. <th>vrms(mm/s)</th>
  91. <th>健康狀態</th>
  92. <th>健康指標</th>
  93. <th>連線運作狀態</th>
  94. </tr>
  95. <tbody id="tower_info">
  96. </tbody>
  97. </thead>
  98. </table>
  99. </div>
  100. </div>
  101. </div>
  102. <div id='tower_perfrom'></div>
  103. {% endblock %}