From 1cd7ec38a7c023bfd36871b0e18759d8127e9dad Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期五, 04 七月 2025 16:57:03 +0800
Subject: [PATCH] #初始化一楼地图
---
src/main/webapp/views/console.html | 2
src/main/webapp/static/js/console.js | 4
src/main/webapp/static/js/console.map.js | 1150 ++++++++++++++++++++++-----------------------------------
src/main/resources/application.yml | 4
4 files changed, 449 insertions(+), 711 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 4629c92..7673639 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -8,7 +8,7 @@
name: @pom.build.finalName@
datasource:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- url: jdbc:sqlserver://localhost:1433;databasename=gdykasrs
+ url: jdbc:sqlserver://localhost:1433;databasename=jshdasrs
username: sa
password: sa@123
mvc:
@@ -34,7 +34,7 @@
enable: false
wms:
- url: 127.0.0.1:9090/ykwms
+ url: 127.0.0.1:9090/jshdwms
inventory:
number: 7
diff --git a/src/main/webapp/static/js/console.js b/src/main/webapp/static/js/console.js
index e4b968c..fad0039 100644
--- a/src/main/webapp/static/js/console.js
+++ b/src/main/webapp/static/js/console.js
@@ -66,7 +66,7 @@
}
bayWidth = rackss[i].width / bLen
// hpPosition 0 琛ㄧず璐ф灦搴忓彿 宸�->鍙� 1 琛ㄧず璐ф灦搴忓彿 宸�<-鍙�
- if (mapInfo.hpPosition == 1) {
+ if (mapInfo.hpPosition == 0) {
bNum = maxBayNo
for (let j = bLen; j > 0; j--) {
bay = "<button class='item' style='width: "+ bayWidth +"px'>" + bNum + "</button>"
@@ -129,7 +129,7 @@
let floor = areas[i].text
let barcodes = areas[i].barcode
floorId = areas[i].id
- var position = (i+1)*100
+ var position = (i+1)*50 + 400
floorBtn =
"<button class='floorBtn btn-16' onclick='changFloor("+i+")' style='top: "+position+"px;'>" + floor +"</button>"
if (mapInfo.areas[0].floors.length == 1) {
diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js
index 76f41ce..e66cc97 100644
--- a/src/main/webapp/static/js/console.map.js
+++ b/src/main/webapp/static/js/console.map.js
@@ -6,182 +6,239 @@
"hpPosition": 0,
"minBayNo": 1,
"floors": 1,
- "racks": [{
+ "racks": [
+ {
+ "type": "rack",
+ "id": "rack1",
+ "top": 61,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ },
+ {
+ "type": "rack",
+ "id": "rack2",
+ "top": 82,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ },
+ {
+ "type": "rack",
+ "id": "rack3",
+ "top": 124,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ },
+ {
+ "type": "rack",
+ "id": "rack4",
+ "top": 145,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ },{
"type": "rack",
- "id": "rack16",
+ "id": "rack5",
"top": 167,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack15",
- "top": 188,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack14",
- "top": 236,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack13",
- "top": 257,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack12",
- "top": 280,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack11",
- "top": 301,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack10",
- "top": 349,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack9",
- "top": 370,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack8",
- "top": 393,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
- }, {
- "type": "rack",
- "id": "rack7",
- "top": 414,
- "left": 529,
- "width": 1280,
- "height": 22,
- "minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}, {
"type": "rack",
"id": "rack6",
+ "top": 188,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack7",
+ "top": 236,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack8",
+ "top": 257,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack9",
+ "top": 280,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack10",
+ "top": 301,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack11",
+ "top": 349,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack12",
+ "top": 370,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack13",
+ "top": 393,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack14",
+ "top": 414,
+ "left": 120,
+ "width": 1000,
+ "height": 22,
+ "minBayNo": 2,
+ "maxBayNo": 52
+ }, {
+ "type": "rack",
+ "id": "rack15",
"top": 462,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}, {
"type": "rack",
- "id": "rack5",
+ "id": "rack16",
"top": 483,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}, {
"type": "rack",
- "id": "rack4",
+ "id": "rack17",
"top": 506,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}, {
"type": "rack",
- "id": "rack3",
+ "id": "rack18",
"top": 527,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}, {
"type": "rack",
- "id": "rack2",
+ "id": "rack19",
"top": 575,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}, {
"type": "rack",
- "id": "rack1",
+ "id": "rack20",
"top": 596,
- "left": 529,
- "width": 1280,
+ "left": 120,
+ "width": 1000,
"height": 22,
"minBayNo": 2,
- "maxBayNo": 56
+ "maxBayNo": 52
}],
"rackDescs": [{
"type": "rackDescs",
"id": "lb_desc1",
- "text": "#16",
- "top": 167,
- "left": 1810,
+ "text": "#1",
+ "top": 61,
+ "left": 1120,
"width": 30,
"height": 23
}, {
"type": "rackDescs",
"id": "lb_desc2",
- "text": "#1",
+ "text": "#20",
"top": 596,
- "left": 1810,
+ "left": 1120,
"width": 30,
"height": 23
}],
- "crns": [{
+ "crns": [
+ {
+ "type": "track",
+ "id": "lb_track1",
+ "text": "",
+ "top": 114,
+ "left": 120,
+ "width": 1000,
+ "height": 2
+ }, {
+ "type": "crane",
+ "id": "crn-1",
+ "text": "1",
+ "top": 106,
+ "left": 120,
+ "width": 93,
+ "height": 22
+ },{
"type": "track",
- "id": "lb_track4",
+ "id": "lb_track2",
"text": "",
"top": 226,
- "left": 490,
- "width": 1300,
+ "left": 120,
+ "width": 1000,
"height": 2
}, {
"type": "crane",
- "id": "crn-4",
- "text": "4",
+ "id": "crn-2",
+ "text": "2",
"top": 213,
- "left": 490,
+ "left": 120,
"width": 93,
"height": 22
},{
@@ -189,47 +246,47 @@
"id": "lb_track3",
"text": "",
"top": 338,
- "left": 490,
- "width": 1300,
+ "left": 120,
+ "width": 1000,
"height": 2
}, {
"type": "crane",
"id": "crn-3",
"text": "3",
"top": 325,
- "left": 490,
+ "left": 120,
"width": 93,
"height": 22
},{
"type": "track",
- "id": "lb_track2",
+ "id": "lb_track4",
"text": "",
"top": 451,
- "left": 490,
- "width": 1300,
+ "left": 120,
+ "width": 1000,
"height": 2
}, {
"type": "crane",
- "id": "crn-2",
- "text": "2",
+ "id": "crn-4",
+ "text": "4",
"top": 438,
- "left": 490,
+ "left": 120,
"width": 93,
"height": 22
},{
"type": "track",
- "id": "lb_track1",
+ "id": "lb_track5",
"text": "",
"top": 564,
- "left": 490,
- "width": 1300,
+ "left": 120,
+ "width": 1000,
"height": 2
}, {
"type": "crane",
- "id": "crn-1",
- "text": "1",
+ "id": "crn-5",
+ "text": "5",
"top": 553,
- "left": 490,
+ "left": 120,
"width": 93,
"height": 22
}],
@@ -244,581 +301,262 @@
"floors": [{
"type": "floor",
"id": "page_floor1",
- "text": "1搴�",
+ "text": "1F",
"top": 4,
"left": 22,
"width": 1819,
"height": 668,
- "stns": [{
- "type": "stn",
- "id": "site-148",
- "text": "148",
- "top": 190,
- "left": 468,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-147",
- "text": "147",
- "top": 190,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-146",
- "text": "146",
- "top": 190,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-149",
- "text": "149",
- "top": 190,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-150",
- "text": "150",
- "top": 169,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-151",
- "text": "151",
- "top": 148,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-153",
- "text": "153",
- "top": 148,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-152",
- "text": "152",
- "top": 148,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-154",
- "text": "154",
- "top": 127,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-155",
- "text": "155",
- "top": 106.5,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-157",
- "text": "157",
- "top": 106.5,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-156",
- "text": "156",
- "top": 106.5,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-158",
- "text": "158",
- "top": 85.5,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-159",
- "text": "159",
- "top": 64.5,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-160",
- "text": "160",
- "top": 64.5,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-161",
- "text": "161",
- "top": 64.5,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-145",
- "text": "145",
- "top": 211,
- "left": 344.5,
- "width": 60,
- "height": 26
- }, {
- "type": "stn",
- "id": "site-142",
- "text": "142",
- "top": 239,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-143",
- "text": "143",
- "top": 239,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-144",
- "text": "144",
- "top": 239,
- "left": 468,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-141",
- "text": "141",
- "top": 260,
- "left": 344.5,
- "width": 60,
- "height": 42
- }, {
- "type": "stn",
- "id": "site-139",
- "text": "139",
- "top": 304,
- "left": 406,
- "width": 120,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-138",
- "text": "138",
- "top": 304,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-134",
- "text": "134",
- "top": 352,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-135",
- "text": "135",
- "top": 352,
- "left": 406,
- "width": 120,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-137",
- "text": "137",
- "top": 324.5,
- "left": 344.5,
- "width": 60,
- "height": 25.5
- }, {
- "type": "stn",
- "id": "site-133",
- "text": "133",
- "top": 373,
- "left": 344.5,
- "width": 60,
- "height": 42.5
- }, {
- "type": "stn",
- "id": "site-130",
- "text": "130",
- "top": 417,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-131",
- "text": "131",
- "top": 417,
- "left": 406,
- "width": 120,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-129",
- "text": "129",
- "top": 438,
- "left": 344.5,
- "width": 60,
- "height": 25
- }, {
- "type": "stn",
- "id": "site-126",
- "text": "126",
- "top": 464.5,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-127",
- "text": "127",
- "top": 464.5,
- "left": 406,
- "width": 120,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-125",
- "text": "125",
- "top": 485,
- "left": 344.5,
- "width": 60,
- "height": 42.5
- }, {
- "type": "stn",
- "id": "site-124",
- "text": "124",
- "top": 529,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-121",
- "text": "121",
- "top": 529,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-122",
- "text": "122",
- "top": 529,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-123",
- "text": "123",
- "top": 529,
- "left": 468,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-120",
- "text": "120",
- "top": 550,
- "left": 344.5,
- "width": 60,
- "height": 25
- }, {
- "type": "stn",
- "id": "site-119",
- "text": "119",
- "top": 464.5,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-116",
- "text": "116",
- "top": 577,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-117",
- "text": "117",
- "top": 577,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-118",
- "text": "118",
- "top": 577,
- "left": 468,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-115",
- "text": "115",
- "top": 598,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-114",
- "text": "114",
- "top": 620,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-113",
- "text": "113",
- "top": 620,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "track",
- "id": "lb_trCart21",
- "text": "",
- "top": 65,
- "left": 226,
- "width": 6,
- "height": 742
- }, {
- "type": "track",
- "id": "lb_trCart22",
- "text": "",
- "top": 65,
- "left": 270,
- "width": 6,
- "height": 742
- },{
- "type": "stn",
- "id": "site-3",
- "text": "3",
- "top": -20,
- "left": 220,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-2",
- "text": "2",
- "top": -20,
- "left": 220,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-1",
- "text": "1",
- "top": -20,
- "left": 220,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-202",
- "text": "202",
- "top": 642,
- "left": 283,
- "width": 184,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-999",
- "text": "澶囩敤PGV銆丷GV缁翠慨鍖�",
- "top": 642,
- "left": 283,
- "width": 184,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-110",
- "text": "110",
- "top": 663,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-111",
- "text": "111",
- "top": 663,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-112",
- "text": "112",
- "top": 663,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-109",
- "text": "109",
- "top": 684,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-108",
- "text": "108",
- "top": 705,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-107",
- "text": "107",
- "top": 705,
- "left": 283,
- "width": 122,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-105",
- "text": "105",
- "top": 727,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-106",
- "text": "106",
- "top": 727,
- "left": 283,
- "width": 122,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-104",
- "text": "104",
- "top": 749,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-103",
- "text": "103",
- "top": 771,
- "left": 406,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-102",
- "text": "102",
- "top": 771,
- "left": 344.5,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-101",
- "text": "101",
- "top": 771,
- "left": 283,
- "width": 60,
- "height": 19
- }, {
- "type": "stn",
- "id": "site-100",
- "text": "100",
- "top": 792,
- "left": 283,
- "width": 184,
- "height": 19
- }],
+ "stns": [
+ {"type": "track", "id": "lb_trCart21", "text": "", "top": 65, "left": 1250, "width": 6, "height": 560},
+ {"type": "track", "id": "lb_trCart22", "text": "", "top": 65, "left": 1270, "width": 6, "height": 560},
+ { "type": "stn", "id": "site-101", "text": "101", "top": 84, "left": 1120, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-102", "text": "102", "top": 84, "left": 1157, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-103", "text": "103", "top": 84, "left": 1194, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-104", "text": "104", "top": 128, "left": 1120, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-105", "text": "105", "top": 128, "left": 1176, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-106", "text": "106", "top": 190, "left": 1120, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-107", "text": "107", "top": 190, "left": 1176, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-108", "text": "108", "top": 240, "left": 1120, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-109", "text": "109", "top": 240, "left": 1157, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-110", "text": "110", "top": 240, "left": 1194, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-111", "text": "111", "top": 300, "left": 1120, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-112", "text": "112", "top": 300, "left": 1157, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-113", "text": "113", "top": 300, "left": 1194, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-114", "text": "114", "top": 350, "left": 1120, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-115", "text": "115", "top": 350, "left": 1176, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-116", "text": "116", "top": 415, "left": 1120, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-117", "text": "117", "top": 415, "left": 1157, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-118", "text": "118", "top": 415, "left": 1194, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-119", "text": "119", "top": 465, "left": 1120, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-120", "text": "120", "top": 465, "left": 1176, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-121", "text": "121", "top": 530, "left": 1120, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-122", "text": "122", "top": 530, "left": 1176, "width": 54, "height": 20 },
+ { "type": "stn", "id": "site-123", "text": "123", "top": 580, "left": 1120, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-124", "text": "124", "top": 580, "left": 1157, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-125", "text": "125", "top": 580, "left": 1194, "width": 35, "height": 20 },
+
+
+ { "type": "stn", "id": "site-126", "text": "126", "top": 84, "left": 1300, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-127", "text": "127", "top": 84, "left": 1337, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-128", "text": "128", "top": 84, "left": 1374, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-129", "text": "129", "top": 84, "left": 1411, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-130", "text": "130", "top": 84, "left": 1448, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-131", "text": "131", "top": 84, "left": 1485, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-132", "text": "132", "top": 84, "left": 1522, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-133", "text": "133", "top": 84, "left": 1559, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-134", "text": "134", "top": 84, "left": 1596, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-135", "text": "135", "top": 84, "left": 1633, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-136", "text": "136", "top": 84, "left": 1670, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-137", "text": "137", "top": 84, "left": 1707, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-138", "text": "138", "top": 84, "left": 1744, "width": 35, "height": 20 },
+
+
+ { "type": "stn", "id": "site-139", "text": "139", "top": 128, "left": 1300, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-140", "text": "140", "top": 128, "left": 1337, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-141", "text": "141", "top": 128, "left": 1374, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-142", "text": "142", "top": 128, "left": 1411, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-143", "text": "143", "top": 128, "left": 1448, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-144", "text": "144", "top": 128, "left": 1485, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-145", "text": "145", "top": 128, "left": 1522, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-146", "text": "146", "top": 128, "left": 1559, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-147", "text": "147", "top": 128, "left": 1596, "width": 35, "height": 20 },
+
+
+ { "type": "stn", "id": "site-148", "text": "148", "top": 190, "left": 1300, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-149", "text": "149", "top": 190, "left": 1337, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-150", "text": "150", "top": 190, "left": 1374, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-151", "text": "151", "top": 190, "left": 1411, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-152", "text": "152", "top": 190, "left": 1448, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-153", "text": "153", "top": 190, "left": 1485, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-154", "text": "154", "top": 190, "left": 1522, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-155", "text": "155", "top": 190, "left": 1559, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-156", "text": "156", "top": 190, "left": 1596, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-157", "text": "157", "top": 190, "left": 1633, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-158", "text": "158", "top": 190, "left": 1670, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-159", "text": "159", "top": 190, "left": 1707, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-160", "text": "160", "top": 190, "left": 1744, "width": 35, "height": 20 },
+
+ { "type": "stn", "id": "site-161", "text": "161", "top": 105, "left": 1633, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-162", "text": "162", "top": 148, "left": 1633, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-163", "text": "163", "top": 105, "left": 1670, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-164", "text": "164", "top": 148, "left": 1670, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-165", "text": "165", "top": 105, "left": 1707, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-166", "text": "166", "top": 148, "left": 1707, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-167", "text": "167", "top": 105, "left": 1744, "width": 35, "height": 40 },
+ { "type": "stn", "id": "site-168", "text": "168", "top": 148, "left": 1744, "width": 35, "height": 40 },
+
+ { "type": "stn", "id": "site-169", "text": "169", "top": 149, "left": 1448, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-170", "text": "170", "top": 170, "left": 1448, "width": 35, "height": 19 },
+ { "type": "stn", "id": "site-171", "text": "171", "top": 149, "left": 1485, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-172", "text": "172", "top": 170, "left": 1485, "width": 35, "height": 19 },
+ { "type": "stn", "id": "site-173", "text": "173", "top": 149, "left": 1559, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-174", "text": "174", "top": 170, "left": 1559, "width": 35, "height": 19 },
+ { "type": "stn", "id": "site-175", "text": "175", "top": 149, "left": 1596, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-176", "text": "176", "top": 170, "left": 1596, "width": 35, "height": 19 },
+
+
+ { "type": "stn", "id": "site-177", "text": "177", "top": 415, "left": 1300, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-178", "text": "178", "top": 415, "left": 1337, "width": 35, "height": 20 },
+
+ { "type": "stn", "id": "site-179", "text": "179", "top": 465, "left": 1300, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-180", "text": "180", "top": 465, "left": 1337, "width": 35, "height": 20 },
+
+ { "type": "stn", "id": "site-181", "text": "181", "top": 580, "left": 1300, "width": 35, "height": 20 },
+ { "type": "stn", "id": "site-182", "text": "182", "top": 580, "left": 1337, "width": 35, "height": 20 },
+
+
+
+ ],
"barcode":[
- {
- "type": "barcode",
- "id": "barcode-1",
- "text": "",
- "top": 749,
- "left": 470,
- "width": 80,
- "height": 20
- },
- {
- "type": "barcode",
- "id": "barcode-2",
- "text": "",
- "top": 684,
- "left": 470,
- "width": 80,
- "height": 20
- } ,
- {
- "type": "barcode",
- "id": "barcode-3",
- "text": "",
- "top": 64.5,
- "left": 470,
- "width": 80,
- "height": 20
- }
- ,
- {
- "type": "barcode",
- "id": "barcode-4",
- "text": "",
- "top": 749,
- "left": 560,
- "width": 150,
- "height": 20
- }
- ,
- {
- "type": "barcode",
- "id": "barcode-5",
- "text": "",
- "top": 684,
- "left": 560,
- "width": 150,
- "height": 20
- }
+ // {"type": "barcode", "id": "barcode-1", "text": "", "top": 749, "left": 470, "width": 80, "height": 20},
+ // {"type": "barcode", "id": "barcode-2", "text": "", "top": 684, "left": 470, "width": 80, "height": 20},
+ // {"type": "barcode", "id": "barcode-3", "text": "", "top": 64.5, "left": 470, "width": 80, "height": 20},
+ // {"type": "barcode", "id": "barcode-4", "text": "", "top": 749, "left": 560, "width": 150, "height": 20},
+ {"type": "barcode", "id": "barcode-5", "text": "", "top": 684, "left": 560, "width": 150, "height": 20}
]
- }]
+ },
+ {
+ "type": "floor",
+ "id": "page_floor2",
+ "text": "2F",
+ "top": 0,
+ "left": 0,
+ "width": 2900,
+ "height": 600,
+ "stns": [
+ // { "type": "stn", "id": "site-200", "text": "200", "top": 80, "left": 94, "width": 40, "height": 23 },
+ { "type": "stn", "id": "site-201", "text": "201", "top": 80, "left": 10, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-202", "text": "202", "top": 130, "left": 10, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-203", "text": "203", "top": 130, "left": 72, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-204", "text": "204", "top": 160, "left": 10, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-205", "text": "205", "top": 160, "left": 72, "width": 60, "height": 23 },
+
+ { "type": "stn", "id": "site-206", "text": "206", "top": 240, "left": 10, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-207", "text": "207", "top": 290, "left": 10, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-208", "text": "208", "top": 290, "left": 72, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-209", "text": "209", "top": 320, "left": 10, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-210", "text": "210", "top": 370, "left": 10, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-211", "text": "211", "top": 370, "left": 72, "width": 60, "height": 23 },
+
+ // { "type": "stn", "id": "site-212", "text": "212", "top": 160, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-213", "text": "213", "top": 160, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-214", "text": "214", "top": 160, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-215", "text": "215", "top": 160, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-216", "text": "216", "top": 160, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-217", "text": "217", "top": 160, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-218", "text": "218", "top": 240, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-219", "text": "219", "top": 240, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-220", "text": "220", "top": 240, "left": 10, "width": 40, "height": 23 },
+ { "type": "stn", "id": "site-221", "text": "221", "top": 80, "left": 1742, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-222", "text": "222", "top": 130, "left": 1806, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-223", "text": "223", "top": 130, "left": 1742, "width": 60, "height": 23 },
+
+ { "type": "stn", "id": "site-224", "text": "224", "top": 160, "left": 1806, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-225", "text": "225", "top": 160, "left": 1742, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-226", "text": "226", "top": 240, "left": 1742, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-227", "text": "227", "top": 290, "left": 1806, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-228", "text": "228", "top": 290, "left": 1742, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-229", "text": "229", "top": 320, "left": 1742, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-230", "text": "230", "top": 370, "left": 1806, "width": 60, "height": 23 },
+ { "type": "stn", "id": "site-231", "text": "231", "top": 370, "left": 1742, "width": 60, "height": 23 }
+
+
+ ],
+ "barcode": []
+ },
+ {
+ "type": "floor",
+ "id": "page_floor3",
+ "text": "3F",
+ "top": 0,
+ "left": 0,
+ "width": 2900,
+ "height": 600,
+ "stns": [
+ // { "type": "stn", "id": "site-300", "text": "300", "top": 80, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-301", "text": "301", "top": 80, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-302", "text": "302", "top": 80, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-303", "text": "303", "top": 80, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-304", "text": "304", "top": 80, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-305", "text": "305", "top": 80, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-306", "text": "306", "top": 130, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-307", "text": "307", "top": 130, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-308", "text": "308", "top": 130, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-309", "text": "309", "top": 130, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-310", "text": "310", "top": 130, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-311", "text": "311", "top": 130, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-312", "text": "312", "top": 160, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-313", "text": "313", "top": 160, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-314", "text": "314", "top": 160, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-315", "text": "315", "top": 160, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-316", "text": "316", "top": 160, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-317", "text": "317", "top": 160, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-318", "text": "318", "top": 240, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-319", "text": "319", "top": 240, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-320", "text": "320", "top": 240, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-321", "text": "321", "top": 240, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-322", "text": "322", "top": 240, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-323", "text": "323", "top": 240, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-324", "text": "324", "top": 320, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-325", "text": "325", "top": 320, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-326", "text": "326", "top": 320, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-327", "text": "327", "top": 320, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-328", "text": "328", "top": 320, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-329", "text": "329", "top": 320, "left": 1826, "width": 40, "height": 23 }
+ ],
+ "barcode": []
+ },
+ {
+ "type": "floor",
+ "id": "page_floor4",
+ "text": "4F",
+ "top": 0,
+ "left": 0,
+ "width": 2900,
+ "height": 600,
+ "stns": [
+ // { "type": "stn", "id": "site-400", "text": "400", "top": 80, "left": 94, "width": 40, "height": 23 },
+ { "type": "stn", "id": "site-401", "text": "401", "top": 80, "left": 10, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-402", "text": "402", "top": 160, "left": 10, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-403", "text": "403", "top": 240, "left": 10, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-404", "text": "404", "top": 320, "left": 10, "width": 120, "height": 23 },
+ // { "type": "stn", "id": "site-405", "text": "405", "top": 80, "left": 1826, "width": 40, "height": 23 },
+
+ // { "type": "stn", "id": "site-406", "text": "406", "top": 130, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-407", "text": "407", "top": 130, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-408", "text": "408", "top": 130, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-409", "text": "409", "top": 130, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-410", "text": "410", "top": 130, "left": 1784, "width": 40, "height": 23 },
+ { "type": "stn", "id": "site-411", "text": "411", "top": 80, "left": 1742, "width": 120, "height": 23 },
+
+ { "type": "stn", "id": "site-412", "text": "412", "top": 160, "left": 1742, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-413", "text": "413", "top": 240, "left": 1742, "width": 120, "height": 23 },
+ { "type": "stn", "id": "site-414", "text": "414", "top": 320, "left": 1742, "width": 120, "height": 23 }
+ // { "type": "stn", "id": "site-415", "text": "415", "top": 160, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-416", "text": "416", "top": 160, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-417", "text": "417", "top": 160, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-418", "text": "418", "top": 240, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-419", "text": "419", "top": 240, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-420", "text": "420", "top": 240, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-421", "text": "421", "top": 240, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-422", "text": "422", "top": 240, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-423", "text": "423", "top": 240, "left": 1826, "width": 40, "height": 23 },
+ //
+ // { "type": "stn", "id": "site-424", "text": "424", "top": 320, "left": 94, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-425", "text": "425", "top": 320, "left": 52, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-426", "text": "426", "top": 320, "left": 10, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-427", "text": "427", "top": 320, "left": 1742, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-428", "text": "428", "top": 320, "left": 1784, "width": 40, "height": 23 },
+ // { "type": "stn", "id": "site-429", "text": "429", "top": 320, "left": 1826, "width": 40, "height": 23 }
+ ],
+ "barcode": []
+ }
+ ]
}]
}
\ No newline at end of file
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index dcbc329..f8dc63c 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -344,7 +344,7 @@
url: baseUrl + '/console/barcode/output/site',
method: 'GET',
success: function (res) {
- console.log(res)
+ // console.log(res)
if (res.code === 200) {
tData = eval(res.data);
if (tData.length <= 5) {
--
Gitblit v1.9.1