server:
|
port: 9090
|
servlet:
|
context-path: /jswcs
|
|
spring:
|
application:
|
name: gdwcs
|
datasource:
|
# sql-server
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
#url: jdbc:sqlserver://192.168.3.99:1433;databasename=gdasrs
|
#username: sa
|
#password: eisoft
|
url: jdbc:sqlserver://localhost:1433;databasename=jsasrs
|
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/wcs/logs
|
|
super:
|
pwd: xltys1995
|
|
swagger:
|
enable: false
|
|
# 下位机配置
|
wcs-slave:
|
# 堆垛机1
|
crn[0]:
|
id: 1
|
ip: 192.168.10.39
|
port: 5015
|
rack: 0
|
slot: 0
|
# 偏移量,当堆垛机站点列号=1时,偏移量=2
|
offset: 2
|
# 堆垛机入库站点
|
crnInStn[0]:
|
devpPlcId: ${wcs-slave.devp[0].id}
|
staNo: 4
|
row: 2
|
bay: 1
|
lev: 1
|
# 堆垛机出库站点
|
crnOutStn[0]:
|
devpPlcId: ${wcs-slave.devp[0].id}
|
staNo: 2
|
row: 1
|
bay: 1
|
lev: 1
|
# 输送线
|
devp[0]:
|
id: 1
|
ip: 192.168.10.65
|
port: 6000
|
rack: 0
|
slot: 1
|
# 入库口1
|
inSta[0]:
|
staNo: 3
|
barcode: ${wcs-slave.barcode[0].id}
|
# 入库口2
|
inSta[1]:
|
staNo: 7
|
barcode: ${wcs-slave.barcode[0].id}
|
# 空板入库口1
|
emptyInSta[0]:
|
staNo: 3
|
# 空板入库口2
|
emptyInSta[1]:
|
staNo: 7
|
# 出库口1
|
outSta[0]:
|
staNo: 1
|
# 出库口2
|
outSta[1]:
|
staNo: 5
|
# 拣料入库口
|
pickSta[0]:
|
staNo: 2
|
# 条码扫描仪
|
barcode[0]:
|
id: 1
|
ip: 192.168.10.150
|
port: 51236
|
# LED1
|
led[0]:
|
id: 1
|
ip: 192.168.10.61
|
port: 5005
|
devpPlcId: ${wcs-slave.devp[0].id}
|
staArr: 1,2
|
# 磅称
|
scale[0]:
|
id: 1
|
ip: 192.168.10.152
|
port: 8888
|