|
|
@@ -38,14 +38,14 @@ public class DipperPositionApplication { |
|
|
|
log.info("北斗定位服务启动!"); |
|
|
|
try { |
|
|
|
test(); |
|
|
|
//启动服务端 |
|
|
|
DipperPositionServer nettyServer = new DipperPositionServer(); |
|
|
|
nettyServer.startTimeAsnc(); |
|
|
|
nettyServer.startPosAsnc(); |
|
|
|
nettyServer.startStarsAsnc(); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error(e.getMessage()); |
|
|
|
} |
|
|
|
//启动服务端 |
|
|
|
DipperPositionServer nettyServer = new DipperPositionServer(); |
|
|
|
nettyServer.startTimeAsnc(); |
|
|
|
nettyServer.startPosAsnc(); |
|
|
|
nettyServer.startStarsAsnc(); |
|
|
|
} |
|
|
|
|
|
|
|
private static void test() throws NacosException { |
|
|
|