luxiaotao1123
2020-08-20 142a104afe9938851996e00bcfa96989c44f2c4a
src/main/resources/application.yml
@@ -1,10 +1,11 @@
server:
  port: 9090
  servlet:
    context-path: /@pom.build.finalName@
spring:
  application:
#    name: @pom.artifactId@
    name:
    name: @pom.build.finalName@
  datasource:
    # sql-server
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
@@ -38,22 +39,51 @@
  # 堆垛机
  crn[0]:
    id: 1
    ip: 192.168.1.1
    port: 8888
  # 站点
    ip: 192.168.6.9
    port: 102
    rack: 0
    slot: 0
    # 偏移量,当堆垛机站点列号=1时,偏移量=0
    offset: 1
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 5
      row: 2
      bay: 1
      lev: 1
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 6
      row: 1
      bay: 1
      lev: 1
  # 输送线
  devp[0]:
    id: 1
    ip: 192.168.1.1
    port: 8888
    ip: 192.168.2.125
    port: 102
    rack: 0
    slot: 1
    # 入库口
    inSta[0]:
      staNo: 2
      barcode: ${wcs-slave.barcode[0].id}
    # 空板入库口
    emptyInSta[0]:
      staNo: 2
    # 出库口
    outSta[0]:
      staNo: 6
    # 拣料入库口
    pickSta[0]:
      staNo: 2
  # 条码扫描仪
  barcode[0]:
    id: 1
    ip: 192.168.1.1
    port: 8888
    ip: 192.168.2.150
    port: 51236
  # LED
  led[0]:
    id: 1