| | |
| | | staProtocol.setSiteId(siteId); |
| | | station.put(siteId, staProtocol); |
| | | } |
| | | staProtocol.setStaNo(siemensS7Net.getByteTransform().TransInt16(result.Content, i*2)); // 目标站 |
| | | staProtocol.setStaNo(siemensS7Net.getByteTransform().TransInt16(result0.Content, i*2)); // 目标站 |
| | | } |
| | | } |
| | | Thread.sleep(50); |
| | |
| | | name: @pom.build.finalName@ |
| | | datasource: |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | url: jdbc:sqlserver://47.97.1.152:51433;databasename=xgmasrs |
| | | # url: jdbc:sqlserver://47.97.1.152:51433;databasename=xgmasrs |
| | | # username: sa |
| | | # password: Zoneyung@zy56$ |
| | | url: jdbc:sqlserver://localhost:1433;databasename=xgmasrs |
| | | username: sa |
| | | password: Zoneyung@zy56$ |
| | | password: sa@123 |
| | | mvc: |
| | | static-path-pattern: /** |
| | | redis: |
| | |
| | | # 堆垛机1 |
| | | crn[0]: |
| | | id: 1 |
| | | ip: 192.168.10.10 |
| | | port: 102 |
| | | ip: 10.10.10.10 |
| | | port: 8888 |
| | | # 偏移量,当堆垛机站点列号=1时,偏移量=2 |
| | | offset: 2 |
| | | demo: false |
| | |
| | | # 堆垛机2 |
| | | crn[1]: |
| | | id: 2 |
| | | ip: 192.168.10.20 |
| | | port: 102 |
| | | ip: 10.10.10.13 |
| | | port: 8888 |
| | | # 偏移量,当堆垛机站点列号=1时,偏移量=2 |
| | | offset: 2 |
| | | demo: false |
| | |
| | | # 堆垛机3 |
| | | crn[2]: |
| | | id: 3 |
| | | ip: 192.168.10.20 |
| | | port: 102 |
| | | ip: 10.10.10.16 |
| | | port: 8888 |
| | | # 偏移量,当堆垛机站点列号=1时,偏移量=2 |
| | | offset: 2 |
| | | demo: false |
| | |
| | | # 堆垛机4 |
| | | crn[3]: |
| | | id: 4 |
| | | ip: 192.168.10.20 |
| | | port: 102 |
| | | ip: 10.10.10.19 |
| | | port: 8888 |
| | | # 偏移量,当堆垛机站点列号=1时,偏移量=2 |
| | | offset: 2 |
| | | demo: false |
| | |
| | | # 堆垛机5 |
| | | crn[4]: |
| | | id: 5 |
| | | ip: 192.168.10.20 |
| | | port: 102 |
| | | ip: 10.10.10.22 |
| | | port: 8888 |
| | | # 偏移量,当堆垛机站点列号=1时,偏移量=2 |
| | | offset: 2 |
| | | demo: false |
| | |
| | | # 输送线 |
| | | devp[0]: |
| | | id: 1 |
| | | ip: 192.168.10.100 |
| | | ip: 10.10.10.50 |
| | | port: 102 |
| | | rack: 0 |
| | | slot: 1 |
| | | slot: 0 |
| | | # 入库口1 |
| | | inSta[0]: |
| | | staNo: 176 |