server:
|
port: 9090
|
servlet:
|
context-path: /@pom.build.finalName@
|
|
spring:
|
application:
|
name: @pom.build.finalName@
|
datasource:
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
url: jdbc:sqlserver://localhost:1433;databasename=hylyasrs
|
username: sa
|
password: sa@123
|
mvc:
|
static-path-pattern: /**
|
redis:
|
host: localhost
|
port: 6379
|
database: 0
|
# password: xltys1995
|
|
mybatis-plus:
|
mapper-locations: classpath:mapper/*.xml
|
# global-config:
|
# field-strategy: 0
|
|
logging:
|
path: /stock/out/@pom.build.finalName@/logs
|
|
super:
|
pwd: xltys1995
|
|
swagger:
|
enable: false
|
|
wms:
|
url: localhost:8080/klswms
|
|
# 下位机配置
|
wcs-slave:
|
# 双深
|
doubleDeep: true
|
# 双深库位排号
|
doubleLocs: 1,4,5,8,9,12,13,16
|
# 一个堆垛机负责的货架排数
|
groupCount: 4
|
# 堆垛机1
|
crn[0]:
|
id: 1
|
ip: 10.10.10.10
|
port: 8888
|
# 偏移量,当堆垛机站点列号=1时,偏移量=2
|
offset: 2
|
demo: false
|
# 堆垛机入库站点
|
crnInStn[0]:
|
devpPlcId: ${wcs-slave.devp[0].id}
|
staNo: 103
|
row: 3
|
bay: 1
|
lev: 1
|
# 堆垛机出库站点
|
crnOutStn[0]:
|
devpPlcId: ${wcs-slave.devp[0].id}
|
staNo: 101
|
row: 2
|
bay: 1
|
lev: 1
|
|
# 输送线
|
devp[0]:
|
id: 1
|
ip: 10.10.10.50
|
port: 102
|
rack: 0
|
slot: 0
|
# 入库口1
|
inSta[0]:
|
staNo: 103
|
barcode: ${wcs-slave.barcode[0].id}
|
# 空板入库口1
|
emptyInSta[0]:
|
staNo: 103
|
# 出库口1
|
outSta[0]:
|
staNo: 102
|
# # 拣料入库口1
|
# pickSta[0]:
|
# staNo: 103
|
# barcode: ${wcs-slave.barcode[0].id}
|
# 条码扫描仪
|
barcode[0]:
|
id: 1
|
ip: 10.10.10.52
|
port: 51236
|
# LED1
|
led[0]:
|
id: 1
|
ip: 10.10.10.60
|
port: 5005
|
devpPlcId: ${wcs-slave.devp[0].id}
|
staArr: 110
|
|
#socket
|
socket[0]:
|
id: 1
|
ip: 10.10.10.100
|
port: 10001
|
|
# tcp服务端配置
|
tcp:
|
#tcp/ip协议端口
|
port: 51236
|
#心跳 s
|
heart-seconds: 120
|
#最大连接数
|
backlog: 128
|
#是否开启keepAlive
|
keep-alive: true
|
#发送滑动窗口(256KB)
|
sndbuf: 262144
|
#接受滑动窗口(2MB)
|
rcvbuf: 2097152
|
#上下行日志打印
|
printPacLog: true
|
#条码长度
|
barcodeLen: 8
|