From 702549f5d846ae76cc005c56d03fd774a3caa341 Mon Sep 17 00:00:00 2001
From: L <L@132>
Date: 星期四, 23 四月 2026 14:23:01 +0800
Subject: [PATCH] *

---
 src/main/resources/application.yml |  274 ++++++++++++++++++++++++------------------------------
 1 files changed, 124 insertions(+), 150 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 1294005..714aaeb 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -7,179 +7,153 @@
   application:
     name: @pom.build.finalName@
   datasource:
-    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-    url: jdbc:sqlserver://192.168.4.15:1433;databasename=stasrs
-    username: sa
-    password: sa@123
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://localhost:3306/car?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
+    username: root
+    password: root
   mvc:
     static-path-pattern: /**
   redis:
     host: localhost
     port: 6379
     database: 0
-#    password: xltys1995
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
-#  global-config:
-#    field-strategy: 0
+  configuration:
+    map-underscore-to-camel-case: true
 
 logging:
   path: /stock/out/@pom.build.finalName@/logs
+  enableEveryThreadLog: true
 
 super:
   pwd: xltys1995
 
-swagger:
-  enable: false
+springdoc:
+  api-docs:
+    enabled: false
+  swagger-ui:
+    enabled: false
 
 wms:
-  url: localhost:8080/stwms
+  url: 172.17.196.200:8084
+  reportOutPath: open/rcs/task/cs/up/UploadTask
+  reportSwitch: true
+  reportSwitchAuto: false
+  reportSwitchCs: true
+
+#License鐩稿叧閰嶇疆
+license:
+  subject: ring-shaped-car
+  publicAlias: publicCert
+  storePass: public_zhongyang_123456789
+  licensePath: license.lic
+  publicKeysStorePath: publicCerts.keystore
+
+constant-parameters:
+  # 杞ㄩ亾鎬婚暱
+  perimeter: 1737000
+  taskRunPerimeter: 100000
+  # 杞ㄩ亾杞崲涓虹背姣斾緥
+  proportion: 10000
+  # 鍔犻�熷害  m/s^2
+  acceleration: -2
+  # 灏忚溅鏁�
+  rgvCount: 10
+  # 寤惰繜鏃堕棿
+  rgvDate: 0.5
+  # 浠诲姟浼樺厛绾у弬鏁�
+  priority:
+    # 璺濈闃堝��(杞ㄩ亾鍗曚綅)锛�<=璇ュ�艰窛绂讳紭鍏堢骇涓篬0,1]锛�>璇ュ�间负[0,-1]
+    distance-threshold: 100000
+    # 鏉冮噸閰嶇疆(浼氬仛褰掍竴鍖栵紝寤鸿鍜岀害绛変簬1)
+    weight:
+      time: 0.4
+      distance: 0.4
+      region: 0.2
+    # 鍖哄煙浼樺厛绾�: region:priority锛屽涓敤閫楀彿鍒嗛殧锛宲riority鑼冨洿[-1,1]
+    region-values: "1:1,2:0.6,3:0.2,4:-0.2"
 
 # 涓嬩綅鏈洪厤缃�
 wcs-slave:
-  # 鍙屾繁
-  doubleDeep: true
-  # 鍙屾繁搴撲綅鎺掑彿
-  doubleLocs: 1,4,5,8,9,12,13
-  # 涓�涓爢鍨涙満璐熻矗鐨勮揣鏋舵帓鏁�
-  groupCount: 4
-  # 鍫嗗灈鏈�1
-  crn[0]:
-    id: 1
-    ip: 10.10.10.101
-    port: 102
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 001
-      row: 2
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[1]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 002
-      row: 3
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�2
-  crn[1]:
-    id: 2
-    ip: 10.10.10.111
-    port: 102
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 003
-      row: 6
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 004
-      row: 7
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�3
-  crn[2]:
-    id: 3
-    ip: 10.10.10.121
-    port: 102
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 005
-      row: 10
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 006
-      row: 11
-      bay: 1
-      lev: 1
-  # 鍫嗗灈鏈�4
-  crn[3]:
-    id: 4
-    ip: 10.10.10.121
-    port: 102
-    rack: 0
-    slot: 0
-    # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
-    offset: 2
-    demo: false
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 007
-      row: 14
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 008
-      row: 15
-      bay: 1
-      lev: 1
-  # 杈撻�佺嚎
-  devp[0]:
+  # RGV绌挎杞�1
+  rgv[0]:
     id: 1
     ip: 192.168.4.250
-    port: 102
+    port: 502
     rack: 0
     slot: 0
-    # 鍏ュ簱鍙�1
-    inSta[0]:
-      staNo: 015
-      barcode: ${wcs-slave.barcode[0].id}
-    # 绌烘澘鍏ュ簱鍙�1
-    emptyInSta[0]:
-      staNo: 012
-    # 绌烘澘鍏ュ簱鍙�2
-    emptyInSta[1]:
-      staNo: 015
-    # 鍑哄簱鍙�1
-    outSta[0]:
-      staNo: 011
-    # 鎷f枡鍏ュ簱鍙�1
-    pickSta[0]:
-      staNo: 011
-      barcode: ${wcs-slave.barcode[0].id}
-  # 鏉$爜鎵弿浠�
-  barcode[0]:
-    id: 1
-    ip: 10.10.10.52
-    port: 51236
-   # LED1
-  led[0]:
-    id: 1
-    ip: 10.10.10.201
-    port: 5005
-    devpPlcId: ${wcs-slave.devp[0].id}
-    staArr: 015
-  # LED2
-  led[1]:
+    demo: false
+  # RGV绌挎杞�1
+  rgv[1]:
     id: 2
-    ip: 10.10.10.202
-    port: 5005
-    devpPlcId: ${wcs-slave.devp[0].id}
-    staArr: 011
\ No newline at end of file
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[2]:
+    id: 3
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[3]:
+    id: 4
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[4]:
+    id: 5
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[5]:
+    id: 6
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[6]:
+    id: 7
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[7]:
+    id: 8
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[8]:
+    id: 9
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[9]:
+    id: 10
+    ip: 192.168.4.250
+    port: 502
+    rack: 0
+    slot: 0
+    demo: false

--
Gitblit v1.9.1