From 7c2dce60eeb3b3b54c52890ece8aa472d5512a04 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期一, 11 三月 2024 16:03:49 +0800 Subject: [PATCH] 2024年03月11日16:03:42 --- app/src/main/java/com/hdl/photovoltaic/other/HdlUniLogic.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlUniLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlUniLogic.java index 63d314d..0c8f79a 100644 --- a/app/src/main/java/com/hdl/photovoltaic/other/HdlUniLogic.java +++ b/app/src/main/java/com/hdl/photovoltaic/other/HdlUniLogic.java @@ -109,7 +109,8 @@ return; } String type = getKeyValue("type", data);//灏忕被 - String mode_type = "澶х被->" + topic + "--->灏忕被->" + type;//鐢ㄦ潵鎵撳嵃鐨� + String mode_type = "澶х被->" + topic + "--->" + "灏忕被->" + type;//鐢ㄦ潵鎵撳嵃鐨� + HdlLogLogic.print("uni--->鍙戦��--->" + mode_type + "\r\n" + data, true); if (HDLUniMP.UNI_EVENT_REPLY_HOME_MODEL.equals(topic)) { //浣忓畢妯″潡 switch (type) { @@ -339,7 +340,7 @@ } } } - HdlLogLogic.print("uni--->鍙戦��--->" + mode_type + "\r\n" + data, true); + } catch (Exception e) { HdlLogLogic.print("uni--->鍙戦��--->" + e.getMessage(), true); } -- Gitblit v1.8.0