zjj
2023-11-23 86e5cfe90f800ba197c466fdd659c65873a813e1
src/main/resources/application.yml
@@ -8,11 +8,7 @@
    name: @pom.build.finalName@
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    #    url: jdbc:sqlserver://47.97.1.152:51433;databasename=xgmasrs
    #    username: sa
    #    password: Zoneyung@zy56$
    url: jdbc:sqlserver://192.168.4.15:1433;databasename=xgmasrs
#    url: jdbc:sqlserver://localhost:1433;databasename=xgmasrs
    url: jdbc:sqlserver://localhost:1433;databasename=ghtzasrs
    username: sa
    password: sa@123
  mvc:
@@ -22,6 +18,8 @@
    port: 6379
    database: 0
#    password: xltys1995
  profiles:
    active: prod
mybatis-plus:
  mapper-locations: classpath:mapper/*.xml
@@ -38,136 +36,15 @@
  enable: false
wms:
  url: localhost:8080/xgmwms
#  url: localhost:8082/xgmwms
#堆垛机没有执行中任务,输送有入库任务,叫回原点
crnBackHp:
  enable: false
# 下位机配置
wcs-slave:
  # 双深
  doubleDeep: true
  # 双深库位排号
  doubleLocs: 1,4,5,8,9,12
  # 一个堆垛机负责的货架排数
  groupCount: 4
  # 堆垛机1
  crn[0]:
    id: 1
    ip: 10.10.10.10
    port: 8888
    # 偏移量,当堆垛机站点列号=1时,偏移量=2
    offset: 2
    demo: false
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 100
      row: 2
      bay: 1
      lev: 1
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 101
      row: 3
      bay: 1
      lev: 1
  # 堆垛机2
  crn[1]:
    id: 2
    ip: 10.10.10.13
    port: 8888
    # 偏移量,当堆垛机站点列号=1时,偏移量=2
    offset: 2
    demo: false
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 102
      row: 6
      bay: 1
      lev: 1
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 103
      row: 7
      bay: 1
      lev: 1
  # 堆垛机3
  crn[2]:
    id: 3
    ip: 10.10.10.16
    port: 8888
    # 偏移量,当堆垛机站点列号=1时,偏移量=2
    offset: 2
    demo: false
    # 堆垛机入库站点
    crnInStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 104
      row: 10
      bay: 1
      lev: 1
    # 堆垛机出库站点
    crnOutStn[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 105
      row: 11
      bay: 1
      lev: 1
  # 输送线
  devp[0]:
    id: 1
    ip: 10.10.10.50
    port: 102
    rack: 0
    slot: 0
    # 入库口1
    inSta[0]:
      staNo: 176
      barcode: ${wcs-slave.barcode[0].id}
    # 入库口2
    inSta[1]:
      staNo: 180
      barcode: ${wcs-slave.barcode[1].id}
    # 空板入库口1
    emptyInSta[0]:
      staNo: 176
    # 出库口1
    outSta[0]:
      staNo: 173
    # 出库口2
    outSta[1]:
      staNo: 182
    # 拣料入库口
    pickSta[0]:
      staNo: 176
      barcode: ${wcs-slave.barcode[0].id}
  # 条码扫描仪
  barcode[0]:
    id: 1
    ip: 10.10.10.52
    port: 51236
  barcode[1]:
    id: 2
    ip: 10.10.10.53
    port: 51236
   # LED1
  led[0]:
    id: 1
    ip: 10.10.10.60
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 172
  # LED2
  led[1]:
    id: 2
    ip: 10.10.10.61
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 182
  # 是否开启上报
  start: true
  # WMS系统ip
  url: 10.32.53.195:8080
  # 入库任务申请接口
  inboundTaskApplyPath: api/InterFace/get_InterFace_TestStorage
  # 任务状态反馈接口
  taskStatusFeedbackPath: api/InterFace/get_InterFace_TestStorage
  # 货位状态更新接口
  locationUpdatePath: api/InterFace/get_InterFace_TestStorage
  # 移库申请接口
  movePath: api/InterFace/get_InterFace_TestStorage