mapInfo = { "mapName": "YKWCS", "rackCount": 4, "crnCount": 3, "stbCount": 13, "hpPosition": 0, "minBayNo": 1, "floors": 1, "racks": [{ "type": "rack", "id": "rack1", "top": 125, "left": 379, "width": 1280, "height": 22, "minBayNo": 1, "maxBayNo": 47 }, { "type": "rack", "id": "rack2", "top": 146, "left": 379, "width": 1280, "height": 22, "minBayNo": 1, "maxBayNo": 47 }, { "type": "rack", "id": "rack3", "top": 194, "left": 561, "width": 1027, "height": 22, "minBayNo": 4, "maxBayNo": 44 }, { "type": "rack", "id": "rack31", "top": 194, "left": 379, "width": 60, "height": 22, "minBayNo": 1, "maxBayNo": 1 }, { "type": "rack", "id": "rack32", "top": 194, "left": 1588, "width": 45, "height": 22, "minBayNo": 47, "maxBayNo": 1 }, { "type": "rack", "id": "rack4", "top": 215, "left": 561, "width": 1027, "height": 22, "minBayNo": 4, "maxBayNo": 44 }, { "type": "rack", "id": "rack41", "top": 215, "left": 379, "width": 60, "height": 22, "minBayNo": 1, "maxBayNo": 1 }, { "type": "rack", "id": "rack42", "top": 215, "left": 1588, "width": 45, "height": 22, "minBayNo": 47, "maxBayNo": 1 }, { "type": "rack", "id": "rack11", "top": 300, "left": 379, "width": 1280, "height": 22, "minBayNo": 1, "maxBayNo": 47 }, { "type": "rack", "id": "rack12", "top": 321, "left": 379, "width": 1280, "height": 22, "minBayNo": 1, "maxBayNo": 47 }, { "type": "rack", "id": "rack13", "top": 369, "left": 561, "width": 1027, "height": 22, "minBayNo": 4, "maxBayNo": 44 }, { "type": "rack", "id": "rack131", "top": 369, "left": 379, "width": 60, "height": 22, "minBayNo": 1, "maxBayNo": 1 }, { "type": "rack", "id": "rack132", "top": 369, "left": 1588, "width": 45, "height": 22, "minBayNo": 47, "maxBayNo": 1 }, { "type": "rack", "id": "rack14", "top": 390, "left": 561, "width": 1027, "height": 22, "minBayNo": 4, "maxBayNo": 44 }, { "type": "rack", "id": "rack141", "top": 390, "left": 379, "width": 60, "height": 22, "minBayNo": 1, "maxBayNo": 1 }, { "type": "rack", "id": "rack142", "top": 390, "left": 1588, "width": 45, "height": 22, "minBayNo": 47, "maxBayNo": 1 }, { "type": "rack", "id": "rack21", "top": 475, "left": 379, "width": 1280, "height": 22, "minBayNo": 1, "maxBayNo": 47 }, { "type": "rack", "id": "rack22", "top": 496, "left": 379, "width": 1280, "height": 22, "minBayNo": 1, "maxBayNo": 47 }, { "type": "rack", "id": "rack23", "top": 544, "left": 561, "width": 1027, "height": 22, "minBayNo": 4, "maxBayNo": 44 }, { "type": "rack", "id": "rack231", "top": 544, "left": 379, "width": 60, "height": 22, "minBayNo": 1, "maxBayNo": 1 }, { "type": "rack", "id": "rack232", "top": 544, "left": 1588, "width": 45, "height": 22, "minBayNo": 47, "maxBayNo": 1 }, { "type": "rack", "id": "rack24", "top": 565, "left": 561, "width": 1027, "height": 22, "minBayNo": 4, "maxBayNo": 44 }, { "type": "rack", "id": "rack241", "top": 565, "left": 379, "width": 60, "height": 22, "minBayNo": 1, "maxBayNo": 1 }, { "type": "rack", "id": "rack242", "top": 565, "left": 1588, "width": 45, "height": 22, "minBayNo": 47, "maxBayNo": 1 }], "rackDescs": [{ "type": "rackDescs", "id": "lb_desc1", "text": "#1", "top": 125, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc2", "text": "#2", "top": 146, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc3", "text": "#3", "top": 194, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc4", "text": "#4", "top": 215, "left": 348, "width": 33, "height": 23 }, { "type": "rackDescs", "id": "lb_desc1", "text": "#11", "top": 300, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc2", "text": "#12", "top": 321, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc3", "text": "#13", "top": 370, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc4", "text": "#14", "top": 390, "left": 348, "width": 33, "height": 23 }, { "type": "rackDescs", "id": "lb_desc1", "text": "#21", "top": 475, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc2", "text": "#22", "top": 496, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc3", "text": "#23", "top": 545, "left": 348, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc4", "text": "#24", "top": 565, "left": 348, "width": 33, "height": 23 }], "crns": [{ "type": "track", "id": "lb_track1", "text": "", "top": 184, "left": 340, "width": 1300, "height": 2 }, { "type": "crane", "id": "crn-1", "text": "1", "top": 171, "left": 340, "width": 93, "height": 22 },{ "type": "track", "id": "lb_track2", "text": "", "top": 358, "left": 340, "width": 1300, "height": 2 }, { "type": "crane", "id": "crn-2", "text": "2", "top": 345, "left": 340, "width": 93, "height": 22 },{ "type": "track", "id": "lb_track3", "text": "", "top": 533, "left": 340, "width": 1300, "height": 2 }, { "type": "crane", "id": "crn-3", "text": "3", "top": 520, "left": 340, "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": "1库", "top": 4, "left": 22, "width": 1819, "height": 668, "stns": [{ "type": "stn", "id": "site-104", "text": "104", "top": 196, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-105", "text": "105", "top": 196, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-103", "text": "103", "top": 217, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-106", "text": "106", "top": 217, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-102", "text": "102", "top": 238, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-107", "text": "107", "top": 238, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-101", "text": "101", "top": 260, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-108", "text": "108", "top": 260, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-203", "text": "203", "top": 371, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-204", "text": "204", "top": 371, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-202", "text": "202", "top": 392, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-205", "text": "205", "top": 392, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-201", "text": "201", "top": 413, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-206", "text": "206", "top": 413, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-303", "text": "303", "top": 546, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-304", "text": "304", "top": 546, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-302", "text": "302", "top": 567, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-305", "text": "305", "top": 567, "left": 440, "width": 60, "height": 20 }, { "type": "stn", "id": "site-301", "text": "301", "top": 588, "left": 501, "width": 60, "height": 20 }, { "type": "stn", "id": "site-306", "text": "306", "top": 588, "left": 440, "width": 60, "height": 20 }] }] }] }