#
Junjie
2023-11-17 196f9b62a04204e7c05da99b53ab9f36d2d7a029
src/main/webapp/static/js/console.map.js
@@ -1,351 +1,131 @@
mapInfo = {
    "mapName": "XCJGWCS",
    "rackCount": 18,
    "crnCount": 7,
    "stbCount": 77,
    "hpPosition": 0,
    "minBayNo": 2,
    "floors": 2,
    "racks": [
        {
            "type": "rack",
            "id": "rack1",
            "top": 100,
            "left": 370,
            "width": 1224,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 36
        },
        {
            "type": "rack",
            "id": "rack2",
            "top": 130,
            "left": 370,
            "width": 1224,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 36
        },
        {
            "type": "rack",
            "id": "rack3",
            "top": 160,
            "left": 370,
            "width": 1224,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 36
        },
        {
            "type": "rack",
            "id": "rack4",
            "top": 190,
            "left": 370,
            "width": 1122,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 33
        },
        {
            "type": "rack",
            "id": "rack5",
            "top": 230,
            "left": 403,
            "width": 1104,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 24
        },
        {
            "type": "rack",
            "id": "rack6",
            "top": 260,
            "left": 403,
            "width": 1104,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 24
        },
        {
            "type": "rack",
            "id": "rack7",
            "top": 440,
            "left": 403,
            "width": 1242,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 27
        },
        {
            "type": "rack",
            "id": "rack8",
            "top": 470,
            "left": 403,
            "width": 1242,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 27
        },
        {
            "type": "rack",
            "id": "rack9",
            "top": 500,
            "left": 403,
            "width": 1242,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 27
        },
        {
            "type": "rack",
            "id": "rack10",
            "top": 530,
            "left": 403,
            "width": 1242,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 27
        },
        {
            "type": "rack",
            "id": "rack11",
            "top": 610,
            "left": 403,
            "width": 1242,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 27
        },
        {
            "type": "rack",
            "id": "rack12",
            "top": 640,
            "left": 403,
            "width": 1242,
            "height": 26,
            "minBayNo": 1,
            "maxBayNo": 27
        },
    ],
    "rackDescs": [
        {
            "type": "rackDescs",
            "id": "lb_desc1",
            "text": "#1",
            "top": 388,
            "left": 1812,
            "width": 30,
            "height": 23
        },
        {
            "type": "rackDescs",
            "id": "lb_desc2",
            "text": "#2",
            "top": 324,
            "left": 1812,
            "width": 30,
            "height": 23
        },
    ],
    "crns": [
        {
            "type": "track",
            "id": "lb_track1",
            "text": "",
            "top": 346,
            "left": 300,
            "width": 1300,
            "height": 2
        },
        {
            "type": "crane",
            "id": "crn-1",
            "text": "1",
            "top": 334,
            "left": 1552,
            "width": 93,
            "height": 22
        },
        {
            "type": "uTrack",
            "id": "lb_track2",
            "text": "",
            "top": 400,
            "left": 300,
            "width": 1400,
            "height": 180
        },
        {
            "type": "crane",
            "id": "crn-2",
            "text": "2",
            "top": 388,
            "left": 1552,
            "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-105",
                //            "text": "105",
                //            "top": 403,
                //            "left": 193,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-102",
                //            "text": "102",
                //            "top": 377,
                //            "left": 273,
                //            "width": 95,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-104",
                //            "text": "104",
                //            "top": 377,
                //            "left": 193,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-101",
                //            "text": "101",
                //            "top": 403,
                //            "left": 273,
                //            "width": 95,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-103",
                //            "text": "103",
                //            "top": 429,
                //            "left": 193,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-100",
                //            "text": "100",
                //            "top": 477,
                //            "left": 193,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-110",
                //            "text": "110",
                //            "top": 376,
                //            "left": 1512,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-111",
                //            "text": "111",
                //            "top": 403,
                //            "left": 1512,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-112",
                //            "text": "112",
                //            "top": 376,
                //            "left": 1592,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-113",
                //            "text": "113",
                //            "top": 403,
                //            "left": 1592,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-114",
                //            "text": "114",
                //            "top": 376,
                //            "left": 1672,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-115",
                //            "text": "115",
                //            "top": 403,
                //            "left": 1672,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-116",
                //            "text": "116",
                //            "top": 350,
                //            "left": 1672,
                //            "width": 78,
                //            "height": 24
                //        },
                //        {
                //            "type": "stn",
                //            "id": "site-117",
                //            "text": "117",
                //            "top": 324,
                //            "left": 1672,
                //            "width": 78,
                //            "height": 24
                //        },
                //    ],
                //    "barcode": [
                //        {
                //            "type": "barcode",
                //            "id": "barcode-1",
                //            "text": "",
                //            "top": 454,
                //            "left": 192,
                //            "width": 78,
                //            "height": 20
                //        }
                //    ]
                //},
            ]
        }
    ]
    "mapName": "jkxcwcs",
    "rackCount": 4,
    "crnCount": 1,
    "stbCount": 4,
    "hpPosition": 1,
    "minBayNo": 1,
    "floors": 1,
    "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
            }]
        }]
    }]
}