From d91d1fc34a8af84513416cb2a03c75d96fb0304e Mon Sep 17 00:00:00 2001
From: zzgtfwq <zzgtfwq>
Date: 星期三, 10 十二月 2025 08:46:01 +0800
Subject: [PATCH] #

---
 src/main/resources/application.yml |  427 ++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 308 insertions(+), 119 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index e70d52a..43c40c2 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -53,13 +53,13 @@
 
 constant-parameters:
   # 杞ㄩ亾鎬婚暱
-  trackEntireLength: 246600
+  trackEntireLength: 240000
   # 杞ㄩ亾鍩哄噯鐐�
   trackBenchmark: 1
   # 杞ㄩ亾杞崲涓虹背姣斾緥
   trackProportion: 10000
   # 閬胯璺濈
-  avoidDistance: 6000
+  avoidDistance: 11200
 inventory:
   number: 7
 
@@ -68,7 +68,7 @@
   # 鍙屾繁
   doubleDeep: true
   # 鍙屾繁搴撲綅鎺掑彿
-  doubleLocs: 1,4,5,8,9,12,13,16,17,20
+  doubleLocs: 1,4,5,8,11,14
   # 涓�涓爢鍨涙満璐熻矗鐨勮揣鏋舵帓鏁�
   groupCount: 4
   # 鍫嗗灈鏈�1
@@ -90,8 +90,8 @@
       lev: 1
     crnInStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 1031
-      row: 3
+      staNo: 201
+      row: 2
       bay: 1
       lev: 2
     # 鍫嗗灈鏈哄嚭搴撶珯鐐�
@@ -103,9 +103,9 @@
       lev: 1
     crnOutStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2001
-      row: 2
-      bay: 52
+      staNo: 203
+      row: 3
+      bay: 1
       lev: 2
   # 鍫嗗灈鏈�2
   crn[1]:
@@ -120,28 +120,28 @@
     # 鍫嗗灈鏈哄叆搴撶珯鐐�
     crnInStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 1011
-      row: 7
-      bay: 52
+      staNo: 105
+      row: 6
+      bay: 1
       lev: 1
     crnInStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2010
-      row: 7
-      bay: 52
+      staNo: 205
+      row: 3
+      bay: 1
       lev: 2
     # 鍫嗗灈鏈哄嚭搴撶珯鐐�
     crnOutStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 1008
-      row: 6
-      bay: 52
+      staNo: 107
+      row: 7
+      bay: 1
       lev: 1
     crnOutStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2007
-      row: 6
-      bay: 52
+      staNo: 207
+      row: 7
+      bay: 1
       lev: 2
   # 鍫嗗灈鏈�3
   crn[2]:
@@ -156,42 +156,30 @@
     # 鍫嗗灈鏈哄叆搴撶珯鐐�
     crnInStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 1015
+      staNo: 109
       row: 9
-      bay: 52
+      bay: 1
       lev: 1
     crnInStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2016
-      row: 11
-      bay: 52
-      lev: 2
-    crnInStn[2]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 4001
+      staNo: 209
       row: 9
-      bay: 52
-      lev: 3
+      bay: 1
+      lev: 2
 
     # 鍫嗗灈鏈哄嚭搴撶珯鐐�
     crnOutStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 1019
-      row: 11
-      bay: 52
+      staNo: 111
+      row: 10
+      bay: 1
       lev: 1
     crnOutStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2013
-      row: 9
-      bay: 52
+      staNo: 211
+      row: 10
+      bay: 1
       lev: 2
-    crnOutStn[2]:
-      devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 4004
-      row: 11
-      bay: 52
-      lev: 3
   # 鍫嗗灈鏈�4
   crn[3]:
     id: 4
@@ -205,37 +193,37 @@
     # 鍫嗗灈鏈哄叆搴撶珯鐐�
     crnInStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 1025
-      row: 15
-      bay: 52
+      staNo: 115
+      row: 13
+      bay: 1
       lev: 1
     crnInStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2022
-      row: 15
-      bay: 52
+      staNo: 218
+      row: 13
+      bay: 1
       lev: 2
     # 鍫嗗灈鏈哄嚭搴撶珯鐐�
     crnOutStn[0]:
       devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 1022
