zhangchao
2024-08-28 d8cc1b75c7590ea3a7e65f61c0f07b131fef0ca0
src/main/webapp/static/js/console.map.js
@@ -1,322 +1,78 @@
mapInfo = {
    "mapName": "BJYCWCS",
    "mapName": "WCS",
    "rackCount": 4,
    "crnCount": 3,
    "stbCount": 13,
    "crnCount": 1,
    "stbCount": 10,
    "hpPosition": 0,
    "minBayNo": 1,
    "floors": 1,
    "floors": 2,
    "racks": [{
        "type": "rack",
        "id": "rack1",
        "top": 125,
        "left": 379,
        "width": 1280,
        "height": 22,
        "id": "rack4",
        "top": 351,
        "left": 577,
        "width": 528,
        "height": 32,
        "minBayNo": 1,
        "maxBayNo": 47
        "maxBayNo": 4
    }, {
        "type": "rack",
        "id": "rack1",
        "top": 200,
        "left": 577,
        "width": 528,
        "height": 32,
        "minBayNo": 1,
        "maxBayNo": 4
    }, {
        "type": "rack",
        "id": "rack2",
        "top": 146,
        "left": 379,
        "width": 1280,
        "height": 22,
        "top": 234,
        "left": 577,
        "width": 528,
        "height": 32,
        "minBayNo": 1,
        "maxBayNo": 47
        "maxBayNo": 4
    }, {
        "type": "rack",
        "id": "rack3",
        "top": 194,
        "left": 561,
        "width": 1027,
        "height": 22,
        "minBayNo": 4,
        "maxBayNo": 44
    }, {
        "type": "rack",
        "id": "rack31",
        "top": 194,
        "left": 379,
        "width": 60,
        "height": 22,
        "top": 317,
        "left": 577,
        "width": 528,
        "height": 32,
        "minBayNo": 1,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack32",
        "top": 194,
        "left": 1588,
        "width": 45,
        "height": 22,
        "minBayNo": 47,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack4",
        "top": 215,
        "left": 561,
        "width": 1027,
        "height": 22,
        "minBayNo": 4,
        "maxBayNo": 44
    }, {
        "type": "rack",
        "id": "rack41",
        "top": 215,
        "left": 379,
        "width": 60,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack42",
        "top": 215,
        "left": 1588,
        "width": 45,
        "height": 22,
        "minBayNo": 47,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack11",
        "top": 300,
        "left": 379,
        "width": 1280,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 47
    }, {
        "type": "rack",
        "id": "rack12",
        "top": 321,
        "left": 379,
        "width": 1280,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 47
    }, {
        "type": "rack",
        "id": "rack13",
        "top": 369,
        "left": 561,
        "width": 1027,
        "height": 22,
        "minBayNo": 4,
        "maxBayNo": 44
    }, {
        "type": "rack",
        "id": "rack131",
        "top": 369,
        "left": 379,
        "width": 60,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack132",
        "top": 369,
        "left": 1588,
        "width": 45,
        "height": 22,
        "minBayNo": 47,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack14",
        "top": 390,
        "left": 561,
        "width": 1027,
        "height": 22,
        "minBayNo": 4,
        "maxBayNo": 44
    }, {
        "type": "rack",
        "id": "rack141",
        "top": 390,
        "left": 379,
        "width": 60,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack142",
        "top": 390,
        "left": 1588,
        "width": 45,
        "height": 22,
        "minBayNo": 47,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack21",
        "top": 475,
        "left": 379,
        "width": 1280,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 47
    }, {
        "type": "rack",
        "id": "rack22",
        "top": 496,
        "left": 379,
        "width": 1280,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 47
    }, {
        "type": "rack",
        "id": "rack23",
        "top": 544,
        "left": 561,
        "width": 1027,
        "height": 22,
        "minBayNo": 4,
        "maxBayNo": 44
    }, {
        "type": "rack",
        "id": "rack231",
        "top": 544,
        "left": 379,
        "width": 60,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack232",
        "top": 544,
        "left": 1588,
        "width": 45,
        "height": 22,
        "minBayNo": 47,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack24",
        "top": 565,
        "left": 561,
        "width": 1027,
        "height": 22,
        "minBayNo": 4,
        "maxBayNo": 44
    }, {
        "type": "rack",
        "id": "rack241",
        "top": 565,
        "left": 379,
        "width": 60,
        "height": 22,
        "minBayNo": 1,
        "maxBayNo": 1
    }, {
        "type": "rack",
        "id": "rack242",
        "top": 565,
        "left": 1588,
        "width": 45,
        "height": 22,
        "minBayNo": 47,
        "maxBayNo": 1
        "maxBayNo": 4
    }],
    "rackDescs": [{
        "type": "rackDescs",
        "id": "lb_desc1",
        "text": "#1",
        "top": 125,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc2",
        "text": "#2",
        "top": 146,
        "left": 348,
        "width": 30,
        "top": 237,
        "left": 1154,
        "width": 33,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc3",
        "text": "#3",
        "top": 194,
        "left": 348,
        "top": 317,
        "left": 1154,
        "width": 32,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc1",
        "text": "#1",
        "top": 200,
        "left": 1154,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc4",
        "text": "#4",
        "top": 215,
        "left": 348,
        "width": 33,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc1",
        "text": "#11",
        "top": 300,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc2",
        "text": "#12",
        "top": 321,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc3",
        "text": "#13",
        "top": 370,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc4",
        "text": "#14",
        "top": 390,
        "left": 348,
        "width": 33,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc1",
        "text": "#21",
        "top": 475,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc2",
        "text": "#22",
        "top": 496,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc3",
        "text": "#23",
        "top": 545,
        "left": 348,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc4",
        "text": "#24",
        "top": 565,
        "left": 348,
        "top": 360,
        "left": 1151,
        "width": 33,
        "height": 23
    }],
@@ -324,48 +80,16 @@
        "type": "track",
        "id": "lb_track1",
        "text": "",
        "top": 184,
        "left": 340,
        "width": 1300,
        "top": 293,
        "left": 539,
        "width": 600,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-1",
        "text": "1",
        "top": 171,
        "left": 340,
        "width": 93,
        "height": 22
    },{
        "type": "track",
        "id": "lb_track2",
        "text": "",
        "top": 358,
        "left": 340,
        "width": 1300,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-2",
        "text": "2",
        "top": 345,
        "left": 340,
        "width": 93,
        "height": 22
    },{
        "type": "track",
        "id": "lb_track3",
        "text": "",
        "top": 533,
        "left": 340,
        "width": 1300,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-3",
        "text": "3",
        "top": 520,
        "left": 340,
        "top": 284,
        "left": 833,
        "width": 93,
        "height": 22
    }],
