From f240886676a7fdcf50c11db965797903b952482c Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期一, 19 一月 2026 10:10:48 +0800
Subject: [PATCH] 1

---
 src/main/resources/application.yml |   79 ++++++++++++++++++++++++++++++---------
 1 files changed, 61 insertions(+), 18 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 053dbc4..506957a 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,39 +1,82 @@
 server:
   port: 9090
 
+
 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
+    url: jdbc:mysql://127.0.0.1:3306/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
   mvc:
     static-path-pattern: /**
-  redis:
-    host: localhost
-    port: 6379
-    database: 0
-#    password: xltys1995
+
+
+ctu:
+  url: 10.10.10.200:8088
+  station: /api/open/station/convey
+  locSync: /api/open/loc/sync
+  sendTask: /api/open/bus/submit
+  getLoc: /api/open/loc/one
+  update: /api/open/sta/update
 
 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
+
+
+# 涓嬩綅鏈洪厤缃�
+wcs-slave:
+  # 杈撻�佺嚎1
+  devp[0]:
+    id: 1
+    ip: 10.10.10.191
+    port: 102
+    rack: 0
+    slot: 0
+    staNos: 1001,1002,1003,1004,1005,1006,1007
+    # 鍏ュ簱鍙�1
+    inSta[0]:
+      staNo: 1007
+      barcode: ${wcs-slave.barcode[0].id}
+      backSta: 1007
+      led: ${wcs-slave.led[0].id}
+    # 鍑哄簱鍙�1
+    outSta[0]:
+      staNo: 1001
+  # 鏉$爜鎵弿浠�1
+  barcode[0]:
+    id: 1
+    ip: 10.10.10.194
+    port: 51236
+  # 鏉$爜鎵弿浠�2
+  barcode[1]:
+    id: 2
+    ip: 10.10.10.146
+    port: 51236
+  # LED1
+  led[0]:
+    id: 1
+    ip: 10.10.10.101
+    port: 5005
+    devpPlcId: ${wcs-slave.devp[0].id}
+    staArr: 100
+  # LED2
+  led[1]:
+    id: 2
+    ip: 10.10.10.102
+    port: 5005
+    devpPlcId: ${wcs-slave.devp[0].id}
+    staArr: 200

--
Gitblit v1.9.1