-      row: 14
-      bay: 52
+      staNo: 113
+      row: 12
+      bay: 1
       lev: 1
     crnOutStn[1]:
       devpPlcId: ${wcs-slave.devp[1].id}
-      staNo: 2019
-      row: 14
-      bay: 52
+      staNo: 213
+      row: 12
+      bay: 1
       lev: 2
   # RGV绌挎杞�1
-  rgv[1]:
-    id: 2
+  rgv[0]:
+    id: 1
     ip: 10.10.10.176
-    port: 502
+    port: 102
     rack: 0
     slot: 0
-    otherId: 1
+    otherId: 2
     carBodyJiaoMing: 13500
     carBodyKunPeng: 2800
     #RGV婧愮珯鐐�
@@ -333,13 +321,13 @@
       staNoOther: 102
       directionOther: false
   # RGV绌挎杞�2
-  rgv[0]:
-    id: 1
+  rgv[1]:
+    id: 2
     ip: 10.10.10.178
-    port: 502
+    port: 102
     rack: 0
     slot: 0
-    otherId: 2
+    otherId: 1
     carBodyJiaoMing: 13500
     carBodyKunPeng: 2800
     #RGV婧愮珯鐐�
@@ -436,6 +424,214 @@
       direction: true
       staNoOther: 116
       directionOther: false
+  # RGV绌挎杞�3
+  rgv[2]:
+    id: 3
+    ip: 10.10.10.188
+    port: 102
+    rack: 0
+    slot: 0
+    otherId: 4
+    carBodyJiaoMing: 13500
+    carBodyKunPeng: 2800
+    #RGV婧愮珯鐐�
+    rgvInSta[0]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 217
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶�===>  鍚�  鍓峵rue鍚巉alse锛�  true:宸�   false:鍙�
+      direction: false
+      staNoOther: 217
+      directionOther: false
+    rgvInSta[1]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 220
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: false
+      staNoOther: 220
+      directionOther: false
+    rgvInSta[2]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 223
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 223
+      directionOther: false
+    rgvInSta[3]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 204
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 204
+      directionOther: false
+    rgvInSta[4]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 208
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 208
+      directionOther: false
+    rgvInSta[5]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 212
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 212
+      directionOther: false
+    rgvInSta[6]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 214
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 214
+      directionOther: false
+    #RGV鐩爣绔欑偣
+    rgvOutSta[0]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 217
+      direction: false
+      staNoOther: 217
+      directionOther: false
+    rgvOutSta[1]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 220
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: false
+      staNoOther: 220
+      directionOther: false
+    rgvOutSta[2]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 223
+      direction: false
+      staNoOther: 223
+      directionOther: false
+    rgvOutSta[3]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 202
+      direction: true
+      staNoOther: 202
+      directionOther: false
+    rgvOutSta[4]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 206
+      direction: true
+      staNoOther: 206
+      directionOther: false
+    rgvOutSta[5]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 210
+      direction: true
+      staNoOther: 210
+      directionOther: false
+    rgvSuperSta[0]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 202
+      direction: true
+      staNoOther: 202
+      directionOther: false
+  # RGV绌挎杞�4
+  rgv[3]:
+    id: 4
+    ip: 10.10.10.190
+    port: 102
+    rack: 0
+    slot: 0
+    otherId: 3
+    carBodyJiaoMing: 13500
+    carBodyKunPeng: 2800
+    #RGV婧愮珯鐐�
+    rgvInSta[0]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 217
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶�===>  鍚�  鍓峵rue鍚巉alse锛�  true:宸�   false:鍙�
+      direction: false
+      staNoOther: 217
+      directionOther: false
+    rgvInSta[1]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 220
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: false
+      staNoOther: 220
+      directionOther: false
+    rgvInSta[2]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 223
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 223
+      directionOther: false
+    rgvInSta[3]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 204
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 204
+      directionOther: false
+    rgvInSta[4]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 208
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 208
+      directionOther: false
+    rgvInSta[5]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 212
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 212
+      directionOther: false
+    rgvInSta[6]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 214
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: true
+      staNoOther: 214
+      directionOther: false
+    #RGV鐩爣绔欑偣
+    rgvOutSta[0]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 217
+      direction: false
+      staNoOther: 217
+      directionOther: false
+    rgvOutSta[1]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 220
+      #鎵ц鏂瑰悜锛堥潰鏈濊建閬� 瀹氫綅鍊煎乏灏忓彸澶э級  true:宸�   false:鍙�
+      direction: false
+      staNoOther: 220
+      directionOther: false
+    rgvOutSta[2]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 223
+      direction: false
+      staNoOther: 223
+      directionOther: false
+    rgvOutSta[3]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 216
+      direction: true
+      staNoOther: 216
+      directionOther: false
+    rgvOutSta[4]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 206
+      direction: true
+      staNoOther: 206
+      directionOther: false
+    rgvOutSta[5]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 210
+      direction: true
+      staNoOther: 210
+      directionOther: false
+    rgvSuperSta[0]:
+      devpPlcId: ${wcs-slave.devp[1].id}
+      staNo: 216
+      direction: true
+      staNoOther: 216
+      directionOther: false
   # 杈撻�佺嚎1
   devp[0]:
     id: 1
