yml
Junjie
2023-07-26 fee384f055f5bf155a0be7e8217339821b7f7e41
src/main/resources/application.yml
@@ -8,17 +8,17 @@
    name: @pom.build.finalName@
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://192.168.4.15:1433;databasename=xzjlasrs
    url: jdbc:sqlserver://192.168.4.15:1433;databasename=skasrs
    username: sa
#    password: Zoneyung@zy56$
    password: sa@123
  mvc:
    static-path-pattern: /**
  redis:
    host: localhost
    host: 127.0.0.1
    port: 6379
    database: 0
    password: 123456
#    password: 123456
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
@@ -38,7 +38,7 @@
  enable: false
wms:
  url: localhost:8080/szfzwms
  url: localhost:8081/xzjlwms
erp:
  db:
@@ -53,70 +53,6 @@
  doubleDeep: true
  # 双深库位排号
  doubleLocs: 32
  # 一个堆垛机负责的货架排数
  groupCount: 2
  # 穿梭车通道库位
  channel: '0100101'
  # 堆垛机1
  crn[0]:
    id: 1
    ip: 10.10.10.110
    port: 102
    rack: 0
    slot: 0
    # 偏移量,当堆垛机站点列号=1时,偏移量=2
    offset: 2
    demo: false
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 102
      row: 4
      bay: 6
      lev: 1
    # 堆垛机入库站点
    crnInStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 202
      row: 4
      bay: 6
      lev: 3
    # 堆垛机入库站点
    crnInStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 302
      row: 4
      bay: 6
      lev: 6
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 102
      row: 4
      bay: 6
      lev: 1
    # 堆垛机出库站点
    crnOutStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 202
      row: 4
      bay: 6
      lev: 3
    # 堆垛机出库站点
    crnOutStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 302
      row: 4
      bay: 6
      lev: 6
  # 穿梭车1
  ste[0]:
    id: 1
    ip: 10.10.10.120
    port: 502
    rack: 0
    slot: 0
  # 输送线
  devp[0]:
@@ -127,7 +63,7 @@
    slot: 0
    # 入库口1
    inSta[0]:
      staNo: 101
      staNo: 102
      backSta: 100
      barcode: ${wcs-slave.barcode[0].id}
      led: ${wcs-slave.led[0].id}
@@ -143,20 +79,71 @@
      led: ${wcs-slave.led[1].id}
    # 拣料出库口
    pickInSta[0]:
      staNo: 100
      staNo: 102
      barcode: ${wcs-slave.barcode[0].id}
      backSta: 100
      led: ${wcs-slave.led[0].id}
    # 货架入库站点
    rackInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 105
      row: 4
      bay: 6
      lev: 1
    # 货架入库站点
    rackInStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 106
      row: 4
      bay: 6
      lev: 3
    # 货架入库站点
    rackInStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 107
      row: 4
      bay: 6
      lev: 6
    # 货架入库站点
    rackInStn[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 108
      row: 4
      bay: 6
      lev: 6
    # 货架出库站点
    rackOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 100
      row: 15
      bay: 2
      lev: 1
    # 货架出库站点
    rackOutStn[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 104
      row: 4
      bay: 6
      lev: 1
    # 货架出库站点
    rackOutStn[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 105
      row: 4
      bay: 6
      lev: 3
    # 货架出库站点
    rackOutStn[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 108
      row: 4
      bay: 6
      lev: 6
  # 条码扫描仪
  barcode[0]:
    id: 1
    ip: 10.10.10.104
    port: 51236
  # 条码扫描仪
  barcode[1]:
    id: 2
    ip: 10.10.10.105
    ip: 10.10.10.102
    port: 51236
   # LED1
@@ -177,14 +164,33 @@
  # 四向穿梭车1
  shuttle[0]:
    id: 1
    ip: 192.168.4.24
    ip: 10.10.10.211
    port: 502
    rack: 0
    slot: 0
  # 四向穿梭车1
  # 四向穿梭车2
  shuttle[1]:
    id: 2
    ip: 192.168.4.22
    ip: 10.10.10.221
    port: 502
    rack: 0
    slot: 0
    slot: 0
  # 提升机1
  lift[0]:
    id: 1
    ip: 10.10.10.231
    port: 502
    row: 18
    bay: 2
    sta[0]:
      staNo: 105
      lev: 1
    sta[1]:
      staNo: 106
      lev: 2
    sta[2]:
      staNo: 107
      lev: 3
    sta[3]:
      staNo: 108
      lev: 4