channel.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {% extends "index.html" %}
  2. {% block title %}水塔監控{% endblock %}
  3. {% block head %}
  4. {{ super() }}
  5. {% endblock %}
  6. {% block body %}
  7. <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.js"></script>
  8. <script type="text/javascript" src="/static/channel.js"></script>
  9. <div id='select_boxes'>
  10. <select class="select-item" id="company-list" onChange="onChangeColumn1();">
  11. <option value=0>公司A</option>
  12. </select>
  13. <select class="select-item" id="factory-list" onChange="onChangeColumn2();">
  14. <option value=0>工廠A</option>
  15. </select>
  16. <select class="select-item" id="department-list" onChange="onChangeColumn3();">
  17. <option value=0>廠區A</option>
  18. </select>
  19. <select class="select-item" id="towerGroup-list">
  20. <option value=0>機組1</option>
  21. </select>
  22. <button id="tower_btn" onclick="click_button();"><i class="fas fa-search me-2"></i>搜尋</button>
  23. </div>
  24. <div id="tower-box">
  25. <div id="tower-img" class="card text-white">
  26. <select id="tower" onChange="show_tower_info();">
  27. </select>
  28. </div>
  29. </div>
  30. <div id='channel'></div>
  31. <div id='channel_health'><p>健康指數:86 預測健康指標:89</p></div>
  32. <div id='chart_info'></div>
  33. <p>預測資訊 預測結果 正常 未來1125筆後CV值 0.801</p>
  34. <canvas id="channel_predict" width="40" height="40"></canvas>
  35. <canvas id="channel_frequency" width="40" height="40"></canvas>
  36. <canvas id="CV_index" width="40" height="40"></canvas>
  37. <canvas id="RPM" width="40" height="40"></canvas>
  38. <canvas id="Vrms" width="40" height="40"></canvas>
  39. <div id='tower_perfrom'></div>
  40. {% endblock %}