From 732ea41c1bcd1623068d46db64f88e36abe3dcb9 Mon Sep 17 00:00:00 2001
From: L <L@132>
Date: 星期一, 20 四月 2026 15:25:37 +0800
Subject: [PATCH] *

---
 src/main/resources/application.yml |   85 +++++++++++++++++++++++++++---------------
 1 files changed, 55 insertions(+), 30 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index b19beee..9f11636 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -7,11 +7,10 @@
   application:
     name: @pom.build.finalName@
   datasource:
-    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-#    url: jdbc:sqlserver://10.10.10.201:1433;databasename=ahyxasrs
-    url: jdbc:sqlserver://127.0.0.1:50948;databasename=gdhmasrs
-    username: sa
-    password: sa@123
+    driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://localhost:3306/gdhmasrs?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
+    username: root
+    password: root
   mvc:
     static-path-pattern: /**
   redis:
@@ -21,6 +20,8 @@
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
+  configuration:
+    map-underscore-to-camel-case: true
 
 logging:
   path: /stock/out/@pom.build.finalName@/logs
@@ -32,26 +33,50 @@
 swagger:
   enable: false
 
+wms:
+  url: 172.17.196.200:8084
+  reportOutPath: open/rcs/task/cs/up/UploadTask
+  reportSwitch: true
+  reportSwitchAuto: false
+
+#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: 10000
+    # 鏉冮噸閰嶇疆(浼氬仛褰掍竴鍖栵紝寤鸿鍜岀害绛変簬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:
-  # 杈撻�佺嚎
-  devp[0]:
-    id: 1
-    ip: 192.168.4.250
-    port: 502
-    rack: 0
-    slot: 0
-  # 杈撻�佺嚎
-  devp[1]:
-    id: 2
-    ip: 192.168.4.250
-    port: 502
-    rack: 0
-    slot: 0
   # RGV绌挎杞�1
   rgv[0]:
     id: 1
-    ip: 172.17.196.3
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -59,7 +84,7 @@
   # RGV绌挎杞�1
   rgv[1]:
     id: 2
-    ip: 172.17.196.6
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -67,7 +92,7 @@
   # RGV绌挎杞�1
   rgv[2]:
     id: 3
-    ip: 172.17.196.9
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -75,7 +100,7 @@
   # RGV绌挎杞�1
   rgv[3]:
     id: 4
-    ip: 172.17.196.12
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -83,7 +108,7 @@
   # RGV绌挎杞�1
   rgv[4]:
     id: 5
-    ip: 172.17.196.15
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -91,7 +116,7 @@
   # RGV绌挎杞�1
   rgv[5]:
     id: 6
-    ip: 172.17.196.18
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -99,7 +124,7 @@
   # RGV绌挎杞�1
   rgv[6]:
     id: 7
-    ip: 172.17.196.21
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -107,7 +132,7 @@
   # RGV绌挎杞�1
   rgv[7]:
     id: 8
-    ip: 172.17.196.25
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -115,7 +140,7 @@
   # RGV绌挎杞�1
   rgv[8]:
     id: 9
-    ip: 172.17.196.28
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
@@ -123,8 +148,8 @@
   # RGV绌挎杞�1
   rgv[9]:
     id: 10
-    ip: 172.17.196.31
+    ip: 192.168.4.250
     port: 502
     rack: 0
     slot: 0
-    demo: false
\ No newline at end of file
+    demo: false

--
Gitblit v1.9.1