*
lsh
2025-11-05 1983df9f47c76e3c047f386e82e89c5537f345ac
src/main/resources/application-prod.yml
@@ -1,9 +1,354 @@
wcs-slave:
  doubleDeep: true #双深
  doubleLocs: 3,6,7,10,13 #双深库位排号 3,6,7,10,13
  groupCount: 4 #一个堆垛机负责的货架排数
  doubleDeep: false #双深
  doubleLocs: 3 #双深库位排号
  groupCount: 2 #一个堆垛机负责的货架排数
  devp[0]: #输送线
    ip: 27.172.2.60
    slot: 0
    port: 102
    rack: 0
    id: 1
    # 入库口1
    inSta[0]:
      staNo: 1004
      barcode: ${wcs-slave.barcode[0].id}
      backSta: 1005
    # 入库口2
    inSta[1]:
      staNo: 1020
      barcode: ${wcs-slave.barcode[2].id}
      backSta: 1021
#      led: ${wcs-slave.led[0].id}
    # 空板入库口1
    emptyInSta[0]:
      staNo: 1004
      barcode: ${wcs-slave.barcode[0].id}
      backSta: 1005
    # 入库口2
    emptyInSta[1]:
      staNo: 1020
      barcode: ${wcs-slave.barcode[2].id}
      backSta: 1021
#      led: ${wcs-slave.led[0].id}
    # 拣料入库口1
    pickSta[0]:
      staNo: 1004
      barcode: ${wcs-slave.barcode[0].id}
      backSta: 1005
    # 拣料入库口2
    pickSta[1]:
      staNo: 1020
      barcode: ${wcs-slave.barcode[2].id}
      backSta: 1021
    # 入库下发口1
    inWalkSta[0]:
      staNo: 1021
      barcode: ${wcs-slave.barcode[2].id}
      backSta: 1021
      barcodeSign: false
    # 入库下发口1
    inWalkSta[1]:
      staNo: 1005
      barcode: ${wcs-slave.barcode[0].id}
      backSta: 1005
      barcodeSign: false
    # 入库下发口1
    inWalkSta[2]:
      staNo: 1012
      barcode: ${wcs-slave.barcode[1].id}
      backSta: 1012
      barcodeSign: false
    # 入库下发口1
    inWalkSta[3]:
      staNo: 1020
      barcode: ${wcs-slave.barcode[2].id}
      backSta: 1021
      barcodeSign: false
    # 入库下发口1
    inWalkSta[4]:
      staNo: 1004
      barcode: ${wcs-slave.barcode[0].id}
      backSta: 1005
      barcodeSign: false
    # 出库口1
    outSta[0]:
      staNo: 1002
    # 出库口2
    outSta[1]:
      staNo: 1005
    # 出库口3
    outSta[2]:
      staNo: 1012
    # 出库口4
    outSta[3]:
      staNo: 1021
    # 出库口5
    outSta[4]:
      staNo: 1023
#      led: ${wcs-slave.led[0].id}
  # RGV穿梭车1
  rgv[1]:
    id: 2
    ip: 27.172.2.70
    port: 502
    rack: 0
    slot: 0
    otherId: 1
    carBodyJiaoMing: 2800
    carBodyKunPeng: 13500
    #RGV源站点
    rgvInSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1004
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1005
      directionOther: false
    rgvInSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1014
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1016
      directionOther: true
    rgvInSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1020
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1021
      directionOther: false
    rgvInSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1003
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1003
      directionOther: false
    rgvInSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1007
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1007
      directionOther: false
    rgvInSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1013
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1013
      directionOther: false
    rgvInSta[6]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1018
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1018
      directionOther: false
    rgvInSta[7]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1019
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1019
      directionOther: false
    #RGV目标站点
    rgvOutSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1002
      direction: true
      staNoOther: 1002
      directionOther: false
    rgvOutSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1009
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1009
      directionOther: false
    rgvOutSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1001
      direction: false
      staNoOther: 1001
      directionOther: false
    rgvOutSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1006
      direction: false
      staNoOther: 1006
      directionOther: false
    rgvOutSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1008
      direction: false
      staNoOther: 1008
      directionOther: false
    rgvOutSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1017
      direction: false
      staNoOther: 1017
      directionOther: false
    rgvSuperSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1001
      direction: false
      staNoOther: 1001
      directionOther: false
    rgvSuperSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1002
      direction: false
      staNoOther: 1002
      directionOther: false
  # RGV穿梭车2
  rgv[0]:
    id: 1
    ip: 27.172.2.71
    port: 502
    rack: 0
    slot: 0
    otherId: 2
    carBodyJiaoMing: 2800
    carBodyKunPeng: 13500
    #RGV源站点
    rgvInSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1004
      direction: true
      staNoOther: 1005
      directionOther: false
    rgvInSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1014
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1016
      directionOther: true
    rgvInSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1020
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1021
      directionOther: false
    rgvInSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1003
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1003
      directionOther: false
    rgvInSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1007
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1007
      directionOther: false
    rgvInSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1013
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1013
      directionOther: false
    rgvInSta[6]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1018
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1018
      directionOther: false
    rgvInSta[7]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1019
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
      staNoOther: 1019
      directionOther: false
    #RGV目标站点
    rgvOutSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1023
      direction: true
      staNoOther: 1023
      directionOther: false
    rgvOutSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1009
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: true
      staNoOther: 1009
      directionOther: false
    rgvOutSta[2]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1022
      direction: false
      staNoOther: 1022
      directionOther: false
    rgvOutSta[3]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1006
      direction: false
      staNoOther: 1006
      directionOther: false
    rgvOutSta[4]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1008
      direction: false
      staNoOther: 1008
      directionOther: false
    rgvOutSta[5]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1017
      direction: false
      staNoOther: 1017
      directionOther: false
    rgvSuperSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1023
      direction: false
      staNoOther: 1023
      directionOther: false
    rgvSuperSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 1022
      direction: false
      staNoOther: 1022
      directionOther: false
  barcode[0]: #条码扫描仪1004
    port: 51236
    ip: 10.10.101.52
    id: 1
  barcode[1]: #条码扫描仪1无
    port: 51236
    ip: 10.10.101.52
    id: 2
  barcode[2]: #条码扫描仪1020
    port: 51236
    ip: 10.10.101.52
    id: 3
    # 磅秤
  scale[0]:
    id: 1
    ip: 27.172.2.121
    port: 5005
    staNo: 1004
    devpPlcId: 1
    # 磅秤
  scale[1]:
    id: 2
    ip: 27.172.2.122
    port: 5005
    staNo: 1020
    devpPlcId: 1
  crn[0]: #堆垛机1
    ip: 192.168.4.250
    ip: 27.172.2.10
    id: 1
    slot: 0
    demo: false
