From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs
index ee4a454..75a9421 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/RowLayoutControls/DeviceFunctionTypeRowControl.cs
@@ -74,7 +74,7 @@
                 || this.device.Type == DeviceType.OnOffOutput)
             {
                 //娌¤寮哄埗骞叉秹鐨勮瘽
-                if (m_SetCanSelect == true)
+                if (m_SetCanSelect == true && Common.Config.Instance.Home.IsShowTemplate == false)
                 {
                     this.UseClickStatu = true;
                     //鍙崇澶�
@@ -194,25 +194,29 @@
                 || this.device.Type == DeviceType.DimmableLight)
             {
                 //鐏厜绫诲浐瀹氫负 鐏厜
-                strType = Language.StringByID(R.MyInternationalizationString.uLight);
+                var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A418");
+                strType = infoContent != null ? infoContent.A瀹樻柟鍚嶅瓧 : string.Empty;
                 nowSelectNo = 2;
             }
             else if (this.device.Type == DeviceType.WindowCoveringDevice)
             {
                 //绐楀笜鍥哄畾涓� 閬槼
-                strType = Language.StringByID(R.MyInternationalizationString.uDeviceBelongId100);
+                var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A400");
+                strType = infoContent != null ? infoContent.A瀹樻柟鍚嶅瓧 : string.Empty;
                 nowSelectNo = -1;
             }
             else if (this.device.Type == DeviceType.Thermostat)
             {
                 //绌鸿皟鍥哄畾涓� 绌鸿皟
-                strType = Language.StringByID(R.MyInternationalizationString.uDeviceBelongId3600);
+                var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A406");
+                strType = infoContent != null ? infoContent.A瀹樻柟鍚嶅瓧 : string.Empty;
                 nowSelectNo = -1;
             }
             else if (this.device.Type == DeviceType.DoorLock)
             {
                 //闂ㄩ攣鍥哄畾涓� 闂ㄩ攣
-                strType = Language.StringByID(R.MyInternationalizationString.uDeviceBelongId2800);
+                var infoContent = Common.LocalDevice.Current.GetDeviceModelIdNameInfo("A405");
+                strType = infoContent != null ? infoContent.A瀹樻柟鍚嶅瓧 : string.Empty;
                 nowSelectNo = -1;
             }
             else if (this.device.Type == DeviceType.FreshAir)

--
Gitblit v1.8.0