| | |
| | | private BasDevpService basDevpService; |
| | | |
| | | |
| | | @GetMapping("/io/mode/info/site") |
| | | @ManagerAuth(memo = "入出库模式") |
| | | public R ioMode() { |
| | | List<Map<String, Object>> res = new ArrayList<>(); |
| | | for (DevpSlave devp : slaveProperties.getDevp()) { |
| | | SiemensDevpThread devpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, devp.getId()); |
| | | Map<String, Object> map2 = new HashMap<>(); |
| | | map2.put("floor", 2); |
| | | map2.put("modeVal", devpThread.ioModeOf2F.id); |
| | | map2.put("modeDesc", devpThread.ioModeOf2F.desc); |
| | | res.add(map2); |
| | | } |
| | | return R.ok().add(res); |
| | | } |
| | | // @GetMapping("/io/mode/info/site") |
| | | // @ManagerAuth(memo = "入出库模式") |
| | | // public R ioMode() { |
| | | // List<Map<String, Object>> res = new ArrayList<>(); |
| | | // for (DevpSlave devp : slaveProperties.getDevp()) { |
| | | // SiemensDevpThread devpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, devp.getId()); |
| | | // Map<String, Object> map2 = new HashMap<>(); |
| | | // map2.put("floor", 2); |
| | | // map2.put("modeVal", devpThread.ioModeOf2F.id); |
| | | // map2.put("modeDesc", devpThread.ioModeOf2F.desc); |
| | | // res.add(map2); |
| | | // } |
| | | // return R.ok().add(res); |
| | | // } |
| | | |
| | | @PostMapping("/table/site") |
| | | @ManagerAuth(memo = "站点信息表") |
| | |
| | | } |
| | | |
| | | // // 入出库模式判断 |
| | | if (inSta.getStaNo() == 203 && devpThread.ioModeOf2F != IoModeType.PAKIN_MODE) { |
| | | continue; |
| | | } |
| | | // if (inSta.getStaNo() == 203 && devpThread.ioModeOf2F != IoModeType.PAKIN_MODE) { |
| | | // continue; |
| | | // } |
| | | |
| | | // 判断是否满足入库条件 |
| | | if (staProtocol.isAutoing() && staProtocol.isLoading() && staProtocol.isInEnable() |
| | |
| | | |
| | | // // 入出库模式判断 |
| | | // if (devpThread.ioMode != IoModeType.PAKOUT_MODE) { continue; } |
| | | if (wrkMast.getStaNo() == 204 && devpThread.ioModeOf2F != IoModeType.PAKOUT_MODE) { |
| | | continue; |
| | | } |
| | | // if (wrkMast.getStaNo() == 204 && devpThread.ioModeOf2F != IoModeType.PAKOUT_MODE) { |
| | | // continue; |
| | | // } |
| | | |
| | | // 查询站点详细信息 |
| | | BasDevp staDetl = basDevpService.selectById(crnStn.getStaNo()); |
| | |
| | | /** |
| | | * 入出库模式切换函数 |
| | | */ |
| | | public synchronized void ioConvert() { |
| | | try { |
| | | // 根据输送线plc遍历 |
| | | for (DevpSlave devp : slaveProperties.getDevp()) { |
| | | SiemensDevpThread devpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, devp.getId()); |
| | | |
| | | for (DevpSlave.Sta inSta : devp.getInSta()) { |
| | | if (inSta.getStaNo() == 2) { |
| | | continue; |
| | | } |
| | | WrkMast pakout = wrkMastMapper.selectWorkingPakout(inSta.getStaNo()); |
| | | switch (inSta.getStaNo()) { |
| | | case 203://1F |
| | | if (pakout != null) { |
| | | if (devpThread.ioModeOf2F != IoModeType.PAKOUT_MODE) { |
| | | // 出库切换中 |
| | | devpThread.ioModeOf2F = IoModeType.PAKOUT_BOOTING; |
| | | WrkMast pakin = wrkMastMapper.selectWorkingPakin(inSta.getStaNo()); |
| | | if (pakin == null && !devpThread.getStation().get(inSta.getStaNo()).isLoading() |
| | | && !devpThread.getStation().get(inSta.getStaNo() + 1).isLoading() |
| | | && devpThread.getStation().get(inSta.getStaNo() + 1).getWorkNo() == 0) { |
| | | // 出库模式 |
| | | devpThread.ioModeOf2F = IoModeType.PAKOUT_MODE; |
| | | } |
| | | } |
| | | } else { |
| | | // 入库模式 |
| | | devpThread.ioModeOf2F = IoModeType.PAKIN_MODE; |
| | | } |
| | | break; |
| | | case 401://1F |
| | | if (pakout != null) { |
| | | if (devpThread.ioModeOf4F != IoModeType.PAKOUT_MODE) { |
| | | // 出库切换中 |
| | | devpThread.ioModeOf4F = IoModeType.PAKOUT_BOOTING; |
| | | WrkMast pakin = wrkMastMapper.selectWorkingPakin(inSta.getStaNo()); |
| | | if (pakin == null && !devpThread.getStation().get(inSta.getStaNo()).isLoading() |
| | | && !devpThread.getStation().get(inSta.getStaNo() + 1).isLoading() |
| | | && devpThread.getStation().get(inSta.getStaNo() + 1).getWorkNo() == 0) { |
| | | // 出库模式 |
| | | devpThread.ioModeOf4F = IoModeType.PAKOUT_MODE; |
| | | } |
| | | } |
| | | } else { |
| | | // 入库模式 |
| | | devpThread.ioModeOf4F = IoModeType.PAKIN_MODE; |
| | | } |
| | | break; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | |
| | | } |
| | | // public synchronized void ioConvert() { |
| | | // try { |
| | | // // 根据输送线plc遍历 |
| | | // for (DevpSlave devp : slaveProperties.getDevp()) { |
| | | // SiemensDevpThread devpThread = (SiemensDevpThread) SlaveConnection.get(SlaveType.Devp, devp.getId()); |
| | | // |
| | | // for (DevpSlave.Sta inSta : devp.getInSta()) { |
| | | // if (inSta.getStaNo() == 2) { |
| | | // continue; |
| | | // } |
| | | // WrkMast pakout = wrkMastMapper.selectWorkingPakout(inSta.getStaNo()); |
| | | // switch (inSta.getStaNo()) { |
| | | // case 203://1F |
| | | // if (pakout != null) { |
| | | // if (devpThread.ioModeOf2F != IoModeType.PAKOUT_MODE) { |
| | | // // 出库切换中 |
| | | // devpThread.ioModeOf2F = IoModeType.PAKOUT_BOOTING; |
| | | // WrkMast pakin = wrkMastMapper.selectWorkingPakin(inSta.getStaNo()); |
| | | // if (pakin == null && !devpThread.getStation().get(inSta.getStaNo()).isLoading() |
| | | // && !devpThread.getStation().get(inSta.getStaNo() + 1).isLoading() |
| | | // && devpThread.getStation().get(inSta.getStaNo() + 1).getWorkNo() == 0) { |
| | | // // 出库模式 |
| | | // devpThread.ioModeOf2F = IoModeType.PAKOUT_MODE; |
| | | // } |
| | | // } |
| | | // } else { |
| | | // // 入库模式 |
| | | // devpThread.ioModeOf2F = IoModeType.PAKIN_MODE; |
| | | // } |
| | | // break; |
| | | // case 401://1F |
| | | // if (pakout != null) { |
| | | // if (devpThread.ioModeOf4F != IoModeType.PAKOUT_MODE) { |
| | | // // 出库切换中 |
| | | // devpThread.ioModeOf4F = IoModeType.PAKOUT_BOOTING; |
| | | // WrkMast pakin = wrkMastMapper.selectWorkingPakin(inSta.getStaNo()); |
| | | // if (pakin == null && !devpThread.getStation().get(inSta.getStaNo()).isLoading() |
| | | // && !devpThread.getStation().get(inSta.getStaNo() + 1).isLoading() |
| | | // && devpThread.getStation().get(inSta.getStaNo() + 1).getWorkNo() == 0) { |
| | | // // 出库模式 |
| | | // devpThread.ioModeOf4F = IoModeType.PAKOUT_MODE; |
| | | // } |
| | | // } |
| | | // } else { |
| | | // // 入库模式 |
| | | // devpThread.ioModeOf4F = IoModeType.PAKIN_MODE; |
| | | // } |
| | | // break; |
| | | // } |
| | | // } |
| | | // |
| | | // } |
| | | // |
| | | // } catch (Exception e) { |
| | | // e.printStackTrace(); |
| | | // } |
| | | // |
| | | // |
| | | // } |
| | | |
| | | public synchronized void outOfDevp() { |
| | | List<WrkMast> wrkMasts = wrkMastMapper.selectPick(); |
| | |
| | | |
| | | // 其他 ===>> 入出库模式切换 |
| | | i++; |
| | | if (i > 1) { |
| | | mainService.ioConvert(); |
| | | i = 0; |
| | | } |
| | | // if (i > 1) { |
| | | // mainService.ioConvert(); |
| | | // i = 0; |
| | | // } |
| | | |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | |
| | | datasource: |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # url: jdbc:sqlserver://10.10.10.100:1433;databasename=stasrs |
| | | url: jdbc:sqlserver://localhost:1433;databasename=phpsasrs |
| | | url: jdbc:sqlserver://192.168.4.15:1433;databasename=phpsasrs |
| | | username: sa |
| | | password: sa@123 |
| | | mvc: |
| | |
| | | row: 1 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点1 |
| | | crnOutStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 107 |
| | | row: 2 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机入库站点2 |
| | | crnInStn[1]: |
| | | devpPlcId: ${wcs-slave.devp[1].id} |
| | |
| | | row: 1 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点2 |
| | | crnOutStn[1]: |
| | | devpPlcId: ${wcs-slave.devp[1].id} |
| | | staNo: 207 |
| | | row: 2 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机入库站点3 |
| | | crnInStn[2]: |
| | | devpPlcId: ${wcs-slave.devp[2].id} |
| | | staNo: 306 |
| | | row: 1 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点1 |
| | | crnOutStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 107 |
| | | row: 2 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点2 |
| | | crnOutStn[1]: |
| | | devpPlcId: ${wcs-slave.devp[1].id} |
| | | staNo: 207 |
| | | row: 2 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点3 |
| | |
| | | id: 9 |
| | | ip: 10.10.10.201 |
| | | port: 5005 |
| | | |
| | | |
| | |
| | | "crnCount": 3, |
| | | "stbCount": 39, |
| | | "hpPosition": 1, |
| | | "minBayNo": 1, |
| | | "minBayNo": 2, |
| | | "floors": 3, |
| | | "racks": [ |
| | | { |
| | | "type": "rack", |
| | | "id": "rack6", |
| | | "top": 344, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 1, |
| | | "maxBayNo": 35 |
| | | }, |
| | | { |
| | | "type": "rack", |
| | | "id": "rack5", |
| | | "top": 284, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 1, |
| | | "maxBayNo": 35 |
| | | }, |
| | | { |
| | | "type": "rack", |
| | | "id": "rack4", |
| | | "top": 260, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 1, |
| | | "maxBayNo": 35 |
| | | }, |
| | | { |
| | | "type": "rack", |
| | | "id": "rack1", |
| | | "top": 119, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 1, |
| | | "maxBayNo": 35 |
| | | }, |
| | | { |
| | | "type": "rack", |
| | | "id": "rack2", |
| | | "top": 176, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 1, |
| | | "maxBayNo": 35 |
| | | }, |
| | | { |
| | | "type": "rack", |
| | | "id": "rack3", |
| | | "top": 200, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 1, |
| | | "maxBayNo": 35 |
| | | } |
| | | ], |
| | | "rackDescs": [ |
| | | { |
| | | "type": "rackDescs", |
| | | "id": "lb_desc16", |
| | | "text": "#6", |
| | | "top": 344, |
| | | "left": 138, |
| | | "width": 33, |
| | | "height": 23 |
| | | } |
| | | ], |
| | | "crns": [ |
| | | { |
| | | "type": "track", |
| | | "id": "lb_track4", |
| | | "text": "", |
| | | "top": 97, |
| | | "left": 1090, |
| | | "width": 3, |
| | | "height": 290 |
| | | }, |
| | | { |
| | | "type": "track", |
| | | "id": "lb_track5", |
| | | "text": "", |
| | | "top": 97, |
| | | "left": 1119, |
| | | "width": 3, |
| | | "height": 290 |
| | | }, |
| | | { |
| | | "type": "crane", |
| | | "id": "crn-3", |
| | | "text": "3", |
| | | "top": 316, |
| | | "left": 466, |
| | | "width": 93, |
| | | "height": 22 |
| | | }, |
| | | { |
| | | "type": "track", |
| | | "id": "lb_track3", |
| | | "text": "", |
| | | "top": 327, |
| | | "left": 172, |
| | | "width": 850, |
| | | "height": 2 |
| | | }, |
| | | { |
| | | "type": "crane", |
| | | "id": "crn-2", |
| | | "text": "2", |
| | | "top": 232, |
| | | "left": 466, |
| | | "width": 93, |
| | | "height": 22 |
| | | }, |
| | | { |
| | | "type": "track", |
| | | "id": "lb_track1", |
| | | "text": "", |
| | | "top": 160, |
| | | "left": 177, |
| | | "width": 850, |
| | | "height": 2 |
| | | }, |
| | | { |
| | | "type": "track", |
| | | "id": "lb_track2", |
| | | "text": "", |
| | | "top": 243, |
| | | "left": 172, |
| | | "width": 850, |
| | | "height": 2 |
| | | }, |
| | | { |
| | | "type": "crane", |
| | | "id": "crn-1", |
| | | "text": "1", |
| | | "top": 151, |
| | | "left": 471, |
| | | "width": 93, |
| | | "height": 22 |
| | | } |
| | | ], |
| | | "areas": [ |
| | | { |
| | | "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": 1226, |
| | | "height": 646, |
| | | "stns": [ |
| | | { |
| | | "type": "stn", |
| | | "id": "site-100", |
| | | "text": "100", |
| | | "top": 176, |
| | | "left": 1206, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "top": 237, |
| | | "left": 1206, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-101", |
| | | "text": "101", |
| | | "top": 176, |
| | | "left": 1140, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-112", |
| | | "text": "112", |
| | | "top": 154, |
| | | "left": 1073, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-105", |
| | | "text": "105", |
| | | "top": 284, |
| | | "left": 1140, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-103", |
| | | "text": "103", |
| | | "top": 237, |
| | | "left": 1140, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-110", |
| | | "text": "110", |
| | | "top": 284, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-108", |
| | | "text": "108", |
| | | "top": 200, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-109", |
| | | "text": "109", |
| | | "top": 260, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "top": 284, |
| | | "left": 1206, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-107", |
| | | "text": "107", |
| | | "top": 176, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-106", |
| | | "text": "106", |
| | | "top": 119, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "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-202", |
| | | "text": "202", |
| | | "top": 237, |
| | | "left": 1206, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-201", |
| | | "text": "201", |
| | | "top": 176, |
| | | "left": 1140, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-212", |
| | | "text": "212", |
| | | "top": 154, |
| | | "left": 1073, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "type": "stn", |
| | | "id": "site-205", |
| | | "text": "205", |
| | | "top": 284, |
| | | "left": 1140, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, |
| | | { |
| | | "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 |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | "racks": [{ |
| | | "type": "rack", |
| | | "id": "rack6", |
| | | "top": 344, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 35 |
| | | }, { |
| | | "type": "rack", |
| | | "id": "rack5", |
| | | "top": 284, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 35 |
| | | }, { |
| | | "type": "rack", |
| | | "id": "rack4", |
| | | "top": 260, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 35 |
| | | }, { |
| | | "type": "rack", |
| | | "id": "rack1", |
| | | "top": 119, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 35 |
| | | }, { |
| | | "type": "rack", |
| | | "id": "rack2", |
| | | "top": 176, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 35 |
| | | }, { |
| | | "type": "rack", |
| | | "id": "rack3", |
| | | "top": 200, |
| | | "left": 193, |
| | | "width": 796, |
| | | "height": 23, |
| | | "minBayNo": 2, |
| | | "maxBayNo": 35 |
| | | }], |
| | | "rackDescs": [{ |
| | | "type": "rackDescs", |
| | | "id": "lb_desc17", |
| | | "text": "#1", |
| | | "top": 119, |
| | | "left": 157, |
| | | "width": 30, |
| | | "height": 23 |
| | | }, { |
| | | "type": "rackDescs", |
| | | "id": "lb_desc16", |
| | | "text": "#6", |
| | | "top": 344, |
| | | "left": 154, |
| | | "width": 33, |
| | | "height": 23 |
| | | }], |
| | | "crns": [{ |
| | | "type": "track", |
| | | "id": "lb_track4", |
| | | "text": "", |
| | | "top": 97, |
| | | "left": 1090, |
| | | "width": 3, |
| | | "height": 290 |
| | | }, { |
| | | "type": "track", |
| | | "id": "lb_track5", |
| | | "text": "", |
| | | "top": 97, |
| | | "left": 1119, |
| | | "width": 3, |
| | | "height": 290 |
| | | }, { |
| | | "type": "crane", |
| | | "id": "crn-3", |
| | | "text": "3", |
| | | "top": 316, |
| | | "left": 466, |
| | | "width": 93, |
| | | "height": 22 |
| | | }, { |
| | | "type": "track", |
| | | "id": "lb_track3", |
| | | "text": "", |
| | | "top": 327, |
| | | "left": 172, |
| | | "width": 850, |
| | | "height": 2 |
| | | }, { |
| | | "type": "crane", |
| | | "id": "crn-2", |
| | | "text": "2", |
| | | "top": 232, |
| | | "left": 466, |
| | | "width": 93, |
| | | "height": 22 |
| | | }, { |
| | | "type": "track", |
| | | "id": "lb_track1", |
| | | "text": "", |
| | | "top": 160, |
| | | "left": 177, |
| | | "width": 850, |
| | | "height": 2 |
| | | }, { |
| | | "type": "track", |
| | | "id": "lb_track2", |
| | | "text": "", |
| | | "top": 243, |
| | | "left": 172, |
| | | "width": 850, |
| | | "height": 2 |
| | | }, { |
| | | "type": "crane", |
| | | "id": "crn-1", |
| | | "text": "1", |
| | | "top": 151, |
| | | "left": 471, |
| | | "width": 93, |
| | | "height": 22 |
| | | }], |
| | | "areas": [{ |
| | | "type": "Control_floor", |
| | | "id": "tabControl_floor1", |
| | | "text": "楼层", |
| | | "top": 66, |
| | | "left": 80, |
| | | "width": 1267, |
| | | "height": 666, |
| | | "floors": [{ |
| | | "type": "floor", |
| | | "id": "page_floor1", |
| | | "text": "1F", |
| | | "top": 4, |
| | | "left": 22, |
| | | "width": 1241, |
| | | "height": 658, |
| | | "stns": [{ |
| | | "type": "stn", |
| | | "id": "site-100", |
| | | "text": "100", |
| | | "top": 176, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "top": 237, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-101", |
| | | "text": "101", |
| | | "top": 176, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-112", |
| | | "text": "112", |
| | | "top": 176, |
| | | "left": 1072, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-105", |
| | | "text": "105", |
| | | "top": 284, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-103", |
| | | "text": "103", |
| | | "top": 237, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-110", |
| | | "text": "110", |
| | | "top": 284, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-108", |
| | | "text": "108", |
| | | "top": 200, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-109", |
| | | "text": "109", |
| | | "top": 260, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "top": 284, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-107", |
| | | "text": "107", |
| | | "top": 176, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-106", |
| | | "text": "106", |
| | | "top": 119, |
| | | "left": 991, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "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": 1241, |
| | | "height": 658, |
| | | "stns": [{ |
| | | "type": "stn", |
| | | "id": "site-200", |
| | | "text": "200", |
| | | "top": 176, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-202", |
| | | "text": "202", |
| | | "top": 237, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-201", |
| | | "text": "201", |
| | | "top": 176, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-212", |
| | | "text": "212", |
| | | "top": 176, |
| | | "left": 1072, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-205", |
| | | "text": "205", |
| | | "top": 284, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-203", |
| | | "text": "203", |
| | | "top": 237, |
| | | "left": 1138, |
| | | "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": 1204, |
| | | "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": 1241, |
| | | "height": 658, |
| | | "stns": [{ |
| | | "type": "stn", |
| | | "id": "site-300", |
| | | "text": "300", |
| | | "top": 176, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-302", |
| | | "text": "302", |
| | | "top": 237, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-301", |
| | | "text": "301", |
| | | "top": 176, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-312", |
| | | "text": "312", |
| | | "top": 176, |
| | | "left": 1072, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-305", |
| | | "text": "305", |
| | | "top": 284, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-303", |
| | | "text": "303", |
| | | "top": 237, |
| | | "left": 1138, |
| | | "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": 1204, |
| | | "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 |
| | | }] |
| | | }] |
| | | }] |
| | | } |