#
Junjie
2023-11-17 196f9b62a04204e7c05da99b53ab9f36d2d7a029
src/main/webapp/static/js/console.map.js
@@ -1,467 +1,131 @@
mapInfo = {
    "mapName": "NBJFWCS",
    "rackCount": 18,
    "crnCount": 7,
    "stbCount": 77,
    "hpPosition": 0,
    "minBayNo": 2,
    "mapName": "jkxcwcs",
    "rackCount": 4,
    "crnCount": 1,
    "stbCount": 4,
    "hpPosition": 1,
    "minBayNo": 1,
    "floors": 1,
    "racks": [
        {
            "type": "rack",
            "id": "rack1",
            "top": 150,
            "left": 441,
            "width": 934,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 56
        },
        {
            "type": "rack",
            "id": "rack2",
            "top": 170,
            "left": 441,
            "width": 900,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 54
        },
        {
            "type": "rack",
            "id": "rack3",
            "top": 224,
            "left": 441,
            "width": 932,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 56
        },
        {
            "type": "rack",
            "id": "rack4",
            "top": 244,
            "left": 441,
            "width": 932,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 56
        },
        {
            "type": "rack",
            "id": "rack5",
            "top": 280,
            "left": 441,
            "width": 932,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 56
        },
        {
            "type": "rack",
            "id": "rack6",
            "top": 300,
            "left": 441,
            "width": 932,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 56
        },
        {
            "type": "rack",
            "id": "rack7",
            "top": 356,
            "left": 441,
            "width": 900,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 54
        },
        {
            "type": "rack",
            "id": "rack8",
            "top": 378,
            "left": 441,
            "width": 934,
            "height": 22,
            "minBayNo": 2,
            "maxBayNo": 56
        },
    ],
    "rackDescs": [
        {
            "type": "rackDescs",
            "id": "lb_desc1",
            "text": "#1",
            "top": 150,
            "left": 1380,
            "width": 30,
            "height": 23
        },
        {
            "type": "rackDescs",
            "id": "lb_desc3",
            "text": "#3",
            "top": 223,
            "left": 1380,
            "width": 30,
            "height": 23
        },
        {
            "type": "rackDescs",
            "id": "lb_desc4",
            "text": "#4",
            "top": 245,
            "left": 1380,
            "width": 30,
            "height": 23
        },
        {
            "type": "rackDescs",
            "id": "lb_desc5",
            "text": "#5",
            "top": 280,
            "left": 1380,
            "width": 30,
            "height": 23
        },
        {
            "type": "rackDescs",
            "id": "lb_desc6",
            "text": "#6",
            "top": 300,
            "left": 1380,
            "width": 30,
            "height": 23
        },
        {
            "type": "rackDescs",
            "id": "lb_desc8",
            "text": "#8",
            "top": 380,
            "left": 1380,
            "width": 30,
            "height": 23
        },
    ],
    "crns": [
        {
            "type": "track",
            "id": "lb_track1",
            "text": "",
            "top": 212,
            "left": 370,
            "width": 1060,
            "height": 2
        },
        {
            "type": "track",
            "id": "lb_track2",
            "text": "",
            "top": 342,
            "left": 370,
            "width": 1060,
            "height": 2
        },
        {
            "type": "crane",
            "id": "crn-1",
            "text": "1",
            "top": 200,
            "left": 805,
            "width": 93,
            "height": 22
        },
        {
            "type": "crane",
            "id": "crn-2",
            "text": "2",
            "top": 330,
            "left": 805,
            "width": 93,
            "height": 22
        }
    ],
    "areas": [
        {
            "type": "Control_floor",
            "id": "tabControl_floor1",
            "text": "楼层",
            "top": 68,
            "left": 80,
            "width": 1845,
            "height": 676,
            "floors": [
                {
                    "type": "floor",
                    "id": "page_floor1",
                    "text": "1F",
                    "top": 4,
                    "left": 22,
                    "width": 1819,
                    "height": 668,
                    "stns": [
                        {
                            "type": "stn",
                            "id": "site-102",
                            "text": "102",
                            "top": 172,
                            "left": 1342,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-101",
                            "text": "101",
                            "top": 172,
                            "left": 1413,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-100",
                            "text": "100",
                            "top": 172,
                            "left": 1484,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-106",
                            "text": "106",
                            "top": 359,
                            "left": 1342,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-105",
                            "text": "105",
                            "top": 359,
                            "left": 1413,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-104",
                            "text": "104",
                            "top": 359,
                            "left": 1484,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-103",
                            "text": "103",
                            "top": 359,
                            "left": 1555,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-112",
                            "text": "112",
                            "top": 173,
                            "left": 403,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-111",
                            "text": "111",
                            "top": 173,
                            "left": 332,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-110",
                            "text": "110",
                            "top": 173,
                            "left": 261,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-116",
                            "text": "116",
                            "top": 358,
                            "left": 403,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-115",
                            "text": "115",
                            "top": 358,
                            "left": 332,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-114",
                            "text": "114",
                            "top": 358,
                            "left": 261,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-113",
                            "text": "113",
                            "top": 358,
                            "left": 190,
                            "width": 70,
                            "height": 20
                        },
                    ]
                },
                {
                    "type": "floor",
                    "id": "page_floor2",
                    "text": "2F",
                    "top": 4,
                    "left": 22,
                    "width": 1819,
                    "height": 668,
                    "stns": [
                        {
                            "type": "stn",
                            "id": "site-202",
                            "text": "202",
                            "top": 173,
                            "left": 403,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-201",
                            "text": "201",
                            "top": 173,
                            "left": 332,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-200",
                            "text": "200",
                            "top": 173,
                            "left": 261,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-205",
                            "text": "205",
                            "top": 358,
                            "left": 403,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-204",
                            "text": "204",
                            "top": 358,
                            "left": 332,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-203",
                            "text": "203",
                            "top": 358,
                            "left": 261,
                            "width": 70,
                            "height": 20
                        },
                    ]
                },
                {
                    "type": "floor",
                    "id": "page_floor3",
                    "text": "3F",
                    "top": 4,
                    "left": 22,
                    "width": 1819,
                    "height": 668,
                    "stns": [
                        {
                            "type": "stn",
                            "id": "site-302",
                            "text": "302",
                            "top": 173,
                            "left": 403,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-301",
                            "text": "301",
                            "top": 173,
                            "left": 332,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-300",
                            "text": "300",
                            "top": 173,
                            "left": 261,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-305",
                            "text": "305",
                            "top": 358,
                            "left": 403,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-304",
                            "text": "304",
                            "top": 358,
                            "left": 332,
                            "width": 70,
                            "height": 20
                        },
                        {
                            "type": "stn",
                            "id": "site-303",
                            "text": "303",
                            "top": 358,
                            "left": 261,
                            "width": 70,
                            "height": 20
                        },
                    ]
                }
            ]
        }
    ]
    "racks": [{
        "type": "rack",
        "id": "rack1",
        "top": 200,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 40
    }, {
        "type": "rack",
        "id": "rack2",
        "top": 224,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack3",
        "top": 298,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack4",
        "top": 322,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }],
    "rackDescs": [{
        "type": "rackDescs",
        "id": "lb_desc17",
        "text": "#1",
        "top": 200,
        "left": 380,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc16",
        "text": "#4",
        "top": 322,
        "left": 377,
        "width": 33,
        "height": 23
    }],
    "crns": [{
        "type": "track",
        "id": "lb_track1",
        "text": "",
        "top": 269,
        "left": 442,
        "width": 850,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-1",
        "text": "1",
        "top": 258,
        "left": 736,
        "width": 93,
        "height": 22
    }],
    "areas": [{
        "type": "Control_floor",
        "id": "tabControl_floor1",
        "text": "楼层",
        "top": 66,
        "left": 80,
        "width": 1416,
        "height": 623,
        "floors": [{
            "type": "floor",
            "id": "page_floor1",
            "text": "1F",
            "top": 4,
            "left": 22,
            "width": 1390,
            "height": 615,
            "stns": [{
                "type": "stn",
                "id": "site-100",
                "text": "100",
                "top": 298,
                "left": 1255,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-103",
                "text": "103",
                "top": 223,
                "left": 1255,
                "width": 101,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-102",
                "text": "102",
                "top": 223,
                "left": 1358,
                "width": 101,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-101",
                "text": "101",
                "top": 298,
                "left": 1330,
                "width": 73,
                "height": 23
            }]
        }]
    }]
}