| | |
| | | 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(110);add(111);add(112);add(113);add(114);add(115);add(116);add(117);add(118);add(119); |
| | | add(120);add(121);add(122);add(123);add(124);add(125);add(126);add(127);add(128);add(129); |
| | | add(130);add(131);add(132);add(133);add(134);add(135);add(136); |
| | | add(101);add(102);add(103);add(104); |
| | | add(201);add(202);add(203);add(204); |
| | | add(301);add(302);add(303);add(304);add(305);add(306); |
| | | }}; |
| | | |
| | | /** |
| | |
| | | datasource: |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # url: jdbc:sqlserver://47.97.1.152:51433;databasename=xgmasrs |
| | | url: jdbc:sqlserver://localhost:1433;databasename=klsasrs2 |
| | | url: jdbc:sqlserver://localhost:1433;databasename=hylyasrs |
| | | username: sa |
| | | password: sa@123 |
| | | mvc: |
| | |
| | | # 堆垛机入库站点 |
| | | crnInStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 104 |
| | | staNo: 103 |
| | | row: 3 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点 |
| | | crnOutStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 102 |
| | | staNo: 101 |
| | | row: 2 |
| | | bay: 1 |
| | | lev: 1 |
| | |
| | | # 堆垛机入库站点 |
| | | crnInStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 108 |
| | | staNo: 203 |
| | | row: 7 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点 |
| | | crnOutStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 106 |
| | | staNo: 201 |
| | | row: 6 |
| | | bay: 1 |
| | | lev: 1 |
| | |
| | | # 堆垛机入库站点 |
| | | crnInStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 112 |
| | | staNo: 304 |
| | | row: 11 |
| | | bay: 1 |
| | | lev: 1 |
| | | # 堆垛机出库站点 |
| | | crnOutStn[0]: |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staNo: 110 |
| | | staNo: 301 |
| | | row: 10 |
| | | bay: 1 |
| | | lev: 1 |
| | |
| | | slot: 0 |
| | | # 入库口1 |
| | | inSta[0]: |
| | | staNo: 104 |
| | | staNo: 103 |
| | | barcode: ${wcs-slave.barcode[0].id} |
| | | # 入库口2 |
| | | inSta[1]: |
| | | staNo: 203 |
| | | barcode: ${wcs-slave.barcode[1].id} |
| | | # 入库口3 |
| | | inSta[2]: |
| | | staNo: 305 |
| | | barcode: ${wcs-slave.barcode[2].id} |
| | | # 空板入库口1 |
| | | emptyInSta[0]: |
| | | staNo: 104 |
| | | staNo: 103 |
| | | # 空板入库口2 |
| | | emptyInSta[1]: |
| | | staNo: 203 |
| | | # 空板入库口3 |
| | | emptyInSta[2]: |
| | | staNo: 305 |
| | | # 出库口1 |
| | | outSta[0]: |
| | | staNo: 101 |
| | | staNo: 102 |
| | | # 出库口2 |
| | | outSta[1]: |
| | | staNo: 202 |
| | | # 出库口3 |
| | | outSta[2]: |
| | | staNo: 303 |
| | | # 拣料入库口1 |
| | | pickSta[0]: |
| | | staNo: 104 |
| | | staNo: 103 |
| | | barcode: ${wcs-slave.barcode[0].id} |
| | | # 拣料入库口2 |
| | | pickSta[1]: |
| | | staNo: 108 |
| | | barcode: ${wcs-slave.barcode[0].id} |
| | | staNo: 203 |
| | | barcode: ${wcs-slave.barcode[1].id} |
| | | # 拣料入库口3 |
| | | pickSta[2]: |
| | | staNo: 112 |
| | | barcode: ${wcs-slave.barcode[0].id} |
| | | # 拣料入库口4 |
| | | pickSta[3]: |
| | | staNo: 114 |
| | | barcode: ${wcs-slave.barcode[0].id} |
| | | staNo: 305 |
| | | barcode: ${wcs-slave.barcode[2].id} |
| | | # 条码扫描仪 |
| | | barcode[0]: |
| | | id: 1 |
| | |
| | | "mapName": "HYLYWCS", |
| | | "rackCount": 16, |
| | | "crnCount": 4, |
| | | "stbCount": 14, |
| | | "stbCount": 16, |
| | | "hpPosition": 0, |
| | | "minBayNo": 2, |
| | | "floors": 1, |
| | |
| | | }], |
| | | "stns": [{ |
| | | "type": "stn", |
| | | "id": "site-112", |
| | | "text": "112", |
| | | "id": "site-306", |
| | | "text": "306", |
| | | "top": 458, |
| | | "left": 311, |
| | | "width": 100, |
| | | "left": 211, |
| | | "width": 66, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-111", |
| | | "text": "111", |
| | | "top": 458, |
| | | "left": 209, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-114", |
| | | "text": "114", |
| | | "top": 568, |
| | | "left": 311, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-113", |
| | | "text": "113", |
| | | "top": 568, |
| | | "left": 209, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-105", |
| | | "text": "105", |
| | | "top": 262, |
| | | "left": 201, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-109", |
| | | "text": "109", |
| | | "id": "site-303", |
| | | "text": "303", |
| | | "top": 399, |
| | | "left": 208, |
| | | "left": 211, |
| | | "width": 66, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-304", |
| | | "text": "304", |
| | | "top": 458, |
| | | "left": 345, |
| | | "width": 66, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-305", |
| | | "text": "305", |
| | | "top": 458, |
| | | "left": 278, |
| | | "width": 66, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-401", |
| | | "text": "401", |
| | | "top": 568, |
| | | "left": 311, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-108", |
| | | "text": "108", |
| | | "id": "site-402", |
| | | "text": "402", |
| | | "top": 568, |
| | | "left": 209, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-202", |
| | | "text": "202", |
| | | "top": 262, |
| | | "left": 202, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-302", |
| | | "text": "302", |
| | | "top": 399, |
| | | "left": 278, |
| | | "width": 66, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-203", |
| | | "text": "203", |
| | | "top": 318, |
| | | "left": 303, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-107", |
| | | "text": "107", |
| | | "id": "site-204", |
| | | "text": "204", |
| | | "top": 318, |
| | | "left": 201, |
| | | "left": 202, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-106", |
| | | "text": "106", |
| | | "id": "site-201", |
| | | "text": "201", |
| | | "top": 262, |
| | | "left": 303, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "top": 180, |
| | | "left": 255, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | |
| | | "id": "site-103", |
| | | "text": "103", |
| | | "top": 180, |
| | | "left": 153, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "top": 122, |
| | | "left": 255, |
| | | "width": 100, |
| | | "height": 24 |
| | |
| | | "id": "site-101", |
| | | "text": "101", |
| | | "top": 122, |
| | | "left": 153, |
| | | "left": 255, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-110", |
| | | "text": "110", |
| | | "id": "site-301", |
| | | "text": "301", |
| | | "top": 399, |
| | | "left": 310, |
| | | "left": 345, |
| | | "width": 66, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "top": 122, |
| | | "left": 154, |
| | | "width": 100, |
| | | "height": 24 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "top": 180, |
| | | "left": 154, |
| | | "width": 100, |
| | | "height": 24 |
| | | }] |