From 2dcf3123455a88154f2c8e42f0316593638deda3 Mon Sep 17 00:00:00 2001 From: wangguangyuan Date: Tue, 16 Sep 2025 16:17:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=81=E4=BE=A7=E6=A8=A1=E5=9E=8B=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inspect/tcpserver/tcp/NettyClient.java | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/inspect/tcpserver/tcp/NettyClient.java b/src/main/java/com/inspect/tcpserver/tcp/NettyClient.java index 5896a9f..96b2732 100644 --- a/src/main/java/com/inspect/tcpserver/tcp/NettyClient.java +++ b/src/main/java/com/inspect/tcpserver/tcp/NettyClient.java @@ -492,13 +492,19 @@ public class NettyClient { public void sendJsonMessage(String uuid, String json) { JSONObject obj = JSONObject.parseObject(json); if (obj != null) { - if(obj.get("robot_file_path") != null || - obj.get("video_file_path") != null || - obj.get("device_file_path") != null || - obj.get("drone_file_path") != null || - obj.get("task_file_path") != null || - obj.get("voice_file_path") != null || - obj.get("host_file_path") != null) { + if (obj.get("robot_file_path") != null || + obj.get("video_file_path") != null || + obj.get("device_file_path") != null || + obj.get("drone_file_path") != null || + obj.get("task_file_path") != null || + obj.get("voice_file_path") != null || + obj.get("host_file_path") != null || + obj.get("overhaularea_file_path") != null || + obj.get("map_file_path") != null || + obj.get("maintenance_file_path") != null || + obj.get("effect_file_path") != null || + obj.get("alarm_threshold_file_path") != null + ) { String response = createDownResponse(obj); String xml = upJson2Xml.UpStreamJson2Xml(response, ModelControl.class); xml = xml.replaceAll(deviceAlias, alias);