Procházet zdrojové kódy

修改到docker外运行环境

tags/v1.0.0^2
林万龙 před 3 roky
rodič
revize
bb906f8070
4 změnil soubory, kde provedl 20 přidání a 21 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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;


Načítá se…
Zrušit
Uložit