Kaynağa Gözat

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 yıl önce
ebeveyn
işleme
bb906f8070
4 değiştirilmiş dosya ile 20 ekleme ve 21 silme
  1. +5
    -5
      src/main/java/com/telpo/dipperposition/controller/DipperAstPosAsyncTaskController.java
  2. +5
    -5
      src/main/java/com/telpo/dipperposition/controller/DipperAstTimeAsyncTaskController.java
  3. +5
    -5
      src/main/java/com/telpo/dipperposition/controller/DipperDataAsyncTaskController.java
  4. +5
    -6
      src/main/java/com/telpo/dipperposition/handler/NettyServerHandler.java

+ 5
- 5
src/main/java/com/telpo/dipperposition/controller/DipperAstPosAsyncTaskController.java Dosyayı Görüntüle

@@ -22,11 +22,11 @@ public class DipperAstPosAsyncTaskController {
@Autowired
IDipperAstPosAsyncTaskService dipperAstPosAsyncTaskService;

private DipperAstPosAsyncTaskController dipperAstPosAsyncTaskController;
@PostConstruct
public void init() {
dipperAstPosAsyncTaskController = this;
}
// private DipperAstPosAsyncTaskController dipperAstPosAsyncTaskController;
// @PostConstruct
// public void init() {
// dipperAstPosAsyncTaskController = this;
// }
/*
* 拉取星历数据
*/


+ 5
- 5
src/main/java/com/telpo/dipperposition/controller/DipperAstTimeAsyncTaskController.java Dosyayı Görüntüle

@@ -24,11 +24,11 @@ public class DipperAstTimeAsyncTaskController {
@Autowired
IDipperAstTimeAsyncTaskService dipperTimeAsyncTaskService;

private DipperAstTimeAsyncTaskController dipperTimeAsyncTaskController;
@PostConstruct
public void init() {
dipperTimeAsyncTaskController = this;
}
// private DipperAstTimeAsyncTaskController dipperTimeAsyncTaskController;
// @PostConstruct
// public void init() {
// dipperTimeAsyncTaskController = this;
// }
/*
* 拉取星历数据
*/


+ 5
- 5
src/main/java/com/telpo/dipperposition/controller/DipperDataAsyncTaskController.java Dosyayı Görüntüle

@@ -26,11 +26,11 @@ public class DipperDataAsyncTaskController {
@Autowired
IDipperDataAsyncTaskService dipperDataAsyncTaskService;

private DipperDataAsyncTaskController dipperDataAsyncTaskController;
@PostConstruct
public void init() {
dipperDataAsyncTaskController = this;
}
// private DipperDataAsyncTaskController dipperDataAsyncTaskController;
// @PostConstruct
// public void init() {
// dipperDataAsyncTaskController = this;
// }
/*
* 拉取星历数据
*/


+ 5
- 6
src/main/java/com/telpo/dipperposition/handler/NettyServerHandler.java Dosyayı Görüntüle

@@ -40,12 +40,11 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
private static String AST_POS_CMD_BYTE = "504f53";
private static String AST_EPH_CMD_BYTE = "455048";

@Autowired
private DipperAstTimeAsyncTaskController dipperTimeAsyncTaskController;
@Autowired
private DipperAstPosAsyncTaskController dipperAstPosAsyncTaskController;
@Autowired
private DipperDataAsyncTaskController dipperDataAsyncTaskController;
private DipperAstTimeAsyncTaskController dipperTimeAsyncTaskController = new DipperAstTimeAsyncTaskController();

private DipperAstPosAsyncTaskController dipperAstPosAsyncTaskController = new DipperAstPosAsyncTaskController();

private DipperDataAsyncTaskController dipperDataAsyncTaskController = new DipperDataAsyncTaskController();

@Autowired
private NettyServerConfig nettyServerConfig;


Yükleniyor…
İptal
Kaydet