mapInfo = { "mapName": "STWCS", "rackCount": 16, "crnCount": 4, "stbCount": 16, "hpPosition": 0, "minBayNo": 2, "floors": 1, "racks": [{ "type": "rack", "id": "rack1", "top": 661, "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }, { "type": "rack", "id": "rack2", "top": 639,//-48 ==>3 "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }, { "type": "rack", "id": "rack3", "top": 591,//-22 ==>4 //67,//92 103 //591 +25 ==>//616 +11 ==>//627 "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }, { "type": "rack", "id": "rack4", "top": 569, "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 },{ "type": "rack", "id": "rack5", "top": 547, "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }, { "type": "rack", "id": "rack6", "top": 525, "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }, { "type": "rack", "id": "rack7", "top": 477, "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }, { "type": "rack", "id": "rack8", "top": 455, "left": 350, "width": 917, "height": 22, "minBayNo": 2, "maxBayNo": 29 }], "rackDescs": [{ "type": "rackDescs", "id": "lb_desc16", "text": "#1", "top": 661, "left": 270, "width": 30, "height": 23 }, { "type": "rackDescs", "id": "lb_desc1", "text": "#4", "top": 569, "left": 270, "width": 41, "height": 23 }], "crns": [{ "type": "crane", "id": "crn-1", "text": "1", "top": 616, "left": 439, "width": 93, "height": 22 }, { "type": "track", "id": "lb_track1", "text": "", "top": 627, "left": 273, "width": 1042, "height": 2 },{ "type": "crane", "id": "crn-2", "text": "2", "top": 502, "left": 439, "width": 93, "height": 22 }, { "type": "track", "id": "lb_track2", "text": "", "top": 513, "left": 273, "width": 1042, "height": 2 }], "areas": [{ "type": "Control_floor", "id": "tabControl_floor1", "text": "楼层", "top": 68, "left": 80, "width": 1400, "height": 680, "floors": [{ "type": "floor", "id": "page_floor1", "text": "小料箱", "top": 4, "left": 22, "width": 1374, "height": 672, "stns": [{ "type": "stn", "id": "site-100", "text": "100", "top": 641.5, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-101", "text": "101", "top": 664, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-102", "text": "102", "top": 664, "left": 1318, "width": 49, "height": 20 },{ "type": "stn", "id": "site-103", "text": "103", "top": 629, "left": 1369, "width": 29, "height": 55 },{ "type": "stn", "id": "site-154", "text": "154", "top": 572, "left": 1369, "width": 29, "height": 55 },{ "type": "stn", "id": "site-104", "text": "104", "top": 624, "left": 1400, "width": 29, "height": 60 },{ "type": "stn", "id": "site-143", "text": "143", "top": 458, "left": 1318, "width": 49, "height": 20 },{ "type": "stn", "id": "site-144", "text": "144", "top": 458, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-145", "text": "145", "top": 480, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-148", "text": "148", "top": 528, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-149", "text": "149", "top": 550, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-150", "text": "150", "top": 550, "left": 1318, "width": 49, "height": 20 },{ "type": "stn", "id": "site-151", "text": "151", "top": 572, "left": 1318, "width": 49, "height": 20 },{ "type": "stn", "id": "site-152", "text": "152", "top": 572, "left": 1267, "width": 49, "height": 20 },{ "type": "stn", "id": "site-153", "text": "153", "top": 593, "left": 1267, "width": 49, "height": 20 }] }, { "type": "floor", "id": "page_floor2", "text": "大料箱", "top": 4, "left": 22, "width": 1374, "height": 672, "stns": [] }] }] }