From 1ae2f3acafa9d036dfe4f14f8dcc5c4b5815c46a Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期一, 01 十二月 2025 16:33:09 +0800
Subject: [PATCH] #
---
src/main/resources/application.yml | 164 ++++++------------------------------------------------
1 files changed, 18 insertions(+), 146 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 45b0c92..e5ab53d 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -11,7 +11,7 @@
validation-timeout: 3000
connection-test-query: select 1
driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://127.0.0.1:3306/lfdwcs?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: root
mvc:
@@ -20,7 +20,11 @@
host: 127.0.0.1
port: 6379
database: 0
-# password: 123456
+ # password: 123456
+ task:
+ scheduling:
+ pool:
+ size: 3
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
@@ -39,149 +43,17 @@
swagger:
enable: false
-wms:
- url: 10.10.10.40:8080/tzskwms
+deviceExecuteConfig:
+ # 姣忎釜绾跨▼绠℃帶璁惧鎵ц鏁伴噺
+ threadControlCount: 10
+ liftType: lift
-pythonCalcPath: D:\\path\\cpu.py
-pythonCalcSimilarity: D:\\path\\similarity.py
+mainProcessPlugin: FakeProcess
-# 涓嬩綅鏈洪厤缃�
-wcs-slave:
- # 杈撻�佺嚎
- devp[0]:
- id: 1
- ip: 10.10.10.51
- port: 102
- rack: 0
- slot: 0
- # 鍏ュ簱鍙�1
- inSta[0]:
- staNo: 100
- backSta: 101
- barcode: ${wcs-slave.barcode[0].id}
- led: ${wcs-slave.led[1].id}
- liftNo: ${wcs-slave.forkLift[0].id}
- # 鍏ュ簱鍙�2
- inSta[1]:
- staNo: 103
- backSta: 102
- barcode: ${wcs-slave.barcode[1].id}
- led: ${wcs-slave.led[2].id}
- liftNo: ${wcs-slave.forkLift[0].id}
- # 绌烘澘鍏ュ簱鍙�1
- emptyInSta[0]:
- staNo: 100
- backSta: 101
- barcode: ${wcs-slave.barcode[0].id}
- led: ${wcs-slave.led[1].id}
- liftNo: ${wcs-slave.forkLift[0].id}
- # 绌烘澘鍏ュ簱鍙�2
- emptyInSta[1]:
- staNo: 103
- backSta: 102
- barcode: ${wcs-slave.barcode[1].id}
- led: ${wcs-slave.led[2].id}
- liftNo: ${wcs-slave.forkLift[0].id}
- # 鍑哄簱鍙�1
- outSta[0]:
- staNo: 100
- led: ${wcs-slave.led[0].id}
- # 鍑哄簱鍙�2
- outSta[1]:
- staNo: 103
- led: ${wcs-slave.led[0].id}
- # 鎷f枡鍏ュ簱鍙�
- pickInSta[0]:
- staNo: 100
- backSta: 100
- barcode: ${wcs-slave.barcode[0].id}
- led: ${wcs-slave.led[1].id}
- liftNo: ${wcs-slave.forkLift[0].id}
- pickInSta[1]:
- staNo: 103
- backSta: 103
- barcode: ${wcs-slave.barcode[1].id}
- led: ${wcs-slave.led[2].id}
- liftNo: ${wcs-slave.forkLift[0].id}
-
- # 鏉$爜鎵弿浠�
- barcode[0]:
- id: 1
- ip: 10.10.10.102
- port: 51236
- # 鏉$爜鎵弿浠�
- barcode[1]:
- id: 2
- ip: 10.10.10.102
- port: 51236
-
- # LED1
- led[0]:
- id: 1
- ip: 10.10.10.151
- port: 5005
- devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 99
- # LED2
- led[1]:
- id: 2
- ip: 10.10.10.152
- port: 5005
- devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 101
- # LED3
- led[2]:
- id: 3
- ip: 10.10.10.153
- port: 5005
- devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 102
- # LED4
- led[3]:
- id: 4
- ip: 10.10.10.154
- port: 5005
- devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 104
-
- # 鍥涘悜绌挎杞�1
- shuttle[0]:
- id: 1
- ip: 10.10.10.101
- port: 8888
- rack: 0
- slot: 0
- # 鍥涘悜绌挎杞�2
- shuttle[1]:
- id: 2
- ip: 10.10.10.102
- port: 8888
- rack: 0
- slot: 0
- # 璐у弶鎻愬崌鏈�1
- forkLift[0]:
- id: 1
- ip: 10.10.10.131
- port: 102
- staRow: 13
- staBay: 22
- sta[0]:
- staNo: 101
- lev: 1
- liftNo: ${wcs-slave.forkLift[0].id}
- sta[1]:
- staNo: 102
- lev: 2
- liftNo: ${wcs-slave.forkLift[0].id}
- sta[2]:
- staNo: 103
- lev: 3
- liftNo: ${wcs-slave.forkLift[0].id}
- sta[3]:
- staNo: 104
- lev: 4
- liftNo: ${wcs-slave.forkLift[0].id}
- sta[4]:
- staNo: 105
- lev: 5
- liftNo: ${wcs-slave.forkLift[0].id}
\ No newline at end of file
+deviceLogStorage:
+ # 璁惧鏃ュ織瀛樺偍鏂瑰紡 mysql file
+ type: file
+ # file绫诲瀷瀛樺偍鍦板潃
+ loggingPath: ./stock/out/@pom.build.finalName@/deviceLogs
+ # 鏃ュ織杩囨湡鏃堕棿 鍗曚綅澶�
+ expireDays: 7
--
Gitblit v1.9.1