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 |  212 +++++++++++++++++++++++++++++++++--------------------
 1 files changed, 132 insertions(+), 80 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 28f4479..714aaeb 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,107 +1,159 @@
 server:
   port: 9090
+  servlet:
+    context-path: /@pom.build.finalName@
 
 spring:
   application:
-#    name: @pom.artifactId@
-    name:
+    name: @pom.build.finalName@
   datasource:
-    # sql-server
-    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jsasrs
-    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/logs
+  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: 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:
-  # 鍫嗗灈鏈�
-  crn[0]:
+  # RGV绌挎杞�1
+  rgv[0]:
     id: 1
-    ip: 192.168.6.10
-    port: 102
+    ip: 192.168.4.250
+    port: 502
     rack: 0
-    slot: 2
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 5
-      row: 2
-      bay: 1
-      lev: 1
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 6
-      row: 1
-      bay: 1
-      lev: 1
-  # 杈撻�佺嚎
-  devp[0]:
-    id: 1
-    ip: 192.168.1.125
-    port: 102
+    slot: 0
+    demo: false
+  # RGV绌挎杞�1
+  rgv[1]:
+    id: 2
+    ip: 192.168.4.250
+    port: 502
     rack: 0
-    slot: 1
-    # 鍏ュ簱鍙�
-    inSta[0]:
-      staNo: 2
-      barcode: ${wcs-slave.barcode[0].id}
-    # 鍑哄簱鍙�
-    outSta[0]:
-      staNo: 6
-    # 鎷f枡鍏ュ簱鍙�
-    pickSta[0]:
-      staNo: 2
-  # 鏉$爜鎵弿浠�
-  barcode[0]:
-    id: 1
-    ip: 192.168.2.150
-    port: 51236
-  # LED
-  led[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  # 纾呯О
-  scale[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+    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