#
Junjie
2023-11-17 196f9b62a04204e7c05da99b53ab9f36d2d7a029
src/main/webapp/static/js/console.map.js
@@ -1,235 +1,79 @@
mapInfo = {
    "mapName": "STWCS",
    "rackCount": 16,
    "crnCount": 4,
    "stbCount": 16,
    "hpPosition": 0,
    "minBayNo": 2,
    "mapName": "jkxcwcs",
    "rackCount": 4,
    "crnCount": 1,
    "stbCount": 4,
    "hpPosition": 1,
    "minBayNo": 1,
    "floors": 1,
    "racks": [{
        "type": "rack",
        "id": "rack4",
        "top": 549,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack1",
        "top": 641,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
        "top": 200,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 40
    }, {
        "type": "rack",
        "id": "rack2",
        "top": 619,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
        "top": 224,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack3",
        "top": 571,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
        "top": 298,
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }, {
        "type": "rack",
        "id": "rack8",
        "top": 435,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack5",
        "top": 527,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack6",
        "top": 505,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack7",
        "top": 457,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack12",
        "id": "rack4",
        "top": 322,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack9",
        "top": 413,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack10",
        "top": 391,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack11",
        "top": 344,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack16",
        "top": 206,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack13",
        "top": 300,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack15",
        "top": 228,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
    }, {
        "type": "rack",
        "id": "rack14",
        "top": 278,
        "left": 412,
        "width": 917,
        "height": 20,
        "minBayNo": 2,
        "maxBayNo": 31
        "left": 458,
        "width": 796,
        "height": 23,
        "minBayNo": 1,
        "maxBayNo": 20
    }],
    "rackDescs": [{
        "type": "rackDescs",
        "id": "lb_desc16",
        "id": "lb_desc17",
        "text": "#1",
        "top": 663,
        "left": 1228,
        "top": 200,
        "left": 380,
        "width": 30,
        "height": 23
    }, {
        "type": "rackDescs",
        "id": "lb_desc1",
        "text": "#16",
        "top": 181,
        "left": 1217,
        "width": 41,
        "id": "lb_desc16",
        "text": "#4",
        "top": 322,
        "left": 377,
        "width": 33,
        "height": 23
    }],
    "crns": [{
        "type": "crane",
        "id": "crn-4",
        "text": "4",
        "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-3",
        "text": "3",
        "top": 367,
        "left": 512,
        "width": 93,
        "height": 22
    }, {
        "type": "track",
        "id": "lb_track2",
        "text": "",
        "top": 489,
        "left": 332,
        "width": 1043,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-2",
        "text": "2",
        "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_track4",
        "text": "",
        "top": 260,
        "left": 335,
        "width": 1046,
        "top": 269,
        "left": 442,
        "width": 850,
        "height": 2
    }, {
        "type": "crane",
        "id": "crn-1",
        "text": "1",
        "top": 595,
        "left": 501,
        "top": 258,
        "left": 736,
        "width": 93,
        "height": 22
    }],
@@ -237,162 +81,50 @@
        "type": "Control_floor",
        "id": "tabControl_floor1",
        "text": "楼层",
        "top": 68,
        "top": 66,
        "left": 80,
        "width": 1400,
        "height": 680,
        "width": 1416,
        "height": 623,
        "floors": [{
            "type": "floor",
            "id": "page_floor1",
            "text": "1F",
            "top": 4,
            "left": 22,
            "width": 1374,
            "height": 672,
            "width": 1390,
            "height": 615,
            "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
                "id": "site-100",
                "text": "100",
                "top": 298,
                "left": 1255,
                "width": 73,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-015",
                "text": "015",
                "top": 95,
                "left": 310,
                "width": 100,
                "height": 20
                "id": "site-103",
                "text": "103",
                "top": 223,
                "left": 1255,
                "width": 101,
                "height": 23
            }, {
                "type": "stn",
                "id": "site-014",
                "text": "014",
                "top": 95,
                "left": 412,
                "width": 92,
                "height": 20
                "id": "site-102",
                "text": "102",
                "top": 223,
                "left": 1358,
                "width": 101,
                "height": 23
            }, {
                "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
                "id": "site-101",
                "text": "101",
                "top": 298,
                "left": 1330,
                "width": 73,
                "height": 23
            }]
        }]
    }]