| | |
| | | mapInfo = { |
| | | "mapName": "NBJFWCS", |
| | | "rackCount": 18, |
| | | "crnCount": 7, |
| | | "stbCount": 77, |
| | | "hpPosition": 0, |
| | | "minBayNo": 2, |
| | | "mapName": "jkxcwcs", |
| | | "rackCount": 4, |
| | | "crnCount": 1, |
| | | "stbCount": 4, |
| | | "hpPosition": 1, |
| | | "minBayNo": 1, |
| | | "floors": 1, |
| | | "racks": [ |
| | | { |
| | | "type": "rack", |
| | | "id": "rack1", |
| | | "top": 324, |
| | | "left": 208, |
| | | "width": 1600, |
| | | "height": 26, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 56 |
| | | }, |
| | | { |
| | | "type": "rack", |
| | | "id": "rack2", |
| | | "top": 386, |
| | | "left": 208, |
| | | "width": 1600, |
| | | "height": 26, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 56 |
| | | }, |
| | | ], |
| | | "rackDescs": [ |
| | | { |
| | | "type": "rackDescs", |
| | | "id": "lb_desc1", |
| | | "text": "#1", |
| | | "top": 324, |
| | | "left": 1794, |
| | | "width": 30, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "rackDescs", |
| | | "id": "lb_desc2", |
| | | "text": "#2", |
| | | "top": 388, |
| | | "left": 1794, |
| | | "width": 30, |
| | | "height": 23 |
| | | }, |
| | | ], |
| | | "crns": [ |
| | | { |
| | | "type": "track", |
| | | "id": "lb_track1", |
| | | "text": "", |
| | | "top": 370, |
| | | "left": 154, |
| | | "width": 1700, |
| | | "height": 2 |
| | | }, |
| | | { |
| | | "type": "crane", |
| | | "id": "crn-1", |
| | | "text": "1", |
| | | "top": 358, |
| | | "left": 805, |
| | | "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-100", |
| | | "text": "100", |
| | | "top": 386, |
| | | "left": 1067, |
| | | "width": 78, |
| | | "height": 24 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-101", |
| | | "text": "101", |
| | | "top": 386, |
| | | "left": 1147, |
| | | "width": 78, |
| | | "height": 24 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "top": 412, |
| | | "left": 1067, |
| | | "width": 78, |
| | | "height": 24 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-103", |
| | | "text": "103", |
| | | "top": 412, |
| | | "left": 1147, |
| | | "width": 78, |
| | | "height": 24 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "top": 438, |
| | | "left": 1067, |
| | | "width": 78, |
| | | "height": 24 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-105", |
| | | "text": "105", |
| | | "top": 438, |
| | | "left": 1147, |
| | | "width": 78, |
| | | "height": 24 |
| | | }, |
| | | ] |
| | | }, |
| | | |
| | | ] |
| | | } |
| | | ] |
| | | "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 |
| | | }] |
| | | }] |
| | | }] |
| | | } |