From 3bf284c9ad88b326de2ef52d01f76b2d985d8d2f Mon Sep 17 00:00:00 2001
From: zy <zy@123>
Date: 星期三, 16 七月 2025 16:13:24 +0800
Subject: [PATCH] #
---
src/main/resources/application.yml | 115 ++++++++++-----------------------------------------------
1 files changed, 20 insertions(+), 95 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 0645bad..069b3f9 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,110 +1,35 @@
server:
- port: 9090
+ port: 9098
+ servlet:
+ context-path: /@pom.build.finalName@
spring:
application:
-# name: @pom.artifactId@
- name:
- 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
+ name: @pom.build.finalName@
+ jmx:
+ enabled: false
mvc:
static-path-pattern: /**
redis:
- host: localhost
+ host: 127.0.0.1
port: 6379
database: 0
-# password: xltys1995
-
-mybatis-plus:
- mapper-locations: classpath:mapper/*.xml
- global-config:
- field-strategy: 0
+# password: 123456
logging:
- path: /stock/out/logs
+ path: ./stock/out/@pom.build.finalName@/logs
super:
pwd: xltys1995
-swagger:
- enable: false
-
-# 涓嬩綅鏈洪厤缃�
-wcs-slave:
- # 鍫嗗灈鏈�
- crn[0]:
- id: 1
- ip: 192.168.6.9
- port: 102
- rack: 0
- slot: 0
- # 鍫嗗灈鏈哄叆搴撶珯鐐�
- 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.2.125
- port: 102
- rack: 0
- slot: 1
- # 鍏ュ簱鍙�
- inSta[0]:
- staNo: 2
- barcode: ${wcs-slave.barcode[0].id}
- # 绌烘澘鍏ュ簱鍙�
- emptyInSta[0]:
- staNo: 2
- # 鍑哄簱鍙�
- 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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+deviceMsgConfig:
+ # 璇诲彇鏁版嵁鍚庤嚜鍔ㄥ垹闄�
+ destroyAfterReading: true
+ # 缃戝叧缂栧彿
+ gatewayId: 1
+ # 缃戝叧绔彛
+ gatewayPort: 8888
+ # 鍚姩妯℃嫙鍣�
+ enableFake: true
+ # 鍚姩妯℃嫙鍣ㄨ澶囩嚎绋�
+ enableFakeDeviceThread: true
\ No newline at end of file
--
Gitblit v1.9.1