From ec35d79add60d1438dff5291389f7e69c579d9f9 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期四, 21 十一月 2019 18:18:25 +0800 Subject: [PATCH] 完成面板楼层显示处理和下拉刷新处理,请合并最新代码 --- ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs | 23 +++++++++++++++++++++-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs old mode 100755 new mode 100644 index df4003f..b24d685 --- a/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs +++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs @@ -18,13 +18,32 @@ /// <param name="flage">If set to <c>true</c> flage.</param> public static void DebugPrintLog(string msg, bool flage = true) { +#if DEBUG if (flage == true) { - if (msg.Contains("DeviceStatusReport") == false) - { + if (msg.Contains("DeviceStatusReport") == true) + { + + } + else if (msg.Contains("ButtonStatusChange_Respon") == true) + { + + } + else if (msg.Contains("IASInfoReport") == true) + { + + } + else if (msg.Contains("ZbGw/SetOrGetData_Respon") == true) + { + + } + else + { System.Console.WriteLine(msg + " " + System.DateTime.Now.ToLongTimeString() + " " + System.DateTime.Now.Millisecond); + } } +#endif } /// <summary> -- Gitblit v1.8.0