From 7149ebf2e7dab8229e3114c8f95013833316405b Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 24 七月 2023 08:29:15 +0800
Subject: [PATCH] 计算中间点到目标点行走距离
---
src/main/resources/application.yml | 235 ++++++++++++++++++++++++++++------------------------------
1 files changed, 114 insertions(+), 121 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index cdfc724..d607735 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -8,22 +8,25 @@
name: @pom.build.finalName@
datasource:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- url: jdbc:sqlserver://localhost:1433;databasename=szfzasrs
+ url: jdbc:sqlserver://127.0.0.1:1433;databasename=xzjlasrs
username: sa
# password: Zoneyung@zy56$
- password: sa@123
+ password: sa
mvc:
static-path-pattern: /**
redis:
- host: localhost
+ host: 127.0.0.1
port: 6379
database: 0
-# password: xltys1995
+# password: 123456
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
# global-config:
# field-strategy: 0
+# configuration:
+# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
logging:
path: /stock/out/@pom.build.finalName@/logs
@@ -35,12 +38,12 @@
enable: false
wms:
- url: localhost:8081/szfzwms
+ url: localhost:8081/xzjlwms
erp:
db:
driver_class_name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- ur: jdbc:sqlserver://10.20.46.23:1433;databasename=POY_ASRS
+ ur: jdbc:sqlserver://10.10.10.209:1433;databasename=POY_ASRS
username: poy-asrs
password: Poy@2022
@@ -50,69 +53,7 @@
doubleDeep: true
# 鍙屾繁搴撲綅鎺掑彿
doubleLocs: 32
- # 涓�涓爢鍨涙満璐熻矗鐨勮揣鏋舵帓鏁�
- groupCount: 2
- # 绌挎杞﹂�氶亾搴撲綅
- channel: '0100101'
- # 鍫嗗灈鏈�1
- crn[0]:
- id: 1
- ip: 10.10.10.110
- port: 102
- rack: 0
- slot: 0
- # 鍋忕Щ閲忥紝褰撳爢鍨涙満绔欑偣鍒楀彿=1鏃讹紝鍋忕Щ閲�=2
- offset: 2
- demo: false
- # 鍫嗗灈鏈哄叆搴撶珯鐐�
- crnInStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 102
- row: 4
- bay: 6
- lev: 1
- # 鍫嗗灈鏈哄叆搴撶珯鐐�
- crnInStn[1]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 202
- row: 4
- bay: 6
- lev: 3
- # 鍫嗗灈鏈哄叆搴撶珯鐐�
- crnInStn[2]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 302
- row: 4
- bay: 6
- lev: 6
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�
- crnOutStn[0]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 102
- row: 4
- bay: 6
- lev: 1
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�
- crnOutStn[1]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 202
- row: 4
- bay: 6
- lev: 3
- # 鍫嗗灈鏈哄嚭搴撶珯鐐�
- crnOutStn[2]:
- devpPlcId: ${wcs-slave.devp[0].id}
- staNo: 302
- row: 4
- bay: 6
- lev: 6
- # 绌挎杞�1
- ste[0]:
- id: 1
- ip: 10.10.10.120
- port: 502
- rack: 0
- slot: 0
+
# 杈撻�佺嚎
devp[0]:
id: 1
@@ -123,81 +64,133 @@
# 鍏ュ簱鍙�1
inSta[0]:
staNo: 102
- barcode: ${wcs-slave.barcode[0].id}
backSta: 100
+ barcode: ${wcs-slave.barcode[0].id}
led: ${wcs-slave.led[0].id}
- # 鍏ュ簱鍙�1
- inSta[1]:
- staNo: 202
- barcode: ${wcs-slave.barcode[1].id}
- backSta: 200
- led: ${wcs-slave.led[1].id}
- # 鍏ュ簱鍙�1
- inSta[2]:
- staNo: 302
- barcode: ${wcs-slave.barcode[2].id}
- backSta: 300
- led: ${wcs-slave.led[2].id}
# 绌烘澘鍏ュ簱鍙�1
emptyInSta[0]:
staNo: 102
+ backSta: 100
barcode: ${wcs-slave.barcode[0].id}
- # 绌烘澘鍏ュ簱鍙�1
- emptyInSta[1]:
- staNo: 202
- barcode: ${wcs-slave.barcode[1].id}
- # 绌烘澘鍏ュ簱鍙�1
- emptyInSta[2]:
- staNo: 302
- barcode: ${wcs-slave.barcode[2].id}
+ led: ${wcs-slave.led[0].id}
# 鍑哄簱鍙�1
outSta[0]:
- staNo: 102
- # 鍑哄簱鍙�2
- outSta[1]:
- staNo: 202
- # 鍑哄簱鍙�2
- outSta[2]:
- staNo: 302
+ staNo: 104
+ led: ${wcs-slave.led[1].id}
# 鎷f枡鍑哄簱鍙�
pickInSta[0]:
- staNo: 102
+ staNo: 100
barcode: ${wcs-slave.barcode[0].id}
- backSta: 102
+ backSta: 100
led: ${wcs-slave.led[0].id}
+ # 璐ф灦鍏ュ簱绔欑偣
+ rackInStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 105
+ row: 4
+ bay: 6
+ lev: 1
+ # 璐ф灦鍏ュ簱绔欑偣
+ rackInStn[1]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 106
+ row: 4
+ bay: 6
+ lev: 3
+ # 璐ф灦鍏ュ簱绔欑偣
+ rackInStn[2]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 107
+ row: 4
+ bay: 6
+ lev: 6
+ # 璐ф灦鍏ュ簱绔欑偣
+ rackInStn[3]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 108
+ row: 4
+ bay: 6
+ lev: 6
+ # 璐ф灦鍑哄簱绔欑偣
+ rackOutStn[0]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 100
+ row: 15
+ bay: 2
+ lev: 1
+ # 璐ф灦鍑哄簱绔欑偣
+ rackOutStn[1]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 104
+ row: 4
+ bay: 6
+ lev: 1
+ # 璐ф灦鍑哄簱绔欑偣
+ rackOutStn[2]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 105
+ row: 4
+ bay: 6
+ lev: 3
+ # 璐ф灦鍑哄簱绔欑偣
+ rackOutStn[3]:
+ devpPlcId: ${wcs-slave.devp[0].id}
+ staNo: 108
+ row: 4
+ bay: 6
+ lev: 6
+
# 鏉$爜鎵弿浠�
barcode[0]:
id: 1
- ip: 10.10.10.104
+ ip: 10.10.10.102
port: 51236
- # 鏉$爜鎵弿浠�
- barcode[1]:
- id: 2
- ip: 10.10.10.105
- port: 51236
- # 鏉$爜鎵弿浠�
- barcode[2]:
- id: 3
- ip: 10.10.10.106
- port: 51236
+
# LED1
led[0]:
id: 1
- ip: 10.10.10.231
+ ip: 10.10.10.241
port: 5005
devpPlcId: ${wcs-slave.devp[0].id}
staArr: 102
- # LED1
+ # LED2
led[1]:
id: 2
- ip: 10.10.10.232
+ ip: 10.10.10.242
port: 5005
devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 202
- # LED1
- led[2]:
- id: 3
- ip: 10.10.10.233
- port: 5005
- devpPlcId: ${wcs-slave.devp[0].id}
- staArr: 302
+ staArr: 201
+
+ # 鍥涘悜绌挎杞�1
+ shuttle[0]:
+ id: 1
+ ip: 10.10.10.211
+ port: 502
+ rack: 0
+ slot: 0
+ # 鍥涘悜绌挎杞�2
+ shuttle[1]:
+ id: 2
+ ip: 10.10.10.221
+ port: 502
+ rack: 0
+ slot: 0
+ # 鎻愬崌鏈�1
+ lift[0]:
+ id: 1
+ ip: 10.10.10.231
+ port: 502
+ row: 18
+ bay: 2
+ sta[0]:
+ staNo: 105
+ lev: 1
+ sta[1]:
+ staNo: 106
+ lev: 2
+ sta[2]:
+ staNo: 107
+ lev: 3
+ sta[3]:
+ staNo: 108
+ lev: 4
\ No newline at end of file
--
Gitblit v1.9.1