| | |
| | | private Map<Integer, StaProtocol> station = new ConcurrentHashMap<>(); |
| | | private short heartBeatVal = 1; |
| | | public static final ArrayList<Integer> staNos = new ArrayList<Integer>() {{ |
| | | add(101);add(102);add(103);add(104);add(105);add(106);add(107);add(108);add(109); |
| | | // add(201);add(202);add(203);add(204); |
| | | // add(301);add(302);add(303);add(304);add(305);add(306); |
| | | add(201);add(202);add(203);add(204);add(205);add(206); |
| | | add(207);add(208);add(209);add(210);add(211);add(212); |
| | | add(213);add(101); |
| | | }}; |
| | | |
| | | /** |
| | |
| | | "rackDescs": [{ |
| | | "type": "rackDescs", |
| | | "id": "lb_desc1", |
| | | "text": "#1", |
| | | "text": "#4", |
| | | "top": 93, |
| | | "left": 129, |
| | | "width": 30, |
| | |
| | | }, { |
| | | "type": "rackDescs", |
| | | "id": "lb_desc16", |
| | | "text": "#4", |
| | | "text": "#1", |
| | | "top": 259, |
| | | "left": 129, |
| | | "width": 33, |
| | |
| | | }], |
| | | "crns": [{ |
| | | "type": "crane", |
| | | "id": "crn-3", |
| | | "text": "2", |
| | | "id": "crn-1", |
| | | "text": "1", |
| | | "top": 232, |
| | | "left": 436, |
| | | "width": 93, |
| | |
| | | "height": 2 |
| | | }, { |
| | | "type": "crane", |
| | | "id": "crn-4", |
| | | "text": "1", |
| | | "id": "crn-2", |
| | | "text": "2", |
| | | "top": 127, |
| | | "left": 441, |
| | | "width": 93, |
| | |
| | | "floors": [{ |
| | | "type": "floor", |
| | | "id": "page_floor1", |
| | | "text": "1F", |
| | | "text": "2F", |
| | | "top": 4, |
| | | "left": 22, |
| | | "width": 1412, |
| | |
| | | "stns": [{ |
| | | "type": "stn", |
| | | "id": "site-111", |
| | | "text": "111", |
| | | "text": "212", |
| | | "top": 119, |
| | | "left": 1122, |
| | | "width": 65, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-110", |
| | | "text": "110", |
| | | "text": "101", |
| | | "top": 119, |
| | | "left": 1188, |
| | | "width": 65, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-109", |
| | | "text": "109", |
| | | "text": "211", |
| | | "top": 95, |
| | | "left": 1122, |
| | | "width": 65, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-112", |
| | | "text": "112", |
| | | "text": "207", |
| | | "top": 119, |
| | | "left": 1041, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-113", |
| | | "text": "113", |
| | | "text": "205", |
| | | "top": 176, |
| | | "left": 1041, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "text": "206", |
| | | "top": 152, |
| | | "left": 1041, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-108", |
| | | "text": "108", |
| | | "text": "202", |
| | | "top": 260, |
| | | "left": 960, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-107", |
| | | "text": "107", |
| | | "text": "201", |
| | | "top": 260, |
| | | "left": 1041, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-105", |
| | | "text": "105", |
| | | "text": "203", |
| | | "top": 200, |
| | | "left": 960, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "text": "204", |
| | | "top": 200, |
| | | "left": 1041, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-103", |
| | | "text": "103", |
| | | "text": "209", |
| | | "top": 152, |
| | | "left": 960, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-101", |
| | | "text": "101", |
| | | "text": "210", |
| | | "top": 95, |
| | | "left": 960, |
| | | "width": 80, |
| | |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-100", |
| | | "text": "100", |
| | | "text": "208", |
| | | "top": 95, |
| | | "left": 1041, |
| | | "width": 80, |