From 6d88f3c46c2da8be2b95f1d31f83b3282510f8ee Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期六, 06 五月 2023 14:07:13 +0800
Subject: [PATCH] 地图初始化

---
 src/main/webapp/static/js/console.map.js | 1223 +++++++++++---------------------------------------
 src/main/resources/application.yml       |  190 -------
 2 files changed, 288 insertions(+), 1,125 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 246cf28..4f5dcef 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -34,16 +34,16 @@
   enable: false
 
 wms:
-  url: 192.168.0.17:8080/lfdwms
+  url: 192.168.4.121:8081/fywms
 
 # 涓嬩綅鏈洪厤缃�
 wcs-slave:
   # 鍙屾繁
   doubleDeep: true
   # 鍙屾繁搴撲綅鎺掑彿
-  doubleLocs: 9,12,15,18
+  doubleLocs: 3
   # 涓�涓爢鍨涙満璐熻矗鐨勮揣鏋舵帓鏁�
-  groupCount: 4
+  groupCount: 3
   # 鍫嗗灈鏈�1
   crn[0]:
     id: 1
@@ -57,14 +57,14 @@
     # 鍫嗗灈鏈哄叆搴撶珯鐐�
     crnInStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 105
+      staNo: 010
       row: 1
       bay: 1
       lev: 1
     # 鍫嗗灈鏈哄嚭搴撶珯鐐�
     crnOutStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 106
+      staNo: 007
       row: 2
       bay: 1
       lev: 1
@@ -81,137 +81,18 @@
     # 鍫嗗灈鏈哄叆搴撶珯鐐�
     crnInStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 113
+      staNo: 006
       row: 3
       bay: 1
       lev: 1
     # 鍫嗗灈鏈哄嚭搴撶珯鐐�
     crnOutStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 114
+      staNo: 003
       row: 4
       bay: 1
       lev: 1
-  # 鍫嗗灈鏈�3
-  crn[2]:
-    id: 3
-    ip: 10.10.10.3
-    port: 6000
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 121
-      row: 5
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 122
-      row: 6
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�4
-  crn[3]:
-    id: 4
-    ip: 10.10.10.4
-    port: 6000
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 129
-      row: 7
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 130
-      row: 8
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�5
-  crn[4]:
-    id: 5
-    ip: 10.10.10.5
-    port: 6000
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 202
-      row: 10
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 203
-      row: 11
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�6
-  crn[5]:
-    id: 6
-    ip: 10.10.10.6
-    port: 6000
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 208
-      row: 13
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 209
-      row: 14
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�7
-  crn[6]:
-    id: 7
-    ip: 10.10.10.7
-    port: 6000
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 214
-      row: 16
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 215
-      row: 17
-      bay: 1
-      lev: 1
+
   # 杈撻�佺嚎1
   devp[0]:
     id: 1
@@ -221,68 +102,25 @@
     slot: 0
     # 鍏ュ簱鍙�1
     inSta[0]:
-      staNo: 101
+      staNo: 002
       barcode: ${wcs-slave.barcode[0].id}
-      backSta: 100
+      backSta: 001
       led: ${wcs-slave.led[0].id}
