diff --git a/OpenAuth.App/ServiceApp/Algo/DaHuaAiApp.cs b/OpenAuth.App/ServiceApp/Algo/DaHuaAiApp.cs index 5b8f89e..84cfb4e 100644 --- a/OpenAuth.App/ServiceApp/Algo/DaHuaAiApp.cs +++ b/OpenAuth.App/ServiceApp/Algo/DaHuaAiApp.cs @@ -156,7 +156,6 @@ namespace OpenAuth.App.ServiceApp.Algo //var root = JsonNode.Parse(drone_info)?.AsObject(); //lat = root?["data"]?["latitude"]?.GetValue() ?? 0.0; //lng = root?["data"]?["longitude"]?.GetValue() ?? 0.0; - // 直接访问 dynamic 对象,不需要 Parse lat = (double?)drone_info.data?.latitude ?? 0.0; lng = (double?)drone_info.data?.longitude ?? 0.0; }