From 0069b25d77cf2dd36b030fa4c86d4f3738f552e8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 13 五月 2025 08:44:37 +0800
Subject: [PATCH] 跑库测试程序

---
 src/main/webapp/static/wcs/js/console.map.js |  405 ++++++++++-----------------------------------------------
 1 files changed, 75 insertions(+), 330 deletions(-)

diff --git a/src/main/webapp/static/wcs/js/console.map.js b/src/main/webapp/static/wcs/js/console.map.js
index 05f46a5..38445a1 100644
--- a/src/main/webapp/static/wcs/js/console.map.js
+++ b/src/main/webapp/static/wcs/js/console.map.js
@@ -6,92 +6,49 @@
     "hpPosition": 0,
     "minBayNo": 1,
     "floors": 1,
-    "racks": [{
-        "type": "rack",
-        "id": "rack7",
-        "top": 326,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
-        "type": "rack",
-        "id": "rack6",
-        "top": 303,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
-        "type": "rack",
-        "id": "rack5",
-        "top": 209,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
+    "racks": [
+        {"type": "rack", "id": "rack1", "top": 10, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack2", "top": 35, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack3", "top": 85, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack4", "top": 110, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack5", "top": 135, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack6", "top": 160, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack7", "top": 210, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack8", "top": 235, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 12},
+        {"type": "rack", "id": "rack9", "top": 260, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 9},
+        {"type": "rack", "id": "rack10", "top": 285, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 9},
+        {"type": "rack", "id": "rack11", "top": 335, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 9},
+        {"type": "rack", "id": "rack12", "top": 360, "left": 600, "width": 1000, "height": 23, "minBayNo": 1, "maxBayNo": 9}
+    ],
+    "rackDescs": [
+        {"type": "rackDescs", "id": "lb_desc1", "text": "#12", "top": 10, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc2", "text": "#11", "top": 35, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc3", "text": "#10", "top": 85, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc4", "text": "#9", "top": 110, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc5", "text": "#8", "top": 135, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc6", "text": "#7", "top": 160, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc7", "text": "#6", "top": 210, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc8", "text": "#5", "top": 235, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc9", "text": "#4", "top": 260, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc10", "text": "#3", "top": 285, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc11", "text": "#2", "top": 335, "left": 1600, "width": 30, "height": 20},
+        {"type": "rackDescs", "id": "lb_desc12", "text": "#1", "top": 360, "left": 1600, "width": 30, "height": 20},
+
+    ],
+    "crns": [
+        {
+        "type": "crane",
+        "id": "crn-3",
+        "text": "3",
+        "top": 60,
+        "left": 500,
+        "width": 93,
+        "height": 22
     },{
-        "type": "rack",
-        "id": "rack4",
-        "top": 232,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
-        "type": "rack",
-        "id": "rack3",
-        "top": 182,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
-        "type": "rack",
-        "id": "rack2",
-        "top": 159,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
-        "type": "rack",
-        "id": "rack1",
-        "top": 98,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
-        "type": "rack",
-        "id": "rack0",
-        "top": 75,
-        "left": 800,
-        "width": 795,
-        "height": 23,
-        "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }],
-    "crns": [{
         "type": "crane",
         "id": "crn-2",
         "text": "2",
-        "top": 268,
+        "top": 185,
         "left": 855,
         "width": 93,
         "height": 22
@@ -99,25 +56,33 @@
         "type": "crane",
         "id": "crn-1",
         "text": "1",
-        "top": 132,
+        "top": 310,
         "left": 855,
         "width": 93,
         "height": 22
     }, {
         "type": "track",
+        "id": "lb_track3",
+        "text": "",
+        "top": 320,
+        "left": 600,
+        "width": 1000,
+        "height": 2
+    }, {
+        "type": "track",
         "id": "lb_track2",
         "text": "",
-        "top": 278,
-        "left": 769,
-        "width": 850,
+        "top": 195,
+        "left": 600,
+        "width": 1000,
         "height": 2
     }, {
         "type": "track",
         "id": "lb_track1",
         "text": "",
-        "top": 143,
-        "left": 769,
-        "width": 850,
+        "top": 70,
+        "left": 600,
+        "width": 1000,
         "height": 2
     }],
     "areas": [{
@@ -136,247 +101,27 @@
             "left": 422,
             "width": 308,
             "height": 706,
-            "stns": [{
-                "type": "stn",
-                "id": "site-100",
-                "text": "100",
-                "top": 99,
-                "left": 771,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-101",
-                "text": "101",
-                "top": 99,
-                "left": 707,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-102",
-                "text": "102",
-                "top": 99,
-                "left": 643,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-103",
-                "text": "103",
-                "top": 99,
-                "left": 579,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-104",
-                "text": "104",
-                "top": 124,
-                "left": 579,
-                "width": 62,
-                "height": 34
-            },{
-                "type": "stn",
-                "id": "site-125",
-                "text": "125",
-                "top": 160,
-                "left": 771,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-124",
-                "text": "124",
-                "top": 160,
-                "left": 707,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-123",
-                "text": "123",
-                "top": 160,
-                "left": 643,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-122",
-                "text": "122",
-                "top": 160,
-                "left": 579,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-121",
-                "text": "121",
-                "top": 186,
-                "left": 579,
-                "width": 62,
-                "height": 42
-            },{
-                "type": "stn",
-                "id": "site-120",
-                "text": "120",
-                "top": 231,
-                "left": 771,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-119",
-                "text": "119",
-                "top": 231,
-                "left": 707,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-118",
-                "text": "118",
-                "top": 231,
-                "left": 643,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-117",
-                "text": "117",
-                "top": 231,
-                "left": 579,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-116",
-                "text": "116",
-                "top": 256,
-                "left": 579,
-                "width": 62,
-                "height": 46
-            },{
-                "type": "stn",
-                "id": "site-115",
-                "text": "115",
-                "top": 304,
-                "left": 771,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-114",
-                "text": "114",
-                "top": 304,
-                "left": 707,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-113",
-                "text": "113",
-                "top": 304,
-                "left": 643,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-112",
-                "text": "112",
-                "top": 304,
-                "left": 579,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-105",
-                "text": "105",
-                "top": 99,
-                "left": 515,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-106",
-                "text": "106",
-                "top": 124,
-                "left": 515,
-                "width": 62,
-                "height": 34
-            },{
-                "type": "stn",
-                "id": "site-107",
-                "text": "107",
-                "top": 160,
-                "left": 515,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-108",
-                "text": "108",
-                "top": 186,
-                "left": 515,
-                "width": 62,
-                "height": 42
-            },{
-                "type": "stn",
-                "id": "site-109",
-                "text": "109",
-                "top": 231,
-                "left": 515,
-                "width": 62,
-                "height": 70
-            },{
-                "type": "stn",
-                "id": "site-110",
-                "text": "110",
-                "top": 304,
-                "left": 515,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-111",
-                "text": "111",
-                "top": 329,
-                "left": 515,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-1001",
-                "text": "1001",
-                "top": 99,
-                "left": 451,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-1002",
-                "text": "1002",
-                "top": 160,
-                "left": 451,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-1003",
-                "text": "1003",
-                "top": 231,
-                "left": 451,
-                "width": 62,
-                "height": 23
-            },{
-                "type": "stn",
-                "id": "site-1004",
-                "text": "1004",
-                "top": 304,
-                "left": 451,
-                "width": 62,
-                "height": 23
-            } ]
+            "stns": [
+                {"type": "stn", "id": "site-101", "text": "103", "top": 35, "left": 478, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-102", "text": "102", "top": 35, "left": 540, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-104", "text": "104", "top": 85, "left": 478, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-105", "text": "105", "top": 85, "left": 540, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-107", "text": "107", "top": 160, "left": 478, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-108", "text": "108", "top": 160, "left": 540, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-110", "text": "110", "top": 210, "left": 478, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-111", "text": "111", "top": 210, "left": 540, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-113", "text": "113", "top": 335, "left": 478, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-114", "text": "114", "top": 335, "left": 540, "width": 60, "height": 23},
+                {"type": "stn", "id": "site-201", "text": "201", "top": 385, "left": 1270, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-202", "text": "202", "top": 410, "left": 1270, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-203", "text": "203", "top": 435, "left": 1270, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-205", "text": "205", "top": 385, "left": 1045, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-206", "text": "206", "top": 410, "left": 1045, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-207", "text": "207", "top": 435, "left": 1045, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-210", "text": "210", "top": 385, "left": 710, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-211", "text": "211", "top": 410, "left": 710, "width": 110, "height": 23},
+                {"type": "stn", "id": "site-212", "text": "212", "top": 435, "left": 710, "width": 110, "height": 23},
+            ]
         }]
     }]
 }
\ No newline at end of file

--
Gitblit v1.9.1