From ecba45c93391066bc30c7bd602c3a7683fbb99a7 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 31 七月 2020 10:56:12 +0800 Subject: [PATCH] 临时备份 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceCommonLogic.cs | 16 +--------------- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceCommonLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceCommonLogic.cs index e92d774..02d698c 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceCommonLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceCommonLogic.cs @@ -67,8 +67,6 @@ { var reResult = new ReceiptGatewayResult(); reResult.listReceiptData = new string[listReceiptTopic.Count]; - reResult.JsonData = new string[listReceiptTopic.Count]; - var myGateway = device.Gateway; if (myGateway == null) { @@ -122,12 +120,6 @@ return; } reResult.listReceiptData[i] = jobject["Data"].ToString(); - if (jobject.Property("Time") != null) - { - //闇�瑕佺Щ闄ime杩欎釜瀛楁 - jobject.Remove("Time"); - } - reResult.JsonData[i] = jobject.ToString(); receiptCount++; } } @@ -159,6 +151,7 @@ { //濡傛灉鍙湁涓�涓富棰�,鍒欐浛鎹㈠彉閲� reResult.ReceiptData = reResult.listReceiptData[0]; + reResult.listReceiptData = null; } } @@ -249,13 +242,6 @@ if (command == receiptCommand) { reResult.ReceiptData = responseData.PassData; - reResult.JsonData = new string[1]; - if (jobject.Property("Time") != null) - { - //闇�瑕佺Щ闄ime杩欎釜瀛楁 - jobject.Remove("Time"); - } - reResult.JsonData[0] = jobject.ToString(); } } }; -- Gitblit v1.8.0