-    # 鍏ュ簱鍙�2
-    inSta[1]:
-      staNo: 109
-      barcode: ${wcs-slave.barcode[1].id}
-      backSta: 100
-      led: ${wcs-slave.led[1].id}
-    # 鍏ュ簱鍙�3
-    inSta[2]:
-      staNo: 117
-      barcode: ${wcs-slave.barcode[2].id}
-      backSta: 100
-      led: ${wcs-slave.led[2].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[0]:
-      staNo: 101
+      staNo: 002
       barcode: ${wcs-slave.barcode[0].id}
-      backSta: 100
+      backSta: 001
       led: ${wcs-slave.led[0].id}
-    # 绌烘澘鍏ュ簱鍙�2
-    emptyInSta[1]:
-      staNo: 109
-      barcode: ${wcs-slave.barcode[1].id}
-      backSta: 100
-      led: ${wcs-slave.led[1].id}
-    # 绌烘澘鍏ュ簱鍙�3
-    emptyInSta[2]:
-      staNo: 117
-      barcode: ${wcs-slave.barcode[2].id}
-      backSta: 100
-      led: ${wcs-slave.led[2].id}
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[0]:
-      staNo: 101
+      staNo: 002
       barcode: ${wcs-slave.barcode[0].id}
       led: ${wcs-slave.led[0].id}
-    # 鎷f枡鍏ュ簱鍙�2
-    pickSta[1]:
-      staNo: 109
-      barcode: ${wcs-slave.barcode[1].id}
-      led: ${wcs-slave.led[1].id}
-    # 鎷f枡鍏ュ簱鍙�2
-    pickSta[2]:
-      staNo: 117
-      barcode: ${wcs-slave.barcode[2].id}
-      led: ${wcs-slave.led[2].id}
-
     # 鍑哄簱鍙�1
     outSta[0]:
-      staNo: 126
+      staNo: 012
       led: ${wcs-slave.led[3].id}
-    # 鍑哄簱鍙�2
-    outSta[1]:
-      staNo: 134
-      led: ${wcs-slave.led[4].id}
-    # 鍑哄簱鍙�2
-    outSta[2]:
-      staNo: 100
-      led: ${wcs-slave.led[0].id}
 
   # 杈撻�佺嚎2
   devp[1]:
diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js
index 3b9aad2..ca94c10 100644
--- a/src/main/webapp/static/js/console.map.js
+++ b/src/main/webapp/static/js/console.map.js
@@ -1,953 +1,278 @@
 mapInfo = {
-    "mapName": "LFDWCS",
-    "rackCount": 18,
-    "crnCount": 7,
-    "stbCount": 77,
+    "mapName": "JXFYWCS",
+    "rackCount": 5,
+    "crnCount": 2,
+    "stbCount": 13,
     "hpPosition": 0,
-    "minBayNo": 2,
+    "minBayNo": 1,
     "floors": 1,
-    "racks": [{
-        "type": "rack",
-        "id": "rack16",
-        "top": 596,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack17",
-        "top": 644,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack18",
-        "top": 665,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack13",
-        "top": 503,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack14",
-        "top": 551,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack10",
-        "top": 410,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack11",
-        "top": 458,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack7",
-        "top": 309,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack8",
-        "top": 357,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack5",
-        "top": 237,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack6",
-        "top": 285,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack3",
-        "top": 165,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack4",
-        "top": 213,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack1",
-        "top": 93,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack2",
-        "top": 141,
-        "left": 639,
-        "width": 1223,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 145
-    }, {
-        "type": "rack",
-        "id": "rack15",
-        "top": 575,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack12",
-        "top": 479,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }, {
-        "type": "rack",
-        "id": "rack9",
-        "top": 389,
-        "left": 639,
-        "width": 1072,
-        "height": 22,
-        "minBayNo": 2,
-        "maxBayNo": 62
-    }],
-    "rackDescs": [{
-        "type": "rackDescs",
-        "id": "lb_desc8",
-        "text": "#8",
-        "top": 357,
-        "left": 1866,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc1",
-        "text": "#1",
-        "top": 93,
-        "left": 1867,
-        "width": 30,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc9",
-        "text": "#9",
-        "top": 388,
-        "left": 1716,
-        "width": 33,
-        "height": 23
-    }, {
-        "type": "rackDescs",
-        "id": "lb_desc18",
-        "text": "#18",
-        "top": 663,
-        "left": 1716,
-        "width": 41,
-        "height": 23
-    }],
-    "crns": [{
-        "type": "track",
-        "id": "lb_track7",
-        "text": "",
-        "top": 634,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-7",
-        "text": "7",
-        "top": 621,
-        "left": 805,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track6",
-        "text": "",
-        "top": 538,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-6",
-        "text": "6",
-        "top": 528,
-        "left": 805,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track5",
-        "text": "",
-        "top": 448,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-5",
-        "text": "5",
-        "top": 435,
-        "left": 805,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track4",
-        "text": "",
-        "top": 344,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-4",
-        "text": "4",
-        "top": 334,
-        "left": 805,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track3",
-        "text": "",
-        "top": 272,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-3",
-        "text": "3",
-        "top": 262,
-        "left": 805,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track2",
-        "text": "",
-        "top": 200,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-2",
-        "text": "2",
-        "top": 190,
-        "left": 805,
-        "width": 93,
-        "height": 22
-    }, {
-        "type": "track",
-        "id": "lb_track1",
-        "text": "",
-        "top": 128,
-        "left": 559,
-        "width": 1345,
-        "height": 2
-    }, {
-        "type": "crane",
-        "id": "crn-1",
-        "text": "1",
-        "top": 118,
-        "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-215",
-                "text": "215",
-                "top": 646,
-                "left": 548,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-216",
-                "text": "216",
-                "top": 646,
-                "left": 458,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-217",
-                "text": "217",
-                "top": 646,
-                "left": 368,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-214",
-                "text": "214",
-                "top": 598,
-                "left": 548,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-213",
-                "text": "213",
-                "top": 598,
-                "left": 458,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-212",
-                "text": "212",
-                "top": 598,
-                "left": 368,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-209",
-                "text": "209",
-                "top": 553,
-                "left": 548,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-210",
-                "text": "210",
-                "top": 553,
-                "left": 458,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-211",
-                "text": "211",
-                "top": 553,
-                "left": 368,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-208",
-                "text": "208",
-                "top": 505,
-                "left": 548,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-207",
-                "text": "207",
-                "top": 505,
-                "left": 458,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-206",
-                "text": "206",
-                "top": 505,
-                "left": 368,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-203",
-                "text": "203",
-                "top": 460,
-                "left": 548,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-204",
-                "text": "204",
-                "top": 460,
-                "left": 458,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-205",
-                "text": "205",
-                "top": 460,
-                "left": 368,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-202",
-                "text": "202",
-                "top": 412,
-                "left": 548,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-201",
-                "text": "201",
-                "top": 412,
-                "left": 458,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-200",
-                "text": "200",
-                "top": 412,
-                "left": 368,
-                "width": 89,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-123",
-                "text": "123",
-                "top": 287,
-                "left": 445,
-                "width": 128,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-136",
-                "text": "136",
-                "top": 118,
-                "left": 380,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-157",
-                "text": "157",
-                "top": 118,
-                "left": 315,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-139",
-                "text": "139",
-                "top": 190,
-                "left": 380,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-154",
-                "text": "154",
-                "top": 190,
-                "left": 315,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-145",
-                "text": "145",
-                "top": 334,
-                "left": 380,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-148",
-                "text": "148",
-                "top": 334,
-                "left": 315,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-142",
-                "text": "142",
-                "top": 262,
-                "left": 380,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-151",
-                "text": "151",
-                "top": 262,
-                "left": 315,
-                "width": 63,
-                "height": 22
-            }, {
-                "type": "stn",
-                "id": "site-140",
-                "text": "140",
-                "top": 215,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-115",
-                "text": "115",
-                "top": 215,
-                "left": 445,
-                "width": 128,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-153",
-                "text": "153",
-                "top": 215,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-114",
-                "text": "114",
-                "top": 215,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-137",
-                "text": "137",
-                "top": 143,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-107",
-                "text": "107",
-                "top": 143,
-                "left": 445,
-                "width": 128,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-156",
-                "text": "156",
-                "top": 143,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-106",
-                "text": "106",
-                "top": 143,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-146",
-                "text": "146",
-                "top": 359,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-131",
-                "text": "131",
-                "top": 359,
-                "left": 445,
-                "width": 128,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-147",
-                "text": "147",
-                "top": 359,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-132",
-                "text": "132",
-                "top": 359,
-                "left": 250,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-133",
-                "text": "133",
-                "top": 359,
-                "left": 186,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-134",
-                "text": "134",
-                "top": 359,
-                "left": 122,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-130",
-                "text": "130",
-                "top": 359,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-144",
-                "text": "144",
-                "top": 311,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-128",
-                "text": "128",
-                "top": 311,
-                "left": 509,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-127",
-                "text": "127",
-                "top": 311,
-                "left": 445,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-149",
-                "text": "149",
-                "top": 311,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-129",
-                "text": "129",
-                "top": 311,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-143",
-                "text": "143",
-                "top": 287,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-150",
-                "text": "150",
-                "top": 287,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-124",
-                "text": "124",
-                "top": 287,
-                "left": 250,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-125",
-                "text": "125",
-                "top": 287,
-                "left": 186,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-126",
-                "text": "126",
-                "top": 287,
-                "left": 122,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-122",
-                "text": "122",
-                "top": 287,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-141",
-                "text": "141",
-                "top": 239,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-120",
-                "text": "120",
-                "top": 239,
-                "left": 509,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-119",
-                "text": "119",
-                "top": 239,
-                "left": 445,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-152",
-                "text": "152",
-                "top": 239,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-118",
-                "text": "118",
-                "top": 239,
-                "left": 250,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-117",
-                "text": "117",
-                "top": 239,
-                "left": 186,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-116",
-                "text": "116",
-                "top": 239,
-                "left": 122,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-121",
-                "text": "121",
-                "top": 239,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-138",
-                "text": "138",
-                "top": 167,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-112",
-                "text": "112",
-                "top": 167,
-                "left": 509,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-111",
-                "text": "111",
-                "top": 167,
-                "left": 445,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-155",
-                "text": "155",
-                "top": 167,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-110",
-                "text": "110",
-                "top": 167,
-                "left": 250,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-109",
-                "text": "109",
-                "top": 167,
-                "left": 186,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-108",
-                "text": "108",
-                "top": 167,
-                "left": 122,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-113",
-                "text": "113",
-                "top": 167,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-135",
-                "text": "135",
-                "top": 95,
-                "left": 380,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-104",
-                "text": "104",
-                "top": 95,
-                "left": 509,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-103",
-                "text": "103",
-                "top": 95,
-                "left": 445,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-158",
-                "text": "158",
-                "top": 95,
-                "left": 315,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-102",
-                "text": "102",
-                "top": 95,
-                "left": 250,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-101",
-                "text": "101",
-                "top": 95,
-                "left": 186,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-100",
-                "text": "100",
-                "top": 95,
-                "left": 122,
-                "width": 63,
-                "height": 20
-            }, {
-                "type": "stn",
-                "id": "site-105",
-                "text": "105",
-                "top": 95,
-                "left": 574,
-                "width": 63,
-                "height": 20
-            }]
-        }]
-    }]
+    "racks": [
+        {
+            "type": "rack",
+            "id": "rack3",
+            "top": 278,
+            "left": 463,
+            "width": 846,
+            "height": 24,
+            "minBayNo": 1,
+            "maxBayNo": 29
+        },
+        {
+            "type": "rack",
+            "id": "rack4",
+            "top": 305,
+            "left": 463,
+            "width": 846,
+            "height": 24,
+            "minBayNo": 1,
+            "maxBayNo": 29
+        },
+        {
+            "type": "rack",
+            "id": "rack5",
+            "top": 363,
+            "left": 480,
+            "width": 829,
+            "height": 24,
+            "minBayNo": 1,
+            "maxBayNo": 28
+        },
+        {
+            "type": "rack",
+            "id": "rack1",
+            "top": 168,
+            "left": 463,
+            "width": 846,
+            "height": 24,
+            "minBayNo": 1,
+            "maxBayNo": 29
+        },
+        {
+            "type": "rack",
+            "id": "rack2",
+            "top": 226,
+            "left": 463,
+            "width": 846,
+            "height": 24,
+            "minBayNo": 1,
+            "maxBayNo": 29
+        }
+    ],
+    "rackDescs": [
+        {
+            "type": "rackDescs",
+            "id": "lb_desc2",
+            "text": "#5",
+            "top": 393,
+            "left": 1246,
+            "width": 32,
+            "height": 23
+        },
+        {
+            "type": "rackDescs",
+            "id": "lb_desc1",
+            "text": "#1",
+            "top": 142,
+            "left": 1249,
+            "width": 30,
+            "height": 23
+        }
+    ],
+    "crns": [
+        {
+            "type": "crane",
+            "id": "crn-2",
+            "text": "2",
+            "top": 336,
+            "left": 606,
+            "width": 93,
+            "height": 22
+        },
+        {
+            "type": "track",
+            "id": "lb_track2",
+            "text": "",
+            "top": 347,
+            "left": 386,
+            "width": 943,
+            "height": 2
+        },
+        {
+            "type": "crane",
+            "id": "crn-1",
+            "text": "1",
+            "top": 199,
+            "left": 606,
+            "width": 93,
+            "height": 22
+        },
+        {
+            "type": "track",
+            "id": "lb_track1",
+            "text": "",
+            "top": 210,
+            "left": 386,
+            "width": 943,
+            "height": 2
+        }
+    ],
+    "areas": [
+        {
+            "type": "Control_floor",
+            "id": "tabControl_floor1",
+            "text": "妤煎眰",
+            "top": 89,
+            "left": 99,
+            "width": 1569,
+            "height": 593,
+            "floors": [
+                {
+                    "type": "floor",
+                    "id": "page_floor1",
+                    "text": "1F",
+                    "top": 4,
+                    "left": 22,
+                    "width": 1543,
+                    "height": 585,
+                    "stns": [
+                        {
+                            "type": "stn",
+                            "id": "site-001",
+                            "text": "001",
+                            "top": 415,
+                            "left": 402,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-012",
+                            "text": "012",
+                            "top": 415,
+                            "left": 341,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-013",
+                            "text": "013",
+                            "top": 330,
+                            "left": 279,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "track",
+                            "id": "lb_trCart11",
+                            "text": "",
+                            "top": 157,
+                            "left": 283,
+                            "width": 4,
+                            "height": 245
+                        },
+                        {
+                            "type": "track",
+                            "id": "lb_trCart12",
+                            "text": "",
+                            "top": 157,
+                            "left": 330,
+                            "width": 4,
+                            "height": 245
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-003",
+                            "text": "003",
+                            "top": 363,
+                            "left": 402,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-004",
+                            "text": "004",
+                            "top": 363,
+                            "left": 341,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-006",
+                            "text": "006",
+                            "top": 305,
+                            "left": 402,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-005",
+                            "text": "005",
+                            "top": 305,
+                            "left": 341,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-007",
+                            "text": "007",
+                            "top": 226,
+                            "left": 402,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-008",
+                            "text": "008",
+                            "top": 226,
+                            "left": 341,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-010",
+                            "text": "010",
+                            "top": 168,
+                            "left": 402,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-011",
+                            "text": "011",
+                            "top": 389,
+                            "left": 341,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-002",
+                            "text": "002",
+                            "top": 389,
+                            "left": 402,
+                            "width": 60,
+                            "height": 24
+                        },
+                        {
+                            "type": "stn",
+                            "id": "site-009",
+                            "text": "009",
+                            "top": 168,
+                            "left": 341,
+                            "width": 60,
+                            "height": 24
+                        }
+                    ]
+                }
+            ]
+        }
+    ]
 }
\ No newline at end of file

--
Gitblit v1.9.1