HDL Home App 第二版本 旧平台金堂用 正在使用
hxb
2022-08-30 25429f085093d89d543a0b90e30d0d62d1b7dac9
ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs
old mode 100755 new mode 100644
@@ -536,6 +536,11 @@
                        {
                            cardContr = new Controls.DeviceAirQualitySensorRowControl();
                        }
                        else
                        {
                            //温湿度
                            cardContr = new Controls.DeviceTemperatureRowControl();
                        }
                    }
                    //彩灯(调光器)
                    else if (device.Type == DeviceType.DimmableLight)
@@ -546,11 +551,6 @@
                    else if (device.Type == DeviceType.IASZone)
                    {
                        cardContr = new Controls.DeviceSensorRowControl();
                    }
                    //温湿度
                    else if (device.Type == DeviceType.TemperatureSensor)
                    {
                        cardContr = new Controls.DeviceTemperatureRowControl();
                    }
                    //门锁
                    else if (device.Type == DeviceType.DoorLock)
@@ -563,7 +563,7 @@
                        cardContr = new Controls.DeviceColorTemperatureRowControl();
                    }
                    //无法识别
                    else
                    if (cardContr == null)
                    {
                        cardContr = new Controls.DeviceRowCommon();
                        //没有状态功能
@@ -861,10 +861,13 @@
                    string mainKeys = LocalDevice.Current.GetDeviceMainKeys(report);
                    //晾衣架上报需要特殊处理,其他上报的回路统一转为端点1
                    var tempList = LocalDevice.Current.GetDevicesByMac(report.DeviceAddr);
                    var tempDeviceEnum = LocalDevice.Current.GetMyDeviceEnumInfo(tempList);
                    if (tempDeviceEnum.ConcreteType == Common.DeviceConcreteType.Airer)
                    if (tempList.Count > 0)
                    {
                        mainKeys = report.DeviceAddr + "_" + 1;
                        var tempDeviceEnum = LocalDevice.Current.GetMyDeviceEnumInfo(tempList);
                        if (tempDeviceEnum.ConcreteType == Common.DeviceConcreteType.Airer)
                        {
                            mainKeys = report.DeviceAddr + "_" + 1;
                        }
                    }
                    if (this.dicDeviceRowControl.ContainsKey(mainKeys) == true)
                    {