From 3e3959bf84c673b3cb366e6225a6b5c8dfbea903 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 05 八月 2020 14:09:04 +0800
Subject: [PATCH] #

---
 src/main/resources/application.yml |   64 +++++++++++++++++++++++++++-----
 1 files changed, 54 insertions(+), 10 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 053dbc4..82cda93 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -6,16 +6,11 @@
 #    name: @pom.artifactId@
     name:
   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=jsasrs
+    username: sa
+    password: sa@123
   mvc:
     static-path-pattern: /**
   redis:
@@ -36,4 +31,53 @@
   pwd: xltys1995
 
 swagger:
-  enable: false
\ No newline at end of file
+  enable: false
+
+# 涓嬩綅鏈洪厤缃�
+wcs-slave:
+  # 鍫嗗灈鏈�
+  crn[0]:
+    id: 1
+    ip: 192.168.1.1
+    port: 8888
+#  crn[1]:
+#    id: 2
+#    ip: 192.168.1.1
+#    port: 8888
+  # 绔欑偣
+  devp[0]:
+    id: 1
+    ip: 192.168.1.1
+    port: 8888
+  # 鏉$爜鎵弿浠�
+  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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

--
Gitblit v1.9.1