From b0d2ceeb7ddf65fd5a1bf9ce99ff012e1e3c7ade Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 27 三月 2023 09:09:15 +0800
Subject: [PATCH] #
---
src/main/webapp/views/monitor.html | 36 +++++++++++++++++++++++++++++++-----
1 files changed, 31 insertions(+), 5 deletions(-)
diff --git a/src/main/webapp/views/monitor.html b/src/main/webapp/views/monitor.html
index f00f584..0c36dea 100644
--- a/src/main/webapp/views/monitor.html
+++ b/src/main/webapp/views/monitor.html
@@ -33,22 +33,25 @@
<div style="padding: 10px;height: 100%">
<div style="width: 100%;height: 100%;">
<div class="head">
- <label for="" class="label ">TV1</label>
- <label for="" class="label">TV2</label>
- <label for="" class="label">TV3</label>
+ <label id="lcd-1" class="label lcd">LCD1</label>
+ <label id="lcd-2" class="label lcd">LCD2</label>
+ <label id="lcd-3" class="label lcd">LCD3</label>
</div>
<div class="body">
<!--<div class="time-tools">-->
<!-- <span id="bar-year"></span>-<span id="bar-month"></span>-<span id="bar-day"></span> <span id="bar-hour"></span>:<span id="bar-minute"></span>:<span id="bar-second"></span> <span id="bar-week"></span>-->
<!--</div>-->
<div class="canves1">
- <div style="width: 30%;height: 100%;font-size: 30px;display: flex;flex-direction: column;justify-content: space-around">
+ <div style="width: 25%;height: 100%;font-size: 30px;display: flex;flex-direction: column;justify-content: space-around">
<div style="width: 100%;height: 100px;line-height: 100px;text-align: center">绱琛岃蛋锛�10869绫�</div>
<div style="width: 100%;height: 100px;line-height: 100px;text-align: center">绱琛岃蛋锛�10869绫�</div>
<div style="width: 100%;height: 100px;line-height: 100px;text-align: center">绱琛岃蛋锛�10869绫�</div>
<div style="width: 100%;height: 100px;line-height: 100px;text-align: center">绱琛岃蛋锛�10869绫�</div>
</div>
- <div style="width: 70%;height: 100%;display: flex;flex-direction: column;align-items: center;justify-content: center">
+ <div style="width: 50%;height: 100%;font-size: 30px;display: flex;flex-direction: column;justify-content: space-around;background-color: #93D1FF;text-align: center">
+ AUTOMATIC WAREHOUSE WCS MONITORING DIAGRAM
+ </div>
+ <div style="width: 25%;height: 100%;display: flex;flex-direction: column;align-items: center;justify-content: center">
<div style="width: 80%;height: 40%">
<div id="line-charts"></div>
</div>
@@ -419,7 +422,30 @@
full();
});
+ var crnId = 1;
+ var lcdId = 110;
+ $('.lcd').click(function () {
+ var id = this.id.split("-")[1];
+ switch (id) {
+ case 1:
+ crnId = 1;
+ lcdId = 113;
+ break;
+ case 2:
+ crnId = 2;
+ lcdId = 110;
+ break;
+ }
+ getOther2(crnId,lcdId)
+ })
+
+ setInterval(function () {
+ setDate();
+ initlineChart();
+ initPieChart();
+ getOther2(crnId,lcdId)
+ }, 1000);
/***********************************************************************************/
/************************************ 鍫嗗灈鏈洪�熷害 *************************************/
--
Gitblit v1.9.1