From 4b378188ce972df432b23d9cb73babb6cc0679c6 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 17 一月 2020 14:56:15 +0800 Subject: [PATCH] 合并代码 ver.10086 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/ChooseKeyModePage.cs | 57 +++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 45 insertions(+), 12 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/ChooseKeyModePage.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/ChooseKeyModePage.cs index 953f73e..8230911 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/ChooseKeyModePage.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/ChooseKeyModePage.cs @@ -29,23 +29,46 @@ this.targetList = targetSelectList; } - #region 鈼� 鍙橀噺鐢虫槑__________________________ - ZigBee.Device.Panel currentKey;//褰撳墠鎸夐敭 - //鏄剧ず琚粦瀹氳澶囨垨鍦烘櫙鐨剉iew - VerticalScrolViewLayout midVerticalScrolViewLayout;//涓儴鍒锋柊鍒楄〃 - HorizontalScrolViewLayout btnHorizontalScrolViewLayout;//鎴块棿鍒楄〃宸﹀彸婊戝姩甯冨眬 + #region 鍙橀噺鐢虫槑 + /// <summary> + /// 褰撳墠鎸夐敭 + /// </summary> + ZigBee.Device.Panel currentKey; + /// <summary> + /// 涓儴鍒锋柊鍒楄〃 + /// </summary> + VerticalScrolViewLayout midVerticalScrolViewLayout; + /// <summary> + /// 鎴块棿鍒楄〃宸﹀彸婊戝姩甯冨眬 + /// </summary> + HorizontalScrolViewLayout btnHorizontalScrolViewLayout; /// <summary> /// 鎸夐敭閰嶇疆鐨勭洰鏍囧垪琛� /// </summary> - List<CommonDevice> targetList = new List<CommonDevice>();//鏈湴涓存椂閫変腑鍒楄〃 + List<CommonDevice> targetList = new List<CommonDevice>(); /// <summary> - /// 鏂扮殑鎸夐敭閰嶇疆鐩爣鍒楄〃涓紝鐩爣瀹為檯瀛樺湪鎸夐敭涓紝姝ゆ椂瑕佸垹鎺夌殑鏁版嵁 + /// 鏈湴鏃х殑閫変腑鍒楄〃 /// </summary> - List<CommonDevice> oldTargetList = new List<CommonDevice>();//鏈湴鏃х殑閫変腑鍒楄〃 - int currentClusterID = 6;//褰撳墠绨嘔D - public Action<List<BindListResponseObj>> action;//鍥炶皟缁戝畾鐩爣椤甸潰鍒锋柊 - int currentModeID = 0;//褰撳墠妯″紡ID - string curDeviceBindType = "";//褰撳墠璁惧缁戝畾绫诲瀷 + List<CommonDevice> oldTargetList = new List<CommonDevice>(); + /// <summary> + /// 褰撳墠绨嘔D + /// </summary> + int currentClusterID = 6; + /// <summary> + /// 鍥炶皟缁戝畾鐩爣椤甸潰鍒锋柊 + /// </summary> + public Action<List<BindListResponseObj>> action; + /// <summary> + /// 褰撳墠妯″紡ID + /// </summary> + int currentModeID = 0; + /// <summary> + /// 褰撳墠璁惧缁戝畾绫诲瀷 + /// </summary> + string curDeviceBindType = ""; + /// <summary> + /// 绫诲瀷鐨勫叿浣撴ā寮忓垪琛� + /// </summary> List<int> typeDetailModeList = new List<int> { }; #endregion @@ -578,6 +601,9 @@ }); } + /// <summary> + /// 娣诲姞寮�鍏虫ā寮� + /// </summary> async private void AddSwitchMode() { if (typeDetailModeList == null) @@ -723,6 +749,9 @@ } } + /// <summary> + /// 娣诲姞璋冨厜妯″紡 + /// </summary> async private void AddDimmerMode() { if (typeDetailModeList == null) @@ -905,6 +934,9 @@ } } + /// <summary> + /// 娣诲姞绐楀笜妯″紡 + /// </summary> async private void AddCurtainMode() { if (typeDetailModeList == null) @@ -1076,6 +1108,7 @@ } } + public void DeviceInfoChange(CommonDevice common, string typeTag) { } -- Gitblit v1.8.0