#
Junjie
2025-03-31 423210c4ee904750d4bc35c7abdc9558c77e562c
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/lfdwcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://127.0.0.1:3306/shuttle_rcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
  mvc:
@@ -19,7 +19,7 @@
  redis:
    host: 127.0.0.1
    port: 6379
    database: 0
    database: 6
#    password: 123456
mybatis-plus:
@@ -39,151 +39,59 @@
swagger:
  enable: false
wms:
  url: 10.10.10.40:8080/tzskwms
pythonCalcPath: D:\\path\\cpu.py
pythonCalcSimilarity: D:\\path\\similarity.py
# 下位机配置
wcs-slave:
  # 输送线
  devp[0]:
    id: 1
    ip: 10.10.10.51
    port: 102
    rack: 0
    slot: 0
    # 入库口1
    inSta[0]:
      staNo: 100
      backSta: 101
      barcode: ${wcs-slave.barcode[0].id}
      led: ${wcs-slave.led[1].id}
      liftNo: ${wcs-slave.forkLift[0].id}
    # 入库口2
    inSta[1]:
      staNo: 103
      backSta: 102
      barcode: ${wcs-slave.barcode[1].id}
      led: ${wcs-slave.led[2].id}
      liftNo: ${wcs-slave.forkLift[0].id}
    # 空板入库口1
    emptyInSta[0]:
      staNo: 100
      backSta: 101
      barcode: ${wcs-slave.barcode[0].id}
      led: ${wcs-slave.led[1].id}
      liftNo: ${wcs-slave.forkLift[0].id}
    # 空板入库口2
    emptyInSta[1]:
      staNo: 103
      backSta: 102
      barcode: ${wcs-slave.barcode[1].id}
      led: ${wcs-slave.led[2].id}
      liftNo: ${wcs-slave.forkLift[0].id}
    # 出库口1
    outSta[0]:
      staNo: 100
      led: ${wcs-slave.led[0].id}
    # 出库口2
    outSta[1]:
      staNo: 103
      led: ${wcs-slave.led[0].id}
    # 拣料入库口
    pickInSta[0]:
      staNo: 100
      backSta: 100
      barcode: ${wcs-slave.barcode[0].id}
      led: ${wcs-slave.led[1].id}
      liftNo: ${wcs-slave.forkLift[0].id}
    pickInSta[1]:
      staNo: 103
      backSta: 103
      barcode: ${wcs-slave.barcode[1].id}
      led: ${wcs-slave.led[2].id}
      liftNo: ${wcs-slave.forkLift[0].id}
  # 条码扫描仪
  barcode[0]:
    id: 1
    ip: 10.10.10.102
    port: 51236
  # 条码扫描仪
  barcode[1]:
    id: 2
    ip: 10.10.10.102
    port: 51236
   # LED1
  led[0]:
    id: 1
    ip: 10.10.10.151
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 99
  # LED2
  led[1]:
    id: 2
    ip: 10.10.10.152
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 101
  # LED3
  led[2]:
    id: 3
    ip: 10.10.10.153
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 102
  # LED4
  led[3]:
    id: 4
    ip: 10.10.10.154
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 104
  # 四向穿梭车1
  shuttle[0]:
    id: 1
    ip: 10.10.10.101
    ip: 10.10.20.11
    port: 8888
    rack: 0
    slot: 0
    threadImpl: NyShuttleThread
  # 四向穿梭车2
  shuttle[1]:
    id: 2
    ip: 10.10.10.102
    ip: 10.10.20.12
    port: 8888
    rack: 0
    slot: 0
  # 货叉提升机1
  forkLift[0]:
    id: 1
    ip: 10.10.10.131
    threadImpl: NyShuttleThread
  # 货叉提升机主线程
  forkLiftMaster[0]:
    id: 99
    ip: 10.10.20.20
    port: 102
    rack: 0
    slot: 0
    staRow: 13
    staBay: 22
    threadImpl: LfdZyForkLiftMasterThread
  # 货叉提升机1
  forkLift[0]:
    id: 1
    ip: 10.10.20.20
    port: 102
    rack: 0
    slot: 0
    threadImpl: LfdZyForkLiftSlaveThread
    masterId: 99
    staRow: 9
    staBay: 6
    sta[0]:
      staNo: 101
      staNo: 1001
      lev: 1
      liftNo: ${wcs-slave.forkLift[0].id}
    sta[1]:
      staNo: 102
      staNo: 1002
      lev: 2
      liftNo: ${wcs-slave.forkLift[0].id}
    sta[2]:
      staNo: 103
      staNo: 1003
      lev: 3
      liftNo: ${wcs-slave.forkLift[0].id}
    sta[3]:
      staNo: 104
      staNo: 1004
      lev: 4
      liftNo: ${wcs-slave.forkLift[0].id}
    sta[4]:
      staNo: 105
      lev: 5
      liftNo: ${wcs-slave.forkLift[0].id}