From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 16 十二月 2020 13:09:08 +0800
Subject: [PATCH] 新云端代码Ver1.2

---
 ZigbeeApp/Shared/Phone/Common/Controls/DeviceControls/DeviceSimpleSelectControl.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceSimpleSelectControl.cs b/ZigbeeApp/Shared/Phone/Common/Controls/DeviceControls/DeviceSimpleSelectControl.cs
similarity index 90%
rename from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceSimpleSelectControl.cs
rename to ZigbeeApp/Shared/Phone/Common/Controls/DeviceControls/DeviceSimpleSelectControl.cs
index 0cf1a54..4de3e99 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceSimpleSelectControl.cs
+++ b/ZigbeeApp/Shared/Phone/Common/Controls/DeviceControls/DeviceSimpleSelectControl.cs
@@ -3,7 +3,7 @@
 using System.Text;
 using ZigBee.Device;
 
-namespace Shared.Phone.UserCenter
+namespace Shared.Phone
 {
     /// <summary>
     /// 鍋氭垚涓�涓畝鍗曡澶囬�夋嫨鐨勮鎺т欢
@@ -17,7 +17,7 @@
         /// </summary>
         public CommonDevice device
         {
-            get { return Common.LocalDevice.Current.GetDevice(MainKeys); }
+            get { return HdlDeviceCommonLogic.Current.GetDevice(MainKeys); }
         }
         /// <summary>
         /// 閫夋嫨鎺т欢
@@ -66,7 +66,7 @@
         /// <param name="i_ChidrenYaxis">瀛愭帶浠禮杞村亸绉婚噺(銆愬垪琛ㄦ帶浠剁殑rowSpace/2銆戝嵆鍙�,涓嶆噦榛樿涓�0鍗冲彲)</param>
         public DeviceSimpleSelectControl(CommonDevice i_device, bool autoSelect, int i_ChidrenYaxis = 0) : base(i_ChidrenYaxis)
         {
-            this.MainKeys = Common.LocalDevice.Current.GetDeviceMainKeys(i_device);
+            this.MainKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(i_device);
             if (autoSelect == true)
             {
                 this.ButtonClickEvent += (sender, e) =>
@@ -83,10 +83,10 @@
         {
             //鍥炬爣
             var btnIcon = this.AddLeftIcon();
-            Common.LocalDevice.Current.SetDeviceIconToControl(btnIcon, device);
+            HdlDeviceCommonLogic.Current.SetDeviceIconToControl(btnIcon, device);
 
             //璁惧
-            string eName = Common.LocalDevice.Current.GetDeviceEpointName(device);
+            string eName = HdlDeviceCommonLogic.Current.GetDeviceEpointName(device);
             this.AddLeftCaption(eName, 850);
 
             btnSelect = this.AddMostRightEmptyIcon(58, 58);

--
Gitblit v1.8.0