src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 9093
  port: 9094
  servlet:
    context-path: /@pom.build.finalName@
@@ -8,11 +8,13 @@
    name: @pom.build.finalName@
  datasource:
    driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jxtlfasrs-yclk
    url: jdbc:sqlserver://127.0.0.1:1433;databasename=jnejc-hkwms
    username: sa
    password: sa@123
  mvc:
    static-path-pattern: /**
zyHikUrl: 10.10.10.200:9091/hik
#  redis:
#    host: localhost
#    port: 6379
@@ -34,7 +36,12 @@
  enable: false
wms:
  url: 127.0.0.1:8080/wms
  url: 127.0.0.1:8084/hkwms
#海康对接
hik:
  switch: false
  url: http://172.26.11.98:80/rcs/rtas/
# 下位机配置
wcs-slave:
@@ -55,7 +62,7 @@
  # 堆垛机1
  crn[0]:
    id: 1
    ip: 172.26.4.132
    ip: 172.26.4.131
    port: 102
    rack: 0
    slot: 0
@@ -93,7 +100,7 @@
  # 输送线1
  devp[0]:
    id: 1
    ip: 172.17.60.100
    ip: 172.26.4.141
    port: 102
    rack: 0
    slot: 0
@@ -183,14 +190,14 @@
   # LED1
  led[0]:
    id: 1
    ip: 127.0.0.1
    ip: 172.26.4.211
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 401
  # LED2
  led[1]:
    id: 2
    ip: 172.17.60.183
    ip: 172.26.4.212
    port: 5005
    devpPlcId: ${wcs-slave.devp[0].id}
    staArr: 402