From 12a66f19229f25054c145f17e03711fcca50fa77 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 05 六月 2024 15:58:21 +0800 Subject: [PATCH] #地图初始化 --- src/main/webapp/static/js/console.map.js | 46 +++++++++++++++++++++++++++++----------------- 1 files changed, 29 insertions(+), 17 deletions(-) diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js index 03e71cf..52c142d 100644 --- a/src/main/webapp/static/js/console.map.js +++ b/src/main/webapp/static/js/console.map.js @@ -3,7 +3,7 @@ "rackCount": 6, "crnCount": 6, "stbCount": 40, - "hpPosition": 0, + "hpPosition": 1, "minBayNo": 2, "floors": 1, "racks": [{ @@ -63,29 +63,21 @@ }], "rackDescs": [{ "type": "rackDescs", - "id": "lb_desc8", - "text": "#8", - "top": 357, - "left": 1881, + "id": "lb_desc6", + "text": "#6", + "top": 180, + "left": 1300, "width": 33, "height": 23 }, { "type": "rackDescs", "id": "lb_desc1", "text": "#1", - "top": 93, - "left": 1884, + "top": 425, + "left": 1300, "width": 30, "height": 23 - }, { - "type": "rackDescs", - "id": "lb_desc9", - "text": "#9", - "top": 384, - "left": 1735, - "width": 33, - "height": 23 - }, {"type": "rackDescs", "id": "lb_desc18", "text": "#18", "top": 663, "left": 1733, "width": 41, "height": 23}], + }], "crns": [{ "type": "track", "id": "lb_track3", @@ -471,7 +463,27 @@ "left": 1417, "width": 63, "height": 24 - }, {"type": "stn", "id": "site-105", "text": "105", "top": 351, "left": 1417, "width": 63, "height": 24}] + }, {"type": "stn", "id": "site-105", "text": "105", "top": 351, "left": 1417, "width": 63, "height": 24}], + "barcode":[ + { + "type": "barcode", + "id": "barcode-1", + "text": "", + "top": 422, + "left": 1335, + "width": 80, + "height": 20 + }, + { + "type": "barcode", + "id": "barcode-2", + "text": "", + "top": 422, + "left": 422, + "width": 80, + "height": 20 + } + ] }] }] } -- Gitblit v1.9.1