From 9f326f4000847e6167d8166fa2f6a66f53cb3734 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 17 十二月 2020 09:07:13 +0800
Subject: [PATCH] 新云端Ver1.3

---
 ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs
index 4ee9363..5dd21d0 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/AlarmTargetAddDeviceForm.cs
@@ -95,7 +95,7 @@
                     this.AddRowLayout(listAllDevice[i], i != count);
                 }
                 //璋冩暣鐪熷疄楂樺害
-                listView.AdjustRealHeight(Application.GetRealHeight(23));
+                listView.AdjustRealHeightByBottomButton(Application.GetRealHeight(23));
             });
         }
 
@@ -110,16 +110,16 @@
         /// <param name="addLine"></param>
         private void AddRowLayout(CommonDevice device, bool addLine)
         {
-            string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
+            string mainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(device);
 
             var rowContr = new FrameRowControl(listView.rowSpace / 2);
             listView.AddChidren(rowContr);
 
             //鍥炬爣
             var btnIcon = rowContr.AddLeftIcon(81);
-            Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, device);
+            HdlDeviceCommonLogic.Current.SetDeviceIconToControl(btnIcon, device);
             //璁惧鍚�
-            var btnName = rowContr.AddLeftCaption(Common.LocalDevice.Current.GetDeviceEpointName(device), 700);
+            var btnName = rowContr.AddLeftCaption(HdlDeviceCommonLogic.Current.GetDeviceEpointName(device), 700);
             btnName.TextSize = 15;
             //鍙崇澶�
             rowContr.AddRightArrow();
@@ -184,7 +184,7 @@
         /// <param name="listInfo"></param>
         private void AddAlarmSettionDataToMemory(CommonDevice device, List<Safeguard.TaskListInfo> listInfo)
         {
-            string mainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(device);
+            string mainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(device);
             if (listInfo == null || listInfo.Count == 0)
             {
                 //鎸囧畾涓烘棤鍔ㄤ綔妯″紡

--
Gitblit v1.8.0