#
Junjie
2023-11-17 196f9b62a04204e7c05da99b53ab9f36d2d7a029
src/main/webapp/static/js/console.map.js
@@ -1,87 +1,24 @@
mapInfo = {
    "mapName": "xcjgwcs",
    "mapName": "jkxcwcs",
    "rackCount": 4,
    "crnCount": 1,
    "stbCount": 4,
    "hpPosition": 0,
    "hpPosition": 1,
    "minBayNo": 1,
    "floors": 1,
    "racks": [{
        "type": "rack",
        "id": "rack12",
        "top": 614,
        "left": 478,
        "id": "rack1",
        "top": 200,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
        "maxBayNo": 40
    }, {
        "type": "rack",
        "id": "rack11",
        "top": 591,
        "left": 478,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack10",
        "top": 522,
        "left": 479,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack9",
        "top": 498,
        "left": 479,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack8",
        "top": 465,
        "left": 479,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack7",
        "top": 442,
        "left": 479,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack6",
        "top": 367,
        "left": 479,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack5",
        "top": 344,
        "left": 479,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack4",
        "top": 308,
        "id": "rack2",
        "top": 224,
        "left": 458,
        "width": 796,
        "height": 23,
@@ -90,7 +27,7 @@
    }, {
        "type": "rack",
        "id": "rack3",
        "top": 285,
        "top": 298,
        "left": 458,
        "width": 796,
        "height": 23,
@@ -98,56 +35,32 @@
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack2",
        "top": 223,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack1",
        "top": 200,
        "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": "crane",
        "id": "crn-2",
        "text": "2",
        "top": 563,
        "left": 525,
        "width": 93,
        "height": 22
    }, {
        "type": "crane",
        "id": "crn-1",
        "text": "1",
        "top": 258,
        "left": 525,
        "width": 93,
        "height": 22
    }, {
        "type": "track",
        "id": "lb_track3",
        "text": "",
        "top": 571,
        "left": 456,
        "width": 850,
        "height": 2
    }, {
        "type": "track",
        "id": "lb_track2",
        "text": "",
        "top": 415,
        "left": 456,
        "width": 850,
        "height": 2
    }, {
        "type": "track",
        "id": "lb_track1",
        "text": "",
@@ -155,6 +68,14 @@
        "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",
@@ -162,262 +83,46 @@
        "text": "楼层",
        "top": 66,
        "left": 80,
        "width": 1444,
        "height": 668,
        "width": 1416,
        "height": 623,
        "floors": [{
            "type": "floor",
            "id": "page_floor1",
            "text": "1F",
            "top": 4,
            "left": 22,
            "width": 1418,
            "height": 660,
            "width": 1390,
            "height": 615,
            "stns": [{
                "type": "stn",
                "id": "site-408",
                "text": "408",
                "top": 616,
                "left": 1314,
                "width": 41,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-402",
                "text": "402",
                "top": 487,
                "left": 1354,
                "width": 73,
                "height": 36
            }, {
                "type": "stn",
                "id": "site-404",
                "text": "404",
                "top": 544,
                "left": 1354,
                "width": 73,
                "height": 72
            }, {
                "type": "stn",
                "id": "site-405",
                "text": "405",
                "top": 616,
                "left": 1354,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-403",
                "text": "403",
                "top": 523,
                "left": 1354,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-400",
                "text": "400",
                "top": 443,
                "left": 1354,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-401",
                "text": "401",
                "top": 466,
                "left": 1354,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-409",
                "text": "409",
                "top": 616,
                "left": 1275,
                "width": 40,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-407",
                "text": "407",
                "top": 523,
                "left": 1275,
                "width": 80,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-406",
                "text": "406",
                "top": 466,
                "left": 1275,
                "width": 80,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-305",
                "text": "305",
                "top": 368,
                "left": 1432,
                "width": 81,
                "height": 30
            }, {
                "type": "stn",
                "id": "site-304",
                "text": "304",
                "top": 345,
                "left": 1432,
                "width": 81,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-303",
                "text": "303",
                "top": 339,
                "left": 1354,
                "width": 80,
                "height": 30
            }, {
                "type": "stn",
                "id": "site-306",
                "text": "306",
                "top": 339,
                "left": 1282,
                "width": 73,
                "height": 30
            }, {
                "type": "stn",
                "id": "site-302",
                "text": "302",
                "top": 309,
                "left": 1354,
                "width": 80,
                "height": 30
            }, {
                "type": "stn",
                "id": "site-307",
                "text": "307",
                "top": 309,
                "left": 1282,
                "width": 73,
                "height": 30
            }, {
                "type": "stn",
                "id": "site-301",
                "text": "301",
                "top": 286,
                "left": 1354,
                "width": 80,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-300",
                "text": "300",
                "top": 286,
                "id": "site-100",
                "text": "100",
                "top": 298,
                "left": 1255,
                "width": 100,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-206",
                "text": "206",
                "top": 616,
                "left": 394,
                "width": 87,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-205",
                "text": "205",
                "top": 616,
                "left": 316,
                "width": 81,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-204",
                "text": "204",
                "top": 523,
                "left": 316,
                "width": 73,
                "height": 93
            }, {
                "type": "stn",
                "id": "site-203",
                "text": "203",
                "top": 446,
                "left": 316,
                "width": 73,
                "height": 78
            }, {
                "type": "stn",
                "id": "site-202",
                "text": "202",
                "top": 389,
                "left": 316,
                "width": 73,
                "height": 59
            }, {
                "type": "stn",
                "id": "site-201",
                "text": "201",
                "top": 368,
                "left": 316,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-200",
                "text": "200",
                "top": 368,
                "left": 388,
                "width": 93,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-105",
                "text": "105",
                "top": 286,
                "left": 387,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-104",
                "text": "104",
                "top": 286,
                "left": 314,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-103",
                "text": "103",
                "top": 256,
                "left": 314,
                "width": 73,
                "height": 30
                "top": 223,
                "left": 1255,
                "width": 101,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-102",
                "text": "102",
                "top": 224,
                "left": 314,
                "width": 73,
                "height": 33
            }, {
                "type": "stn",
                "id": "site-100",
                "text": "100",
                "top": 201,
                "left": 387,
                "width": 73,
                "top": 223,
                "left": 1358,
                "width": 101,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-101",
                "text": "101",
                "top": 201,
                "left": 314,
                "top": 298,
                "left": 1330,
                "width": 73,
                "height": 23
            }]