From a2d26f15b940c853faaf6d6959b16a6d919cb800 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 27 十一月 2019 19:26:30 +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