云配置文件

main
judy 7 months ago
parent 26065b410d
commit 7ffb706ac6
  1. 18
      shkj-admin/src/main/resources/application-yun.yml
  2. 2
      shkj-wms/src/main/java/com/shkj/wcs/plc/PlcInit.java

@ -96,23 +96,5 @@ third:
agvStatesUrl: http://127.0.0.1:8081/api/robot/controller/robot/query agvStatesUrl: http://127.0.0.1:8081/api/robot/controller/robot/query
agvCancelTaskUrl: http://127.0.0.1:8081/rest/common/cancelTask agvCancelTaskUrl: http://127.0.0.1:8081/rest/common/cancelTask
queryAckByTaskUrl: http://127.0.0.1:8081/rest/common/queryAckByTaskId queryAckByTaskUrl: http://127.0.0.1:8081/rest/common/queryAckByTaskId
# ess接口
essTaskDistributionUrl: http://210.21.218.14:60354/task/create
essTaskCancelUrl: http://210.21.218.14:60354/task/cancel
# 输送线接口
moveContainerUrl: http://210.21.218.14:60354/conveyor/moveContainer
containerArrivedUrl: http://210.21.218.14:60354/conveyor/containerArrived
# 播种墙 电子标签
tagSendTaskUrl: http://210.21.218.14:60354/PTL/SendDASData
tagPickingDetailsUrl: http://210.21.218.14:60354/PTL/DASPickingDetails
# erp接口
erpU8PuStoreInUrl: http://192.168.1.99:13001/api/U8PuStoreIn/Add
erpU8MaterialOutUrl: http://192.168.1.99:13001/api/U8MaterialOut/Add
plc:
firstBarcode: DB320.DBD82
secondBarcode: DB320.DBD104
thirdBarcode: DB320.DBD12
containerCode: DB320.DBD6

@ -32,7 +32,7 @@ public class PlcInit {
RedisTemplate redisTemplate; RedisTemplate redisTemplate;
private ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1); private ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1);
@PostConstruct // @PostConstruct
public void init(){ public void init(){
log.info("初始化连接对象"); log.info("初始化连接对象");
executorService.scheduleWithFixedDelay( executorService.scheduleWithFixedDelay(

Loading…
Cancel
Save