gxc
2019-12-30 b129359c5a0df75f63d9131e5e41d3060ac38cc3
ZigbeeApp/Shared/Phone/Device/Curtain/RollerShadeControl.cs
@@ -705,10 +705,11 @@
                curtainRollSeekBar.Progress = (device.CommonDevice as Rollershade).WcdCurrentPositionLiftPercentage;
                layout.AddChidren(curtainRollSeekBar);
                curtainRollSeekBar.IsProgressTextShow = false;
                //curtainRollSeekBar.OnStopTrackingTouchEvent += (sender, e) =>
                //{
                //    (device.CommonDevice as Rollershade).WcdGoToTiltValue(curtainRollSeekBar.Progress);
                //};
                curtainRollSeekBar.CurtainPaddingTop = Application.GetRealHeight(110);
                curtainRollSeekBar.OnStopTrackingTouchEvent += (sender, e) =>
                {
                    (device.CommonDevice as Rollershade).WcdGoToTiltValue(curtainRollSeekBar.Progress);
                };
                curtainRollSeekBar.OnStartTrackingTouchEvent += (sender, e) =>
                {
@@ -727,9 +728,9 @@
                    OnProgressButtonMove(e2);
                    //判断是否300ms屏蔽
                    if (curtainRollSeekBar.IsProgressChangeDelay()) return;
                    //if (curtainRollSeekBar.IsProgressChangeDelay()) return;
                    (device.CommonDevice as Rollershade).WcdGoToTiltValue(curtainRollSeekBar.Progress);
                    //(device.CommonDevice as Rollershade).WcdGoToTiltValue(curtainRollSeekBar.Progress);
                };
                InitProgressBtn(layout);