From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001
From: lss <316519258@qq.com>
Date: 星期五, 12 六月 2020 09:22:04 +0800
Subject: [PATCH] 2020.06.12

---
 ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceColorLightCardControl.cs |   21 +++++----------------
 1 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceColorLightCardControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceColorLightCardControl.cs
index 9e3b374..0fda2b2 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceColorLightCardControl.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceColorLightCardControl.cs
@@ -71,22 +71,11 @@
             {
                 Common.CommonPage.Instance.IsDrawerLockMode = true;
 
-                //濡傛灉鏄疢ini澶滅伅
-                if (Common.LocalDevice.Current.IsMiniLight(i_device) == true)
-                {
-                    var form = new ControlForm.DeviceMiniLightDetailCardForm();
-                    form.RowOrCardControl = this;
-                    form.AddForm(i_device, this.nowSelectRoom, 965, 1466);
-                    form.FormCloseEvent += this.CardDetailInfoBackEvent;
-                }
-                else
-                {
-                    //褰╃伅,璋冨厜鍣ㄧ被鍨嬬殑娣卞害鍗$墖鐣岄潰
-                    var form = new ControlForm.DeviceColorLightDetailCardForm();
-                    form.RowOrCardControl = this;
-                    form.AddForm(i_device, this.nowSelectRoom, 965, 1316);
-                    form.FormCloseEvent += this.CardDetailInfoBackEvent;
-                }
+                //褰╃伅,璋冨厜鍣ㄧ被鍨嬬殑娣卞害鍗$墖鐣岄潰
+                var form = new ControlForm.DeviceColorLightDetailCardForm();
+                form.RowOrCardControl = this;
+                form.AddForm(i_device, this.nowSelectRoom, 965, 1316);
+                form.FormCloseEvent += this.CardDetailInfoBackEvent;
             };
         }
 

--
Gitblit v1.8.0