From 564ea7ef8c758b41cae040ba393177b08c26a565 Mon Sep 17 00:00:00 2001
From: 野心家 <1051256694@qq.com>
Date: 星期二, 28 二月 2023 17:16:33 +0800
Subject: [PATCH] phpswcs创建
---
src/main/webapp/static/js/console.map.js | 850 +++++++++++++++++++++++++++++++------------------------
1 files changed, 476 insertions(+), 374 deletions(-)
diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js
index f06a5c7..454caa5 100644
--- a/src/main/webapp/static/js/console.map.js
+++ b/src/main/webapp/static/js/console.map.js
@@ -1,447 +1,549 @@
-mapInfo = {
- "mapName":"STWCS",
- "rackCount":16,
- "crnCount":4,
- "stbCount":16,
- "hpPosition":0,
- "minBayNo":2,
- "floors":1,
- "racks":[
+mapInfo ={
+ "mapName": "XFXWCS",
+ "rackCount": 6,
+ "crnCount": 3,
+ "stbCount": 39,
+ "hpPosition": 1,
+ "minBayNo": 1,
+ "floors": 3,
+ "racks": [
{
- "type":"rack",
- "id":"rack4",
- "top":549,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
+ "type": "rack",
+ "id": "rack6",
+ "top": 344,
+ "left": 193,
+ "width": 796,
+ "height": 23,
+ "minBayNo": 1,
+ "maxBayNo": 35
},
{
- "type":"rack",
- "id":"rack1",
- "top":642,
- "left":413,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
+ "type": "rack",
+ "id": "rack5",
+ "top": 284,
+ "left": 193,
+ "width": 796,
+ "height": 23,
+ "minBayNo": 1,
+ "maxBayNo": 35
},
{
- "type":"rack",
- "id":"rack2",
- "top":619,
- "left":413,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
+ "type": "rack",
+ "id": "rack4",
+ "top": 260,
+ "left": 193,
+ "width": 796,
+ "height": 23,
+ "minBayNo": 1,
+ "maxBayNo": 35
},
{
- "type":"rack",
- "id":"rack3",
- "top":571,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
+ "type": "rack",
+ "id": "rack1",
+ "top": 119,
+ "left": 193,
+ "width": 796,
+ "height": 23,
+ "minBayNo": 1,
+ "maxBayNo": 35
},
{
- "type":"rack",
- "id":"rack8",
- "top":435,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
+ "type": "rack",
+ "id": "rack2",
+ "top": 176,
+ "left": 193,
+ "width": 796,
+ "height": 23,
+ "minBayNo": 1,
+ "maxBayNo": 35
},
{
- "type":"rack",
- "id":"rack5",
- "top":527,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack6",
- "top":505,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack7",
- "top":457,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack12",
- "top":322,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack9",
- "top":413,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack10",
- "top":391,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack11",
- "top":344,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack16",
- "top":206,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack13",
- "top":300,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack15",
- "top":228,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
- },
- {
- "type":"rack",
- "id":"rack14",
- "top":278,
- "left":412,
- "width":846,
- "height":20,
- "minBayNo":2,
- "maxBayNo":31
+ "type": "rack",
+ "id": "rack3",
+ "top": 200,
+ "left": 193,
+ "width": 796,
+ "height": 23,
+ "minBayNo": 1,
+ "maxBayNo": 35
}
],
- "rackDescs":[
+ "rackDescs": [
{
- "type":"rackDescs",
- "id":"lb_desc16",
- "text":"#1",
- "top":664,
- "left":1228,
- "width":30,
- "height":23
- },
- {
- "type":"rackDescs",
- "id":"lb_desc1",
- "text":"#16",
- "top":181,
- "left":1217,
- "width":41,
- "height":23
+ "type": "rackDescs",
+ "id": "lb_desc16",
+ "text": "#6",
+ "top": 344,
+ "left": 138,
+ "width": 33,
+ "height": 23
}
],
- "crns":[
+ "crns": [
{
- "type":"crane",
- "id":"crn-4",
- "text":"4",
- "top":252,
- "left":501,
- "width":93,
- "height":22
+ "type": "track",
+ "id": "lb_track4",
+ "text": "",
+ "top": 97,
+ "left": 1090,
+ "width": 3,
+ "height": 290
},
{
- "type":"track",
- "id":"lb_track1",
- "text":"",
- "top":605,
- "left":332,
- "width":971,
- "height":2
+ "type": "track",
+ "id": "lb_track5",
+ "text": "",
+ "top": 97,
+ "left": 1119,
+ "width": 3,
+ "height": 290
},
{
- "type":"crane",
- "id":"crn-3",
- "text":"3",
- "top":367,
- "left":512,
- "width":93,
- "height":22
+ "type": "crane",
+ "id": "crn-3",
+ "text": "3",
+ "top": 316,
+ "left": 466,
+ "width": 93,
+ "height": 22
},
{
- "type":"track",
- "id":"lb_track2",
- "text":"",
- "top":489,
- "left":332,
- "width":972,
- "height":2
+ "type": "track",
+ "id": "lb_track3",
+ "text": "",
+ "top": 327,
+ "left": 172,
+ "width": 850,
+ "height": 2
},
{
- "type":"crane",
- "id":"crn-2",
- "text":"2",
- "top":481,
- "left":501,
- "width":93,
- "height":22
+ "type": "crane",
+ "id": "crn-2",
+ "text": "2",
+ "top": 232,
+ "left": 466,
+ "width": 93,
+ "height": 22
},
{
- "type":"track",
- "id":"lb_track5",
- "text":"",
- "top":376,
- "left":333,
- "width":974,
- "height":2
+ "type": "track",
+ "id": "lb_track1",
+ "text": "",
+ "top": 160,
+ "left": 177,
+ "width": 850,
+ "height": 2
},
{
- "type":"track",
- "id":"lb_track4",
- "text":"",
- "top":260,
- "left":335,
- "width":975,
- "height":2
+ "type": "track",
+ "id": "lb_track2",
+ "text": "",
+ "top": 243,
+ "left": 172,
+ "width": 850,
+ "height": 2
},
{
- "type":"crane",
- "id":"crn-1",
- "text":"1",
- "top":595,
- "left":501,
- "width":93,
- "height":22
+ "type": "crane",
+ "id": "crn-1",
+ "text": "1",
+ "top": 151,
+ "left": 471,
+ "width": 93,
+ "height": 22
}
],
- "areas":[
+ "areas": [
{
- "type":"Control_floor",
- "id":"tabControl_floor1",
- "text":"妤煎眰",
- "top":68,
- "left":80,
- "width":1275,
- "height":910,
- "floors":[
+ "type": "Control_floor",
+ "id": "tabControl_floor1",
+ "text": "妤煎眰",
+ "top": 66,
+ "left": 80,
+ "width": 1252,
+ "height": 654,
+ "floors": [
{
- "type":"floor",
- "id":"page_floor1",
- "text":"1F",
- "top":4,
- "left":22,
- "width":1249,
- "height":902,
- "stns":[
+ "type": "floor",
+ "id": "page_floor1",
+ "text": "1F",
+ "top": 4,
+ "left": 22,
+ "width": 1226,
+ "height": 646,
+ "stns": [
{
- "type":"track",
- "id":"lb_trCart21",
- "text":"",
- "top":93,
- "left":243,
- "width":6,
- "height":569
+ "type": "stn",
+ "id": "site-100",
+ "text": "100",
+ "top": 176,
+ "left": 1206,
+ "width": 65,
+ "height": 23
},
{
- "type":"track",
- "id":"lb_trCart22",
- "text":"",
- "top":93,
- "left":297,
- "width":6,
- "height":569
+ "type": "stn",
+ "id": "site-102",
+ "text": "102",
+ "top": 237,
+ "left": 1206,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-016",
- "text":"016",
- "top":457,
- "left":239,
- "width":69,
- "height":20
+ "type": "stn",
+ "id": "site-101",
+ "text": "101",
+ "top": 176,
+ "left": 1140,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-015",
- "text":"015",
- "top":93,
- "left":310,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-112",
+ "text": "112",
+ "top": 154,
+ "left": 1073,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-014",
- "text":"014",
- "top":93,
- "left":413,
- "width":92,
- "height":20
+ "type": "stn",
+ "id": "site-105",
+ "text": "105",
+ "top": 284,
+ "left": 1140,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-013",
- "text":"013",
- "top":115,
- "left":413,
- "width":92,
- "height":20
+ "type": "stn",
+ "id": "site-103",
+ "text": "103",
+ "top": 237,
+ "left": 1140,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-012",
- "text":"012",
- "top":138,
- "left":413,
- "width":92,
- "height":20
+ "type": "stn",
+ "id": "site-110",
+ "text": "110",
+ "top": 284,
+ "left": 991,
+ "width": 80,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-011",
- "text":"011",
- "top":160,
- "left":413,
- "width":92,
- "height":20
+ "type": "stn",
+ "id": "site-108",
+ "text": "108",
+ "top": 200,
+ "left": 991,
+ "width": 80,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-010",
- "text":"010",
- "top":183,
- "left":413,
- "width":92,
- "height":20
+ "type": "stn",
+ "id": "site-109",
+ "text": "109",
+ "top": 260,
+ "left": 991,
+ "width": 80,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-009",
- "text":"009",
- "top":183,
- "left":310,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-104",
+ "text": "104",
+ "top": 284,
+ "left": 1206,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-008",
- "text":"008",
- "top":228,
- "left":310,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-107",
+ "text": "107",
+ "top": 176,
+ "left": 991,
+ "width": 80,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-007",
- "text":"007",
- "top":278,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-106",
+ "text": "106",
+ "top": 119,
+ "left": 991,
+ "width": 80,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-006",
- "text":"006",
- "top":344,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-111",
+ "text": "111",
+ "top": 344,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ }
+ ]
+ },
+ {
+ "type": "floor",
+ "id": "page_floor2",
+ "text": "2F",
+ "top": 4,
+ "left": 22,
+ "width": 1226,
+ "height": 646,
+ "stns": [
+ {
+ "type": "stn",
+ "id": "site-200",
+ "text": "200",
+ "top": 176,
+ "left": 1206,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-005",
- "text":"005",
- "top":391,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-202",
+ "text": "202",
+ "top": 237,
+ "left": 1206,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-004",
- "text":"004",
- "top":457,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-201",
+ "text": "201",
+ "top": 176,
+ "left": 1140,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-003",
- "text":"003",
- "top":505,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-212",
+ "text": "212",
+ "top": 154,
+ "left": 1073,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-002",
- "text":"002",
- "top":571,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-205",
+ "text": "205",
+ "top": 284,
+ "left": 1140,
+ "width": 65,
+ "height": 23
},
{
- "type":"stn",
- "id":"site-001",
- "text":"001",
- "top":619,
- "left":311,
- "width":100,
- "height":20
+ "type": "stn",
+ "id": "site-203",
+ "text": "203",
+ "top": 237,
+ "left": 1140,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-210",
+ "text": "210",
+ "top": 284,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-208",
+ "text": "208",
+ "top": 200,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-209",
+ "text": "209",
+ "top": 260,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-204",
+ "text": "204",
+ "top": 284,
+ "left": 1206,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-207",
+ "text": "207",
+ "top": 176,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-206",
+ "text": "206",
+ "top": 119,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-211",
+ "text": "211",
+ "top": 344,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ }
+ ]
+ },
+ {
+ "type": "floor",
+ "id": "page_floor3",
+ "text": "3F",
+ "top": 4,
+ "left": 22,
+ "width": 1226,
+ "height": 646,
+ "stns": [
+ {
+ "type": "stn",
+ "id": "site-300",
+ "text": "300",
+ "top": 176,
+ "left": 1206,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-302",
+ "text": "302",
+ "top": 237,
+ "left": 1206,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-301",
+ "text": "301",
+ "top": 176,
+ "left": 1140,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-312",
+ "text": "312",
+ "top": 154,
+ "left": 1073,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-305",
+ "text": "305",
+ "top": 284,
+ "left": 1140,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-303",
+ "text": "303",
+ "top": 237,
+ "left": 1140,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-310",
+ "text": "310",
+ "top": 284,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-308",
+ "text": "308",
+ "top": 200,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-309",
+ "text": "309",
+ "top": 260,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-304",
+ "text": "304",
+ "top": 284,
+ "left": 1206,
+ "width": 65,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-307",
+ "text": "307",
+ "top": 176,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-306",
+ "text": "306",
+ "top": 119,
+ "left": 991,
+ "width": 80,
+ "height": 23
+ },
+ {
+ "type": "stn",
+ "id": "site-311",
+ "text": "311",
+ "top": 344,
+ "left": 991,
+ "width": 80,
+ "height": 23
}
]
}
--
Gitblit v1.9.1