From dfa6733793434bdcfd394f978ae72f1628b2260f Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 22 四月 2020 16:50:03 +0800
Subject: [PATCH] 合并代码

---
 ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs |   56 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs
old mode 100644
new mode 100755
index f0cc373..d06d4eb
--- a/ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/SkipView.cs
@@ -67,7 +67,7 @@
                             Common.Logic.LogicDviceList.AddRange(LocalDevice.Current.listAllDevice.ToArray());
                         }
                         //璇诲彇绯荤粺褰撳墠鏃堕棿锛氭椂-鍒�
-                        //璇诲彇绯荤粺褰撳墠鏃堕棿锛氭椂-鍒� 
+                        //璇诲彇绯荤粺褰撳墠鏃堕棿锛氭椂-鍒�
                         var h = DateTime.Now.ToString("HH");
                         var m = DateTime.Now.ToString("mm");
                         Dictionary<string, string> timeConditionsInfo = new Dictionary<string, string>();
@@ -345,9 +345,9 @@
         /// 鍔犺浇鑷姩鍖栧垪琛ㄧ晫闈�
         /// </summary>
         /// <param name="refresview">Refresview.</param>
-
-        static RowLayout selectedRow = new RowLayout() { Tag = "0" };//璁板綍宸︽粦鐘舵��
-
+        
+        static  RowLayout selectedRow = new RowLayout() { Tag="0"};//璁板綍宸︽粦鐘舵��
+        
         private static async void Automationview(VerticalRefreshLayout refresview, bool no)
         {
             refresview.RemoveAll();
@@ -438,7 +438,7 @@
                     //瀹炵幇android鏄剧ず閫昏緫鍒楄〃鐨勫渾瑙�;
                     fLayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft);
                     logicRowlayout.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft);
-
+                   
                 }
                 i++;
                 var logicnameBtn = new Button
@@ -763,14 +763,14 @@
             }
             return false;//琛ㄧず娣诲姞澶辫触;
 
-        }
-
-        ///<summary>
-        /// s-one闂ㄩ攣鏄惁瀛樺湪鑷姩鍖栫殑鏂规硶;
-        /// 娉ㄦ剰锛堝弬鏁�2锛�3锛夛細valueInt=3鏄垹闄よ缃け鏁堟椂闂磋嚜鍔ㄥ寲锛泇alueInt=2鍒ゆ柇鏄惁瀛樺湪鑷姩鍖栵紱
-        /// 杩斿洖鍊硷細0涓嶅瓨鍦�;1瀛樺湪;2鍒犻櫎鎴愬姛;3鍒犻櫎澶辫触;
-        /// </summary>
-        public static async System.Threading.Tasks.Task<int> Exist(int valueInt = 2)
+        }
+
+		///<summary>
+		/// s-one闂ㄩ攣鏄惁瀛樺湪鑷姩鍖栫殑鏂规硶;
+		/// 娉ㄦ剰锛堝弬鏁�2锛�3锛夛細valueInt=3鏄垹闄よ缃け鏁堟椂闂磋嚜鍔ㄥ寲锛泇alueInt=2鍒ゆ柇鏄惁瀛樺湪鑷姩鍖栵紱
+		/// 杩斿洖鍊硷細0涓嶅瓨鍦�;1瀛樺湪;2鍒犻櫎鎴愬姛;3鍒犻櫎澶辫触;
+		/// </summary>
+		public static async System.Threading.Tasks.Task<int> Exist(int valueInt = 2)
         {
             int exist = 0;
             var Idlist = await Send.GetLogicId(valueInt);
@@ -781,27 +781,27 @@
                     for (int i = 0; i < Idlist.Count; i++)
                     {
                         //valueInt=3涓�鏉$壒娈婄殑鑷姩鍖�(鐢ㄦ潵璁剧疆澶辨晥鏃堕棿)
-                        var d = await Send.DelLogic(Idlist[i]);
-                        if (d != 0)
-                        {
-                            //鍒犻櫎鎴愬姛
-                            exist = 2;
-                        }
-                        else
-                        {
-                            //鍒犻櫎澶辫触
-                            exist = 3;
-                        }
-                        return exist;
+                        var d=await Send.DelLogic(Idlist[i]);
+						if (d == 0)
+						{
+							//鍒犻櫎鎴愬姛
+							exist = 2;
+						}
+						else
+						{
+							//鍒犻櫎澶辫触
+							exist = 3;
+						}
+						return exist;
 
-                    }
-                }
+					}
+				}
                 exist = 1;
             }
             return exist;
         }
 
-
+     
     }
 }
 

--
Gitblit v1.8.0