@@ -446,54 +642,54 @@
     # 鍏ュ簱鍙�1
     inSta[0]:
       staNo: 118
-      barcode: ${wcs-slave.barcode[1].id}
+      barcode: ${wcs-slave.barcode[0].id}
       backSta: 119
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[0].id}
     inSta[1]:
       staNo: 121
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[1].id}
       backSta: 122
       led: ${wcs-slave.led[1].id}
     inSta[2]:
       staNo: 124
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[2].id}
       backSta: 125
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[2].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[0]:
       staNo: 118
       barcode: ${wcs-slave.barcode[0].id}
       backSta: 119
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[0].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[1]:
       staNo: 121
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[1].id}
       backSta: 122
       led: ${wcs-slave.led[1].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[2]:
       staNo: 124
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[2].id}
       backSta: 125
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[2].id}
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[0]:
       staNo: 118
-      barcode: ${wcs-slave.barcode[2].id}
-      led: ${wcs-slave.led[5].id}
+      barcode: ${wcs-slave.barcode[0].id}
+      led: ${wcs-slave.led[0].id}
       backSta: 119
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[1]:
       staNo: 121
-      barcode: ${wcs-slave.barcode[2].id}
-      led: ${wcs-slave.led[5].id}
+      barcode: ${wcs-slave.barcode[1].id}
+      led: ${wcs-slave.led[1].id}
       backSta: 122
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[2]:
       staNo: 124
       barcode: ${wcs-slave.barcode[2].id}
-      led: ${wcs-slave.led[5].id}
+      led: ${wcs-slave.led[2].id}
       backSta: 125
     # 鍑哄簱鍙�1
     outSta[0]:
@@ -501,10 +697,10 @@
       led: ${wcs-slave.led[0].id}
     outSta[1]:
       staNo: 122
-      led: ${wcs-slave.led[0].id}
+      led: ${wcs-slave.led[1].id}
     outSta[2]:
       staNo: 125
-      led: ${wcs-slave.led[0].id}
+      led: ${wcs-slave.led[2].id}
   # 杈撻�佺嚎1
   devp[1]:
     id: 2
@@ -515,143 +711,136 @@
     # 鍏ュ簱鍙�1
     inSta[0]:
       staNo: 218
-      barcode: ${wcs-slave.barcode[1].id}
+      barcode: ${wcs-slave.barcode[3].id}
       backSta: 219
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[3].id}
     inSta[1]:
       staNo: 221
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[4].id}
       backSta: 222
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[4].id}
     inSta[2]:
       staNo: 224
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[5].id}
       backSta: 225
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[5].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[0]:
       staNo: 218
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[3].id}
       backSta: 219
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[3].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[1]:
       staNo: 221
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[4].id}
       backSta: 222
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[4].id}
     # 绌烘澘鍏ュ簱鍙�1
     emptyInSta[2]:
       staNo: 224
-      barcode: ${wcs-slave.barcode[0].id}
+      barcode: ${wcs-slave.barcode[5].id}
       backSta: 225
