From edf7c324bea0556a3df9096dd41d668a9d41bf51 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 13 五月 2020 15:58:29 +0800 Subject: [PATCH] 改版是门锁新功能需要给测试部的版本 --- ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs b/ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs old mode 100755 new mode 100644 index 7deda9b..1141503 --- a/ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs +++ b/ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs @@ -316,7 +316,7 @@ functionSceneBodyView.Height = functionSceneAutoBodyView.Height - roomSwitchContr.Bottom; functionSceneAutoBodyView.AddChidren(functionSceneBodyView); - //鎵ц鍒濆鍖� + //鎵ц鍒濆鍖� roomSwitchContr.InitControl(); } @@ -502,6 +502,11 @@ { cardContr = new Controls.DeviceFreshAirRowControl(); } + // PM2.5 + else if (device.Type == DeviceType.PMSensor) + { + cardContr = new Controls.DevicePmSensorRowControl(); + } //褰╃伅(璋冨厜鍣�) else if (device.Type == DeviceType.DimmableLight) { @@ -614,8 +619,8 @@ { listview2 = new VerticalListControl(); functionSceneBodyView.AddChidren(listview2); - } - + } + foreach (var scene in listScene) { //鍦烘櫙鍗$墖鎺т欢 @@ -844,14 +849,9 @@ string path1 = string.Empty; string path2 = string.Empty; //鑾峰彇鍥剧墖 - LocalDevice.Current.GetDeviceObjectIcon(typeInfo.ConcreteType, ref path1, ref path2); + LocalDevice.Current.GetDeviceFunctionTypeMenuIcon(typeInfo.ConcreteType, ref path1, ref path2); dic[typeInfo.BeloneTextId].IconPath = path1; dic[typeInfo.BeloneTextId].IconPathSelected = path2; - if (device.Type == DeviceType.FreshAir) - { - dic[typeInfo.BeloneTextId].IconPath = "Device/FreshAirEpoint.png"; - dic[typeInfo.BeloneTextId].IconPathSelected = "Device/FreshAirEpointSelected.png"; - } dic[typeInfo.BeloneTextId].TextId = typeInfo.BeloneTextId; } dic[typeInfo.BeloneTextId].listDeviceKeys.Add(LocalDevice.Current.GetDeviceMainKeys(device)); -- Gitblit v1.8.0