Browse Source

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 years ago
parent
commit
bb906f8070
4 changed files with 20 additions and 21 deletions
  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 View File

@@ -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 View File

@@ -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 View File

@@ -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 View File

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


Loading…
Cancel
Save