-      led: ${wcs-slave.led[1].id}
+      led: ${wcs-slave.led[5].id}
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[0]:
       staNo: 218
-      barcode: ${wcs-slave.barcode[2].id}
-      led: ${wcs-slave.led[5].id}
+      barcode: ${wcs-slave.barcode[3].id}
+      led: ${wcs-slave.led[3].id}
       backSta: 219
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[1]:
       staNo: 221
-      barcode: ${wcs-slave.barcode[2].id}
-      led: ${wcs-slave.led[5].id}
+      barcode: ${wcs-slave.barcode[4].id}
+      led: ${wcs-slave.led[4].id}
       backSta: 222
     # 鎷f枡鍏ュ簱鍙�1
     pickSta[2]:
       staNo: 224
-      barcode: ${wcs-slave.barcode[2].id}
+      barcode: ${wcs-slave.barcode[5].id}
       led: ${wcs-slave.led[5].id}
       backSta: 225
     # 鍑哄簱鍙�1
     outSta[0]:
       staNo: 219
-      led: ${wcs-slave.led[0].id}
+      led: ${wcs-slave.led[3].id}
     outSta[1]:
       staNo: 222
-      led: ${wcs-slave.led[0].id}
+      led: ${wcs-slave.led[4].id}
     outSta[2]:
       staNo: 225
-      led: ${wcs-slave.led[0].id}
+      led: ${wcs-slave.led[5].id}
 
 
   # 鏉$爜鎵弿浠�1
   barcode[0]:
     id: 1
-    ip: 10.10.10.121
+    ip: 10.10.10.221
     port: 51236
   # 鏉$爜鎵弿浠�2
   barcode[1]:
     id: 2
-    ip: 10.10.10.122
+    ip: 10.10.10.222
     port: 51236
   # 鏉$爜鎵弿浠�3
   barcode[2]:
     id: 3
-    ip: 10.10.10.123
+    ip: 10.10.10.223
     port: 51236
   # 鏉$爜鎵弿浠�1mat
   barcode[3]:
     id: 4
-    ip: 10.10.10.124
+    ip: 10.10.10.224
     port: 51236
   # 鏉$爜鎵弿浠�2mat
   barcode[4]:
     id: 5
-    ip: 10.10.10.125
+    ip: 10.10.10.225
     port: 51236
   # 鏉$爜鎵弿浠�3mat
   barcode[5]:
     id: 6
-    ip: 10.10.10.126
+    ip: 10.10.10.226
     port: 51236
    # LED1
   led[0]:
     id: 1
-    ip: 10.10.10.212
+    ip: 10.10.10.209
     port: 5005
     devpPlcId: ${wcs-slave.devp[0].id}
     staArr: 1036
   # LED2
   led[1]:
     id: 2
-    ip: 10.10.10.213
+    ip: 10.10.10.210
     port: 5005
     devpPlcId: ${wcs-slave.devp[0].id}
     staArr: 1041
   # LED3
   led[2]:
     id: 3
-    ip: 10.10.10.214
+    ip: 10.10.10.211
     port: 5005
     devpPlcId: ${wcs-slave.devp[0].id}
     staArr: 1103
   # LED4
   led[3]:
     id: 4
-    ip: 10.10.10.216
+    ip: 10.10.10.212
     port: 5005
     devpPlcId: ${wcs-slave.devp[0].id}
     staArr: 1047
   # LED4
   led[4]:
     id: 5
-    ip: 10.10.10.215
+    ip: 10.10.10.213
     port: 5005
     devpPlcId: ${wcs-slave.devp[1].id}
     staArr: 2037
   # LED5
   led[5]:
     id: 6
-    ip: 10.10.10.217
+    ip: 10.10.10.214
     port: 5005
     devpPlcId: ${wcs-slave.devp[1].id}
-    staArr: 4001
-  # LED6
-  led[6]:
-    id: 7
-    ip: 10.10.10.218
-    port: 5005
-    devpPlcId: ${wcs-slave.devp[1].id}
-    staArr: 4006
\ No newline at end of file
+    staArr: 4001
\ No newline at end of file

--
Gitblit v1.9.1