1
zhangc
2025-04-14 710deccd42576ad2dcbdc22e75f18b455d5ce2ff
src/main/resources/application.yml
@@ -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:
@@ -44,16 +44,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,7 +68,73 @@
    threadImpl: NyLiftThread
    row: 2
    bay: 3
    standByRow: 2
    standByBay: 1
    standByInRow: 2
    standByInBay: 1
    standByOutRow: 2
    standByOutBay: 2
    staRow: 2
    staBay: 1
  devp[0]:
    id: 1
    ip: 192.168.10.51
    port: 102
    rack: 0
    slot: 0
    threadImpl: FyDevpThread
    # 入库口1
    inSta[0]:
      staNo: 1012
      backSta: 1011
      led: ${wcs-slave.led[0].id}
    # 入库口2
    inSta[1]:
      staNo: 1014
      backSta: 1013
      led: ${wcs-slave.led[1].id}
    # 入库口3
    inSta[2]:
      staNo: 1022
      backSta: 1021
      led: ${wcs-slave.led[2].id}
    # 入库口4
    inSta[3]:
      staNo: 1025
      backSta: 1024
      led: ${wcs-slave.led[3].id}
    # 出库口1
    outSta[0]:
      staNo: 1011
    outSta[1]:
      staNo: 1013
    outSta[2]:
      staNo: 1021
    outSta[3]:
      staNo: 1024
  # LED1
  led[0]:
    id: 1
    ip: 192.168.10.62
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
  # LED2
  led[1]:
    id: 2
    ip: 192.168.10.63
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
  # LED3
  led[2]:
    id: 3
    ip: 192.168.10.64
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
  # LED4
  led[3]:
    id: 4
    ip: 192.168.10.65
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}