@@ -373,179 +97,108 @@
        "type": "Control_floor",
        "id": "tabControl_floor1",
        "text": "楼层",
        "top": 68,
        "top": 64,
        "left": 80,
        "width": 1845,
        "height": 676,
        "width": 1389,
        "height": 666,
        "floors": [{
            "type": "floor",
            "id": "page_floor1",
            "text": "1库",
            "text": "1F",
            "top": 4,
            "left": 22,
            "width": 1819,
            "height": 668,
            "width": 1363,
            "height": 658,
            "stns": [{
                "type": "stn",
                "id": "site-104",
                "text": "104",
                "top": 196,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-105",
                "text": "105",
                "top": 196,
                "left": 440,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-103",
                "text": "103",
                "top": 217,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-106",
                "text": "106",
                "top": 217,
                "left": 440,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-102",
                "text": "102",
                "top": 238,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-107",
                "text": "107",
                "top": 238,
                "left": 440,
                "width": 60,
                "height": 20
                "top": 318,
                "left": 342,
                "width": 91,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-101",
                "text": "101",
                "top": 260,
                "left": 501,
                "width": 60,
                "height": 20
                "top": 351,
                "left": 342,
                "width": 91,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-108",
                "text": "108",
                "top": 260,
                "left": 440,
                "width": 60,
                "height": 20
                "id": "site-103",
                "text": "103",
                "top": 318,
                "left": 434,
                "width": 141,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-203",
                "text": "203",
                "top": 371,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-204",
                "text": "204",
                "top": 371,
                "left": 440,
                "width": 60,
                "height": 20
            }, {
                "id": "site-104",
                "text": "104",
                "top": 235,
                "left": 448,
                "width": 127,
                "height": 32
            }]
        }, {
            "type": "floor",
            "id": "page_floor2",
            "text": "2F",
            "top": 4,
            "left": 22,
            "width": 1363,
            "height": 658,
            "stns": [{
                "type": "stn",
                "id": "site-202",
                "text": "202",
                "top": 392,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-205",
                "text": "205",
                "top": 392,
                "left": 440,
                "width": 60,
                "height": 20
                "top": 386,
                "left": 978,
                "width": 127,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-201",
                "text": "201",
                "top": 413,
                "left": 501,
                "width": 60,
                "height": 20
                "top": 420,
                "left": 978,
                "width": 127,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-206",
                "text": "206",
                "top": 413,
                "left": 440,
                "width": 60,
                "height": 20
                "id": "site-212",
                "text": "212",
                "top": 386,
                "left": 577,
                "width": 160,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-303",
                "text": "303",
                "top": 546,
                "left": 501,
                "width": 60,
                "height": 20
                "id": "site-200",
                "text": "200",
                "top": 454,
                "left": 978,
                "width": 127,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-304",
                "text": "304",
                "top": 546,
                "left": 440,
                "width": 60,
                "height": 20
                "id": "site-211",
                "text": "211",
                "top": 420,
                "left": 577,
                "width": 160,
                "height": 32
            }, {
                "type": "stn",
                "id": "site-302",
                "text": "302",
                "top": 567,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-305",
                "text": "305",
                "top": 567,
                "left": 440,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-301",
                "text": "301",
                "top": 588,
                "left": 501,
                "width": 60,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-306",
                "text": "306",
                "top": 588,
                "left": 440,
                "width": 60,
                "height": 20
                "id": "site-210",
                "text": "210",
                "top": 454,
                "left": 577,
                "width": 160,
                "height": 32
            }]
        }]
    }]
}
}