黄学彪
2019-10-10 2ed75b8b337048e5d75e6d9ec8307633134f02fd
ZigbeeApp/Shared/Phone/Device/Logic/SetDeviceState.cs
@@ -32,6 +32,8 @@
                //TextID = MyInternationalizationString.adddevice,
                TextSize = 17,
                TextColor = ZigbeeColor.Current.LogicTextBlackColor,
                TextAlignment = TextAlignment.CenterLeft,
                X = Application.GetRealWidth(150),
            };
            topFrameLayout.AddChidren (titleName);
@@ -107,7 +109,7 @@
            actionsInfo.Add("TaskList", taskListInfo);
            switch (common.Type)
            {
                case DeviceType.ColorDimmableLight:
                case DeviceType.DimmableLight:
                    {
                        #region  ----初始化设备功能数据----
                        //Dictionary<string, string> switchdictionary = new Dictionary<string, string>();
@@ -314,7 +316,7 @@
                                    }
                                    var intvalue = int.Parse(value["Data1"]);
                                    brightnessdictionary.Add("Data1", intvalue.ToString());
                                    var lightbrightnessvalue = (intvalue * 100) / 254 + 1;
                                    var lightbrightnessvalue = (intvalue * 100) / 254;
                                    Btnvelue.Text = lightbrightnessvalue.ToString() + "%";
                                    horizontalSeekBarVol.Progress = lightbrightnessvalue;