#
mrzhssss
2022-12-06 c84c97b5ef3044d77d81b4ca2286af5840a74dba
src/main/webapp/static/js/console.map.js
@@ -1,515 +1,399 @@
mapInfo = {
    "mapName": "HYLYWCS",
    "rackCount": 12,
    "crnCount": 3,
    "mapName": "STWCS",
    "rackCount": 16,
    "crnCount": 4,
    "stbCount": 16,
    "hpPosition": 0,
    "minBayNo": 2,
    "floors": 1,
    "racks": [{
        "type": "rack",
        "id": "rack12",
        "top": 484,
        "left": 430,
        "width": 1088,
        "height": 24,
        "id": "rack4",
        "top": 547,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 64
    }, {
        "type": "rack",
        "id": "rack11",
        "top": 458,
        "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": "rack9",
        "top": 373,
        "left": 430,
        "width": 1088,
        "height": 24,
        "minBayNo": 2,
        "maxBayNo": 64
    }, {
        "type": "rack",
        "id": "rack8",
        "top": 344,
        "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": "rack6",
        "top": 263,
        "left": 430,
        "width": 1088,
        "height": 24,
        "minBayNo": 1,
        "maxBayNo": 16
    }, {
        "type": "rack",
        "id": "rack5",
        "top": 237,
        "left": 430,
        "width": 1088,
        "height": 24,
        "minBayNo": 1,
        "maxBayNo": 16
    }, {
        "type": "rack",
        "id": "rack3",
        "top": 180,
        "left": 430,
        "width": 1020,
        "height": 24,
        "minBayNo": 1,
        "maxBayNo": 30
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack1",
        "top": 97,
        "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
        "top": 639,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack2",
        "top": 123,
        "left": 430,
        "width": 1020,
        "height": 24,
        "minBayNo": 1,
        "maxBayNo": 30
        "top": 617,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack3",
        "top": 569,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack8",
        "top": 433,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack5",
        "top": 525,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack6",
        "top": 503,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack7",
        "top": 455,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack12",
        "top": 320,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack9",
        "top": 411,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack10",
        "top": 389,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack11",
        "top": 342,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack16",
        "top": 204,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack13",
        "top": 298,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack15",
        "top": 226,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack14",
        "top": 276,
        "left": 412,
        "width": 917,
        "height": 22,
        "minBayNo": 2,
        "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,
        "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,
        "id": "lb_desc16",
        "text": "#1",
        "top": 663,
        "left": 1228,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc1",
        "text": "#1",
        "top": 95,
        "left": 1460,
        "width": 30,
        "text": "#16",
        "top": 181,
        "left": 1217,
        "width": 41,
        "height": 23
    }],
    "crns": [{
        "type": "crane",
        "id": "crn-1",
        "text": "1",
        "top": 153,
        "left": 500,
        "top": 252,
        "left": 501,
        "width": 93,
        "height": 22
    }, {
        "type": "track",
        "id": "lb_track1",
        "text": "",
        "top": 605,
        "left": 332,
        "width": 1042,
        "height": 2
    }, {
        "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,
        "top": 367,
        "left": 512,
        "width": 93,
        "height": 22
    }, {
        "type": "track",
        "id": "lb_track2",
        "text": "",
        "top": 300,
        "left": 405,
        "width": 1130,
        "top": 489,
        "left": 332,
        "width": 1043,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-3",
        "text": "3",
        "top": 481,
        "left": 501,
        "width": 93,
        "height": 22
    }, {
        "type": "track",
        "id": "lb_track5",
        "text": "",
        "top": 376,
        "left": 333,
        "width": 1045,
        "height": 2
    }, {
        "type": "track",
        "id": "lb_track3",
        "id": "lb_track4",
        "text": "",
        "top": 438,
        "left": 405,
        "width": 1130,
        "top": 260,
        "left": 335,
        "width": 1046,
        "height": 2
    }, {
        "type": "track",
        "id": "lb_track1",
        "text": "",
        "top": 164,
        "left": 405,
        "width": 1060,
        "height": 2
        "type": "crane",
        "id": "crn-4",
        "text": "4",
        "top": 595,
        "left": 501,
        "width": 93,
        "height": 22
    }],
    "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": 68,
        "left": 80,
        "width": 1400,
        "height": 680,
        "floors": [{
            "type": "floor",
            "id": "page_floor1",
            "text": "1F",
            "top": 4,
            "left": 22,
            "width": 302,
            "height": 403,
            "floors": [
                {
                    "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
                        }
                    ]
                }
            ]
        }
    ]
            "width": 1374,
            "height": 672,
            "stns": [{
                "type": "stn",
                "id": "site-016",
                "text": "016",
                "top": 457,
                "left": 239,
                "width": 69,
                "height": 20
            }, {
                "type": "track",
                "id": "lb_trCart21",
                "text": "",
                "top": 93,
                "left": 243,
                "width": 6,
                "height": 569
            }, {
                "type": "track",
                "id": "lb_trCart22",
                "text": "",
                "top": 93,
                "left": 297,
                "width": 6,
                "height": 569
            }, {
                "type": "stn",
                "id": "site-015",
                "text": "015",
                "top": 95,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-014",
                "text": "014",
                "top": 95,
                "left": 412,
                "width": 92,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-013",
                "text": "013",
                "top": 117,
                "left": 412,
                "width": 92,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-012",
                "text": "012",
                "top": 139,
                "left": 412,
                "width": 92,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-011",
                "text": "011",
                "top": 161,
                "left": 412,
                "width": 92,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-010",
                "text": "010",
                "top": 183,
                "left": 412,
                "width": 92,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-009",
                "text": "009",
                "top": 183,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-008",
                "text": "008",
                "top": 228,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-007",
                "text": "007",
                "top": 278,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-006",
                "text": "006",
                "top": 344,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-005",
                "text": "005",
                "top": 391,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-004",
                "text": "004",
                "top": 457,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-003",
                "text": "003",
                "top": 505,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-002",
                "text": "002",
                "top": 571,
                "left": 310,
                "width": 100,
                "height": 20
            }, {
                "type": "stn",
                "id": "site-001",
                "text": "001",
                "top": 619,
                "left": 310,
                "width": 100,
                "height": 20
            }]
        }]
    }]
}