From cd87c057ec64e917105bd85e4f562b54f7b165d7 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期三, 10 九月 2025 17:31:26 +0800
Subject: [PATCH] 堆垛机任务下发优化

---
 src/main/webapp/static/wcs/js/console.map.js |  574 ++++++++++++++++++++++++++++++++------------------------
 1 files changed, 326 insertions(+), 248 deletions(-)

diff --git a/src/main/webapp/static/wcs/js/console.map.js b/src/main/webapp/static/wcs/js/console.map.js
index b77d4bd..1a1cb35 100644
--- a/src/main/webapp/static/wcs/js/console.map.js
+++ b/src/main/webapp/static/wcs/js/console.map.js
@@ -1,104 +1,113 @@
 mapInfo = {
-    "mapName": "jdzwcs",
+    "mapName": "scwcs",
     "rackCount": 13,
     "crnCount": 4,
     "stbCount": 4,
     "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]
-    }, {
+    "racks": [
+    //     {
+    //     "type": "rack",
+    //     "id": "rack7",
+    //     "top": 326,
+    //     "left": 800,
+    //     "width": 795,
+    //     "height": 23,
+    //     "minBayNo": 1,
+    //     "maxBayNo": 50,
+    //     "hiddenArr": [1,22]
+    // },
+        {
         "type": "rack",
         "id": "rack6",
         "top": 303,
-        "left": 800,
-        "width": 795,
+        "left": 820,
+        "width": 1050,
         "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]
-    },{
+        "maxBayNo": 59,
+        "hiddenArr": [1,59]
+    },
+    //     {
+    //     "type": "rack",
+    //     "id": "rack5",
+    //     "top": 209,
+    //     "left": 820,
+    //     "width": 1050,
+    //     "height": 23,
+    //     "minBayNo": 1,
+    //     "maxBayNo": 59,
+    //     "hiddenArr": [1,59]
+    // },
+        {
         "type": "rack",
         "id": "rack4",
         "top": 232,
-        "left": 800,
-        "width": 795,
+        "left": 820,
+        "width": 1050,
         "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]
-    }, {
+        "maxBayNo": 59,
+        "hiddenArr": [1,59]
+    },
+    //     {
+    //     "type": "rack",
+    //     "id": "rack3",
+    //     "top": 182,
+    //     "left": 820,
+    //     "width": 1050,
+    //     "height": 23,
+    //     "minBayNo": 1,
+    //     "maxBayNo": 59,
+    //     "hiddenArr": [1,59]
+    // },
+        {
         "type": "rack",
         "id": "rack2",
         "top": 159,
-        "left": 800,
-        "width": 795,
+        "left": 820,
+        "width": 1050,
         "height": 23,
         "minBayNo": 1,
-        "maxBayNo": 22,
-        "hiddenArr": [1,22]
-    }, {
+        "maxBayNo": 59,
+        "hiddenArr": [1,59]
+    },
+        {
         "type": "rack",
         "id": "rack1",
         "top": 98,
-        "left": 800,
-        "width": 795,
+        "left": 820,
+        "width": 1050,
         "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]
-    }],
+        "maxBayNo": 59,
+        "hiddenArr": [1,59]
+    },
+    //     {
+    //     "type": "rack",
+    //     "id": "rack0",
+    //     "top": 75,
+    //     "left": 820,
+    //     "width": 1050,
+    //     "height": 23,
+    //     "minBayNo": 1,
+    //     "maxBayNo": 59,
+    //     "hiddenArr": [1,59]
+    // }
+    ],
     "crns": [{
         "type": "crane",
-        "id": "crn-2",
-        "text": "2",
+        "id": "crn-1",
+        "text": "1",
         "top": 268,
         "left": 855,
         "width": 93,
         "height": 22
     }, {
         "type": "crane",
-        "id": "crn-1",
-        "text": "1",
+        "id": "crn-2",
+        "text": "2",
         "top": 132,
         "left": 855,
         "width": 93,
@@ -138,16 +147,16 @@
             "height": 706,
             "stns": [{
                 "type": "stn",
-                "id": "site-100",
-                "text": "100",
+                "id": "site-1008",
+                "text": "1008",
                 "top": 99,
                 "left": 771,
                 "width": 62,
                 "height": 23
             },{
                 "type": "stn",
-                "id": "site-101",
-                "text": "101",
+                "id": "site-1007",
+                "text": "1007",
                 "top": 99,
                 "left": 707,
                 "width": 62,
@@ -155,209 +164,105 @@
             },{
                 "type": "stn",
                 "id": "site-102",
-                "text": "102",
+                "text": "RGV灏忚溅",
                 "top": 99,
                 "left": 643,
                 "width": 62,
                 "height": 23
             },{
                 "type": "stn",
-                "id": "site-103",
-                "text": "103",
+                "id": "site-1011",
+                "text": "1011",
                 "top": 99,
                 "left": 579,
                 "width": 62,
                 "height": 23
-            },{
+            },
+                {
+                    "type": "stn",
+                    "id": "site-1020",
+                    "text": "1020",
+                    "top": 70,
+                    "left": 579,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-103",
+                    "text": "",
+                    "top": 70,
+                    "left": 515,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-103",
+                    "text": "",
+                    "top": 70,
+                    "left": 450,
+                    "width": 62,
+                    "height": 23
+                },
+            //     {
+            //     "type": "stn",
+            //     "id": "site-104",
+            //     "text": "104",
+            //     "top": 124,
+            //     "left": 579,
+            //     "width": 62,
+            //     "height": 34
+            // },
+                {
                 "type": "stn",
-                "id": "site-104",
-                "text": "104",
-                "top": 124,
-                "left": 579,
-                "width": 62,
-                "height": 34
-            },{
-                "type": "stn",
-                "id": "site-125",
-                "text": "125",
+                "id": "site-1006",
+                "text": "1006",
                 "top": 160,
                 "left": 771,
                 "width": 62,
                 "height": 23
             },{
                 "type": "stn",
-                "id": "site-124",
-                "text": "124",
+                "id": "site-1005",
+                "text": "1005",
                 "top": 160,
                 "left": 707,
                 "width": 62,
                 "height": 23
-            },{
+            },/*{
                 "type": "stn",
                 "id": "site-123",
-                "text": "123",
+                "text": "RGV灏忚溅",
                 "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-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",
+                "id": "site-1004",
+                "text": "1004",
                 "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
             },{
@@ -365,18 +270,191 @@
                 "id": "site-1003",
                 "text": "1003",
                 "top": 231,
-                "left": 451,
+                "left": 707,
+                "width": 62,
+                "height": 23
+            },/*{
+                "type": "stn",
+                "id": "site-118",
+                "text": "RGV灏忚溅",
+                "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-1002",
+                "text": "1002",
+                "top": 304,
+                "left": 771,
                 "width": 62,
                 "height": 23
             },{
                 "type": "stn",
-                "id": "site-1004",
-                "text": "1004",
+                "id": "site-1001",
+                "text": "1001",
                 "top": 304,
-                "left": 451,
+                "left": 707,
                 "width": 62,
                 "height": 23
-            } ]
+            },
+                {
+                    "type": "stn",
+                    "id": "site-1016",
+                    "text": "1016",
+                    "top": 330,
+                    "left": 707,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-1018",
+                    "text": "1018",
+                    "top": 356,
+                    "left": 707,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-1019",
+                    "text": "1019",
+                    "top": 356,
+                    "left": 772,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-114",
+                    "text": "",
+                    "top": 356,
+                    "left": 837,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-114",
+                    "text": "",
+                    "top": 356,
+                    "left": 902,
+                    "width": 62,
+                    "height": 23
+                },
+                {
+                    "type": "stn",
+                    "id": "site-1017",
+                    "text": "1017",
+                    "top": 383,
+                    "left": 707,
+                    "width": 62,
+                    "height": 23
+                },/*{
+                "type": "stn",
+                "id": "site-113",
+                "text": "RGV灏忚溅",
+                "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-1012",
+                "text": "1012",
+                "top": 99,
+                "left": 515,
+                "width": 62,
+                "height": 23
+            },{
+                "type": "stn",
+                "id": "site-1013",
+                "text": "1013",
+                "top": 124,
+                "left": 515,
+                "width": 62,
+                "height": 177
+            },{
+                "type": "stn",
+                "id": "site-1014",
+                "text": "1014",
+                "top": 304,
+                "left": 515,
+                "width": 62,
+                "height": 23
+            },{
+                "type": "stn",
+                "id": "site-1015",
+                "text": "1015",
+                "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
+            // }
+            ]
         }]
     }]
 }
\ No newline at end of file

--
Gitblit v1.9.1