From ee2500aac8c1933c7c553904ba4df5baf44702f5 Mon Sep 17 00:00:00 2001
From: 野心家 <1051256694@qq.com>
Date: 星期一, 29 一月 2024 18:40:30 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/wcs/js/console.map.js |  478 +++++++++++++++++++++++++++--------------------------------
 1 files changed, 217 insertions(+), 261 deletions(-)

diff --git a/src/main/webapp/static/wcs/js/console.map.js b/src/main/webapp/static/wcs/js/console.map.js
index 6d01c79..d6e75f0 100644
--- a/src/main/webapp/static/wcs/js/console.map.js
+++ b/src/main/webapp/static/wcs/js/console.map.js
@@ -1,328 +1,284 @@
 mapInfo = {
-    "mapName": "ZHRUWXWCS",
-    "rackCount": 16,
+    "mapName": "rywxwcs",
+    "rackCount": 13,
     "crnCount": 4,
-    "stbCount": 16,
+    "stbCount": 4,
     "hpPosition": 0,
-    "minBayNo": 2,
+    "minBayNo": 1,
     "floors": 1,
     "racks": [{
         "type": "rack",
-        "id": "rack1",
-        "top": 67,//92  103
-        "left": 600,
-        "width": 885,
-        "height": 22,
-        "minBayNo": 1,
-        "maxBayNo": 19
-    }, {
-        "type": "rack",
-        "id": "rack2",
-        "top": 115,//48
-        "left": 600,
-        "width": 885,
-        "height": 22,
-        "minBayNo": 1,
-        "maxBayNo": 19
-    }, {
-        "type": "rack",
-        "id": "rack3",
-        "top": 140,
-        "left": 553.5,
-        "width": 931.6,
-        "height": 22,
-        "minBayNo": 1,
-        "maxBayNo": 20
-    }, {
-        "type": "rack",
         "id": "rack4",
-        "top": 163,//188  199
-        "left": 553.5,
-        "width": 931.6,
-        "height": 22,
+        "top": 209,
+        "left": 475,
+        "width": 795,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 20
+        "maxBayNo": 22,
+        "hiddenArr": [22]
     }, {
         "type": "rack",
-        "id": "rack5",
-        "top": 211,
-        "left": 553.5,
-        "width": 931.6,
-        "height": 22,
+        "id": "rack13",
+        "top": 598,
+        "left": 475,
+        "width": 795,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 20
+        "maxBayNo": 22,
+        "hiddenArr": [1,2]
     }, {
         "type": "rack",
-        "id": "rack6",
-        "top": 234,
-        "left": 553.5,
-        "width": 931.6,
-        "height": 22,
+        "id": "rack12",
+        "top": 574,
+        "left": 475,
+        "width": 795,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 20
+        "maxBayNo": 22,
+        "hiddenArr": [1]
     }, {
         "type": "rack",
-        "id": "rack7",
-        "top": 259,
-        "left": 553.5,
-        "width": 978.2,//46.5
-        "height": 22,
+        "id": "rack11",
+        "top": 502,
+        "left": 475,
+        "width": 795,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 21
-    }, {
-        "type": "rack",
-        "id": "rack8",
-        "top": 282,
-        "left": 553.5,
-        "width": 978.2,
-        "height": 22,
-        "minBayNo": 1,
-        "maxBayNo": 21
-    }, {
-        "type": "rack",
-        "id": "rack9",
-        "top": 330,
-        "left": 553.5,
-        "width": 978.2,//46.5
-        "height": 22,
-        "minBayNo": 1,
-        "maxBayNo": 21
+        "maxBayNo": 22,
+        "hiddenArr": [1]
     }, {
         "type": "rack",
         "id": "rack10",
-        "top": 353,
-        "left": 553.5,
-        "width": 978.2,
-        "height": 22,
+        "top": 466,
+        "left": 475,
+        "width": 795,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 21
-    }],
-    "rackDescs": [{
-        "type": "rackDescs",
-        "id": "lb_desc16",
-        "text": "#1",
-        "top": 23,
-        "left": 1300,
-        "width": 30,
-        "height": 23
+        "maxBayNo": 22
     }, {
-        "type": "rackDescs",
-        "id": "lb_desc1",
-        "text": "#13",
-        "top": 500,
-        "left": 1300,
-        "width": 41,
-        "height": 23
+        "type": "rack",
+        "id": "rack9",
+        "top": 443,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22
+    }, {
+        "type": "rack",
+        "id": "rack8",
+        "top": 368,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22
+    }, {
+        "type": "rack",
+        "id": "rack7",
+        "top": 345,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22,
+        "hiddenArr": [3,10,11,17,18]
+    }, {
+        "type": "rack",
+        "id": "rack6",
+        "top": 303,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22,
+        "hiddenArr": [1,3,10,11,17,18,22]
+    }, {
+        "type": "rack",
+        "id": "rack5",
+        "top": 280,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22,
+        "hiddenArr": [3,10,11,17,18,22]
+    }, {
+        "type": "rack",
+        "id": "rack3",
+        "top": 182,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22,
+        "hiddenArr": [1,22]
+    }, {
+        "type": "rack",
+        "id": "rack2",
+        "top": 159,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22,
+        "hiddenArr": [1,22]
+    }, {
+        "type": "rack",
+        "id": "rack1",
+        "top": 98,
+        "left": 475,
+        "width": 795,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 22,
+        "hiddenArr": [1,22]
     }],
     "crns": [{
         "type": "crane",
-        "id": "crn-1",
-        "text": "1",
-        "top": 92,
-        "left": 1689,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track1",
-        "text": "",
-        "top": 103,
-        "left": 523,
-        "width": 1042,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-2",
-        "text": "2",
-        "top": 188,
-        "left": 1539,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track2",
-        "text": "",
-        "top": 199,
-        "left": 523,
-        "width": 1042,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-3",
-        "text": "3",
-        "top": 307,
-        "left": 539,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track3",
-        "text": "",
-        "top": 318,
-        "left": 523,
-        "width": 1042,
-        "height": 2
-    }, {
-        "type": "crane",
         "id": "crn-4",
         "text": "4",
-        "top": 390,
-        "left": 539,
+        "top": 539,
+        "left": 530,
         "width": 93,
         "height": 22
     }, {
         "type": "track",
         "id": "lb_track4",
         "text": "",
-        "top": 401,
-        "left": 373,
-        "width": 1042,
+        "top": 550,
+        "left": 444,
+        "width": 850,
+        "height": 2
+    }, {
+        "type": "crane",
+        "id": "crn-3",
+        "text": "3",
+        "top": 408,
+        "left": 530,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "track",
+        "id": "lb_track3",
+        "text": "",
+        "top": 418,
+        "left": 444,
+        "width": 850,
+        "height": 2
+    }, {
+        "type": "crane",
+        "id": "crn-2",
+        "text": "2",
+        "top": 245,
+        "left": 530,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "crane",
+        "id": "crn-1",
+        "text": "1",
+        "top": 132,
+        "left": 530,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "track",
+        "id": "lb_track2",
+        "text": "",
+        "top": 255,
+        "left": 444,
+        "width": 850,
+        "height": 2
+    }, {
+        "type": "track",
+        "id": "lb_track1",
+        "text": "",
+        "top": 143,
+        "left": 447,
+        "width": 850,
         "height": 2
     }],
     "areas": [{
         "type": "Control_floor",
         "id": "tabControl_floor1",
         "text": "妤煎眰",
-        "top": 68,
+        "top": 66,
         "left": 80,
-        "width": 1400,
-        "height": 680,
+        "width": 334,
+        "height": 714,
         "floors": [{
             "type": "floor",
             "id": "page_floor1",
             "text": "1F",
             "top": 4,
             "left": 22,
-            "width": 1374,
-            "height": 672,
+            "width": 308,
+            "height": 706,
             "stns": [{
                 "type": "stn",
-                "id": "site-100",
-                "text": "100",
-                "top": 68,
-                "left": 401,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-101",
-                "text": "101",
-                "top": 68,
-                "left": 350,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-102",
-                "text": "102",
-                "top": 116,
-                "left": 350,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-103",
-                "text": "103",
-                "top": 116,
-                "left": 401,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-104",
-                "text": "104",
-                "top": 160,
-                "left": 401,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-105",
-                "text": "105",
-                "top": 160,
-                "left": 350,
-                "width": 49,
-                "height": 20
+                "id": "site-107",
+                "text": "107",
+                "top": 576,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
                 "id": "site-106",
                 "text": "106",
-                "top": 208,
-                "left": 350,
-                "width": 49,
-                "height": 20
+                "top": 504,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-107",
-                "text": "107",
-                "top": 208,
-                "left": 401,
-                "width": 49,
-                "height": 20
+                "id": "site-105",
+                "text": "105",
+                "top": 444,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-108",
-                "text": "108",
-                "top": 252,
-                "left": 401,
-                "width": 49,
-                "height": 20
+                "id": "site-104",
+                "text": "104",
+                "top": 369,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-109",
-                "text": "109",
-                "top": 252,
-                "left": 350,
-                "width": 49,
-                "height": 20
+                "id": "site-103",
+                "text": "103",
+                "top": 281,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-110",
-                "text": "110",
-                "top": 300,
-                "left": 350,
-                "width": 49,
-                "height": 20
+                "id": "site-102",
+                "text": "102",
+                "top": 210,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-111",
-                "text": "111",
-                "top": 300,
-                "left": 401,
-                "width": 49,
-                "height": 20
+                "id": "site-101",
+                "text": "101",
+                "top": 160,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-112",
-                "text": "112",
-                "top": 366,
-                "left": 401,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-113",
-                "text": "113",
-                "top": 366,
-                "left": 350,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-114",
-                "text": "114",
-                "top": 414,
-                "left": 350,
-                "width": 49,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-115",
-                "text": "115",
-                "top": 414,
-                "left": 401,
-                "width": 49,
-                "height": 20
+                "id": "site-100",
+                "text": "100",
+                "top": 99,
+                "left": 386,
+                "width": 92,
+                "height": 23
             }]
         }]
     }]

--
Gitblit v1.9.1