From 3cab37863f5d034097dbd4a381a7fdb9c9a347c2 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 18 十一月 2019 17:23:48 +0800
Subject: [PATCH] 优化加载数据列表

---
 ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs b/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs
index df4003f..591353e 100755
--- a/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Device/CommonDevice.cs
@@ -18,6 +18,7 @@
         /// <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)
@@ -25,6 +26,7 @@
                     System.Console.WriteLine(msg + "  " + System.DateTime.Now.ToLongTimeString() + " " + System.DateTime.Now.Millisecond);
                 }
             }
+#endif
         }
 
         /// <summary>

--
Gitblit v1.8.0