zc
2025-04-25 61dbf118522a9ac98027b624b5d46761fe536bbe
src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 9090
  port: 9091
  servlet:
    context-path: /@pom.build.finalName@
@@ -11,7 +11,7 @@
      validation-timeout: 3000
      connection-test-query: select 1
    driver-class-name: com.mysql.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/fyxc_shuttle?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://192.168.10.201:3306/fyxc_shuttle?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
  mvc:
@@ -31,10 +31,13 @@
logging:
  path: ./stock/out/@pom.build.finalName@/logs
  path: /stock/out/@pom.build.finalName@/logs
super:
  pwd: xltys1995
asrs:
  wmsUrl: 192.168.10.201:8080/fyxcwms
swagger:
  enable: false
@@ -44,16 +47,16 @@
# 下位机配置
wcs-slave:
  #  # 四向穿梭车1
  #  shuttle[0]:
  #    id: 1
  #    ip: 192.168.10.81
  #    port: 8888
  #    rack: 0
  #    slot: 0
  #    threadImpl: NyShuttleThread
  # 四向穿梭车2
  # 四向穿梭车1
  shuttle[0]:
    id: 1
    ip: 192.168.10.81
    port: 8888
    rack: 0
    slot: 0
    threadImpl: NyShuttleThread
  # 四向穿梭车2
  shuttle[1]:
    id: 2
    ip: 192.168.10.83
    port: 8888
@@ -68,8 +71,10 @@
    threadImpl: NyLiftThread
    row: 2
    bay: 3
    standByRow: 2
    standByBay: 1
    standByInRow: 2
    standByInBay: 1
    standByOutRow: 2
    standByOutBay: 2
    staRow: 2
    staBay: 1
  devp[0]:
@@ -78,6 +83,7 @@
    port: 102
    rack: 0
    slot: 0
    threadImpl: FyDevpThread
    # 入库口1
    inSta[0]:
      staNo: 1012
@@ -100,35 +106,35 @@
      led: ${wcs-slave.led[3].id}
    # 出库口1
    outSta[0]:
      staNo: 1012
      staNo: 1011
    outSta[1]:
      staNo: 1014
      staNo: 1013
    outSta[2]:
      staNo: 1022
      staNo: 1021
    outSta[3]:
      staNo: 1025
      staNo: 1024
  # LED1
  led[0]:
    id: 1
    ip: 192.168.10.62
    ip: 192.168.10.160
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
  # LED2
  led[1]:
    id: 2
    ip: 192.168.10.63
    ip: 192.168.10.161
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
  # LED3
  led[2]:
    id: 3
    ip: 192.168.10.64
    ip: 192.168.10.162
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
  # LED4
  led[3]:
    id: 4
    ip: 192.168.10.65
    ip: 192.168.10.163
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}