| | |
| | | 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) => |
| | | { |
| | |
| | | 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); |