@@ -11,84 +356,94 @@
    offset: 2    #偏移量,当堆垛机站点列号=1时,偏移量=2
    port: 102
    crnOutStn[0]:    #堆垛机出库站点
      staNo: 101
      staNo: 1003
      row: 2
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
    crnInStn[0]:    #堆垛机入库站点1
      staNo: 100
      staNo: 1001
      row: 1
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
  barcode[0]: #条码扫描仪1
    port: 51236
    ip: 10.10.10.52
    id: 1
  devp[0]: #输送线
    ip: 192.168.4.250
    slot: 0
    port: 102
    rack: 102
    id: 1
  # RGV穿梭车1
  rgv[0]:
    id: 1
    ip: 192.168.4.250
    port: 502
    rack: 0
    slot: 0
    otherId: 2
    carBodyJiaoMing: 100
    carBodyKunPeng: 100
    #RGV源站点
    rgvInSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 100
      direction: true
    rgvInSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 101
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
    #RGV目标站点
    rgvOutSta[0]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 100
      direction: true
    rgvOutSta[1]:
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 101
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
  # RGV穿梭车2
  rgv[1]:
  crn[1]: #堆垛机1
    ip: 27.172.2.20
    id: 2
    ip: 192.168.1.1
    port: 502
    rack: 0
    slot: 0
    otherId: 1
    carBodyJiaoMing: 100
    carBodyKunPeng: 100
    #RGV源站点
    rgvInSta[0]:
    demo: false
    rack: 0
    offset: 2    #偏移量,当堆垛机站点列号=1时,偏移量=2
    port: 102
    crnOutStn[0]:    #堆垛机出库站点
      staNo: 1007
      row: 4
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 100
      direction: true
    rgvInSta[1]:
    crnInStn[0]:    #堆垛机入库站点1
      staNo: 1006
      row: 3
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 101
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
    #RGV目标站点
    rgvOutSta[0]:
  crn[2]: #堆垛机1
    ip: 27.172.2.30
    id: 3
    slot: 0
    demo: false
    rack: 0
    offset: 2    #偏移量,当堆垛机站点列号=1时,偏移量=2
    port: 102
    crnOutStn[0]:    #堆垛机出库站点
      staNo: 1013
      row: 6
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 100
      direction: true
    rgvOutSta[1]:
    crnInStn[0]:    #堆垛机入库站点1
      staNo: 1008
      row: 5
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
      staNo: 101
      #执行方向(面朝轨道 定位值左小右大)  true:左   false:右
      direction: false
  crn[3]: #堆垛机1
    ip: 27.172.2.40
    id: 4
    slot: 0
    demo: false
    rack: 0
    offset: 2    #偏移量,当堆垛机站点列号=1时,偏移量=2
    port: 102
    crnOutStn[0]:    #堆垛机出库站点
      staNo: 1018
      row: 8
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
    crnInStn[0]:    #堆垛机入库站点1
      staNo: 1017
      row: 7
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
  crn[4]: #堆垛机1
    ip: 27.172.2.50
    id: 5
    slot: 0
    demo: false
    rack: 0
    offset: 2    #偏移量,当堆垛机站点列号=1时,偏移量=2
    port: 102
    crnOutStn[0]:    #堆垛机出库站点
      staNo: 1019
      row: 9
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}
    crnInStn[0]:    #堆垛机入库站点1
      staNo: 1022
      row: 10
      bay: 1
      lev: 1
      devpPlcId: ${wcs-slave.devp[0].id}