HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-06-22 dc0309e64f02227d8e1468b7326c07955f804612
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceOtherLogic.cs
@@ -97,7 +97,7 @@
                {
                    return Language.StringByID(R.MyInternationalizationString.Close);
                }
                return $"{(int)((device as DimmableLight).Level * 1.0 / 254 * 100)}%";
                return HdlDeviceCommonLogic.Current.CalculateLightLevelPersent((device as DimmableLight).Level) + "%";
            }
            else if (device.Type == DeviceType.ColorTemperatureLight)
            {
@@ -110,7 +110,7 @@
                {
                    return Language.StringByID(R.MyInternationalizationString.Close);
                }
                return $"{(int)((device as ColorTemperatureLight).Level * 1.0 / 254 * 100)}%";
                return HdlDeviceCommonLogic.Current.CalculateLightLevelPersent((device as ColorTemperatureLight).Level) + "%";
            }
            else if (device.Type == DeviceType.WindowCoveringDevice)
            {
@@ -432,8 +432,8 @@
                    humidity = $"{tempera.currentHumidity}%";
                    temperature = $"{tempera.currentTemperature}℃";
                    pm = $"{tempera.currentPmData}μg/m³";
                    co2 = $"{tempera.currentCO2}ppm";
                    return $"{curQuality},{pm},{co2},{temperature},{humidity}";
                    //co2 = $"{tempera.currentCO2}ppm";
                    return $"{curQuality},{pm},{temperature},{humidity}";
                }
                else
                {