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/UserCenter/Device/Light/MiniNightLightFunctionSettionForm.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Light/MiniNightLightFunctionSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Light/MiniNightLightFunctionSettionForm.cs
index 6bab0d1..c29dc0d 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Light/MiniNightLightFunctionSettionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Light/MiniNightLightFunctionSettionForm.cs
@@ -61,7 +61,7 @@
 
             //鍥炶矾澶囨敞
             string caption = Language.StringByID(R.MyInternationalizationString.uDeviceEpointNote);
-            string nameValue = Common.LocalDevice.Current.GetDeviceEpointName(this.device);
+            string nameValue = HdlDeviceCommonLogic.Current.GetDeviceEpointName(this.device);
             var btnDeviceName = new FrameCaptionInputControl(caption, nameValue, listview.rowSpace / 2);
             btnDeviceName.txtInput.MaxByte = 48;//闄愬埗鍙兘杈撳叆48涓瓧鑺�
             listview.AddChidren(btnDeviceName);
@@ -69,7 +69,7 @@
             btnDeviceName.AddBottomLine();
             btnDeviceName.txtInput.FinishInputEvent += () =>
             {
-                string oldName = Common.LocalDevice.Current.GetDeviceEpointName(this.device);
+                string oldName = HdlDeviceCommonLogic.Current.GetDeviceEpointName(this.device);
                 if (btnDeviceName.Text.Trim() == string.Empty)
                 {
                     //灏嗗悕瀛楄繕鍘�
@@ -78,7 +78,7 @@
                 if (oldName != btnDeviceName.Text.Trim())
                 {
                     //璁惧鍚嶇О淇敼
-                    var result = Common.LocalDevice.Current.ReName(this.device, btnDeviceName.Text.Trim());
+                    var result = HdlDeviceCommonLogic.Current.ReName(this.device, btnDeviceName.Text.Trim());
                     if (result == false)
                     {
                         return;
@@ -120,11 +120,11 @@
             btnFinish.ButtonClickEvent += (sender, e) =>
             {
                 string newName = btnDeviceName.Text.Trim();
-                string oldName = Common.LocalDevice.Current.GetDeviceEpointName(device);
+                string oldName = HdlDeviceCommonLogic.Current.GetDeviceEpointName(device);
                 if (oldName != newName)
                 {
                     //璁惧鍚嶇О淇敼
-                    var result = Common.LocalDevice.Current.ReName(device, newName);
+                    var result = HdlDeviceCommonLogic.Current.ReName(device, newName);
                     if (result == false)
                     {
                         return;

--
Gitblit v1.8.0