From 879378a9a2e73278dc822c97f8d1dda589919b6d Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 21 五月 2021 17:36:44 +0800
Subject: [PATCH] 1. 根据新的协议,扩展了设备编号的位数从1位至6位; 2. 新增监测因子无人机高度;

---
 src/main/kotlin/com/flightfeather/uav/UAVApplication.kt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/UAVApplication.kt b/src/main/kotlin/com/flightfeather/uav/UAVApplication.kt
index 46b8e1d..307d5eb 100644
--- a/src/main/kotlin/com/flightfeather/uav/UAVApplication.kt
+++ b/src/main/kotlin/com/flightfeather/uav/UAVApplication.kt
@@ -1,6 +1,6 @@
 package com.flightfeather.uav
 
-import com.flightfeather.uav.socket.SocketServerClient
+import com.flightfeather.uav.socket.UnderwaySocketServer
 import org.springframework.boot.ApplicationRunner
 import org.springframework.boot.autoconfigure.SpringBootApplication
 import org.springframework.boot.runApplication
@@ -11,7 +11,7 @@
 
     @Bean
     fun runner() = ApplicationRunner{
-        SocketServerClient().startServer(9000)
+        UnderwaySocketServer().startServer(9030)
     }
 }
 

--
Gitblit v1.9.3