#
luxiaotao1123
2020-08-27 2aeea7b010e96f74a52bc4ed5873c41c177a5953
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
@@ -36,31 +37,33 @@
# 下位机配置
wcs-slave:
  # 堆垛机
#  crn[0]:
#    id: 1
#    ip: 192.168.6.9
#    port: 102
#    rack: 0
#    slot: 0
#    # 堆垛机入库站点
#    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
  crn[0]:
    id: 1
    ip: 192.168.3.39
    port: 5015
    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.2.125
    port: 102
    ip: 192.168.3.65
    port: 6000
    rack: 0
    slot: 1
    # 入库口