From ee6863dd561415cebed005d51e8c15ec8c2f5004 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期日, 28 七月 2024 20:12:40 +0800 Subject: [PATCH] wcs配置,流程修改 --- src/main/webapp/static/js/console.map.js | 812 ++++++++++++++++++++++----------------------------------- 1 files changed, 309 insertions(+), 503 deletions(-) diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js index 0265aa2..b2a3f7b 100644 --- a/src/main/webapp/static/js/console.map.js +++ b/src/main/webapp/static/js/console.map.js @@ -1,528 +1,334 @@ mapInfo = { - "mapName": "HYLYWCS", - "rackCount": 12, - "crnCount": 3, - "stbCount": 16, - "hpPosition": 0, - "minBayNo": 2, - "floors": 1, - "racks": [ - { - "type": "rack", - "id": "rack1", - "top": 97, - "left": 430, - "width": 1020, - "height": 24, - "minBayNo": 1, - "maxBayNo": 30 - }, - { - "type": "rack", - "id": "rack2", - "top": 123, - "left": 430, - "width": 1020, - "height": 24, - "minBayNo": 1, - "maxBayNo": 30 - }, - { - "type": "rack", - "id": "rack3", - "top": 180, - "left": 430, - "width": 1020, - "height": 24, - "minBayNo": 1, - "maxBayNo": 30 - }, - { - "type": "rack", - "id": "rack4", - "top": 207, - "left": 430, - "width": 1020, - "height": 24, - "minBayNo": 1, - "maxBayNo": 30 - }, - { - "type": "rack", - "id": "rack5", - "top": 237, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 1, - "maxBayNo": 16 - }, - { - "type": "rack", - "id": "rack6", - "top": 263, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 1, - "maxBayNo": 16 - }, - { - "type": "rack", - "id": "rack7", - "top": 318, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 1, - "maxBayNo": 16 - }, - { - "type": "rack", - "id": "rack8", - "top": 344, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 1, - "maxBayNo": 16 - }, - { - "type": "rack", - "id": "rack9", - "top": 373, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 2, - "maxBayNo": 64 - }, - { - "type": "rack", - "id": "rack10", - "top": 399, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 2, - "maxBayNo": 64 - }, - { - "type": "rack", - "id": "rack11", - "top": 458, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 2, - "maxBayNo": 64 - }, - { - "type": "rack", - "id": "rack12", - "top": 484, - "left": 430, - "width": 1088, - "height": 24, - "minBayNo": 2, - "maxBayNo": 64 - }, - ], + "mapName": "WCS", + "rackCount": 8, + "crnCount": 2, + "stbCount": 18, + "hpPosition": 1, + "minBayNo": 1, + "floors": 2, + "racks": [{ + "type": "rack", + "id": "rack1", + "top": 189, + "left": 200, + "width": 1350, + "height": 23, + "minBayNo": 1, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack8", + "top": 457, + "left": 200, + "width": 1300, + "height": 23, + "minBayNo": 2, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack7", + "top": 430, + "left": 200, + "width": 1300, + "height": 23, + "minBayNo": 2, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack6", + "top": 365, + "left": 200, + "width": 1350, + "height": 23, + "minBayNo": 1, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack5", + "top": 338, + "left": 200, + "width": 1350, + "height": 23, + "minBayNo": 1, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack4", + "top": 311, + "left": 200, + "width": 1300, + "height": 23, + "minBayNo": 2, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack3", + "top": 283, + "left": 200, + "width": 1300, + "height": 23, + "minBayNo": 2, + "maxBayNo": 31 + }, { + "type": "rack", + "id": "rack2", + "top": 217, + "left": 200, + "width": 1350, + "height": 23, + "minBayNo": 1, + "maxBayNo": 31 + }], "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, + "top": 190, + "left": 150, "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 - }], + }, + {"type": "rackDescs", "id": "lb_desc7", "text": "#7", "top": 218, "left": 150, "width": 33, "height": 23}, + {"type": "rackDescs", "id": "lb_desc6", "text": "#6", "top": 280, "left": 150, "width": 33, "height": 23}, + {"type": "rackDescs", "id": "lb_desc5", "text": "#5", "top": 310, "left": 150, "width": 33, "height": 23}, + {"type": "rackDescs", "id": "lb_desc4", "text": "#4", "top": 340, "left": 150, "width": 33, "height": 23}, + {"type": "rackDescs", "id": "lb_desc3", "text": "#3", "top": 370, "left": 150, "width": 33, "height": 23}, + {"type": "rackDescs", "id": "lb_desc2", "text": "#2", "top": 430, "left": 150, "width": 33, "height": 23}, + {"type": "rackDescs", "id": "lb_desc1", "text": "#1", "top": 460, "left": 150, "width": 33, "height": 23}], "crns": [{ "type": "crane", "id": "crn-1", "text": "1", - "top": 153, - "left": 500, - "width": 93, - "height": 22 + "top": 393, + "left": 376, + "width": 101, + "height": 32 + }, { + "type": "track", + "id": "lb_track4", + "text": "", + "top": 408, + "left": 200, + "width": 1300, + "height": 1 }, { "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 + "top": 250, + "left": 383, + "width": 101, + "height": 29 }, { "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 + "top": 265, + "left": 200, + "width": 1300, + "height": 1 }], - "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 - }], - "areas": [ - { - "type": "Control_floor", - "id": "tabControl_floor1", - "text": "妤煎眰", - "top": 286, + "areas": [{ + "type": "Control_floor", + "id": "tabControl_floor1", + "text": "妤煎眰", + "top": 150, + "left": 46, + "width": 1703, + "height": 621, + "floors": [{ + "type": "floor", + "id": "page_floor1", + "text": "1F", + "top": 4, "left": 22, - "width": 302, - "height": 403, - "floors": [ + "width": 1677, + "height": 613, + "stns": [{ + "type": "stn", + "id": "site-102", + "text": "102", + "top": 431, + "left": 1600, + "width": 59, + "height": 27 + }, { + "type": "stn", + "id": "site-103", + "text": "103", + "top": 431, + "left": 1520, + "width": 59, + "height": 27 + }, { + "type": "stn", + "id": "site-100", + "text": "100", + "top": 285, + "left": 1600, + "width": 59, + "height": 25 + }, { + "type": "stn", + "id": "site-101", + "text": "101", + "top": 285, + "left": 1520, + "width": 59, + "height": 25 + }, { - "type": "floor", - "id": "page_floor1", - "text": "1F", - "top": 4, - "left": 22, - "width": 276, - "height": 395, - "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-105", + "text": "105", + "top": 431, + "left": 1328, + "width": 85, + "height": 50 + }, { + "type": "stn", + "id": "site-104", + "text": "104", + "top": 491, + "left": 1328, + "width": 85, + "height": 50 + }, { + "type": "stn", + "id": "site-106", + "text": "106", + "top": 284, + "left": 287, + "width": 86, + "height": 105 + }, { + "type": "stn", + "id": "site-107", + "text": "107", + "top": 431, + "left": 287, + "width": 86, + "height": 50 + }] + }, { + "type": "floor", + "id": "page_floor2", + "text": "2F", + "top": 4, + "left": 22, + "width": 1677, + "height": 613, + "stns": [{ + "type": "stn", + "id": "site-202", + "text": "202", + "top": 431, + "left": 1600, + "width": 59, + "height": 27 + }, { + "type": "stn", + "id": "site-203", + "text": "203", + "top": 431, + "left": 1520, + "width": 59, + "height": 27 + }, { + "type": "stn", + "id": "site-200", + "text": "200", + "top": 285, + "left": 1600, + "width": 59, + "height": 25 + }, { + "type": "stn", + "id": "site-201", + "text": "201", + "top": 285, + "left": 1520, + "width": 59, + "height": 25 + }, { + "type": "stn", + "id": "site-210", + "text": "210", + "top": 431, + "left": 1680, + "width": 59, + "height": 25 + }, { + "type": "track", + "id": "lb_track5", + "text": "", + "top": 110, + "left": 1690, + "width": 1, + "height": 350 + }, { + "type": "track", + "id": "lb_track6", + "text": "", + "top": 110, + "left": 1720, + "width": 1, + "height": 350 + }, { + "type": "stn", + "id": "site-300", + "text": "300", + "top": 120, + "left": 1630, + "width": 59, + "height": 25 + } + , { + "type": "stn", + "id": "site-301", + "text": "301", + "top": 120, + "left": 1570, + "width": 59, + "height": 25 + } + , { + "type": "stn", + "id": "site-302", + "text": "302", + "top": 120, + "left": 1510, + "width": 59, + "height": 25 + } + , { + "type": "stn", + "id": "site-303", + "text": "303", + "top": 120, + "left": 1450, + "width": 59, + "height": 25 + } + , { + "type": "stn", + "id": "site-304", + "text": "304", + "top": 94, + "left": 1450, + "width": 59, + "height": 25 + } + , { + "type": "stn", + "id": "site-305", + "text": "305", + "top": 68, + "left": 1450, + "width": 59, + "height": 25 } ] - } - ] - + }] + }] } \ No newline at end of file -- Gitblit v1.9.1