From 882155f064c6cfa8ccd092ec083c4264eb7b3020 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期二, 10 十二月 2019 17:55:55 +0800 Subject: [PATCH] 2019-12-10-02 --- ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs index ab65384..ccfe1f5 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs @@ -1471,8 +1471,10 @@ SeekBarViewHeight = Application.GetRealHeight(10),//杩涘害鏉$殑楂樺害 }; devicefra.AddChidren(horizontalSeekBarVol); - horizontalSeekBarVol.OnProgressChangedEvent += (sender, e) => + + EventHandler<int> progressclick = (sender, e) => { + SelectedDeviceStatuscondition = "TemperatureSensor"; if (temperatureSensor.SensorDiv == 1) { @@ -1486,8 +1488,10 @@ Btntemperaturevalue.Text = current + "<" + horizontalSeekBarVol.Progress.ToString() + "%"; dictionary(deviceConditionsInfo, "AttriButeData1", horizontalSeekBarVol.Progress.ToString());//娓╁害鍊� } - }; + }; + horizontalSeekBarVol.OnProgressChangedEvent += progressclick; + horizontalSeekBarVol.OnStopTrackingTouchEvent += progressclick; if (temperatureSensor.SensorDiv == 1) -- Gitblit v1.8.0