From 92167e0e41a8b63c4aa53dc8d75e83bbac70169b Mon Sep 17 00:00:00 2001
From: whycq <123456>
Date: 星期四, 18 九月 2025 11:16:52 +0800
Subject: [PATCH] #
---
src/main/resources/application.yml | 443 ++++++++++++++++++++++++++-----------------------------
1 files changed, 208 insertions(+), 235 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index e6e5ae1..c1bff08 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -8,8 +8,8 @@
name: @pom.build.finalName@
datasource:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-# url: jdbc:sqlserver://10.10.10.100:1433;databasename=stasrs
- url: jdbc:sqlserver://localhost:1433;databasename=phpsasrs
+ url: jdbc:sqlserver://10.10.10.233:1433;databasename=phpsasrs
+# url: jdbc:sqlserver://192.168.4.15:1433;databasename=phpsasrs
username: sa
password: sa@123
mvc:
@@ -35,7 +35,7 @@
enable: false
wms:
- url: localhost:8080/phpswms
+ url: localhost:8088/pswms
# 涓嬩綅鏈洪厤缃�
wcs-slave:
@@ -48,111 +48,7 @@
# 鍫嗗灈鏈�1
crn[0]:
id: 1
- ip: 10.10.10.110
- port: 102
- rack: 0
- slot: 0
- # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
- offset: 2
- demo: false
- # 鍫嗗灈鏈哄叆搴撶珯鐐�1
- crnInStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 106
- row: 1
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�1
- crnOutStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 107
- row: 2
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄叆搴撶珯鐐�2
- crnInStn[1]:
- devpPlcId: ${wcs-slave.devp[1].id}
- staNo: 206
- row: 1
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�2
- crnOutStn[1]:
- devpPlcId: ${wcs-slave.devp[1].id}
- staNo: 207
- row: 2
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄叆搴撶珯鐐�3
- crnInStn[2]:
- devpPlcId: ${wcs-slave.devp[2].id}
- staNo: 306
- row: 1
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�3
- crnOutStn[2]:
- devpPlcId: ${wcs-slave.devp[2].id}
- staNo: 307
- row: 2
- bay: 1
- lev: 1
- # 鍫嗗灈鏈�2
- crn[1]:
- id: 2
- ip: 10.10.10.120
- port: 102
- rack: 0
- slot: 0
- # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
- offset: 2
- demo: false
- # 鍫嗗灈鏈哄叆搴撶珯鐐�1
- crnInStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 108
- row: 3
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�1
- crnOutStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 109
- row: 4
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄叆搴撶珯鐐�2
- crnInStn[1]:
- devpPlcId: ${wcs-slave.devp[1].id}
- staNo: 208
- row: 3
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�2
- crnOutStn[1]:
- devpPlcId: ${wcs-slave.devp[1].id}
- staNo: 209
- row: 4
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄叆搴撶珯鐐�3
- crnInStn[2]:
- devpPlcId: ${wcs-slave.devp[2].id}
- staNo: 308
- row: 3
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�3
- crnOutStn[2]:
- devpPlcId: ${wcs-slave.devp[2].id}
- staNo: 309
- row: 4
- bay: 1
- lev: 1
- # 鍫嗗灈鏈�3
- crn[2]:
- id: 3
- ip: 10.10.10.130
+ ip: 10.10.10.100
port: 102
rack: 0
slot: 0
@@ -163,48 +59,152 @@
crnInStn[0]:
devpPlcId: ${wcs-slave.devp[0].id}
staNo: 110
- row: 5
- bay: 1
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�1
- crnOutStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 111
- row: 6
+ row: 2
bay: 1
lev: 1
# 鍫嗗灈鏈哄叆搴撶珯鐐�2
crnInStn[1]:
devpPlcId: ${wcs-slave.devp[1].id}
staNo: 210
- row: 5
+ row: 2
+ bay: 1
+ lev: 2
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�3
+ crnInStn[2]:
+ devpPlcId: ${wcs-slave.devp[2].id}
+ staNo: 310
+ row: 2
+ bay: 1
+ lev: 3
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�1
+ crnOutStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 111
+ row: 1
bay: 1
lev: 1
# 鍫嗗灈鏈哄嚭搴撶珯鐐�2
crnOutStn[1]:
devpPlcId: ${wcs-slave.devp[1].id}
staNo: 211
- row: 6
+ row: 1
bay: 1
- lev: 1
- # 鍫嗗灈鏈哄叆搴撶珯鐐�3
- crnInStn[2]:
- devpPlcId: ${wcs-slave.devp[2].id}
- staNo: 310
- row: 5
- bay: 1
- lev: 1
+ lev: 2
# 鍫嗗灈鏈哄嚭搴撶珯鐐�3
crnOutStn[2]:
devpPlcId: ${wcs-slave.devp[2].id}
staNo: 311
+ row: 1
+ bay: 1
+ lev: 3
+ # 鍫嗗灈鏈�2
+ crn[1]:
+ id: 2
+ ip: 10.10.10.110
+ port: 102
+ rack: 0
+ slot: 0
+ # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
+ offset: 2
+ demo: false
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�1
+ crnInStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 108
+ row: 4
+ bay: 1
+ lev: 1
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�2
+ crnInStn[1]:
+ devpPlcId: ${wcs-slave.devp[1].id}
+ staNo: 208
+ row: 4
+ bay: 1
+ lev: 2
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�3
+ crnInStn[2]:
+ devpPlcId: ${wcs-slave.devp[2].id}
+ staNo: 308
+ row: 4
+ bay: 1
+ lev: 3
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�1
+ crnOutStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 109
+ row: 3
+ bay: 1
+ lev: 1
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�2
+ crnOutStn[1]:
+ devpPlcId: ${wcs-slave.devp[1].id}
+ staNo: 209
+ row: 3
+ bay: 1
+ lev: 2
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�3
+ crnOutStn[2]:
+ devpPlcId: ${wcs-slave.devp[2].id}
+ staNo: 309
+ row: 3
+ bay: 1
+ lev: 3
+ # 鍫嗗灈鏈�3
+ crn[2]:
+ id: 3
+ ip: 10.10.10.120
+ port: 102
+ rack: 0
+ slot: 0
+ # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
+ offset: 2
+ demo: false
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�1
+ crnInStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 106
row: 6
bay: 1
lev: 1
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�2
+ crnInStn[1]:
+ devpPlcId: ${wcs-slave.devp[1].id}
+ staNo: 206
+ row: 6
+ bay: 1
+ lev: 2
+ # 鍫嗗灈鏈哄叆搴撶珯鐐�3
+ crnInStn[2]:
+ devpPlcId: ${wcs-slave.devp[2].id}
+ staNo: 306
+ row: 6
+ bay: 1
+ lev: 3
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�1
+ crnOutStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 107
+ row: 5
+ bay: 1
+ lev: 1
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�2
+ crnOutStn[1]:
+ devpPlcId: ${wcs-slave.devp[1].id}
+ staNo: 207
+ row: 5
+ bay: 1
+ lev: 2
+ # 鍫嗗灈鏈哄嚭搴撶珯鐐�3
+ crnOutStn[2]:
+ devpPlcId: ${wcs-slave.devp[2].id}
+ staNo: 307
+ row: 5
+ bay: 1
+ lev: 3
# 杈撻�佺嚎1妤�
devp[0]:
id: 1
- ip: 10.10.10.30
+ ip: 10.10.10.130
port: 102
rack: 0
slot: 0
@@ -213,16 +213,19 @@
staNo: 101
barcode: ${wcs-slave.barcode[0].id}
led: ${wcs-slave.led[0].id}
+ backSta: 100
# 鍏ュ簱鍙�2
- inSta[1]:
- staNo: 103
- barcode: ${wcs-slave.barcode[1].id}
- led: ${wcs-slave.led[1].id}
- # 鍏ュ簱鍙�3
- inSta[2]:
- staNo: 105
- barcode: ${wcs-slave.barcode[2].id}
- led: ${wcs-slave.led[2].id}
+ inSta[1]:
+ staNo: 103
+ barcode: ${wcs-slave.barcode[1].id}
+ led: ${wcs-slave.led[1].id}
+ backSta: 102
+ # 鍏ュ簱鍙�3
+ inSta[2]:
+ staNo: 105
+ barcode: ${wcs-slave.barcode[2].id}
+ led: ${wcs-slave.led[2].id}
+ backSta: 104
# 绌烘澘鍏ュ簱鍙�1
emptyInSta[0]:
staNo: 101
@@ -245,18 +248,21 @@
pickSta[0]:
staNo: 101
barcode: ${wcs-slave.barcode[0].id}
+ backSta: 100
# 鎷f枡鍏ュ簱鍙�2
pickSta[1]:
staNo: 103
barcode: ${wcs-slave.barcode[1].id}
+ backSta: 102
# 鎷f枡鍏ュ簱鍙�3
pickSta[2]:
staNo: 105
barcode: ${wcs-slave.barcode[2].id}
+ backSta: 104
# 杈撻�佺嚎2妤�
devp[1]:
id: 2
- ip: 10.10.10.30
+ ip: 10.10.10.140
port: 102
rack: 0
slot: 0
@@ -265,16 +271,19 @@
staNo: 201
barcode: ${wcs-slave.barcode[3].id}
led: ${wcs-slave.led[3].id}
+ backSta: 200
# 鍏ュ簱鍙�2
- inSta[1]:
- staNo: 203
- barcode: ${wcs-slave.barcode[4].id}
- led: ${wcs-slave.led[4].id}
- # 鍏ュ簱鍙�3
- inSta[2]:
- staNo: 205
- barcode: ${wcs-slave.barcode[5].id}
- led: ${wcs-slave.led[5].id}
+ inSta[1]:
+ staNo: 203
+ barcode: ${wcs-slave.barcode[4].id}
+ led: ${wcs-slave.led[4].id}
+ backSta: 202
+ # 鍏ュ簱鍙�3
+ inSta[2]:
+ staNo: 205
+ barcode: ${wcs-slave.barcode[5].id}
+ led: ${wcs-slave.led[5].id}
+ backSta: 204
# 绌烘澘鍏ュ簱鍙�1
emptyInSta[0]:
staNo: 201
@@ -297,18 +306,21 @@
pickSta[0]:
staNo: 201
barcode: ${wcs-slave.barcode[3].id}
+ backSta: 200
# 鎷f枡鍏ュ簱鍙�2
pickSta[1]:
staNo: 203
barcode: ${wcs-slave.barcode[4].id}
+ backSta: 202
# 鎷f枡鍏ュ簱鍙�3
pickSta[2]:
staNo: 205
barcode: ${wcs-slave.barcode[5].id}
+ backSta: 204
# 杈撻�佺嚎3妤�
devp[2]:
id: 3
- ip: 10.10.10.30
+ ip: 10.10.10.150
port: 102
rack: 0
slot: 0
@@ -317,16 +329,19 @@
staNo: 301
barcode: ${wcs-slave.barcode[6].id}
led: ${wcs-slave.led[6].id}
+ backSta: 300
# 鍏ュ簱鍙�2
- inSta[1]:
- staNo: 303
- barcode: ${wcs-slave.barcode[7].id}
- led: ${wcs-slave.led[7].id}
- # 鍏ュ簱鍙�3
- inSta[2]:
- staNo: 305
- barcode: ${wcs-slave.barcode[8].id}
- led: ${wcs-slave.led[8].id}
+ inSta[1]:
+ staNo: 303
+ barcode: ${wcs-slave.barcode[7].id}
+ led: ${wcs-slave.led[7].id}
+ backSta: 302
+ # 鍏ュ簱鍙�3
+ inSta[2]:
+ staNo: 305
+ barcode: ${wcs-slave.barcode[8].id}
+ led: ${wcs-slave.led[8].id}
+ backSta: 304
# 绌烘澘鍏ュ簱鍙�1
emptyInSta[0]:
staNo: 301
@@ -349,164 +364,122 @@
pickSta[0]:
staNo: 301
barcode: ${wcs-slave.barcode[6].id}
+ backSta: 300
# 鎷f枡鍏ュ簱鍙�2
pickSta[1]:
staNo: 303
barcode: ${wcs-slave.barcode[7].id}
+ backSta: 302
# 鎷f枡鍏ュ簱鍙�3
pickSta[2]:
staNo: 305
barcode: ${wcs-slave.barcode[8].id}
+ backSta: 304
# 鏉$爜鎵弿浠�1
barcode[0]:
id: 1
- ip: 10.10.10.55
+ ip: 10.10.10.133
port: 51236
# 鏉$爜鎵弿浠�2
barcode[1]:
id: 2
- ip: 10.10.10.55
+ ip: 10.10.10.134
port: 51236
# 鏉$爜鎵弿浠�3
barcode[2]:
id: 3
- ip: 10.10.10.55
+ ip: 10.10.10.135
port: 51236
# 鏉$爜鎵弿浠�4
barcode[3]:
id: 4
- ip: 10.10.10.55
+ ip: 10.10.10.143
port: 51236
# 鏉$爜鎵弿浠�5
barcode[4]:
id: 5
- ip: 10.10.10.55
+ ip: 10.10.10.144
port: 51236
# 鏉$爜鎵弿浠�6
barcode[5]:
id: 6
- ip: 10.10.10.55
+ ip: 10.10.10.145
port: 51236
# 鏉$爜鎵弿浠�7
barcode[6]:
id: 7
- ip: 10.10.10.55
+ ip: 10.10.10.153
port: 51236
# 鏉$爜鎵弿浠�8
barcode[7]:
id: 8
- ip: 10.10.10.55
+ ip: 10.10.10.154
port: 51236
# 鏉$爜鎵弿浠�9
barcode[8]:
id: 9
- ip: 10.10.10.55
+ ip: 10.10.10.155
port: 51236
# LED1
led[0]:
id: 1
- ip: 10.10.10.81
+ ip: 10.10.10.11
port: 5005
devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 101
+ staArr: 100
# LED2
led[1]:
id: 2
- ip: 10.10.10.202
+ ip: 10.10.10.12
port: 5005
devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 103
+ staArr: 102
# LED3
led[2]:
- id: 1
- ip: 10.10.10.81
+ id: 3
+ ip: 10.10.10.13
port: 5005
devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 105
+ staArr: 104
# LED4
led[3]:
- id: 2
- ip: 10.10.10.202
+ id: 4
+ ip: 10.10.10.14
port: 5005
devpPlcId: ${wcs-slave.devp[1].id}
- staArr: 201
+ staArr: 200
# LED5
led[4]:
- id: 1
- ip: 10.10.10.81
+ id: 5
+ ip: 10.10.10.15
port: 5005
devpPlcId: ${wcs-slave.devp[1].id}
- staArr: 203
+ staArr: 202
# LED6
led[5]:
- id: 2
- ip: 10.10.10.202
+ id: 6
+ ip: 10.10.10.16
port: 5005
devpPlcId: ${wcs-slave.devp[1].id}
- staArr: 205
+ staArr: 204
# LED7
led[6]:
- id: 1
- ip: 10.10.10.81
+ id: 7
+ ip: 10.10.10.17
port: 5005
devpPlcId: ${wcs-slave.devp[2].id}
- staArr: 301
+ staArr: 300
# LED8
led[7]:
- id: 2
- ip: 10.10.10.202
+ id: 8
+ ip: 10.10.10.18
port: 5005
devpPlcId: ${wcs-slave.devp[2].id}
- staArr: 303
+ staArr: 302
# LED9
led[8]:
- id: 1
- ip: 10.10.10.81
+ id: 9
+ ip: 10.10.10.17
port: 5005
devpPlcId: ${wcs-slave.devp[2].id}
- staArr: 305
- # 纾呯Г1
- scale[0]:
- id: 1
- ip: 10.10.10.201
- port: 5005
- # 纾呯Г2
- scale[1]:
- id: 2
- ip: 10.10.10.202
- port: 5005
- # 纾呯Г3
- scale[2]:
- id: 3
- ip: 10.10.10.201
- port: 5005
- # 纾呯Г4
- scale[3]:
- id: 4
- ip: 10.10.10.202
- port: 5005
- # 纾呯Г5
- scale[4]:
- id: 5
- ip: 10.10.10.201
- port: 5005
- # 纾呯Г6
- scale[5]:
- id: 6
- ip: 10.10.10.202
- port: 5005
- # 纾呯Г7
- scale[6]:
- id: 7
- ip: 10.10.10.201
- port: 5005
- # 纾呯Г8
- scale[7]:
- id: 8
- ip: 10.10.10.202
- port: 5005
- # 纾呯Г9
- scale[8]:
- id: 9
- ip: 10.10.10.201
- port: 5005
+ staArr: 304
--
Gitblit v1.9.1