From f4b367ae8aad24e56d8e79fe03b7eec9d4f28d7d Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期三, 19 十一月 2025 08:57:25 +0800
Subject: [PATCH] #

---
 src/main/resources/application.yml |   88 ++++++++++++++++++++++++++++++++++++--------
 1 files changed, 72 insertions(+), 16 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 053dbc4..9e3892f 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,21 +1,16 @@
 server:
   port: 9090
+  servlet:
+    context-path: /@pom.build.finalName@
 
 spring:
   application:
-#    name: @pom.artifactId@
-    name:
+    name: @pom.build.finalName@
   datasource:
-    # mysql
-    driver-class-name: com.mysql.jdbc.Driver
-    url: jdbc:mysql://127.0.0.1:3306/zy_wcs?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
-    username: root
-    password: xltys1995
-    # sql-server
-#    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-#    url: jdbc:sqlserver://192.168.1.103:1433;databasename=cool
-#    username: sa
-#    password: sa@123
+    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
+    url: jdbc:sqlserver://127.0.0.1:1433;databasename=shhtgcasrs
+    username: sa
+    password: sa@123
   mvc:
     static-path-pattern: /**
   redis:
@@ -26,14 +21,75 @@
 
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
-  global-config:
-    field-strategy: 0
+#  global-config:
+#    field-strategy: 0
 
 logging:
-  path: /stock/out/logs
+  path: /stock/out/@pom.build.finalName@/logs
 
 super:
   pwd: xltys1995
 
 swagger:
-  enable: false
\ No newline at end of file
+  enable: false
+
+wms:
+  url: 127.0.0.1:8080/wms
+
+# 涓嬩綅鏈洪厤缃�
+wcs-slave:
+  # 鍙屾繁
+  doubleDeep: false
+  # 鍙屾繁搴撲綅鎺掑彿
+  doubleLocs: 3,4,7,10,11,14,15,18,19,22,23,26
+  # 宸︽繁搴撲綅鎺掑彿
+  doubleLocsLeft: 4,7,11,15,19,23
+  # 鍙虫繁搴撲綅鎺掑彿
+  doubleLocsRight: 3,10,14,18,22,26
+  # 宸︽祬搴撲綅鎺掑彿
+  shallowLocsLeft: 5,8,12,16,20,24
+  # 鍙虫祬搴撲綅鎺掑彿
+  shallowLocsRight: 2,6,9,13,17,21,25
+  # 涓�涓爢鍨涙満璐熻矗鐨勮揣鏋舵帓鏁�
+  groupCount: 4
+  # 杈撻�佺嚎1
+  devp[0]:
+    id: 1
+    ip: 172.17.60.100
+    port: 102
+    rack: 0
+    slot: 0
+    # 鍏ュ簱鍙�1
+    inSta[0]:
+      staNo: 1009
+      barcode: ${wcs-slave.barcode[0].id}
+      backSta: 1008
+      led: ${wcs-slave.led[0].id}
+    # 绌烘澘鍏ュ簱鍙�1
+    emptyInSta[0]:
+      staNo: 1076
+      barcode: ${wcs-slave.barcode[0].id}
+      backSta: 1075
+      led: ${wcs-slave.led[0].id}
+    # 鎷f枡鍏ュ簱鍙�1
+    pickSta[0]:
+      staNo: 1059
+      barcode: ${wcs-slave.barcode[0].id}
+      backSta: 1059
+      led: ${wcs-slave.led[0].id}
+    # 鍑哄簱鍙�1
+    outSta[0]:
+      staNo: 102
+      led: ${wcs-slave.led[0].id}
+  # 鏉$爜鎵弿浠�1
+  barcode[0]:
+    id: 1
+    ip: 10.10.10.121
+    port: 51236
+  # LED1
+  led[0]:
+    id: 1
+    ip: 127.0.0.1
+    port: 5005
+    devpPlcId: ${wcs-slave.devp[0].id}
+    staArr: 1009
\ No newline at end of file

--
Gitblit v1.9.1