From c1ef2d1fc4c0dae2bc8452924dcd77a0ff3a1ef5 Mon Sep 17 00:00:00 2001
From: cpT <1@123>
Date: 星期四, 19 六月 2025 15:02:52 +0800
Subject: [PATCH] #改造

---
 src/main/webapp/static/wcs/js/console.map.js |  571 +++++++++++++++++++++++++++++++-------------------------
 1 files changed, 313 insertions(+), 258 deletions(-)

diff --git a/src/main/webapp/static/wcs/js/console.map.js b/src/main/webapp/static/wcs/js/console.map.js
index 024000f..4889e33 100644
--- a/src/main/webapp/static/wcs/js/console.map.js
+++ b/src/main/webapp/static/wcs/js/console.map.js
@@ -1,338 +1,393 @@
 mapInfo = {
-    "mapName": "HTSQWCS",
-    "rackCount": 4,
-    "crnCount": 2,
-    "stbCount": 24,
+    "mapName": "wcs",
+    "rackCount": 13,
+    "crnCount": 4,
+    "stbCount": 4,
     "hpPosition": 0,
     "minBayNo": 1,
     "floors": 1,
     "racks": [{
         "type": "rack",
-        "id": "rack3",
-        "top": 255,
-        "left": 463,
-        "width": 846,
-        "height": 24,
-        "minBayNo": 1,
-        "maxBayNo": 41
-    }, {
-        "type": "rack",
-        "id": "rack4",
-        "top": 313,
-        "left": 463,
-        "width": 846,
-        "height": 24,
-        "minBayNo": 1,
-        "maxBayNo": 41
-    }, {
-        "type": "rack",
         "id": "rack1",
-        "top": 168,
-        "left": 463,
-        "width": 846,
-        "height": 24,
+        "top": 403,
+        "left": 475,
+        "width": 1295,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 41
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
     }, {
         "type": "rack",
         "id": "rack2",
-        "top": 226,
-        "left": 463,
-        "width": 846,
-        "height": 24,
+        "top": 344,//376
+        "left": 475,
+        "width": 1295,
+        "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 41
-    }],
-    "rackDescs": [{
-        "type": "rackDescs",
-        "id": "lb_desc2",
-        "text": "#4",
-        "top": 343,
-        "left": 1246,
-        "width": 33,
-        "height": 23
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
     }, {
-        "type": "rackDescs",
-        "id": "lb_desc1",
-        "text": "#1",
-        "top": 142,
-        "left": 1249,
-        "width": 30,
-        "height": 23
+        "type": "rack",
+        "id": "rack3",
+        "top": 317,
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack4",
+        "top": 258,//290
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack5",
+        "top": 231,
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack6",
+        "top": 172,//204
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack7",
+        "top": 145,
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack8",
+        "top": 86,//118
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack9",
+        "top": 59,
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
+    }, {
+        "type": "rack",
+        "id": "rack10",
+        "top": 0,
+        "left": 475,
+        "width": 1295,
+        "height": 23,
+        "minBayNo": 1,
+        "maxBayNo": 55,
+        "hiddenArr": [1,55]
     }],
     "crns": [{
         "type": "crane",
-        "id": "crn-2",
-        "text": "2",
-        "top": 286,
-        "left": 606,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track2",
-        "text": "",
-        "top": 297,
-        "left": 386,
-        "width": 1004,
-        "height": 2
-    }, {
-        "type": "crane",
         "id": "crn-1",
         "text": "1",
-        "top": 199,
-        "left": 606,
+        "top": 376,
+        "left": 630,
         "width": 93,
         "height": 22
     }, {
         "type": "track",
         "id": "lb_track1",
-        "text": "",
-        "top": 210,
-        "left": 386,
-        "width": 1004,
+        "text": "1",
+        "top": 387,
+        "left": 470,
+        "width": 1295,
         "height": 2
+    }, {
+        "type": "crane",
+        "id": "crn-2",
+        "text": "2",
+        "top": 290,
+        "left": 630,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "track",
+        "id": "lb_track2",
+        "text": "2",
+        "top": 301,
+        "left": 470,
+        "width": 1295,
+        "height": 2
+    }, {
+        "type": "crane",
+        "id": "crn-3",
+        "text": "3",
+        "top": 204,
+        "left": 630,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "track",
+        "id": "lb_track3",
+        "text": "3",
+        "top": 215,
+        "left": 470,
+        "width": 1295,
+        "height": 2
+    }, {
+        "type": "crane",
+        "id": "crn-4",
+        "text": "4",
+        "top": 118,
+        "left": 630,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "track",
+        "id": "lb_track4",
+        "text": "4",
+        "top": 129,
+        "left": 470,
+        "width": 1295,
+        "height": 2
+    }, {
+        "type": "crane",
+        "id": "crn-5",
+        "text": "5",
+        "top": 32,
+        "left": 630,
+        "width": 93,
+        "height": 22
+    }, {
+        "type": "track",
+        "id": "lb_track5",
+        "text": "5",
+        "top": 43,
+        "left": 470,
+        "width": 1295,
+        "height": 2
+    }, {
+        "type": "track",
+        "id": "lb_track10",
+        "text": "10",
+        "top": 0,
+        "left": 350,
+        "width": 2,
+        "height": 431
+    }, {
+        "type": "track",
+        "id": "lb_track11",
+        "text": "11",
+        "top": 0,
+        "left": 380,
+        "width": 2,
+        "height": 431
     }],
     "areas": [{
         "type": "Control_floor",
         "id": "tabControl_floor1",
         "text": "妤煎眰",
-        "top": 89,
-        "left": 99,
-        "width": 1628,
-        "height": 610,
+        "top": 66,
+        "left": 80,
+        "width": 334,
+        "height": 714,
         "floors": [{
             "type": "floor",
             "id": "page_floor1",
             "text": "1F",
             "top": 4,
             "left": 22,
-            "width": 1602,
-            "height": 602,
+            "width": 308,
+            "height": 706,
             "stns": [{
                 "type": "stn",
-                "id": "site-212",
-                "text": "212",
-                "top": 313,
-                "left": 1433,
-                "width": 60,
-                "height": 24
-            }, {
-                "type": "track",
-                "id": "lb_trCart21",
-                "text": "",
-                "top": 147,
-                "left": 1437,
-                "width": 4,
-                "height": 213
-            }, {
-                "type": "track",
-                "id": "lb_trCart22",
-                "text": "",
-                "top": 147,
-                "left": 1484,
-                "width": 4,
-                "height": 213
+                "id": "site-1001",
+                "text": "1001",
+                "top": 403,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-202",
-                "text": "202",
-                "top": 168,
-                "left": 1494,
-                "width": 60,
-                "height": 24
+                "id": "site-1002",
+                "text": "1002",
+                "top": 403,
+                "left": 240,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-201",
-                "text": "201",
-                "top": 313,
-                "left": 1495,
-                "width": 88,
-                "height": 24
+                "id": "site-1003",
+                "text": "1003",
+                "top": 344,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-203",
-                "text": "203",
-                "top": 168,
-                "left": 1555,
-                "width": 60,
-                "height": 24
+                "id": "site-1004",
+                "text": "1004",
+                "top": 344,
+                "left": 287,
+                "width": 45,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-204",
-                "text": "204",
-                "top": 313,
-                "left": 1371,
-                "width": 60,
-                "height": 24
+                "id": "site-1005",
+                "text": "1005",
+                "top": 344,
+                "left": 240,
+                "width": 45,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-205",
-                "text": "205",
-                "top": 313,
-                "left": 1310,
-                "width": 60,
-                "height": 24
+                "id": "site-1006",
+                "text": "1006",
+                "top": 317,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-207",
-                "text": "207",
-                "top": 256,
-                "left": 1371,
-                "width": 60,
-                "height": 24
+                "id": "site-1007",
+                "text": "1007",
+                "top": 258,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-206",
-                "text": "206",
-                "top": 256,
-                "left": 1310,
-                "width": 60,
-                "height": 24
+                "id": "site-1008",
+                "text": "1008",
+                "top": 231,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-208",
-                "text": "208",
-                "top": 226,
-                "left": 1371,
-                "width": 60,
-                "height": 24
+                "id": "site-1009",
+                "text": "1009",
+                "top": 231,
+                "left": 287,
+                "width": 45,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-209",
-                "text": "209",
-                "top": 226,
-                "left": 1310,
-                "width": 60,
-                "height": 24
+                "id": "site-1011",
+                "text": "1011",
+                "top": 231,
+                "left": 220,
+                "width": 65,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-211",
-                "text": "211",
-                "top": 168,
-                "left": 1371,
-                "width": 60,
-                "height": 24
+                "id": "site-1013",
+                "text": "1013",
+                "top": 172,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-210",
-                "text": "210",
-                "top": 168,
-                "left": 1310,
-                "width": 60,
-                "height": 24
+                "id": "site-1014",
+                "text": "1014",
+                "top": 172,
+                "left": 287,
+                "width": 45,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-112",
-                "text": "112",
-                "top": 313,
-                "left": 279,
-                "width": 60,
-                "height": 24
-            }, {
-                "type": "track",
-                "id": "lb_trCart11",
-                "text": "",
-                "top": 147,
-                "left": 283,
-                "width": 4,
-                "height": 213
-            }, {
-                "type": "track",
-                "id": "lb_trCart12",
-                "text": "",
-                "top": 147,
-                "left": 330,
-                "width": 4,
-                "height": 213
+                "id": "site-1016",
+                "text": "1016",
+                "top": 172,
+                "left": 220,
+                "width": 65,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-110",
-                "text": "110",
-                "top": 313,
-                "left": 402,
-                "width": 60,
-                "height": 24
+                "id": "site-1012",
+                "text": "1012",
+                "top": 196,
+                "left": 220,
+                "width": 45,
+                "height": 34
             }, {
                 "type": "stn",
-                "id": "site-111",
-                "text": "111",
-                "top": 313,
-                "left": 341,
-                "width": 60,
-                "height": 24
+                "id": "site-1017",
+                "text": "1017",
+                "top": 145,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-109",
-                "text": "109",
-                "top": 256,
-                "left": 402,
-                "width": 60,
-                "height": 24
+                "id": "site-1018",
+                "text": "1018",
+                "top": 86,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-108",
-                "text": "108",
-                "top": 256,
-                "left": 341,
-                "width": 60,
-                "height": 24
+                "id": "site-1019",
+                "text": "1019",
+                "top": 59,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-106",
-                "text": "106",
-                "top": 226,
-                "left": 402,
-                "width": 60,
-                "height": 24
+                "id": "site-1023",
+                "text": "1023",
+                "top": 0,
+                "left": 240,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-107",
-                "text": "107",
-                "top": 226,
-                "left": 341,
-                "width": 60,
-                "height": 24
+                "id": "site-1022",
+                "text": "1022",
+                "top": 0,
+                "left": 403,
+                "width": 92,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-105",
-                "text": "105",
-                "top": 168,
-                "left": 402,
-                "width": 60,
-                "height": 24
+                "id": "site-1021",
+                "text": "1021",
+                "top": 59,
+                "left": 240,
+                "width": 45,
+                "height": 23
             }, {
                 "type": "stn",
-                "id": "site-103",
-                "text": "103",
-                "top": 168,
-                "left": 156,
-                "width": 60,
-                "height": 24
-            }, {
-                "type": "stn",
-                "id": "site-101",
-                "text": "101",
-                "top": 313,
-                "left": 189,
-                "width": 88,
-                "height": 24
-            }, {
-                "type": "stn",
-                "id": "site-102",
-                "text": "102",
-                "top": 168,
-                "left": 217,
-                "width": 60,
-                "height": 24
-            }, {
-                "type": "stn",
-                "id": "site-104",
-                "text": "104",
-                "top": 168,
-                "left": 341,
-                "width": 60,
-                "height": 24
+                "id": "site-1020",
+                "text": "1020",
+                "top": 59,
+                "left": 287,
+                "width": 45,
+                "height": 23
             }]
         }]
     }]

--
Gitblit v1.9.1