From 8236dad38bd8f0e6fbe63815f87dd1534de0eaf6 Mon Sep 17 00:00:00 2001 From: dev01 Date: Fri, 25 Nov 2022 18:46:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[Frontend][=E7=B3=BB=E7=B5=B1=E7=9B=A3?= =?UTF-8?q?=E6=8E=A7]=20=E9=9B=BB=E6=A2=AF=E8=A8=AD=E5=82=99=20=E9=9B=BB?= =?UTF-8?q?=E6=A2=AF=E7=AE=A1=E7=90=86=20=E5=88=97=E8=A1=A8=E5=BB=BA?= =?UTF-8?q?=E7=BD=AE|=20=E9=9B=BB=E6=A2=AF=E7=AE=A1=E7=90=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=A8=82=E9=96=B1=E7=A8=8B=E5=BA=8F=E4=B8=B2=E6=8E=A5?= =?UTF-8?q?=20|=20=E9=9B=BB=E6=A2=AF=E7=AE=A1=E7=90=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=97=A5=E6=9B=86=E4=B8=B2=E6=8E=A5=20|=20=E9=9B=BB=E6=A2=AF?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20detail=20=E7=95=AB=E9=9D=A2=E5=BB=BA?= =?UTF-8?q?=E7=BD=AE=20|=20=E9=9B=BB=E6=A2=AF=E7=AE=A1=E7=90=86=20Master?= =?UTF-8?q?=20Detail=20=E7=95=AB=E9=9D=A2=E5=BB=BA=E7=BD=AE=20|=20Modal=20?= =?UTF-8?q?Div=20=E5=8B=95=E7=95=AB=E6=8F=9B=E9=A0=81=E5=BB=BA=E7=BD=AE=20?= =?UTF-8?q?|=20Checbox=20Switch=20Css=20=E5=BB=BA=E7=BD=AE=20|=20[?= =?UTF-8?q?=E5=85=A8=E5=9F=9F=E5=8A=9F=E8=83=BD]=20=E6=8F=9B=E5=85=A7?= =?UTF-8?q?=E9=A0=81=E8=A8=82=E9=96=B1=E9=87=8B=E6=94=BE=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=BB=BA=E7=BD=AE=20|=20=E9=9B=BB=E6=A2=AF=E9=A0=81=E9=9D=A2?= =?UTF-8?q?=E5=8F=B3=E4=B8=8B=E8=A7=92=20=E5=B9=B3=E9=9D=A2=E5=9C=96?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E4=B8=B2=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_sysElevator.html | 1334 ++++++++++++++++++++++++++++++---- Frontend/_sysMonAll.html | 17 +- Frontend/css/site.css | 40 + Frontend/index.html | 165 +++-- Frontend/js/n4js/bajatest.js | 4 +- 5 files changed, 1305 insertions(+), 255 deletions(-) diff --git a/Frontend/_sysElevator.html b/Frontend/_sysElevator.html index a253359..214b253 100644 --- a/Frontend/_sysElevator.html +++ b/Frontend/_sysElevator.html @@ -45,7 +45,11 @@
- +
+ +
+
+
@@ -105,8 +109,7 @@
- +
@@ -448,120 +451,97 @@
-
- - +
@@ -38,7 +36,7 @@ - + diff --git a/Frontend/js/n4js/bajatest.js b/Frontend/js/n4js/bajatest.js index 678a54c..194da23 100644 --- a/Frontend/js/n4js/bajatest.js +++ b/Frontend/js/n4js/bajatest.js @@ -1,6 +1,6 @@ let baja_subscribe_device_callback_func; //設定BQL訂閱之後要回傳的Function var ordPath; //當前點選選單的tag,用來抓出設備路徑,例如:旅館棟->H,消防偵煙器->F3 - +window.tolSubList = []; function subscriptionDevices() { // 用BQL的方式去訂閱 this.setSubscribeDevicesByBql = function (tempOrdPath) { @@ -173,7 +173,7 @@ function BajaSubscribeDevicesByBql() { sub.subscribe({ comps: component, }); - + tolSubList.push(sub); subFinish = new Date(Date.now()); $("#sub-end").html(subFinish.toISOString()); $("#sub-time").html((subFinish.getTime() - subStart.getTime()) / 1000 + "sec"); From b871f5063eb6f11b60a9ab99168cc2c987e8825f Mon Sep 17 00:00:00 2001 From: dev01 Date: Mon, 28 Nov 2022 12:38:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[Frontend][=E7=B3=BB=E7=B5=B1=E7=9B=A3?= =?UTF-8?q?=E6=8E=A7]=20=E9=9B=BB=E6=A2=AF=20class=20=E5=BB=BA=E7=BD=AE=20?= =?UTF-8?q?|=20=E5=88=87=E6=8F=9B2D/3D=E7=B4=90=E5=BB=BA=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/_sysElevator.html | 128 ++++++++---------- Frontend/index.html | 4 +- Frontend/js/site.js | 100 ++++++++++++++ Frontend/js/style.js | 13 ++ .../yourteam/plugins/yt-tooltip/yt-tooltip.js | 6 +- 5 files changed, 175 insertions(+), 76 deletions(-) diff --git a/Frontend/_sysElevator.html b/Frontend/_sysElevator.html index 214b253..5490cad 100644 --- a/Frontend/_sysElevator.html +++ b/Frontend/_sysElevator.html @@ -18,6 +18,13 @@ elevator .elevator-body, elevator .elevator-header { padding: 0.7rem; } + + .elevator-item { + position: absolute; + width: 43px; + height: 47px; + border: 4px solid orange; + }
@@ -27,14 +34,21 @@
- +
+ + +
-
-
+
+
+
+