From 3272ca5b51e19f7f8a827b0f68400570a547fe60 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 28 四月 2020 15:02:44 +0800
Subject: [PATCH] 2020-04-28-1

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs
index 43cb75a..c141dc8 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Curtain/SiphonateDirectionAndLimitSettionForm.cs
@@ -119,7 +119,7 @@
                 listText.Add(Language.StringByID(R.MyInternationalizationString.uForwardDirection));//姝e悜
                 listText.Add(Language.StringByID(R.MyInternationalizationString.uReverseDirection));//鍙嶅悜
 
-                var form = new BottomDialogSelectForm();
+                var form = new BottomItemSelectForm();
                 form.AddForm(Language.StringByID(R.MyInternationalizationString.uDirectionSelect), listText, nowSelectNo);
                 form.FinishSelectEvent += async (index) =>
                 {
@@ -157,7 +157,7 @@
             var btnRinght = rowLimit.AddMostRightEmptyIcon(58, 58);
             rowLimit.ChangedChidrenBindMode(btnRinght, ChidrenBindMode.NotBind);
             btnRinght.UseClickStatu = false;
-            btnRinght.UnSelectedImagePath = "Item/Next.png";
+            btnRinght.UnSelectedImagePath = "Item/RightNext.png";
             btnRinght.SelectedImagePath = "Item/Down.png";
             btnRinght.IsSelected = true;
             btnRinght.ButtonClickEvent += (sender, e) =>
@@ -448,7 +448,7 @@
 
             bool receiptData = false;
             string mainkeys = LocalDevice.Current.GetDeviceMainKeys(curtainDevice);
-            HdlDeviceAttributeLogic.Current.AddAttributeEvent("CurtainDeviceAttribute", "DeviceStatusReport", (device) =>
+            HdlGatewayReceiveLogic.Current.AddAttributeEvent("CurtainDeviceAttribute", ReceiveComandDiv.A璁惧灞炴�т笂鎶�, (device) =>
             {
                 string checkKey = LocalDevice.Current.GetDeviceMainKeys(device);
                 if (mainkeys != checkKey || device.DeviceStatusReport.CluterID != 258)
@@ -497,7 +497,7 @@
                 return false;
             }
             //绉婚櫎鐩戝惉
-            HdlDeviceAttributeLogic.Current.RemoveEvent("CurtainDeviceAttribute");
+            HdlGatewayReceiveLogic.Current.RemoveEvent("CurtainDeviceAttribute");
 
             return true;
         }
@@ -509,11 +509,11 @@
         /// <summary>
         /// 鐣岄潰鍏抽棴
         /// </summary>
-        public override void CloseForm()
+        public override void CloseFormBefore()
         {
-            HdlDeviceAttributeLogic.Current.RemoveEvent("CurtainDeviceAttribute");
+            HdlGatewayReceiveLogic.Current.RemoveEvent("CurtainDeviceAttribute");
 
-            base.CloseForm();
+            base.CloseFormBefore();
         }
 
         #endregion

--
Gitblit v1.8.0