#
ynhfasrs
2025-09-27 3c6df3daea5be783756fe860abd5ce38119474ae
src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 9090
  port: 8080
  servlet:
    context-path: /@pom.build.finalName@
@@ -7,9 +7,8 @@
  application:
    name: @pom.build.finalName@
  datasource:
    # sql-server
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsasrs
    url: jdbc:sqlserver://127.0.0.1:1433;databasename=ynhfasrs
    username: sa
    password: sa@123
  mvc:
@@ -19,14 +18,16 @@
    port: 6379
    database: 0
#    password: xltys1995
  profiles:
    active: prod
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
  global-config:
    field-strategy: 0
#  global-config:
#    field-strategy: 0
logging:
  path: /stock/out/logs
  path: ./stock/out/@pom.build.finalName@/logs
super:
  pwd: xltys1995
@@ -34,80 +35,24 @@
swagger:
  enable: false
# 下位机配置
wcs-slave:
  # 堆垛机
  crn[0]:
    id: 1
    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.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.2.150
    port: 51236
  # LED
  led[0]:
    id: 1
    ip: 192.168.1.1
    port: 8888
  # 磅称
  scale[0]:
    id: 1
    ip: 192.168.1.1
    port: 8888
#License相关配置
license:
  subject: ynhfwcs
  publicAlias: publicCert
  storePass: public_zhongyang_123456789
  licensePath: license.lic
  publicKeysStorePath: publicCerts.keystore
wms:
  #输送线暂存数
  count: 8
  # 是否开启上报
  start: true
  # WMS系统ip
  url: 192.168.10.12:8001
  # 入库任务申请接口
  inboundTaskApplyPath: /wes/api/drivers/zy/asrs/inboundTaskApply
  # WCS回调WMS
  TaskExecCallback: /wes/api/drivers/zy/asrs/callback
  # 移库申请接口
  movePath: /wes/api/get_InterFace_TestStorage