From b5206a46345fa4326705b1178579e2de65edf5de Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 20 五月 2024 15:01:05 +0800 Subject: [PATCH] 目标版本更新 --- HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs index a843941..c8c2e0e 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Send.cs @@ -61,7 +61,14 @@ { return null; } - var dateList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<LogicIdData>>(responsePackNew.Data.ToString()); + List<LogicIdData> dateList = new List<LogicIdData>(); + try + { + dateList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<LogicIdData>>(responsePackNew.Data.ToString()); + }catch (Exception ex) + { + MainPage.Log($"鑾峰彇閫昏緫ID鍒楄〃寮傚父锛歿ex.Message}"); + } return dateList; } /// <summary> -- Gitblit v1.8.0