From 7400211f1ceecea0048ff3f5adfeeb8fe975bc7a Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期三, 19 三月 2025 11:01:53 +0800
Subject: [PATCH] #初始化地图

---
 src/main/webapp/static/js/console.map.js |  788 +++++++++++++++++++++++---------------------------------
 1 files changed, 324 insertions(+), 464 deletions(-)

diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js
index 0265aa2..df3241d 100644
--- a/src/main/webapp/static/js/console.map.js
+++ b/src/main/webapp/static/js/console.map.js
@@ -1,528 +1,388 @@
-mapInfo = {
-    "mapName": "HYLYWCS",
-    "rackCount": 12,
-    "crnCount": 3,
-    "stbCount": 16,
+mapInfo ={
+    "mapName": "shzhwcs",
+    "rackCount": 8,
+    "crnCount": 4,
+    "stbCount": 120,
     "hpPosition": 0,
     "minBayNo": 2,
-    "floors": 1,
     "racks": [
         {
             "type": "rack",
             "id": "rack1",
-            "top": 97,
-            "left": 430,
-            "width": 1020,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 30
+            "top": 80,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack2",
-            "top": 123,
-            "left": 430,
-            "width": 1020,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 30
+            "top": 130,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack3",
-            "top": 180,
-            "left": 430,
-            "width": 1020,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 30
+            "top": 160,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack4",
-            "top": 207,
-            "left": 430,
-            "width": 1020,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 30
+            "top": 210,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack5",
-            "top": 237,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 16
+            "top": 240,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack6",
-            "top": 263,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 16
+            "top": 290,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack7",
-            "top": 318,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 16
+            "top": 320,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack8",
-            "top": 344,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
-            "minBayNo": 1,
-            "maxBayNo": 16
+            "top": 370,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
+            "minBayNo": 2,
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack9",
-            "top": 373,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
+            "top": 400,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
             "minBayNo": 2,
-            "maxBayNo": 64
+            "maxBayNo": 54
         },
         {
             "type": "rack",
             "id": "rack10",
-            "top": 399,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
+            "top": 450,
+            "left": 140,
+            "width": 1400,
+            "height": 23,
             "minBayNo": 2,
-            "maxBayNo": 64
+            "maxBayNo": 54
+        }
+    ],
+    "rackDescs": [
+        {
+            "type": "rackDescs",
+            "id": "lb_desc1",
+            "text": "#1",
+            "top": 80,
+            "left": 1860,
+            "width": 30,
+            "height": 23
         },
         {
-            "type": "rack",
-            "id": "rack11",
-            "top": 458,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
-            "minBayNo": 2,
-            "maxBayNo": 64
+            "type": "rackDescs",
+            "id": "lb_desc2",
+            "text": "#2",
+            "top": 130,
+            "left": 1860,
+            "width": 30,
+            "height": 23
         },
         {
-            "type": "rack",
-            "id": "rack12",
-            "top": 484,
-            "left": 430,
-            "width": 1088,
-            "height": 24,
-            "minBayNo": 2,
-            "maxBayNo": 64
+            "type": "rackDescs",
+            "id": "lb_desc3",
+            "text": "#3",
+            "top": 160,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc4",
+            "text": "#4",
+            "top": 210,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc5",
+            "text": "#5",
+            "top": 240,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc6",
+            "text": "#6",
+            "top": 290,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc7",
+            "text": "#7",
+            "top": 320,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc8",
+            "text": "#8",
+            "top": 370,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc9",
+            "text": "#9",
+            "top": 400,
+            "left": 1860,
+            "width": 30,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc10",
+            "text": "#10",
+            "top": 450,
+            "left": 1860,
+            "width": 30,
+            "height": 23
         },
     ],
-    "rackDescs": [{
-        "type": "rackDescs",
-        "id": "lb_desc12",
-        "text": "#12",
-        "top": 485,
-        "left": 1530,
-        "width": 41,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc11",
-        "text": "#11",
-        "top": 460,
-        "left": 1530,
-        "width": 38,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc10",
-        "text": "#10",
-        "top": 399,
-        "left": 1530,
-        "width": 42,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc9",
-        "text": "#9",
-        "top": 375,
-        "left": 1530,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc8",
-        "text": "#8",
-        "top": 349,
-        "left": 1530,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc7",
-        "text": "#7",
-        "top": 321,
-        "left": 1530,
-        "width": 32,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc6",
-        "text": "#6",
-        "top": 264,
-        "left": 1530,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc5",
-        "text": "#5",
-        "top": 235,
-        "left": 1530,
-        "width": 32,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc4",
-        "text": "#4",
-        "top": 206,
-        "left": 1460,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc3",
-        "text": "#3",
-        "top": 179,
-        "left": 1460,
-        "width": 32,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc2",
-        "text": "#2",
-        "top": 123,
-        "left": 1460,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc1",
-        "text": "#1",
-        "top": 95,
-        "left": 1460,
-        "width": 30,
-        "height": 23
-    }],
-    "crns": [{
-        "type": "crane",
-        "id": "crn-1",
-        "text": "1",
-        "top": 153,
-        "left": 500,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "crane",
-        "id": "crn-2",
-        "text": "2",
-        "top": 291,
-        "left": 500,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "crane",
-        "id": "crn-3",
-        "text": "3",
-        "top": 428,
-        "left": 500,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track2",
-        "text": "",
-        "top": 300,
-        "left": 405,
-        "width": 1130,
-        "height": 2
-    }, {
-        "type": "track",
-        "id": "lb_track3",
-        "text": "",
-        "top": 438,
-        "left": 405,
-        "width": 1130,
-        "height": 2
-    }, {
-        "type": "track",
-        "id": "lb_track1",
-        "text": "",
-        "top": 164,
-        "left": 405,
-        "width": 1060,
-        "height": 2
-    }],
-    "stns": [{
-        "type": "stn",
-        "id": "site-306",
-        "text": "306",
-        "top": 458,
-        "left": 211,
-        "width": 66,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-303",
-        "text": "303",
-        "top": 399,
-        "left": 211,
-        "width": 66,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-304",
-        "text": "304",
-        "top": 458,
-        "left": 345,
-        "width": 66,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-305",
-        "text": "305",
-        "top": 458,
-        "left": 278,
-        "width": 66,
-        "height": 24
-    },{
-        "type": "stn",
-        "id": "site-202",
-        "text": "202",
-        "top": 262,
-        "left": 202,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-302",
-        "text": "302",
-        "top": 399,
-        "left": 278,
-        "width": 66,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-203",
-        "text": "203",
-        "top": 318,
-        "left": 303,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-204",
-        "text": "204",
-        "top": 318,
-        "left": 202,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-201",
-        "text": "201",
-        "top": 262,
-        "left": 303,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-103",
-        "text": "103",
-        "top": 101,
-        "left": 327,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-101",
-        "text": "101",
-        "top": 124,
-        "left": 327,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-301",
-        "text": "301",
-        "top": 399,
-        "left": 345,
-        "width": 66,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-102",
-        "text": "102",
-        "top": 122,
-        "left": 154,
-        "width": 100,
-        "height": 24
-    }, {
-        "type": "stn",
-        "id": "site-104",
-        "text": "104",
-        "top": 181,
-        "left": 225,
-        "width": 100,
-        "height": 24
-    }],
+    "crns": [
+        {
+            "type": "crane",
+            "id": "crn-1",
+            "text": "1",
+            "top": 110,
+            "left": 1550,
+            "width": 100,
+            "height": 22
+        },
+        {
+            "type": "crane",
+            "id": "crn-2",
+            "text": "2",
+            "top": 190,
+            "left": 1550,
+            "width": 100,
+            "height": 22
+        },
+        {
+            "type": "crane",
+            "id": "crn-3",
+            "text": "3",
+            "top": 270,
+            "left": 1550,
+            "width": 100,
+            "height": 22
+        },
+        {
+            "type": "crane",
+            "id": "crn-4",
+            "text": "4",
+            "top": 350,
+            "left": 1550,
+            "width": 100,
+            "height": 22
+        },
+        {
+            "type": "crane",
+            "id": "crn-5",
+            "text": "5",
+            "top": 430,
+            "left": 1550,
+            "width": 100,
+            "height": 22
+        },
+        {
+            "type": "track",
+            "id": "lb_track1",
+            "text": "",
+            "top": 117,
+            "left": 140,
+            "width": 1400,
+            "height": 2
+        },
+        {
+            "type": "track",
+            "id": "lb_track2",
+            "text": "",
+            "top": 197,
+            "left": 140,
+            "width": 1400,
+            "height": 2
+        },
+        {
+            "type": "track",
+            "id": "lb_track3",
+            "text": "",
+            "top": 277,
+            "left": 140,
+            "width": 1400,
+            "height": 2
+        },
+        {
+            "type": "track",
+            "id": "lb_track4",
+            "text": "",
+            "top": 357,
+            "left": 140,
+            "width": 1400,
+            "height": 2
+        },
+        {
+            "type": "track",
+            "id": "lb_track5",
+            "text": "",
+            "top": 437,
+            "left": 140,
+            "width": 1400,
+            "height": 2
+        },
+        {
+            "type": "track",
+            "id": "lb_track6",
+            "text": "",
+            "top": 80,
+            "left": 1680,
+            "width": 2,
+            "height": 400
+        },        {
+            "type": "track",
+            "id": "lb_track7",
+            "text": "",
+            "top": 80,
+            "left": 1720,
+            "width": 2,
+            "height": 400
+        }
+    ],
     "areas": [
         {
             "type": "Control_floor",
             "id": "tabControl_floor1",
             "text": "妤煎眰",
-            "top": 286,
-            "left": 22,
-            "width": 302,
-            "height": 403,
+            "top": 50,
+            "left": 50,
+            "width": 2900,
+            "height": 600,
             "floors": [
                 {
                     "type": "floor",
                     "id": "page_floor1",
                     "text": "1F",
-                    "top": 4,
-                    "left": 22,
-                    "width": 276,
-                    "height": 395,
+                    "top": 0,
+                    "left": 0,
+                    "width": 2900,
+                    "height": 600,
                     "stns": [
-                        {
-                            "type": "stn",
-                            "id": "site-306",
-                            "text": "306",
-                            "top": 458,
-                            "left": 225,
-                            "width": 66,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-303",
-                            "text": "303",
-                            "top": 399,
-                            "left": 225,
-                            "width": 66,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-304",
-                            "text": "304",
-                            "top": 458,
-                            "left": 360,
-                            "width": 66,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-305",
-                            "text": "305",
-                            "top": 458,
-                            "left": 293,
-                            "width": 66,
-                            "height": 24
-                        },{
-                            "type": "stn",
-                            "id": "site-202",
-                            "text": "202",
-                            "top": 264,
-                            "left": 225,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-302",
-                            "text": "302",
-                            "top": 399,
-                            "left": 293,
-                            "width": 66,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-203",
-                            "text": "203",
-                            "top": 320,
-                            "left": 327,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-204",
-                            "text": "204",
-                            "top": 320,
-                            "left": 225,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-201",
-                            "text": "201",
-                            "top": 264,
-                            "left": 327,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-103",
-                            "text": "103",
-                            "top": 181,
-                            "left": 327,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-101",
-                            "text": "101",
-                            "top": 124,
-                            "left": 327,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-301",
-                            "text": "301",
-                            "top": 399,
-                            "left": 360,
-                            "width": 66,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-102",
-                            "text": "102",
-                            "top": 124,
-                            "left": 225,
-                            "width": 100,
-                            "height": 24
-                        }, {
-                            "type": "stn",
-                            "id": "site-104",
-                            "text": "104",
-                            "top": 181,
-                            "left": 225,
-                            "width": 100,
-                            "height": 24
-                        }
-                    ]
-                }
+                        { "type": "stn", "id": "site-100", "text": "100", "top": 80, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-101", "text": "101", "top": 80, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-102", "text": "102", "top": 80, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-103", "text": "103", "top": 80, "left": 1742, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-104", "text": "104", "top": 80, "left": 1784, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-105", "text": "105", "top": 80, "left": 1826, "width": 40, "height": 23 },
+
+                        { "type": "stn", "id": "site-106", "text": "106", "top": 130, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-107", "text": "107", "top": 130, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-108", "text": "108", "top": 130, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-109", "text": "109", "top": 160, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-110", "text": "110", "top": 160, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-111", "text": "111", "top": 160, "left": 1624, "width": 40, "height": 23 },
+
+                        { "type": "stn", "id": "site-112", "text": "112", "top": 210, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-113", "text": "113", "top": 210, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-114", "text": "114", "top": 210, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-115", "text": "115", "top": 240, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-116", "text": "116", "top": 240, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-117", "text": "117", "top": 240, "left": 1624, "width": 40, "height": 23 },
+
+                        { "type": "stn", "id": "site-118", "text": "118", "top": 240, "left": 1742, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-119", "text": "119", "top": 240, "left": 1784, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-120", "text": "120", "top": 240, "left": 1826, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-121", "text": "121", "top": 265, "left": 1826, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-122", "text": "122", "top": 290, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-123", "text": "123", "top": 290, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-124", "text": "124", "top": 290, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-125", "text": "125", "top": 290, "left": 1742, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-126", "text": "126", "top": 290, "left": 1784, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-127", "text": "127", "top": 290, "left": 1826, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-128", "text": "128", "top": 320, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-129", "text": "129", "top": 320, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-130", "text": "130", "top": 320, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-131", "text": "131", "top": 370, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-132", "text": "132", "top": 370, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-133", "text": "133", "top": 370, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-134", "text": "134", "top": 400, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-135", "text": "135", "top": 400, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-136", "text": "136", "top": 400, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-137", "text": "137", "top": 400, "left": 1742, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-138", "text": "138", "top": 400, "left": 1784, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-139", "text": "139", "top": 400, "left": 1826, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-140", "text": "140", "top": 450, "left": 1540, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-141", "text": "141", "top": 450, "left": 1582, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-142", "text": "142", "top": 450, "left": 1624, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-143", "text": "143", "top": 450, "left": 1742, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-144", "text": "144", "top": 450, "left": 1784, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-145", "text": "145", "top": 450, "left": 1826, "width": 40, "height": 23 },
+                        { "type": "stn", "id": "site-1000", "text": "1000", "top": 160, "left": 1675, "width": 60, "height": 23 },
+                        { "type": "stn", "id": "site-1001", "text": "1001", "top": 400, "left": 1675, "width": 60, "height": 23 },
+
+                    ],
+                    "barcode": []
+                },
             ]
         }
     ]
-
-}
\ No newline at end of file
+}

--
Gitblit v1.9.1