From fe024501537f84baa38d3f09367b757a5719b77a Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期五, 28 十一月 2025 16:44:30 +0800
Subject: [PATCH] #

---
 src/main/resources/application.yml |  110 +++++++++++++++++--------------------------------------
 1 files changed, 34 insertions(+), 76 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 85a7adb..e5ab53d 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,31 +1,41 @@
 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
+    hikari:
+      validation-timeout: 3000
+      connection-test-query: select 1
+    driver-class-name: com.mysql.jdbc.Driver
+    url: jdbc:mysql://127.0.0.1:3306/wcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
+    username: root
+    password: root
   mvc:
     static-path-pattern: /**
   redis:
-    host: localhost
+    host: 127.0.0.1
     port: 6379
     database: 0
-#    password: xltys1995
+  #    password: 123456
+  task:
+    scheduling:
+      pool:
+        size: 3
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
-  global-config:
-    field-strategy: 0
+#  global-config:
+#    field-strategy: 0
+#  configuration:
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
 
 logging:
-  path: /stock/out/logs
+  path: ./stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
@@ -33,69 +43,17 @@
 swagger:
   enable: false
 
-# 涓嬩綅鏈洪厤缃�
-wcs-slave:
-  # 鍫嗗灈鏈�
-  crn[0]:
-    id: 1
-    ip: 192.168.6.1
-    port: 102
-    rack: 0
-    slot: 2
-    # 鍫嗗灈鏈哄叆搴撶珯鐐�
-    crnInStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 5
-    # 鍫嗗灈鏈哄嚭搴撶珯鐐�
-    crnOutStn[0]:
-      devpPlcId: ${wcs-slave.devp[0].id}
-      staNo: 6
-  # 绔欑偣
-  devp[0]:
-    id: 1
-    ip: 192.168.1.125
-    port: 102
-    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.1.1
-    port: 8888
-  # LED
-  led[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
-  # 纾呯О
-  scale[0]:
-    id: 1
-    ip: 192.168.1.1
-    port: 8888
+deviceExecuteConfig:
+  # 姣忎釜绾跨▼绠℃帶璁惧鎵ц鏁伴噺
+  threadControlCount: 10
+  liftType: lift
 
+mainProcessPlugin: FakeProcess
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+deviceLogStorage:
+  # 璁惧鏃ュ織瀛樺偍鏂瑰紡 mysql file
+  type: file
+  # file绫诲瀷瀛樺偍鍦板潃
+  loggingPath: ./stock/out/@pom.build.finalName@/deviceLogs
+  # 鏃ュ織杩囨湡鏃堕棿 鍗曚綅澶�
+  expireDays: 7

--
Gitblit v1.9.1