@@ -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; | |||
// } | |||
/* | |||
* 拉取星历数据 | |||
*/ | |||
@@ -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; | |||
// } | |||
/* | |||
* 拉取星历数据 | |||
*/ | |||
@@ -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; | |||
// } | |||
/* | |||
* 拉取星历数据 | |||
*/ | |||
@@ -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; | |||